Hi,
glassfish_at_javadesktop.org wrote:
> 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
Have you added something like that in httpd.conf:
> # Send *.jsp request to GlassFish
> JkMount /*.jsp worker1
> # Send JSPs for context /MyApp to worker named worker1
> JkMount /MyApp/* worker1
Hope that help.
-- Jeanfrancois
>
> Any ideas?
> [Message sent by forum member 'b12' (b12)]
>
> http://forums.java.net/jive/thread.jspa?messageID=234480
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>