tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas, Kevin" <KEVIN.THO...@saic.com>
Subject RE: JSPs not compiling
Date Thu, 10 Jul 2003 12:48:47 GMT
This is a new one, got this error:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0x95b64
Function name=(N/A)
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.



Current Java thread:

Dynamic libraries:
0x10000
/ki-sun4k2/export/home/apt2/ta_web/webserver/j2sdk1_3_1_02/bin/../bin/sparc/
native_threads/java
0xef770000      /usr/lib/libthread.so.1
0xef7b0000      /usr/lib/libdl.so.1
0xef680000      /usr/lib/libc.so.1
0xef750000      /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
0xee880000
/ki-sun4k2/export/home/apt2/ta_web/webserver/j2sdk1_3_1_02/jre/lib/sparc/cli
ent/libjvm.so
0xef640000      /usr/lib/libCrun.so.1
0xef620000      /usr/lib/libsocket.so.1
0xef580000      /usr/lib/libnsl.so.1
0xef540000      /usr/lib/libm.so.1
0xef670000      /usr/lib/libw.so.1
0xef510000      /usr/lib/libmp.so.2
0xef4e0000
/ki-sun4k2/export/home/apt2/ta_web/webserver/j2sdk1_3_1_02/jre/lib/sparc/nat
ive_threads/libhpi.so
0xef4a0000
/ki-sun4k2/export/home/apt2/ta_web/webserver/j2sdk1_3_1_02/jre/lib/sparc/lib
verify.so
0xef460000
/ki-sun4k2/export/home/apt2/ta_web/webserver/j2sdk1_3_1_02/jre/lib/sparc/lib
java.so
0xef430000
/ki-sun4k2/export/home/apt2/ta_web/webserver/j2sdk1_3_1_02/jre/lib/sparc/lib
zip.so
0xeb010000
/ki-sun4k2/export/home/apt2/ta_web/webserver/j2sdk1_3_1_02/jre/lib/sparc/lib
net.so
0xe4fe0000      /usr/lib/nss_files.so.1

Local Time = Thu Jul 10 14:05:15 2003
Elapsed Time = 153
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
#
# An error report file has been saved as hs_err_pid6643.log.
# Please refer to the file for further information.
#




-----Original Message-----
From: Ben Souther [mailto:bsouther@fwdco.com]
Sent: 10 July 2003 13:39
To: Tomcat Users List
Subject: Re: JSPs not compiling


Did you install the full SDK   (ie: j2sdk1.4.2) or just the runtime (JRE).

The full sdk is needed for running JSPs since they get compiled before being

run.

If so, it's probably a path issue.

Type:
echo $JAVA_HOME
to see what it's set to.

Here is an example:
If your JDK is j2sdk1.4.2 and it's installed in the /usr/local directory,
your 
JAVA_HOME variable should be:
/usr/local/j2sdk1.4.2

You also need to put the bin directory in your path.
Example:
PATH=$PATH:/usr/local/j2sdk1.4.2/bin in order 


