Ok, I did it. First I tried to add the jacorb and iiop services to that 
configuration, but something was wrong, and the iiop-invoker could not start. 
Than I did it reverse, I added the ejb3-extras to the all configuration from 
the zip package. It seems to work, the invoker seems to work, is is showed as 
started in jmx, but when the jboss.xml is modified to make the ejb to use the 
iiop invoker, it does not register it into the CORBA NameService.
Here is my jmx jndi view:

  | HASessionState (class: org.jnp.interfaces.NamingContext)
  |   |   +- Default (class: 
org.jboss.ha.hasessionstate.server.HASessionStateImpl)
  |   +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
  |   +- jmx (class: org.jnp.interfaces.NamingContext)
  |   |   +- invoker (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- RMIAdaptor (proxy: $Proxy52 implements interface 
org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface 
org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
  |   |   +- rmi (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: 
javax.naming.LinkRef)
  |   +- JAXR (class: org.apache.ws.scout.registry.ConnectionFactoryImpl)
  |   +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  |   +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  |   +- UserTransactionSessionFactory (proxy: $Proxy12 implements interface 
org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
  |   +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  |   +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  |   +- invokers (class: org.jnp.interfaces.NamingContext)
  |   |   +- localhost(class: org.jnp.interfaces.NamingContext)
  |   |   |   +- iiop (class: org.jboss.invocation.iiop.IIOPInvoker)
  |   +- TestBean (class: org.jnp.interfaces.NamingContext)
  |   |   +- remote (class: java.lang.Object)
  |   |   +- remoteStatefulProxyFactory (proxy: $Proxy76 implements interface 
org.jboss.ejb3.ProxyFactory)
  |   +- UserTransaction (class: 
org.jboss.tm.usertx.client.ClientUserTransaction)
  |   +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: 
javax.naming.LinkRef)
  |   +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: 
javax.naming.LinkRef)
  |   +- HAPartition (class: org.jnp.interfaces.NamingContext)
  |   |   +- DefaultPartition (class: 
org.jboss.ha.framework.server.HAPartitionImpl)
  |   +- topic (class: org.jnp.interfaces.NamingContext)
  |   |   +- testDurableTopic (class: org.jboss.mq.SpyTopic)
  |   |   +- testTopic (class: org.jboss.mq.SpyTopic)
  |   |   +- securedTopic (class: org.jboss.mq.SpyTopic)
  |   +- queue (class: org.jnp.interfaces.NamingContext)
  |   |   +- A (class: org.jboss.mq.SpyQueue)
  |   |   +- testQueue (class: org.jboss.mq.SpyQueue)
  |   |   +- ex (class: org.jboss.mq.SpyQueue)
  |   |   +- DLQ (class: org.jboss.mq.SpyQueue)
  |   |   +- D (class: org.jboss.mq.SpyQueue)
  |   |   +- C (class: org.jboss.mq.SpyQueue)
  |   |   +- B (class: org.jboss.mq.SpyQueue)
  |   +- console (class: org.jnp.interfaces.NamingContext)
  |   |   +- PluginManager (proxy: $Proxy53 implements interface 
org.jboss.console.manager.PluginManagerMBean)
  |   +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: 
javax.naming.LinkRef)
  |   +- HiLoKeyGeneratorFactory (class: 
org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
  |   +- UILConnectionFactory[link -> ConnectionFactory] (class: 
javax.naming.LinkRef)
  |   +- EventDispatcher (class: org.jboss.ws.eventing.mgmt.DispatcherDelegate)
  |   +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
  |   +- UUIDKeyGeneratorFactory (class: 
org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
  | 
My CorbaNaming service says just these:
TransactionService
  | UserTransaction
Here is my jboss.xml
<jboss>
  |       <enterprise-beans>
  |          <session>
  |            <ejb-name>TestBean</ejb-name>
  |           <configuration-name>Standard Stateful 
SessionBean</configuration-name>
  |             <invoker-bindings>
  |                <invoker>
  |                   
<invoker-proxy-binding-name>stateful-rmi-invoker</invoker-proxy-binding-name>
  |                </invoker>
  |                <invoker>
  |                   
<invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>
  |                </invoker>
  |             </invoker-bindings>
  |          </session>
  |       </enterprise-beans>
  |    </jboss>
  |    
I will try out with EJB2.1 too. Can this be an ejb3 specific problem, maybe I 
need to set something else, or my app server has the problem?

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to