Subject: Re: [Off-Topic ?] Problem with Struts/Tomcat/Jbuilder/ 1 2 3 4 5 6 7 8 9 From: "David Bolsover" <[EMAIL PROTECTED]> === Silmane
I still think that this is a classpath / classloader problem. I managed to duplicate your error message by putting a reference to the servlet.jar file in Project Properties | Web Server | Tomcat 4.0 | Required libraries tab - I hate the way JB hides all these settings - far too complex! David "Slimane" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > hello David > > thanx for your help :) But it still doesn't work :( > > In the properties of my webapp, the servlet library of Tomcat was indeed > excluded, so that isn't the problem. > > The weirdiest thing, I think, is the fact that this happens only the second > time I run my webapp. And it doesn't happen occasionnaly but every second > time ! > Could it be related to a session bean which isn't successfully removed ? > Because I don't see what else could generate that exception. > (javax.servlet.ServletException: duplicate class definition: > org/apache/jasper/runtime/HttpJspBase) > > > Friendly regards, > Slimane > > At 03:25 9/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]> > > === > >Slimane > > > >Sorry - quite correct - there should be reference to the servlet lib in the > >project properties - however, in the webapp properties (right click hand > >holding globe) you should make sure the the Tomcat 4.0 Servlet lib is > >Excluded from the webapp. Otherwise, JBuilder will put a duplicate copy of > >servlet.jar into the WEB-INF/lib directory and into your .war file - could > >this be the problem? > > > >I'm convinced that this must be a classpath/classloader related problem and > >not that TC or Struts (or JB for that matter) are fundamentallty flawed. > > > >I occasionally see this in the JB browser: > >javax.servlet.ServletException: duplicate class definition: > >javax/servlet/jsp/JspTagException > >But NEVER when the app is deployed!! > > > >"Slimane" <[EMAIL PROTECTED]> wrote in message > >news:[EMAIL PROTECTED]... > > > 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 > > [SNIP the huge quote] > > > -- > 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]>

