Thanks.<br />Paresh Doshi<br />SCJP 1.4
Originally posted by paresh doshi:
and i call up in java as:
Note: JBoss does not recommend using this feature on a production environment. It requires accessing a connection pool remotely and this is an anti-pattern as connections are not serializable. Besides, transaction propagation is not supported and it could lead to connection leaks if the remote clients are unreliable (i.e crashes, network failure). If you do need to access a datasource remotely, JBoss recommends accessing it via a remote session bean facade.
Thanks.<br />Paresh Doshi<br />SCJP 1.4
Thanks.<br />Paresh Doshi<br />SCJP 1.4
Originally posted by paresh doshi:
21:22:33,409 INFO [STDOUT] javax.naming.NameNotFoundException: CPDS
21:22:33,409 INFO [STDOUT] at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.ja
va:242)
21:22:33,409 INFO [STDOUT] at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:1
55)
21:22:33,409 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
21:22:33,409 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
21:22:33,409 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
21:22:33,409 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
21:22:33,409 INFO [STDOUT] at org.jboss.ha.framework.server.HARMIServerImpl
.invoke(HARMIServerImpl.java:209)
21:22:33,409 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
21:22:33,409 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
21:22:33,409 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
21:22:33,409 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
21:22:33,409 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(Unic
astServerRef.java:261)
21:22:33,409 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.j
ava:148)
21:22:33,409 INFO [STDOUT] at java.security.AccessController.doPrivileged(N
ative Method)
21:22:33,409 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Trans
port.java:144)
21:22:33,409 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMess
ages(TCPTransport.java:460)
21:22:33,409 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$Connection
Handler.run(TCPTransport.java:701)
21:22:33,409 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
21:22:33,409 INFO [STDOUT] at sun.rmi.transport.StreamRemoteCall.exceptionR
eceivedFromServer(StreamRemoteCall.java:247)
21:22:33,409 INFO [STDOUT] at sun.rmi.transport.StreamRemoteCall.executeCal
l(StreamRemoteCall.java:223)
Please let me know if there is any other solution.
Thanks.<br />Paresh Doshi<br />SCJP 1.4
Thanks.<br />Paresh Doshi<br />SCJP 1.4
Thanks.<br />Paresh Doshi<br />SCJP 1.4
I tried the same code with JBOSS 4.0, it works fine...
Thanks.<br />Paresh Doshi<br />SCJP 1.4
rubbery bacon. rubbery tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|