Howdy,
Don't feel embarrassed, it's a common mistake that not too many people would admit on 
this list ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Gorka Garay [mailto:[EMAIL PROTECTED]
>Sent: Monday, December 29, 2003 8:04 AM
>To: Tomcat Users List
>Subject: Re: Annoying problem when using new jar files
>
>Thanks all of you for your answers, but the problem is solved!
>
>The thing was that I was trying to import a package with a wrong name! What
>a stupid mistake I was making!
>
>Sorry for this.
>
>I feel embarrassed
>
>: (
>
>----- Original Message -----
>From: "Edson Alves Pereira" <[EMAIL PROTECTED]>
>To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
>Sent: Monday, December 29, 2003 2:53 PM
>Subject: RE: Annoying problem when using new jar files
>
>
>Where did you put this jar file with XXXXXX?
>
>> ----------
>> De: Gorka Garay[SMTP:[EMAIL PROTECTED]
>> Responder: Tomcat Users List
>> Enviada: segunda-feira, 29 de dezembro de 2003 9:23
>> Para: Tomcat Users List
>> Assunto: Re: Annoying problem when using new jar files
>>
>> Thatīs the name of the package that I want to import to my jsp from the
>> .jar
>> file
>>
>> =D
>>
>>
>> ----- Original Message -----
>> From: "Edson Alves Pereira" <[EMAIL PROTECTED]>
>> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
>> Sent: Monday, December 29, 2003 1:59 PM
>> Subject: RE: Annoying problem when using new jar files
>>
>>
>> Whatīs  import XXXXXX .*;?
>>
>> > ----------
>> > De: Gorka Garay[SMTP:[EMAIL PROTECTED]
>> > Responder: Tomcat Users List
>> > Enviada: segunda-feira, 29 de dezembro de 2003 8:19
>> > Para: [EMAIL PROTECTED]
>> > Assunto: Annoying problem when using new jar files
>> >
>> > Hi,
>> >
>> > This is my very first message for this tomcat users' list, so sorry for
>> > every mistakes I am going to make.
>> >
>> > I have apache+tomcat 4 installed on debian, and everything was working
>> > fine untill I tried to add a new .jar file. I have added new jar files
>> > before and everything has always worked fine.
>> >
>> > I don't understand why this time is different.
>> >
>> > The thing is that when I add the new jar file to the classpath and I
>> > restart tomcat, nothing fails; but when I try to execute the jsp, I get
>> > this error:
>> >
>> > Generated servlet error:
>> >     [javac] Since fork is true, ignoring compiler setting.
>> >     [javac] Compiling 1 source file
>> >     [javac] Since fork is true, ignoring compiler setting.
>> >     [javac]
>> /opt/tomcat/work/Standalone/localhost/_/4.0/index_jsp.java:10:
>> > package XXXXXX does not exist
>> >     [javac] import XXXXXX .*;
>> >
>> > When I take a look at catalina.out I find this:
>> >
>> > Compile failed; see the compiler error output for details.
>> >         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
>> >         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
>> >         at
>> > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
>> >         at
>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
>> >         at
>> >
>>
>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java
>> > :473)
>> >         at
>> >
>>
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
>> > :190)
>> >         at
>> >
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>> >         at
>> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>> >         at
>> >
>>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>> > onFilterChain.java:247)
>> >         at
>> >
>>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>> > Chain.java:193)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>> > java:256)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
>> > okeNext(StandardPipeline.java:643)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
>> > )
>> >         at
>> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>> > java:191)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
>> > okeNext(StandardPipeline.java:643)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
>> > )
>> >         at
>> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>> > 80)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
>> > okeNext(StandardPipeline.java:643)
>> >         at
>> >
>>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv
>> > e.java:171)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
>> > okeNext(StandardPipeline.java:641)
>> >         at
>> >
>>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>> > 72)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
>> > okeNext(StandardPipeline.java:641)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
>> > )
>> >         at
>> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
>> > va:174)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
>> > okeNext(StandardPipeline.java:643)
>> >         at
>> >
>>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
>> > )
>> >         at
>> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>> >         at
>> > org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
>> >         at
>> > org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
>> >         at java.lang.Thread.run(Thread.java:534)
>> >
>> >
>> > The problem is not so annoying so far, but I guess you all see when I
>> say
>> > this: I have tried with another test.jar file and test.jsp and nothing
>> > fails!!!
>> >
>> > Why this test.jar works and the other one I want to work doesn't?
>> >
>> > I have tried to use this .jar file with the resin (another jsp server)
>> and
>> > it also fails, may it be that the jar file is corrupted? I have created
>> > the jar file in two different computers and both fail. I have read the
>> > documentation about tomcat 4.1 and apache, but I have found nothing
>> > useful.
>> >
>> > I have thought about installing the new tomcat 5 but if the test.jar
>> works
>> > it means tomcat 4 is working fine, or not?
>> >
>> > Can anybody help me with this?
>> >
>> > Thanks in advance, sorry for my rusty english.
>> >
>> >
>> > Gorka Garay
>> > Diseņo y Desarrollo
>> >
>> > SISTEMASJUDO
>> > Ctra. Basurto - Castrejana, 70
>> > 48 002 Bilbao
>> > tel / fax (+34) 944 393 061
>> > www.sistemasjudo.com
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to