I have an issue with my ear deployment with JBoss 4.0.3 RC1
Here is my dependancy Management declaration in my parent pom:
====================================================================================
<dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
<version>1.0</version>
<type>jar</type>
</dependency>
Here is my ear pom declaration:
====================================================================================
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
</dependency>
<dependency>
<groupId>ehcache</groupId>
<artifactId>ehcache</artifactId>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
</dependency>
here is my servlet/war declaration:
=====================================================================================
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
</dependency>
<dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</dependency>
<dependency>
<groupId>aspectj</groupId>
<artifactId>aspectjrt</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
</dependency>
<dependency>
<groupId>ehcache</groupId>
<artifactId>ehcache</artifactId>
</dependency>
Now this jar is in my ear, and in the ear manifest.mf:
==================================================================================
Class-Path: aopalliance-1.0.jar junit-3.8.1.jar aspectjrt-1.5.0_RC1.ja
r cglib-nodep-2.1_2.jar common-managers-1.0.jar log4j-1.2.8.jar commo
ns-logging-1.0.4.jar dom4j-1.6.jar sequence-generator-1.0.jar spring-
1.2.6.jar ehcache-1.1.jar cglib-2.1_3.jar common-jar-1.0.jar commons-
lang-2.1.jar properties-configuration-1.0.jar hibernate-3.1rc3.jar as
m-1.5.3.jar commons-collections-2.1.1.jar antlr-2.7.6rc1.jar
The jar is also in my war WEB-INF/lib dir
but I keep getting this error:
===================================================================================
11:33:31,984 DEBUG [MainDeployer] new manifest entry for sdi at ear-1.0.ear
entry is aopalliance-1.0.jar
11:33:31,984 DEBUG [MainDeployer] The manifest entry in
file:/C:/jboss-4.0.3SP1/server/default/deploy/ear-1.0.ear references URL
file:/C:/jboss-4
0.3SP1/server/default/deploy/aopalliance-1.0.jar which could not be opened,
entry ignored
org.jboss.deployment.DeploymentException: url
file:/C:/jboss-4.0.3SP1/server/default/deploy/aopalliance-1.0.jar could not be
opened, does it exis
t?
at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:191)
at
org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1101)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:855)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
--------------------------------------------------------------------------------
Thanks
Mick Knutson
http://www.BASELogic.com
http://www.MickKnutson.com
MSN Messenger: [EMAIL PROTECTED]
--------------------------------------------------------------------------------