On Thursday 10 July 2003 08:25 am, Thomas, Kevin wrote:
> Thanks for the reply Ben,
>
> I ran the $JAVA_HOME/bin/javac and got:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/sun/tools/javac/Main
>
> Does that narrow it down any?
>
> The directories are writable, so hopefully there's no problem there.
>
>
> -----Original Message-----
> From: Ben Souther [mailto:bsouther@fwdco.com]
> Sent: 10 July 2003 13:29
> To: Tomcat Users List
> Subject: Re: JSPs not compiling
>
>
> Test your evironment.
>
> Windows:
> %JAVA_HOME%\bin\javac
>
> Unix:
> $JAVA_HOME/bin/javac
>
>
> If you get a "program not found" error then your JAVA_HOME evironment
> variable
> is not properly set.
>
> You should also check to make sure that write permissions are available to
> what ever user is running Tomcat for the CATALINA_HOME/work directory.
>
> On Thursday 10 July 2003 08:12 am, Thomas, Kevin wrote:
> > Unfortunately, didn't help.
> >
> > I have JAVA_HOME/bin already defined in the PATH variable.
> >
> > -----Original Message-----
> > From: Tim Funk [mailto:funkman@joedog.org]
> > Sent: 10 July 2003 12:08
> > To: Tomcat Users List
> > Subject: Re: JSPs not compiling
> >
> >
> > Try this first
> > http://jakarta.apache.org/tomcat/faq/misc.html#compile
> >
> > -Tim
> >
> > Thomas, Kevin wrote:
> > > I've been searching for ages trying to find a solution to this
problem.
> > > As far as I can tell it's definitely something to do with my paths
> > > being set correctly. I try to call the /admin/index.jsp page and get
> > > the following error (full error page shown):
> > >
> > > type Exception report
> > >
> > > message
> > >
> > > description The server encountered an internal error () that prevented
>
> it
>
> > > from fulfilling this request.
> > >
> > > exception
> > >
> > > org.apache.jasper.JasperException: Unable to compile class for JSP
> > > 	at org.apache.jasper.JspEngineContext.compile(Unknown Source)
> > > 	at org.apache.jasper.servlet.JspServletWrapper.service(Unknown
> > > Source)
> > > 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown
> > > Source)
> > > 	at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > 	at
> > >
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknow
> > >n Source)
> > > 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
> > > Source)
> > > 	at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.StandardContextValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at
> > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown
> > > Source) at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.StandardEngineValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> > > 	at
> > >
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > > 	at
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405
>
> > >) at
>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
>
> >e
> >
> > > ction(Http11Protocol.java:376)
> > > 	at
>
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508
>
> > >) at
>
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
>
> >v
> >
> > > a:518)
> > > 	at java.lang.Thread.run(Thread.java:484)
> > >
> > >
> > > root cause
> > >
> > > org.apache.jasper.JasperException: Unable to compile class for JSP
> > >
> > > An error occurred at line: -1 in the jsp file: null
> > >
> > > Generated servlet error:
> > >
> > >
> > > 	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(Unknown
> > > Source)
> > > 	at org.apache.jasper.compiler.ErrorDispatcher.javacError(Unknown
> > > Source)
> > > 	at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
> > > 	at org.apache.jasper.JspEngineContext.compile(Unknown Source)
> > > 	at org.apache.jasper.servlet.JspServletWrapper.service(Unknown
> > > Source)
> > > 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown
> > > Source)
> > > 	at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > 	at
> > >
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknow
> > >n Source)
> > > 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
> > > Source)
> > > 	at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.StandardContextValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at
> > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown
> > > Source) at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.StandardEngineValve.invoke(Unknown
> > > Source)
> > > 	at
>
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>
> >k
> >
> > > eNext(Unknown Source)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
> > > 	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
> > > 	at
> > >
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > > 	at
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405
>
> > >) at
>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
>
> >e
> >
> > > ction(Http11Protocol.java:376)
> > > 	at
>
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508
>
> > >) at
>
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
>
> >v
> >
> > > a:518)
> > > 	at java.lang.Thread.run(Thread.java:484)
> > >
> > > My paths are set as:
> > >
> > > CATALINA_HOME=$HOME/ta_web/webserver/jakarta-tomcat-4.0 ; export
> > > CATALINA_HOME
> > > JAVA_HOME=$HOME/ta_web/webserver/j2sdk1_3_1_02 ; export JAVA_HOME
>
>
CLASSPATH=$HOME/ta_web/webserver/j2sdk1_3_1_02/lib/classes111.jar:$HOME/ta_
>
> >w
>
>
eb/webserver/j2sdk1_3_1_02/lib/tools.jar:$HOME/ta_web/webserver/j2sdk1_3_1_
>
> >0
> >
> > >
2/lib/htmlconverter.jar:$HOME/ta_web/webserver/j2sdk1_3_1_02/lib/dt.jar
> > >; export CLASSPATH
>
>
PATH=$JAVA_HOME:$JAVA_HOME/bin:$HOME/ta_web/webserver/jakarta-tomcat-4.0/co
>
> >m
> >
> > > mon/lib:$PATH; export PATH
> > > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib; export
LD_LIBRARY_PATH
> > >
> > > Can anyone assist please in helping me get these JSPs working.
> > >
> > > Many thanks,
> > > Kev
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

-- 
Ben Souther
F.W. Davison & Company, Inc.



REGISTER NOW FOR THE SCORPEO USER CONFERENCE!
September 18-19, 2003 in Boston/Brookline, MA
Additional Training Sessions held September 17, 2003
More info >> http://www.fwdco.com/services/Uconf03/default.shtm


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message