You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Paul Hammant <Pa...@yahoo.com> on 2001/11/24 13:36:35 UTC

Cornerstone/apps/bay status

Cornerstone/apps/bay is working with Catalina 4.0.1 again to the same 
level that it was before.

Issues :

1) servlet.jar needs to be copied to phoenix's own lib dir.

2) There is no service interface that would be useful (unlike Hendrik's 
Jo!).

3) JSP does not work because of a mistake in Catalina's code.  I think 
this exception .....

java.lang.NoClassDefFoundError: org/apache/jasper/JasperException
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:820)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
        at org.apache.catalina.startup.Embedded.addEngine(Embedded.java:469)
        at java.lang.reflect.Method.invoke(Native Method)

.. is happening because StandardWrapper cannot recognse that embedded 
mode means it is not necessarily in the promordial classloader.
There is already a hint in the code that this is a problem for other 
configurations.....

        // Special case class loader for a Catalina internal servlet
        if (isContainerServlet(actualClass)) {
            classLoader = this.getClass().getClassLoader();
            log(sm.getString
                  ("standardWrapper.containerServlet", getName()));
        }
        Class classClass = null;
        try {
            if (classLoader != null) {
                classClass = classLoader.loadClass(actualClass);
            } else {
                classClass = Class.forName(actualClass);
            }
        } catch (ClassNotFoundException e) {
        ............

Do we have anyone here who is an active Tomcat developer?

Regards,

- Paul H


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Cornerstone/apps/bay status

Posted by Paul Hammant <Pa...@yahoo.com>.
Peter,

>>1) servlet.jar needs to be copied to phoenix's own lib dir.
>>
>
>whats the reason for this? And can we fix it?
>
Two answers :

A) The "This is a collection of examples which demonstrate some of the 
m..." page fails to load when you're navigating to servlets for 
examples.  When in top level lib/ it works fine.

B) It's related to our long ruinning debate on K/CAPI/HC separation I 
think.  

Thinking about this, there are two types of CAPI - 1) slow evolving 
"Standard" APIs like Servlet, 2) fast evolving APIs

Regards,

- Paul H


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Cornerstone/apps/bay status

Posted by Peter Donald <pe...@apache.org>.
On Sat, 24 Nov 2001 23:36, Paul Hammant wrote:
> 1) servlet.jar needs to be copied to phoenix's own lib dir.

whats the reason for this? And can we fix it?

-- 
Cheers,

Pete

*------------------------------------------------*
| Trying is the first step to failure.           |
|   So never try, Lisa  - Homer Jay Simpson      |
*------------------------------------------------*

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>