----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
I found the problem. I unchecked the "Emit 1.1 compatible code" box in
Metrowerks CodeWarrior, and the problem disappeared.
Lane Phillips wrote:
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hi,
>
> I got Apache and Jserv up and running. "http://localhost/jserv/" works for me,
> but when I try to run my own servlets I get Internal Server Errors, and I see
> this in the jserv.log file:
>
> [18/05/2000 07:13:03:380 CDT] java.lang.ClassFormatError: Illegal constant pool
> index
> at java.lang.ClassLoader.defineClass(ClassLoader.java:219)
> at org.apache.java.lang.AdaptiveClassLoader.loadClass(Compiled Code)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:154)
> at
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:526)
> at
> org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:488)
> at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:466)
>
> I'm using JDK 1.1.8 and SDK 2.0, Apache 1.3.12 for win32 and Jserv 1.1 for
> win32. Has anyone seen this error before? I didn't see it mentioned in the
> FAQ. What might I be doing wrong?
>
> Thanks,
> Lane
> --
> O __O __O __O __O __O __O __O __O
> +------------"^---\^"---\^"---\^"---\^"---\^"---\^"---\^"---\^"-------------+
> \ Lane Phillips + [EMAIL PROTECTED] + http://lanephillips.com/ /
> \-----------------------------------------------------------------------/
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
O __O __O __O __O __O __O __O __O
+------------"^---\^"---\^"---\^"---\^"---\^"---\^"---\^"---\^"-------------+
\ Lane Phillips + [EMAIL PROTECTED] + http://lanephillips.com/ /
\-----------------------------------------------------------------------/
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]