-
1. Re: sar archive unable to lookup ssb
wdfink Feb 20, 2014 4:13 PM (in response to gte338m)1 of 1 people found this helpfulThe java:module is only possible inside the same module, war classloading is a bit different.
If you use AS7 the bean should be deployed as java:app/<module name>, does this works?
-
2. Re: sar archive unable to lookup ssb
gte338m Feb 20, 2014 4:40 PM (in response to wdfink)We are using Jboss EAP 6. We were trying to use the java:module since it does not use the archive name b/c maven adds the SNAPSHOT version the name of the jar. If we use something other than java:module, we would have to change the jndi name in the code each time we changed the version.
Also, the java:app does not work either.
Thanks
-
3. Re: sar archive unable to lookup ssb
wdfink Feb 21, 2014 3:53 AM (in response to gte338m)There are some posibilities to get rid of the maven version here (if that helps)
Add this to the build of the ejb component (see here at line 62)
<build>
<finalName>${project.artifactId}</finalName>
<plugins> ...
Also you can 'rename' it during the packaging of the EAR file, see here at line 82