Thank you for your help.  I figured it out.  I was running "tomcat-build",
and not "tomcat-build jar".  It would be nice if it would work by default or
tell you it is not going to. If this is not the correct behavior, I'll send
the env if you want.   Anyway, I built it and still same problem.

For those of you just tuning in the error I get is:

Location: /turbine/servlet/Turbine
Internal Servlet Error:
java.lang.VerifyError: (class: org/apache/turbine/Turbine, method: init
signature: (Ljavax/servlet/ServletConfig;)V) Incompatible object argument
for function call
        at java.lang.ClassLoader.resolveClass0(Native Method)
        at java.lang.ClassLoader.resolveClass(Unknown Source)
        at
org.apache.tomcat.loader.AdaptiveClassLoader.loadSystemClass(AdaptiveClassLo
ader.java:474)
        at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava, Compiled Code)
        at
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoad
er.java:141)
        at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java,
Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
        at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
        at java.lang.Thread.run(Unknown Source)




I was wondering if maybe the method signature of Turbine.init(...) was
different than what tomcat expects?  I would not think so, but I am checking
on it.
Or Maybe the servlets.jar is incompatable?

Anybody, have any other ideas?

Thanks,

Anthony Mills

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Christopher Elkins
Sent: Friday, November 03, 2000 1:04 PM
To: Turbine
Subject: Re: Turbine does not work...

<snip>
> What I would like to try now is to rebuild Turbine from scratch.  I tried
> running the build-turbine.bat and it fails.  With the same error message:
> "[javac] javac: invalid flag: -sourcepath".  I check my version, Sun's
> jdk1.2.2 , javac and it does not support the flag -sourcepath.  So, my
> question is how to either one build it, or two get a working copy of the
> Turbine jar.  Any suggestions, help, or pointers would be appreciated.
BTW
> I am not new to Java or Tomcat, and yes the both work.

Are you sure the JDK1.2.2 javac is actually the javac being executed? Your
version of javac definitely does support the -sourcepath flag:
(http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/javac.html).
However,
that flag does not exist for javac <JDK1.2. Do you have an older JDK in your
path?

Can you run the following and send us your output?
    build-turbine.bat env

>   Thanks,
>   Anthony Mills
>

--
Christopher Elkins



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to