[Beginners Corner] - Re: invoking an EJB over iiop
by HibsMax
I just wanted to add the following stdout from my backend server to show that the EJB is being deployed as expected.
15:22:42,381 INFO [EjbModule] Deploying interop.InteropBean
| 15:22:42,880 INFO [InteropBean] EJBHome reference for interop.InteropHome:
| IOR:0000000000000041524D493A7765626C6F6769632E71612E74657374732E656A6232302E696E7465726F702E496E7465726F70486F6D653A30303030303030303030303030303030000000000000000200000000000000D4000102000000000F3137322E31382E3133362E31323800000DC80000000000284A426F73732F454A42486F6D652625696E7465726F702E496E7465726F70486F6D652FACED000570000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000001900000034000000000000002C687474703A2F2F7261703A383038332F576562434C5B696E7465726F702E496E7465726F704265616E5D2F000000002000000004000000000000001F0000000400000003000000010000005C00000000000000030000001900000034000000000000002C687474703A2F2F7261703A383038332F576562434C5B696E7465726F702E496E7465726F704265616E5D2F000000002000000004000000000000001F0000000400000003
| 15:22:42,881 INFO [InteropBean] Home IOR for interop.InteropBean bound to iiop/interop.InteropHome in JNP naming service
| 15:22:42,883 INFO [InteropBean] Home IOR for interop.InteropBean bound to interop.InteropHome in CORBA naming service
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051078#4051078
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051078
18Â years, 10Â months
[JBossCache] - Re: Using Jboss Cache 1within WebLogicServer 10.0
by ramdas
Thanks. That helped.
I am relatively new to the JBoss cache world and since i am porting this code over from running within JBoss to WLS, i am not sure what all in the code belongs to the JBoss cache vs JBoss AS.
In my application code, the JNDI lookup is done using the MBeanServerLocator class as shown here:
MBeanServer server = MBeanServerLocator.locate();
cache = (TreeCacheMBean)MBeanProxyExt.create(TreeCacheMBean.class,"jboss.cache:service=TreeCache", server);
The cache is then manipulated using cache.put() and cache.get() methods.
I am assuming the TreeCache is registered into the JBoss AS JNDI automatically by the JBoss AS framework using the "replySync-service.xml" configuration file.
In the sample that u have put out, if i understand it right, the job of registering the TreeCache is being done by the JBossCacheManager class.
Was wondering if it was possible to use the MBeanServerLocator within WebLogic server to locate the JBoss cache ? Or would I need to use the JBossCacheManager approach to register the TreeCache?
Thanks
Ramdas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051076#4051076
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051076
18Â years, 10Â months
[Clustering/JBoss] - Clustered EJB3 Client Proxy
by RedChili
I'm deploying a @clustered annotated ejb3 application on my cluster but when I turn off the jboss node that the client is currently connected to the application is not switching to the other node. It still tries to connect to the (dead) node on port 3873 again and again.
>From the documentation I understand that there is not much more than the annotation needed for the EJB. The client app should try to connect to the client proxy and seamlessly fail over.
Since this isn't the case I wonder where and how I could configure/check the client proxy. The docs talk about jboss.xml in the client.jar but I'm missing examples there. Also standardjboss.xml contains lots of client-proxy configurations but how would those be used?
I'm on JBoss 4.2.0GA
Thanks,
Reinhard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051071#4051071
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051071
18Â years, 10Â months