All of a sudden I get this error in my global-application.log:

/4/01 12:19 PM defaultWebApp: Error preloading servlet
javax.servlet.ServletException: Error instantiating servlet 'classpath'
(servlet class not found, make sure it exists at
/usr/local/orion/default-web-app/WEB-INF/classes/classpath/Classpath.class,
in a jar in /usr/local/orion/default-web-app/WEB-INF/lib/, in an
orion-web.xml specified classpath or global server classpath)
        at com.evermind.server.http.HttpApplication.wi(JAX)
        at com.evermind.server.http.HttpApplication.wt(JAX)
        at com.evermind.server.http.HttpApplication.v3(JAX)
        at com.evermind.server.http.HttpApplication.<init>(JAX)
        at com.evermind.server.Application.uq(JAX)
        at com.evermind.server.http.en.uq(JAX)
        at com.evermind.server.http.em.uy(JAX)
        at com.evermind.server.http.em.gf(JAX)
        at com.evermind.server.http.en.u1(JAX)
        at com.evermind.server.http.en.gf(JAX)
        at com.evermind.server.ApplicationServer.aqb(JAX)
        at com.evermind.server.ApplicationServer.gf(JAX)
        at com.evermind.server.hi.run(JAX)
        at java.lang.Thread.run(Thread.java:484)
        at com.evermind.util.f.run(JAX)


I have the following in global-web-application.xml

                        <servlet>
                        <servlet-name>classpath</servlet-name>
                        <servlet-class>classpath.Classpath</servlet-class>
                        <init-param>
                                <param-name>defaultContentType</param-name>
                                <param-value>text/html</param-value>
                        </init-param>
                <load-on-startup>1</load-on-startup>
                </servlet>

And the Classpath.class is in /usr/local/orion/lib

I think it has to do with the load-on-startup not working? I had a similar
problem with a webapp
I installed which had <load-on-startup>1</load-on-startup> but it wasn't
loading it. I changed the 1 to a
2 (just guessing that Orion might load it that way) and it actually worked.

But now all of a sudden I get this error. I even tried removing that webapp
with the load-on-startup.  Same problem.  What are the valid values for
load-on-startup? 0 or 1?

My only other hunch is that the problem could be related to a classpath
issue. I had to change the classpath a bit for other programs. But I tried
all variations and could not get it to work.

Thanks, Neal


Reply via email to