First of all, the stack trace below is not for Tomcat 4.1.12. It looks
like it is for an old version of Oracle IAS because it is using classes in
the package org.apache.jserv.* and oracle.jsp.*.
You are running Oracle IAS, not Tomcat 4.1.12. For Oracle IAS problems,
talk to Oracle. :-)
I would recommend doing a clean install of both Apache 1.3, mod_jk, and
Tomcat 4.1.2 on a system without the old Oracle IAS installed. Who knows
what the install for Oracle IAS may have configured on your system. Start
fresh and you shouldn't have any problems.
Regards,
Glenn
JOAN INTERD4U wrote:
Hi,
I'm working in a Linux platform. While I was using Tomcat 4.1.12 (with
jdk1.4) to serve html and jsp, everything was OK. But when I linked Tomcat
4.1.12 with Apache 1.3 through mod_jk, I got the following error serving jsp
pages (html is OK).
oracle.jsp.parse.JspParseException: Line # 2,
Error: Unable to find class for bean: serv defined by tag with class:
intranet.web.serveis.java.vhServeis
at oracle.jsp.parse.OpenJspTagHandler.defineBeans(OpenJspTagHandler.java)
at
oracle.jsp.parse.OpenJspTagHandler.validateTagAttributes(OpenJspTagHandler.j
ava)
at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java)
at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java)
at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java)
at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java)
at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java)
at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java)
at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
at oracle.jsp.JspServlet.internalService(JspServlet.java)
at oracle.jsp.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java)
I don�t know why, but now my environment is using the oracle jsp compiler
instead the jasper compiler.
The question is that I'm executing Apache with "oracle" user, and Tomcat
with "tomcat" user. I think that I've have a problem with classpath
environment variable.
For user Oracle, I've the following environment:
(...)
CLASSPATH=:/home/oracle/product/oracle/JRE:/home/oracle/product/oracle/jlib:
/home/oracle/product/oracle/rdbms/jlib:/home/oracle/product/oracle/network/j
lib
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/game
s/bin:/usr/games:/opt/gnome/bin:/opt/kde2/bin:.:/home/oracle/product/oracle/
bin
(...)
For user Tomcat, I've the foollowing environment (related with Tomcat):
(...)
CATALINA_HOME=/usr/java/jakarta-tomcat-4.1.12
JAVA_HOME=/usr/java/jdk1.4
PATH=/usr/java/jdk1.4/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/l
ib/java/bin:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde2/bin:.
(...)
I've tried to modify the file /usr/java/jakarta-tomcat-4.1.12/conf/web.xml
as follows (in order to use jasper compiler), but it doesn't work (in fact,
I'm not sure what I'm doing)
(...)
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>compiler</param-name>
<param-value>/usr/java/jdk1.4/bin/javac</param-value>
</init-param>
<init-param>
<param-name>classpath</param-name>
<param-value>/usr/java/jakarta-tomcat-4.1.12</param-value>
</init-param>
<init-param>
<param-name>logVerbosityLevel</param-name>
<param-value>WARNING</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
(...)
Could anybody tell what to do in order to use again jasper compiler? Thank a
lot.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>