-
1. Re: JBoss AS 4.2.3 to 5.1 upgrade Dependancy issue
wdfink Nov 22, 2010 2:59 PM (in response to flesner)ATM it is not very clear to me what you try to deploy.
Is it the same as with 4.2.3 works? Or what you have changed?
Please post the structure of deployed file.
-
2. Re: JBoss AS 4.2.3 to 5.1 upgrade Dependancy issue
flesner Nov 22, 2010 3:53 PM (in response to wdfink)this part actually worked int 4.2.3, but the file structure has changed. in 4.2.3 the jar files were in the "lib" subdirectory, but in 5.1 that isn't automatically picked up in the classpath? the current file structure is:
m2g.sar/
m2g-db-0.5.jar
m2g-db-0.5.war
4.2.3 it was:
m2g.sar/
m2g-db-0.5.war
lib/
m2g-db-0.5.jar
-
3. Re: JBoss AS 4.2.3 to 5.1 upgrade Dependancy issue
jaikiran Nov 23, 2010 12:26 AM (in response to flesner)Why are you deploying it as a .sar with a .war and .jar inside it? Why not deploy it as a .ear?
-
4. Re: JBoss AS 4.2.3 to 5.1 upgrade Dependancy issue
flesner Nov 23, 2010 1:05 AM (in response to jaikiran)for legacy reasons.
-
5. Re: JBoss AS 4.2.3 to 5.1 upgrade Dependancy issue
jaikiran Nov 23, 2010 1:16 AM (in response to flesner)Try deploying it via a .ear instead of .sar. I don't really know that deploying EJBs from within a .sar in AS5 is really tested or supported.