Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Resin

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2010, 10:55 AM
alanrickman alanrickman is offline
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default Resin with IIS7 (Server 2008)

Hi all,

I've followed the instructions here: http://wiki.caucho.com/IIS#Using_Res..._Windows_Vista

and have been able to get Resin and IIS working together, I can see that Resin is functioning ok from the cauchostatus page and my webapp functions.

However we've found that static content isn't being served.

Here's some details of the configuration:

The default website in IIS is pointing at D:\resin-3.1.9\webapps on port 80
isapi_srun.dll and resin.ini are located in c:\inetpub\scripts
Created an application called 'scripts' under the default website pointing to the above location
Added isapi_srun.dll in ISAPI and CGI restrictions
Added script mapping in Handler Mappings to isapi_srun.dll

If i navigate to http://localhost/appname static content (css, image files, etc) are not loaded but if i navigate to http://localhost:8080/appname all content is loaded.

If anyone can provide any assistance that would be greatly appreciated. I've just performed the same configuration on Windows Server 2003 with IIS6 and all working perfectly. So i'm sure i've probably misconfigured something in the new version of IIS.

Many thanks,
Alan
Reply With Quote
  #2  
Old 02-17-2010, 05:38 PM
alex alex is offline
Administrator
 
Join Date: Aug 2009
Posts: 218
Default

Alan,

I've filed a bug : http://bugs.caucho.com/view.php?id=3889 affecting resin 3.1.9 and IIS 7 with static content.

You can try Resin 4.0.3, it should work fine with apps deployed from webapps directory. It will, however, have an issue with apps deployed using <web-app> tag from resin.xml as described in the bug report: http://bugs.caucho.com/view.php?id=3890

Thanks,
alex
Reply With Quote
  #3  
Old 07-22-2010, 10:54 AM
cbrandel cbrandel is offline
Junior Member
 
Join Date: Jul 2010
Posts: 1
Default

alex,

I am having the same problem here.

Environment:
Windows Server 2008 64bit (with .NET 3.5.1 installed)
IIS 7 (using isapi_srun.dll from the win64 directory)
resin 4.0.8
Java 1.6.0_21 64bit

Symptoms:
- Serving a jsp works fine directly from resin as well as over IIS
- Serving static content does not work over IIS
- /caucho-status displays a blank page when resin is running
- /caucho-status displays "Server is currently unavailable..." when resin is down

I installed the ISAPI-Filter and the Mapping manually, since the setup program gave me the following error:

Adding IIS Resin ISAPI Filter to `E:\wcmInternet\scripts'..
Stopping Service `W3SVC' ...
Service `W3SVC' stopped...
Unable to install Resin ISAPI Filter due to exception `System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boole an throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsCont ainer()
at System.DirectoryServices.DirectoryEntries.ChildEnu merator..ctor(DirectoryEntry container)
at System.DirectoryServices.DirectoryEntries.GetEnume rator()
at Caucho.IIS.SetupIIS(String resinHome, String iisScripts)'
Starting IIS...
IIS Started
Installation failed.

Any help appreciated,
Chris
Reply With Quote
  #4  
Old 08-20-2010, 04:47 PM
alex alex is offline
Administrator
 
Join Date: Aug 2009
Posts: 218
Default

Chris,

We are phasing out isapi_srun.dll in 4.0 in favour of Resin.IIS.Handler.dll.

Please refer to http://caucho.com/resin-4.0/admin/st...esin-iis-7.xtp

for installation docs.

Alex
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.