users@glassfish.java.net

Re: Running GlassFish with Apache httpd

From: <glassfish_at_javadesktop.org>
Date: Fri, 07 Sep 2007 14:38:51 PDT

Hi, THanks for taking the time to help me out!

In my domain.xml:
<jvm-options>-Dcom.sun.enterprise.web.connector.enableJK=8009</jvm-options>

process and results:
asadmin start-domain domain1
no errors in the glassfish/domains/domain1/logs/server.log

At this point i can access: http://localhost:8080/MyApp

sudo /etc/init.d/apache2 start
--error.log
Fri Sep 07 14:23:52 2007] [warn] module jk_module is already loaded, skipping
[Fri Sep 07 14:23:52 2007] [notice] Apache/2.2.3 (Ubuntu) mod_jk/1.2.18 PHP/5.2.1 configured -- resuming normal operations

lots of debug info in the mod_jk.log but no errors

Now when i try to access http://localhost/MyApp I get a 404:
The requested URL /MyApp/ was not found on this server.
Apache/2.2.3 (Ubuntu) mod_jk/1.2.18 PHP/5.2.1 Server at localhost Port 80

Any ideas?
[Message sent by forum member 'b12' (b12)]

http://forums.java.net/jive/thread.jspa?messageID=234480