07-25-07 06:23 AM
ibobbyc@hotmail.com wrote:
> We have a JSF,Spring/Hibernate application running on TomCat that I am try
ing to port to WebSphere 6.1. I have created an EAR via an Ant script. The E
AR uis configured as follows:
>
> Root:
> META-INF/Application.xml
> Jar that represents the 'business tier' classes
> Jar that represents the 'web tier' classes
> Common jar for Exception classes, Constants classes, etc.
> A large number of library jars e.g. Spring.jar, Hibernate3.jar, log4j.jar,
etc.
>
> In the WAR I put only the jspx's and the configuration files in WEB-INF li
ke faces-config and ApplicationContext.xml, among others.
>
> I'm using the Ant's Manifest tag inside the ear task. This produces a Manifest fil
e that looks something like this: Class-Path: Spring.jar Hibernate3.jar MyBustier.ja
r - etc. The problem is that Websphere is not loading these classes. Does anyone hav
e a
n example of a Manifest file that includes the Class-Path attribute? Maybe the issue is with
the Ant generation of the Manifest file?
>
> Thanks very much,
> Shibani
>
Shibani,
I've got one that looks like this:
Manifest-Version: 1.0
Class-Path: ApplicationCommon.jar
ApplicationMBeans.jar
BackendConnector.jar
BackendProxies.jar
Exceptions.ja
P.S. I saw 'MyBustier.jar' and thought 'Wow, interesting naming
convention there!'. Took me about a minute to make the connection to
'Business Tier' :-)
Ken
[ Post a follow-up to this message ]
|