There is good news though - in recent builds you can configure which port is used for the RMI communication and make sure that this port is allowed through any firewalls etc.
If you look in conf/jboss-service.xml for the NamingService MBean:
<attribute name="Port"> is the port you do the lookup on (typically 1099)
<attribute name="RmiPort"> if zero (the default) an anonymous port will be used - set it to fix which port to use.
Hope that helps (disclaimer: I've not actually used this, but I've seen it in the config!)
-Andrew
[EMAIL PROTECTED] wrote:
Heiko
Thanks for responding. Why would such things affect the attempt to create but not the lookup? Is it some kind of binding issue?
Regards
Eric
Quoting "Rupp, Heiko" <[EMAIL PROTECTED]>:
Very oftern in the past when such things happened, it were things like - dns problems - tcpd trying to do itend queries that fail/time out - firewalls that don't to a reset for protected ports, but just drop packets
________________________________
Von: [EMAIL PROTECTED] im Auftrag von Eric J Kaplan Gesendet: Sa 21.02.2004 14:08 An: [EMAIL PROTECTED] Betreff: RE: [JBoss-user] Hung client
Any thoughts on this one? We look pretty silly as huge jboss advocates when something like this happens. While we haven't ruled out something else, I'd like to know if anyone has seen anything similar, because there are no messages on either the server or the client. BTW, below replace sessionbean.create() with sessionbeanhome.create().
Regards
Eric
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, February 20, 2004 4:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [JBoss-user] Hung client
We are having a very strange problem. We have three different solaris machines we are trying to run jboss on. On two out of the three machines, when we run the application server, a client on another solaris box is unable to create a session bean (sessionbean.create()) after a successful jndi lookup. It just seems to hang forever, no message, no exception, nothing obvious, with the stack trace shown below.
However, if the client is on the same box as the server, it is ok. On one of the machines, when we run jboss, we can connect from a different machine.
We are told that the two server machines we are having a problem on are "server" machines, but we aren't sure what this means. Does anyone know of anyone having similar issues? This is jboss 3.2.3.
We have run successfuly on jboss for a while, just seeing this problem now at a new installation.
Urgent, any help would be appreciated.
Regards
"main" prio=5 tid=0x00742D90 nid=0x13c runnable [6e000..6fc40] at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) - locked <02C41ED8> (a java.net.PlainSocketImpl) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:434) at java.net.Socket.connect(Socket.java:384) at java.net.Socket.<init>(Socket.java:291) at java.net.Socket.<init>(Socket.java:119) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect SocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster SocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185 ) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313) at sun.rmi.transport.DGCImpl_Stub.dirty(Unknown Source) at sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.jav a:328) at sun.rmi.transport.DGCClient$EndpointEntry.registerRefs(DGCClient.java :275) at sun.rmi.transport.DGCClient.registerRefs(DGCClient.java:112) at sun.rmi.transport.LiveRef.read(LiveRef.java:274) at sun.rmi.server.UnicastRef2.readExternal(UnicastRef2.java:54) at java.rmi.server.RemoteObject.readObject(RemoteObject.java:420) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.readExternal(JR MPInvokerProxy.java:200) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:168 6) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 644) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at java.util.HashMap.readObject(HashMap.java:986) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824 ) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18 45) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:112 ) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:168 6) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 644) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18 45) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:3 0) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:550) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.armanta.ejb.ArmantaDataAbstraction.getHome(ArmantaDataAbstraction .java:147) at com.armanta.rptgen.DataServer.c(DataServer.java:1622) at com.armanta.rptgen.DataServer.getReportDate(DataServer.java:891) at com.armanta.guiutil.LoginDialog.<init>(LoginDialog.java:94) at com.armanta.app.coldefs.ColdefsViewer.<init>(ColdefsViewer.java:101) at com.armanta.app.coldefs.ColdefsViewer.main(ColdefsViewer.java:111)
"VM Thread" prio=5 tid=0x00746E50 nid=0x13b runnable
"VM Periodic Task Thread" prio=10 tid=0x0074A090 nid=0xfa waiting on condition "Suspend Checker Thread" prio=10 tid=0x0074B6F0 nid=0x130 runnable
--------------------------------------------------- IMP Webmail brought to you by Galaxy Networks, Inc. http://www.galaxy.net
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
--------------------------------------------------- IMP Webmail brought to you by Galaxy Networks, Inc. http://www.galaxy.net
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
