[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment error with JBoss 5.0.1, NetBeans 6.5 and JAX-

jaikiran do-not-reply at jboss.com
Mon Mar 23 07:50:43 EDT 2009


"aojensen" wrote : Any alternatives to the flawed Jar file are also welcome.

The best way to fix this is to add the jboss-structure.xml which Ales mentioned in his other post. But i don't have an example for that now. 

So, if you are ready to do this, then i would recommend you comment out the Ejb3ClientDeployer from the %JBOSS_HOME%/server/< serverName>/deployers/ejb3.deployer/META-INF/ejb3-deployers-jboss-beans.xml:

<!-- Intentionally commenting out
  | 
  |    <bean name="Ejb3ClientDeployer" class="org.jboss.ejb3.deployers.Ejb3ClientDeployer">
  |      
  |       <install bean="ManagedDeploymentCreator" method="addAttachmentType">
  |          <parameter>
  |             <value>org.jboss.metadata.client.jboss.JBossClientMetaData</value>
  |          </parameter>
  |          <parameter>
  |             <value>car</value>
  |          </parameter>
  |       </install>
  |       <uninstall bean="ManagedDeploymentCreator" method="removeAttachmentType">
  |          <parameter>
  |             <value>org.jboss.metadata.client.jboss.JBossClientMetaData</value>
  |          </parameter>
  |       </uninstall>
  |       <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
  |       <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
  |    
  |       <depends>AspectLibrary</depends>
  |    </bean>
  |    -->
  | 

Note that commenting this out would mean that the server will not support EJB3 application clients.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220193#4220193

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220193



More information about the jboss-user mailing list