Hi,

I'm not sure that I understood what you wrote. Of course, I have a 
reference to the servlet library in the properties of my jbuilder project 
:) Why shouldn't I have that reference (in the required libraries) ?

Sorry, if I misunderstood your reply but I'm just a newbie in the 
development of Web Application.

For the rest, I tried deploying my webapp with Tomcat and I had the same 
problem (!!!).
So I'd suppose, it's a Tomcat problem (or a Struts prob ?).

I also patched my Jbuilder 6.0 with the latest update available without any 
improvement.

I didn't try to update my version of Tomcat. Because I first wanna be sure 
it's Tomcat causing the problem and not something else...

Friendly Regards,
Slimane

At 07:40 8/03/2002 -0800, you wrote:
>Subject: Re: [Off-Topic ?] Problem with Struts/Tomcat/Jbuilder/ 1 2 3 4 5 
>6 7 8 9
>From: "David Bolsover" <[EMAIL PROTECTED]>
>  ===
>Hi
>
>I also use TC4.0.1, Struts and JB6(pro) and have seen a similar problem.
>To be honest I can't remember how I cured but I think it was because I had a
>reference to the servlet library in the JB project props - you try looking
>there.
>
>Also - do you get the same problem when you deploy your project as a war and
>run under TC outside of JB6? - might give some clue as to where the problem
>lies.
>
>David Bolsover
>
>"Slimane Zouggari" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
> > Hi,
> >
> > I have a very strange problem here. And I don't know what is the cause of
> > that problem (Tomcat ? Struts ? JBuilder ? something else ?).
> >
> > Here's my problem: when I run a first time my project with Jbuilder 6
> > (using Tomcat 4.0.1), I have practically no problem.
> > Then I stop the Tomcat server and try to run it again (without changing a
> > thing !). And suddenly, the following exception is thrown:
> >
> > >Apache Tomcat/4.0.1 - Error report<!--H1{font-family :
> > >sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
> > >BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color
> > >: white;} B{color : white;background-color : #0086b2;} HR{color :
> > >#0086b2;} -->Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server
> > >Errortype Exception reportmessage Internal Server Errordescription The
> > >server encountered an internal error (Internal Server Error) that
> > >prevented it from fulfilling this request.exception
> > >javax.servlet.ServletException: duplicate class definition:
> > >org/apache/jasper/runtime/HttpJspBase
> > >  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484)
> > >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >  at
> > >
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>FilterChain.java:247)
> > >  at
> > >
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:193)
> > >  at
> > >
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:243)
> > >  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:201)
> > >  at
> > >
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>66)
> > >  at
> > >
>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
>46)
> > >  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:2344)
> > >  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.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
>java:170)
> > >  at
> > >
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
> > >  at
> > >
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
>)
> > >  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:
>1011)
> > >  at
> > >
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
>)
> > >  at java.lang.Thread.run(Thread.java:536)
> > >root cause java.lang.LinkageError: duplicate class definition:
> > >org/apache/jasper/runtime/HttpJspBase
> > >  at java.lang.ClassLoader.defineClass0(Native Method)
> > >  at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
> > >  at
>java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> > >  at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
> > >  at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
> > >  at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
> > >  at java.security.AccessController.doPrivileged(Native Method)
> > >  at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> > >  at
> > >
>org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader
>.java:671)
> > >  at
> > >
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
>.java:1090)
> > >  at
> > >
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
>.java:989)
> > >  at
> > >
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
>a:1293)
> > >  at
> > >
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
>a:1156)
> > >  at
>org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:198)
> > >  at
>org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
> > >  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
> > >  at java.lang.ClassLoader.defineClass0(Native Method)
> > >  at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
> > >  at java.lang.ClassLoader.defineClass(ClassLoader.java:438)
> > >  at
>org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:216)
> > >  at
>org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
> > >  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:575)
> > >  at
> > >
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
>rvlet.java:177)
> > >  at
> > >
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
>va:189)
> > >  at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
> > >  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
> > >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >  at
> > >
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>FilterChain.java:247)
> > >  at
> > >
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:193)
> > >  at
> > >
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:243)
> > >  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:201)
> > >  at
> > >
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>66)
> > >  at
> > >
>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
>46)
> > >  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:2344)
> > >  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.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
>java:170)
> > >  at
> > >
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
> > >  at
> > >
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
>)
> > >  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:
>1011)
> > >  at
> > >
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
>)
> > >  at java.lang.Thread.run(Thread.java:536)
> >
> > BUT, if I delete all the *.class generated by Jbuilder and then try to run
> > again my project. It still runs fine.
> > So the problem seems to occur only the second times I try to run my
>project !
> > Very weird isn't it ???
> >
> > So, here's my question, what could be the problem ?
> > Is it Jbuilder having trouble unloading my *.class ?
> > Is it Tomcat, which when it is stopped, doesn't unload my *.class
>correctly ?
> > Is it Struts, messing something with my *.class ? (I strongly doubt about
> > that one, but I don't have a clue...)
> > Or finally is it something else ?
> >
> > Thanx for having taken the time to read me ? And any suggestion would be
> > appreciated as I don't have any clue why that exception is only thrown the
> > second time I run my project :(
> >
> > Friendly Regards,
> > Slimane
> >
> > NB.: my config:
> > JBuilder 6.0
> > Tomcat 4.0.1
> > Struts nightly build of 28/02/2002
> >
> > PS: as nobody answered my previous mail
> > (http://www.mail-archive.com/[email protected]/msg25574.html)
> > I suppose there's no solution for complex link with Struts.
> >
> >
> > --
> > 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]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to