Sorry one trivial question..

I have set up JDK build 1.6.0_17-b04.

I have set the JAVA_HOME env variable. Bu tomcat still uses old version
of jvm installed on the server. How I have to do to address Tomcat to
use the new version of JDK?

Thanks,

Rocsca

> -----Original Message-----
> From: Rocco Scappatura [mailto:rocco.scappat...@infracom.it]
> Sent: Friday, November 27, 2009 5:52 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 5.17 crashes too often
> 
> Peter,
> 
> > -----Original Message-----
> > From: peter.crowth...@googlemail.com
> > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther
> > Sent: Friday, November 27, 2009 4:28 PM
> > To: Tomcat Users List
> > Subject: Re: Tomcat 5.17 crashes too often
> >
> > 2009/11/27 Rocco Scappatura <rocco.scappat...@infracom.it>:
> > > So I think that I will update the jave VM soon.. Maybe an opinion
> of
> > Chuck would be useful?
> >
> > I would try updating the VM anyway.  You have one of three possible
> > outcomes:
> >
> > 1) It fixes the bug, and we can all go home happy on a Friday;
> >
> > 2) It changes the way the bug appears, and we get some better
> > information out of the JVM as to what's happening;
> >
> > 3) It changes nothing, and we're almost certain it's a problem in
> your
> > application code or the PHP code somewhere.
> >
> > All of those three give us extra information - or a fix!  So I would
> > install a new JVM in a different directory to your current one,
> change
> > Tomcat's startup to point to that JVM, and see whether it still
> fails.
> >  At worst, you can change Tomcat's startup to point back to the
> > current JVM and you have lost nothing except a little time.
> 
> OK. I will do so.. You have persuaded me.. :-)
> 
> It will be sufficient to install the only jre or I need to install the
> complete jdk?
> 
> > > I'm running some pages from my old web site tha I have imported
> under
> > my 'new' platform (Tomcat).
> >
> > OK.  It looks like those pages are PHP pages.  I know there are ways
> > of getting PHP to run under Tomcat, but I've never tried!
> 
> You are normal while who tries to do this, is not.. ;-)
> 
> > > But I there any way to correct this problem? Maybe is the case to
> ask
> > to PHP developer?
> >
> > I would be asking on whichever list handles the PHP servlet.  That
> > code looks to be part of the PHP distribution; it's certainly not
> part
> > of Tomcat.  From the comments on various blogs, it also looks like
> > it's *very* fragile.
> >
> > This might be one of the very few times I recommend installing
Apache
> > httpd in front of Tomcat on your system, connecting the two, and
> > getting httpd to serve the PHP pages and Tomcat to serve everything
> > else!
> 
> Infact I completely agree with you!
> 
> rocsca
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to