-
1. Re: How to add jacorb module to OOTB standalone.xml configuration
techy_bolek May 1, 2014 8:09 PM (in response to techy_bolek)I cannot get the standard Sun ORB to instantiate either. I set the "org.omg.CORBA.ORBClass" property to "com.sun.corba.se.impl.orb.ORBImpl" and I get:
java.lang.ClassNotFoundException: com.sun.corba.se.impl.orb.ORBImpl from [Module "deployment.SM_Web.war:main" from Service Module Loader]
-
2. Re: How to add jacorb module to OOTB standalone.xml configuration
techy_bolek May 1, 2014 9:45 PM (in response to techy_bolek)Got it to work by placing the following jboss-deployment-structure.xml under WEB-INF:
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.jacorb" />
</dependencies>
</deployment>
</jboss-deployment-structure>
-
3. Re: How to add jacorb module to OOTB standalone.xml configuration
ctomc May 5, 2014 5:08 AM (in response to techy_bolek)You only registered jacorb extension but you didn't activate it.
you are missing subsystem configuration of it to be activated.
add:
<subsystem xmlns="urn:jboss:domain:jacorb:1.3">
<orb socket-binding="jacorb" ssl-socket-binding="jacorb-ssl">
<initializers transactions="spec" security="identity"/>
</orb>
</subsystem>
under subsystems
and add
<socket-binding name="jacorb" interface="unsecure" port="3528"/>
<socket-binding name="jacorb-ssl" interface="unsecure" port="3529"/>
on bottom under socket-bindings.
you can also just run server with
standalone.sh|bat -c standalone-full.xml
which already has jacorb enabled.
by manually importing module as dependency you only get its classpath but none of the integration with the server, which is what subsystem takes care of.