Enterprise Archive Problem
James <[email protected]> Thu, 14 Aug 2003 12:24:29 -0700 (PDT)
| Newsgroups | gmane.comp.java.jpublish.devel |
|---|---|
| Message-ID | <[email protected]> |
Anyone out there have experience with JPublish
deployed via an enterprise archive? I'm having some
problems.
I have an application that was originally deployed on
Tomcat web server. I am in process of moving it to
JBoss. I created a app.war file and it has been
working in JBoss v3.2.1, as such. However, there are
a couple of POJO interfaces that I need to have
visible to the EJB layer. To do this I need to deploy
the app.war into an enterprise archive, i.e. app.ear.
When doing this the POJOs that originally where in the
/WEB-INF/lib/app.jar have been moved outside the
app.war and are contained in the app.ear along with
the app.war.
The app.ear seems to deploy successfully without any
exceptions. (I can see a couple of listener classes
load successfully)
However, when I try to get the home page via browser,
I get exceptions. It looks like Jython can't find the
app package/module.
The app.war's manifest has the nessesary Class-Path
entries.
Any ideas why jython can't see the packages in
app.war? The application.xml follows.
I am using JPublish 2.0, currently.
Thanks, Jim
---------------------
<application>
<display-name>My App</display-name>
<module>
<java>app.jar</java>
</module>
<module>
<web>
<web-uri>app.war</web-uri>
<context-root>app</context-root>
</web>
</module>
</application>
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01