Ryan Galgon wrote:
> Solved.
>
> I back tracked my steps to just see if I had messed something up. I
> removed the Virtual Server stuff and started over from scratch. The only
> difference is that I added the enableJK jvm option from the CLI this
> time rather than the web-based admin. On restart of GlassFish it worked.
Does it work when you use the web-based admin and restart GlassFish? It
shouldn't make any difference between the CLI and the web-based admin.
If that doesn't work, can you file a bug and update the blog?
Thanks!
-- Jeanfrancois
>
> On 7/11/06, *Ryan Galgon* <rgalgon_at_gmail.com <mailto:rgalgon_at_gmail.com>>
> wrote:
>
> Hello, I'm new to using Glassfish, I'm on a co-op for the summer
> from RIT and was handed a Solaris 10 box to get setup for the
> company and redo the site in JSP. So far so good, but I've just been
> manually accessing things via the IP address and we want to move to
> my site this week (actually, yesterday) so I need to find a way to
> get requests to the plain url: www.xyz.net <http://www.xyz.net> to
> pull up www.xyz.net:8080/theWebsite/index.jsp
> <http://www.xyz.net:8080/theWebsite/index.jsp>
>
> I found this guide:
> http://weblogs.java.net/blog/jfarcand/archive/2006/03/running_glassfi_1.html
> <http://weblogs.java.net/blog/jfarcand/archive/2006/03/running_glassfi_1.html>
>
> and worked on following its instructions
>
> I setup a Virtual Server in glassfish on port 8009 to get rid of the
> folder name of the web application. So when I goto www.xyz.net:8009
> <http://www.xyz.net:8009> its what I ultimately want www.xyz.net
> <http://www.xyz.net> to go to.
>
> when I goto www.xyz.net <http://www.xyz.net> I get 503 errors. I had
> posted this on that article, and the author said to post to the user
> mailing list, I also posted it to the java.net <http://java.net>
> Forums @:
> http://forums.java.net/jive/thread.jspa?threadID=16753&tstart=0
> <http://forums.java.net/jive/thread.jspa?threadID=16753&tstart=0>
>
> Below are my configs:
>
> I built mod_jk on the server and the apache config check returns
> that everything is fine.
>
> ######### httpd.conf #############
> #where to put jk logs
> JkLogFile /usr/local/apache2/logs/mod_jk.log
> JkLogLevel error
> JkLogStampFormat "[%a %b %d %H %M %S %Y] "
> JkWorkersFile /usr/local/apache2/conf/worker.properties
> JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
> JkRequestLogFormat "%w %V %T"
> #Send all jsp requests to GlassFish
> JkMount /*.jsp worker1
>
> ######## worker.properties ############
> #Define 1 real worker using ajp13
> worker.list=worker1
> #Set properties for worker1
> worker.worker1.type=ajp13
> worker.worker1.host=xxx.yy.xxx.yyy
> worker.worker1.port=8009
> worker.worker1.lbfactor=50
> worker.worker1.cachesize=10
> worker.worker1.cach_timeout=600
> worker.worker1.socket_keepalive=1
> worker.worker1.socket_timeout=300
>
> Thanks in advance for the help
> --
> --rgalgon_at_gmail.com--
>
>
>
>
> --
> --rgalgon_at_gmail.com--