I am working with Tomcat/4.0-b4 (Catalina)
Concerning the classpath my problem is fixed now,
In catalina.bat file : 
rem ----- Set Up The Runtime Classpath
----------------------------------------
set
CP=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar;%_CLASSPATH%

I added ;%_CLASSPATH%

****************************************************************************
****

Another problem ...
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\bin\..\work\localhost\monsite\valider_0005fcode_jsp.java:237:
Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception.
            if (pageContext != null) pageContext.handlePageException(t);
                                                                     ^
1 error

This code works fine with Tomcat 3.2.1.

Does this problem come from the new specifications of JSP or another
technology ?

Help me please.
Bruno.

-----Message d'origine-----
De : Bruno Crapart [mailto:[EMAIL PROTECTED]]
Envoy� : mercredi 16 mai 2001 13:45
� : '[EMAIL PROTECTED]'
Objet : ClassPath problem


Below is my problem !

Under W2000 environment My CLASSPATH is well-defined ! I am sure !

I used to launch TC3.2, with TC4 ...  :-(

Help !

I am also intersted in documentation.

Thanks in advance

Bruno

Root Cause:
java.lang.NoClassDefFoundError: egc/net/ConnectionStaff
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:
137)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:187)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:453)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:254)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:194)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:255)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:225)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:472)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2252)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
875)
        at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:952)
        at java.lang.Thread.run(Thread.java:484)


-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoy� : mercredi 16 mai 2001 13:40
� : [EMAIL PROTECTED]
Objet : RE: Compiling TC4


Hi Bruno,

  meanwhile I figured out *some* way to compile it. I still get loads of
errors, but non-critical ones (hmhh, haven't been able to run tomcat yet,
but haven't tried so yet). Everything seems to compile.

  I got regexp and servletapi-4 from cvs and compiled it.
  Also downloaded JMX and JSSE from Sun.
  Added all that stuff to the classpath and used the following ant command:

ant -Dregexp.home=/home/mkamp/jakarta-regexp/bin
-Dcatalina.jaxp.home=/home/mkamp/jakarta-tomcat-4.0/lib/
-Dcatalina.jaxp.parser.jar=crimson.jar

  This took me a couple of hours and I am still interested if there is some
documentation how to do it properly?

Mariano

Bruno Crapart <[EMAIL PROTECTED]> wrote ..
> Hi everyone,
> 
> New frenchy on this mailing list !
> 
> Sames questions for me !
> 
> Furthermore, is the classpath taken in account by TC4.
> 
> I encounter problems in releasing my version of TC3 to TC4 concerning the
> configuration.
> It looks very attractive but the configuration seems different compared to
> TC3.
> 
> Notice that I am working on W2000.
> 
> I need help !!! 
> 
> In advance, THANKS.
> Bruno
> 
> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Envoy� : mercredi 16 mai 2001 11:08
> � : [EMAIL PROTECTED]
> Objet : Compiling TC4
> 
> 
> Hi there,
> 
>   is there a separate mailing list for tc4?
> 
>   Where can I find any documentation on compiling tc4? I used the cvs
> version and wasn't able to compile it. It seems to me, that I need other
> packages too and further more the setup of some system properties? 
> 
> Mariano

Reply via email to