Thanks for all your help, i have finally got the server running on
localhost:8080.  I pointed the JAVA_HOME at the sun jdk instead of the
default ubuntu jvm

However i am now having a problem integrating it with apache2 mod_jk

It wont read .jsp files, the browser genrates this error:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.


And the server logs say this  ->
[Sat Jun 09 20:06:34 2007] [17814:5824] [info]
ajp_connection_tcp_get_message::jk_ajp_common.c (955): Tomcat has forced a
connection close for socket 17
[Sat Jun 09 20:06:34 2007] [17814:5824] [error]
ajp_get_reply::jk_ajp_common.c (1531): Tomcat is down or refused connection.
No response has been sent to the client (yet)
[Sat Jun 09 20:06:34 2007] [17814:5824] [info]  ajp_service::jk_ajp_common.c
(1751): Receiving from tomcat failed, recoverable operation attempt=0
[Sat Jun 09 20:06:34 2007] [17814:5824] [info]  ajp_service::jk_ajp_common.c
(1783): Sending request to tomcat failed,  recoverable operation attempt=1
[Sat Jun 09 20:07:04 2007] [17814:5824] [info]
ajp_connection_tcp_get_message::jk_ajp_common.c (955): Tomcat has forced a
connection close for socket 17
[Sat Jun 09 20:07:04 2007] [17814:5824] [error]
ajp_get_reply::jk_ajp_common.c (1531): Tomcat is down or refused connection.
No response has been sent to the client (yet)
[Sat Jun 09 20:07:04 2007] [17814:5824] [info]  ajp_service::jk_ajp_common.c
(1751): Receiving from tomcat failed, recoverable operation attempt=1
[Sat Jun 09 20:07:04 2007] [17814:5824] [info]  ajp_service::jk_ajp_common.c
(1783): Sending request to tomcat failed,  recoverable operation attempt=2
[Sat Jun 09 20:07:04 2007] [17814:5824] [error] ajp_service::jk_ajp_common.c
(1794): Error connecting to tomcat. Tomcat is probably not started or is
listening on the wrong port. worker=worker1 failed
[Sat Jun 09 20:07:04 2007] [17814:5824] [info]  jk_handler::mod_jk.c (1978):
Service error=0 for worker=worker1


Does anybody know what is going wrong with this?

Cheers

Will



On 6/8/07, Matthew Whittaker-Williams <[EMAIL PROTECTED]> wrote:

On Friday 08 June 2007 15:16, Leonel wrote:
> On 6/7/07, Will Parkinson <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am having a few problems with tomcat 5.5 on ubuntu feisty
> >
> > When i start the tomcat service, its outputs that its started ok, but
> > when i view the status (/etc/init.d/tomcat5.5 status) it says the
service
> > is not running.
> >
> > This is in the /var/log/tomcat5.5/catalina.out logfile
> >
> > libgcj: unknown option: -Xmx128M
> > 08/06/2007 14:04:55 5890 jsvc.exec error: Cannot create Java VM
> > 08/06/2007 14:04:55 5889 jsvc.exec error: Service exit with a return
> > value of 1
> >
> >
> > Does anybody know how to fix this problem?  Or does anybody know where
to
> > find the libgcj file so i can fix it myself?
> >
> > Cheers
> >
> > Will
>
> enable  multiverse  and  install  sun-java6-jdk


Where did you place these options? and did you set it in JAVA_OPTS or
CATALINA_OPTS?

Here is my line which works fine:

/etc/default/tomcat/tomcat-5.5

JAVA_OPTS="-Xmx4g -Xms2g -XX:NewSize=1g -XX:MaxPermSize=512m
-XX:SurvivorRatio=4 -XX:
+UseParallelGC -XX:+AggressiveHeap -Djava.awt.headless=true"

Kind regards

Matthew

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Will Parkinson
MediaArchitecs / BusinessPartner
Ph: (07) 3846 2873
Mob: 0433 143 272
       0424 433 816

Reply via email to