users@glassfish.java.net

Glassfish v3 with mod_jk

From: <noreply_at_java.net>
Date: Wed, 03 Nov 2010 03:43:15 -0700

Hey guys

My application is running quite well on glassfish. It's only a WebService
deployed as an EJB JAR. There are no statics pages, nothing, just the
webservice.

I follow some tutorials teaching how to setup glassfish v3 to work with
mod_jk (http://docs.sun.com/app/docs/doc/820-7692/gfaad?l=zh_tw&a=view) and
it seems to work only for static content and I've no ideia why.

When I deploy the appliaction I get this message

INFO: WS00019: EJB Endpoint deployed
 PBEJB  listening at address at http://localhost:8009/MyWS/MyWS

If I try to acess it on *http://localhost:8080/MyWS/MyWS?wsdl* it works fine.
But if I try to acess it through apache *http://localhost/MyWS/MyWS?wsdl*,
expecting to be redirect to port 8009 it shows error 404.

A diferent project, with static content (jsp) works fine.

So, am I missing something here?


--
[Message sent by forum member 'rudibravo']
View Post: http://forums.java.net/node/711093