This content has been marked as final. 
    
Show                 6 replies
    
- 
        1. Re: appclient classpath additions for mc usagejaikiran Oct 19, 2008 7:09 AM (in response to starksm64)Apart from the ones listed in your post, while trying to get the EJB injection working (through -launcher org.jboss.ejb3.client.ClientLauncher) in application client https://www.jboss.org/community/docs/DOC-12835, i also had to add: 
 %JBOSS_HOME%\client\jboss-metadata.jar
 %JBOSS_HOME%\lib\jboss-kernel.jar
 %JBOSS_HOME%\lib\jboss-xml-binding.jar
 %JBOSS_HOME%\lib\jboss-vfs.jar
 %JBOSS_HOME%\server\default\lib\jboss-ejb3-core.jar
 I had to add the %JBOSS_HOME%\server\default\lib\jboss-ejb3-core.jar because the %JBOSS_HOME%\client\jboss-ejb3-core-client.jar does not contain one of the required classes present in jboss-ejb3-core.jar.
- 
        2. Re: appclient classpath additions for mc usagealrubinger Oct 19, 2008 4:39 PM (in response to starksm64)"jaikiran" wrote: 
 I had to add the %JBOSS_HOME%\server\default\lib\jboss-ejb3-core.jar because the %JBOSS_HOME%\client\jboss-ejb3-core-client.jar does not contain one of the required classes present in jboss-ejb3-core.jar.
 I see this also came up on the EJB3 User's Forum.
 Do you know which classes are missing from jboss-ejb3-client.jar?
 Once identified these get added to the M2 Assembly Plugin config in jbossas/projects/ejb3/trunk/core/jboss-ejb3-client.xml.
 S,
 ALR
- 
        3. Re: appclient classpath additions for mc usagejaikiran Oct 20, 2008 12:43 AM (in response to starksm64)"ALRubinger" wrote: 
 Do you know which classes are missing from jboss-ejb3-client.jar?
 org.jboss.ejb3.DependencyPolicy was the one for which i got the class missing error. I will see if there are any other additional classes that need to be included in the client jar.
- 
        4. Re: appclient classpath additions for mc usagejaikiran Oct 20, 2008 6:16 AM (in response to starksm64)"ALRubinger" wrote: 
 Do you know which classes are missing from jboss-ejb3-client.jar?
 Here's the classes which are required in the client jar:
 org/jboss/ejb3/DependencyPolicy
 org/jboss/ejb3/entity/PersistenceUnitDeployment
 org/jboss/ejb3/deployers/JBoss5DependencyPolicy
 org/jboss/ejb3/MCDependencyPolicy"ALRubinger" wrote: 
 Once identified these get added to the M2 Assembly Plugin config in jbossas/projects/ejb3/trunk/core/jboss-ejb3-client.xml.
 Do you want me to open a JIRA for this and commit it as a fix for that issue?
- 
        5. Re: appclient classpath additions for mc usagealrubinger Oct 20, 2008 9:05 AM (in response to starksm64)"jaikiran" wrote: 
 Do you want me to open a JIRA for this and commit it as a fix for that issue?
 Yep. :)
 S,
 ALR
 
     
    