-
1. Re: Jboss7 dependencies pratique : how to manage the version part of the a lib like {artifactId}-{version}.jar?
sfcoy Sep 25, 2012 8:06 AM (in response to yunshi)One solution to the JNDI problem (amongst others) is to use jboss-cli to deploy your ejb jar:
{code}[standalone@localhost:9999 /] deploy /Users/steve/work/axe/platform/myworkspace/sample-ejb/target/sample-ejb-1.0-SNAPSHOT.jar --name=sample-ejb.jar{code}
This results in the following deployed JNDI names:
{code}
21:56:59,313 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named SampleSession in deployment unit deployment "sample-ejb.jar" are as follows:
java:global/sample-ejb/SampleSession!org.jboss.demo.ejb.SampleSession
java:app/sample-ejb/SampleSession!org.jboss.demo.ejb.SampleSession
java:module/SampleSession!org.jboss.demo.ejb.SampleSession
java:jboss/exported/sample-ejb/SampleSession!org.jboss.demo.ejb.SampleSession
java:global/sample-ejb/SampleSession
java:app/sample-ejb/SampleSession
java:module/SampleSession
{code}
You can find out more about this in Deploy and undeploy with the CLI.
-
2. Re: Jboss7 dependencies pratique : how to manage the version part of the a lib like {artifactId}-{version}.jar?
sfcoy Sep 25, 2012 8:10 AM (in response to yunshi)1 of 1 people found this helpfulThe problem with versions in your jboss-deployment-structure.xml file is easily solved using maven resource filtering.
-
3. Re: Jboss7 dependencies pratique : how to manage the version part of the a lib like {artifactId}-{version}.jar?
yunshi Sep 25, 2012 8:20 AM (in response to sfcoy)You are great Stephen. Many thanks !
-
4. Re: Jboss7 dependencies pratique : how to manage the version part of the a lib like {artifactId}-{version}.jar?
yunshi Oct 5, 2012 12:23 PM (in response to sfcoy)I find this would be useful too :https://community.jboss.org/thread/205932