Hi Marc,  jars under WEB-INF/lib is definitely supported by Geronimo.  Does the problem go away when you restart the server?  Also try starting and stopping the component from the web console via the Applications/Web App WARs portlet.  For a sanity check you might want to find your app deployed under GERONIMO/config-store and make sure that freemarker.jar is in WEB-INF/lib and make sure its the right size, etc.  config-store/index.properties can help you find the directory number for your app.

Best wishes,
Paul


On 1/12/06, Marc Logemann <[EMAIL PROTECTED] > wrote:
Hi,

i am trying to "port" our application to geronimo. It runs perfectly on
standalone Jetty and Tomcat. With Geronimo i have some strange issues.

First when deploying the WAR file (via admin console), everything seems
to work fine because in the console Geronimo says: "deployed
successfully". But when looking at the console, i got a
ClassNotFoundException for one of my classes. Is this the way it should
work?

Regarding the classloader exception. It marks that it cant load a
freemarker/template/TemplateHashModelEx.class but this class is
definitely shipped with freemarker.jar inside my WEB-INF/lib. BTW i get
this exception so soon, because i am using Spring to bootstrap Beans on
startup.

The very same WAR file deploys without classloader issues on tomcat and
jetty as said before.

My deployment plan is pretty simple too:

<?xml version="1.0" encoding="UTF-8"?>
<web-app
     xmlns="http://geronimo.apache.org/xml/ns/web"
                xmlns:naming=" http://geronimo.apache.org/xml/ns/naming"
     configId="Netversys">
        <context-root>/Netversys</context-root>
</web-app>

Does anyone have some hints for me?

thx

Marc Logemann

Reply via email to