Re: Enterprise Archive Problem

"Florin T.PATRASCU" <[email protected]> Fri, 15 Aug 2003 14:28:21 -0400
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <5.2.1.1.2.20030815142339.010ffc08@POP>
Hi Jim - try to deploy the war|ear file as a folder ;)  instead of having 
file.war archive you'll have file.war the folder. Similar with ear. Is how 
we deploy applications and the way we use it while debugging. I am 
currently intensively using JPublish 2.0 in all our Enterprise projects at 
work and not only. The same solutions works *great* for Orion as well. 
Cheers - Florin


At 8/14/2003 03:24 PM, you wrote:
>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
>_______________________________________________
>Jpublish-developer mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jpublish-developer




-------------------------------------------------------
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