There is many chance that the java binary is in fact a link to the real binary. If you want to change the java binary for all the distribution you can change this link.

If not, as explained before, you only have to export the JAVA_HOME to the right binary.

I suggest you to create setenv.sh file in the bin directory. You may need to add more variables (JAVA_OPTS, ...).


Regards,
Lionel


Propes, Barry L [GCG-NAOT] a écrit :
change up your catalina.bat or.sh file to point to the JDK 1.6 version

set JAVA_HOME=C:\j2sdk1.4.0

I'm using an older version here. This is from my catalina.bat file

although not sure if TC 4.1 will work well with that JDK or not.

-----Original Message-----
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 10:59 AM
To: Tomcat Users List
Subject: Re: Quick Question for TomCat Gurus


Somewhere in the execution path you still have java 1.4.2. Check your PATH environment variable -- the first folder that contains java.exe will be the one that returns. As to what jdk tomcat 4.1 is running with, check the manager webapp (http://localhost:8080/manager/html) and adjust the start/stop scripts if necessary.

The exception cited below has to do with a jsp not finding a bean instance with the name managerMenu in the page context, request, session or servlet context. I'm guessing it's supposed to be run after some other servlet or filter code that adds this to one of the mentioned scopes.

--David

Bruno Vilardo wrote:

Hello All,

Tomcat 4.1
Suse Linux Enterprise Server
Java 1.6.0

Is there any issue using Tomcat 4.1 with Java 1.6.0?

Our System Admin has installed the Java 1.6.0 but when running the "java
-version" it shows a different java version as below:

$java -version
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)

I also found some messages in the localhost.log as below:

more localhost_log.2007-03-15.txt
2007-03-15 11:18:42 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
javax.servlet.ServletException: Cannot find bean managerMenu in any scope
       at org.apache.jasper.runtime.PageContextImpl.handlePageException(
PageContextImpl.java:495)
       at org.apache.jsp.displaymenudetail_jsp._jspService
(displaymenudetail_jsp.java:126)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
:92)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
       at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:162)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(
JspServlet.java:240)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.j
ava:200)

Does anybody know what this could be?

Thanks a lot in advance!!!

Best Regards,

Bruno



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


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


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

Reply via email to