Skip to main content

WebServer 7.0 plugin not initiated for Sun Java System Applciation Server

1 reply [Last post]
kaliki
Offline
Joined: 2008-11-25

Hi,

Environment - Sun Java System Applciation Server Enterprise Edition 8.2, one server as Windows XP Pro v2002 SP2 and other server as Windows 2003 Enterprise edition SP1. DAS on Windows 2003 machine.

Application has been deployed successfully on a cluster. I am able to access the application successfully with machine specific urls. I configured the WebServer 7.0 plugin for the same with the following changes.

1. Created folders passthrough/bin under C:\Program Files\Sun\JavaES5\WebServer7\plugins
2. Copied passthrough.dll file from C:\Program Files\Sun\JavaES5\appserver\lib\webserver-plugin\windows\iws folder on application server m/c to C:\Program Files\Sun\JavaES5\WebServer7\plugins \passthrough\bin\ folder on webserver m/c.
3. Copied *.res files from C:\Program Files\Sun\JavaES5\appserver\lib\webserver-plugin\windows\iws folder on application server m/c to C:\Program Files\Sun\JavaES5\WebServer7\plugins\lbplugin\resources folder on webserver m/c
4. Obj.conf file changes:

, add NameTrans fn="assign-name" from="/*" name="passthrough"

ObjectType fn="force-type" type="magnus-internal/passthrough"
PathCheck fn="deny-existence" path="*/WEB-INF/*"
Service type="magnus-internal/passthrough"
fn="service-passthrough" servers="http://:"
Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"

5. Magnus.conf file changes:
Init fn="load-modules" shlib=" C:\Program Files\Sun\JavaES5\WebServer7\plugins\passthrough\bin\libpassthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"

Init fn="init-passthrough"

However, the url with the web server is not working. It is looking for the application in the /doc of the web server. It seems like the plug in is not initiated and is not accessing the application server.

Kindly help me with some workarround for the same.

Thanks,
Neelima.K

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
techie_rk

Hi,

There could be 2 problems. You can resolve these by doing the following

1. trim whitespaces on .conf files using one of ur fav editor
2. *** , add NameTrans fn="assign-name" from="/*" name="passthrough" ***

if u have an application whose context root is ex: /myapp, then modify above
xml line as
, add NameTrans fn="assign-name" from="/myapp|/myapp/*" name="passthrough"

Cheers,
Raj

glassfish-2 wrote:
>
> Hi,
>
> Environment - Sun Java System Applciation Server Enterprise Edition 8.2,
> one server as Windows XP Pro v2002 SP2 and other server as Windows 2003
> Enterprise edition SP1. DAS on Windows 2003 machine.
>
> Application has been deployed successfully on a cluster. I am able to
> access the application successfully with machine specific urls. I
> configured the WebServer 7.0 plugin for the same with the following
> changes.
>
> 1. Created folders passthrough/bin under C:\Program
> Files\Sun\JavaES5\WebServer7\plugins
> 2. Copied passthrough.dll file from C:\Program
> Files\Sun\JavaES5\appserver\lib\webserver-plugin\windows\iws folder on
> application server m/c to C:\Program Files\Sun\JavaES5\WebServer7\plugins
> \passthrough\bin\ folder on webserver m/c.
> 3. Copied *.res files from C:\Program
> Files\Sun\JavaES5\appserver\lib\webserver-plugin\windows\iws folder on
> application server m/c to C:\Program
> Files\Sun\JavaES5\WebServer7\plugins\lbplugin\resources folder on
> webserver m/c
> 4. Obj.conf file changes:
>
> , add NameTrans fn="assign-name" from="/*" name="passthrough"
>
>
> ObjectType fn="force-type" type="magnus-internal/passthrough"
> PathCheck fn="deny-existence" path="*/WEB-INF/*"
> Service type="magnus-internal/passthrough"
> fn="service-passthrough" servers="http://:
"
> Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
>
>
> 5. Magnus.conf file changes:
> Init fn="load-modules" shlib=" C:\Program
> Files\Sun\JavaES5\WebServer7\plugins\passthrough\bin\libpassthrough.dll"
> funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough"
> NativeThread="no"
>
> Init fn="init-passthrough"
>
> However, the url with the web server is not working. It is looking for
> the application in the /doc of the web server. It seems like the
> plug in is not initiated and is not accessing the application server.
>
> Kindly help me with some workarround for the same.
>
> Thanks,
> Neelima.K
> [Message sent by forum member 'kaliki' (kaliki)]
>
> http://forums.java.net/jive/thread.jspa?messageID=318564
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>

--
View this message in context: http://www.nabble.com/WebServer-7.0-plugin-not-initiated-for-Sun-Java-Sy...
Sent from the java.net - glassfish users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net