[JBoss-user] [JNDI/Naming/Network] - Re: Delay in getting Server response

2006-06-19 Thread rschroeder
I think I identified the cause of the delay: When loading a proxy class, rmi 
logging says that http://AS2:; is used as codebase.
But the hostname of the machine running JBoss 4 is 
as2.sub1.sub2.sub3.test.com.

I started JBoss with the two parameters   
-Djava.rmi.server.hostname=as2.sub1.sub2.sub3.test.com 
-Djava.rmi.server.useLocalHostname=false
suggested at this site 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall - but the 
slowdown doesn't disappear.
Moreover, when loading a proxy class http://AS2:; is still used.
I expected to see something like http://as2.sub1.sub2.sub3.test.com:; used as 
codebase.

Do I also have to set provider URL with jnp protocol?
What else could cause the trouble.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3951697#3951697

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951697


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Delay in getting Server response

2006-06-13 Thread rschroeder
This is a continuation of the original posting:

Through additional logging we found RMI consuming a lot of time of the call to 
the server.

The following log snippet shows a call to the JBoss JNDI - it took 7 seconds to 
find the proxy interfaces via classloader.


  | 
  | 08.06 10:05:41,390[DEBUG][][AWT-EventQueue-0][EjbHelper] - cout = 
[1149753941390] 
javax.naming.Context.lookup(DE.data_experts.jwam.domainvalue.ejb.DvLoaderEJB)
  | 
  | [..]
  | 
  | 08.06 10:05:41,421[INFO ][][AWT-EventQueue-0][rmi] - 08.06.2006 10:05:41 
sun.rmi.server.LoaderHandler loadProxyClass
  | FEIN: AWT-EventQueue-0: interfaces = 
[DE.data_experts.jwam.domainvalue.ejb.DvLoaderEJBHome, javax.ejb.Handle], 
codebase = http://AS2:11702/;, defaultLoader = [EMAIL PROTECTED]
  | 
  | 08.06 10:05:41,421[INFO ][][AWT-EventQueue-0][rmi] - 08.06.2006 10:05:41 
sun.rmi.server.LoaderHandler loadProxyClass
  | FEINER: AWT-EventQueue-0: (thread context class loader: [EMAIL PROTECTED])
  | 
  | 08.06 10:05:41,734[INFO ][][RMI ConnectionExpiration-[test.com:10742]][rmi] 
- 08.06.2006 10:05:41 sun.rmi.transport.tcp.TCPChannel$Reaper run
  | FEINER: RMI ConnectionExpiration-[test.com:10742]: wake up
  | 
  | 08.06 10:05:46,843[INFO ][][RMI ConnectionExpiration-[test.com:12702,[EMAIL 
PROTECTED] - 08.06.2006 10:05:46 sun.rmi.transport.tcp.TCPChannel$Reaper run
  | FEINER: RMI ConnectionExpiration-[test.com:12702,[EMAIL PROTECTED]: wake up
  | 
  | 08.06 10:05:48,187[INFO ][][AWT-EventQueue-0][rmi] - 08.06.2006 10:05:48 
sun.rmi.server.LoaderHandler loadProxyClass
  | FEINER: AWT-EventQueue-0: proxy interfaces found via defaultLoader, defined 
by [EMAIL PROTECTED], [EMAIL PROTECTED]
  | 
  | 08.06 10:05:48,187[INFO ][][AWT-EventQueue-0][rmi] - 08.06.2006 10:05:48 
sun.rmi.server.LoaderHandler loadProxyClass
  | FEINER: AWT-EventQueue-0: proxy class defined by [EMAIL 
PROTECTED]http://AS2:11702/;]
  | 
  | 08.06 10:05:48,187[INFO ][][AWT-EventQueue-0][rmi] - 08.06.2006 10:05:48 
sun.rmi.server.LoaderHandler loadClass
  | FEIN: AWT-EventQueue-0: name = java.lang.reflect.Proxy, codebase = 
http://AS2:11702/;, defaultLoader = [EMAIL PROTECTED]
  | 
  | [..]
  | 
  | 08.06 10:05:48,343[DEBUG][][AWT-EventQueue-0][EjbHelper] - cin = 
[1149753941390] 
javax.naming.Context.lookup(DE.data_experts.jwam.domainvalue.ejb.DvLoaderEJB)
  | 
  | 

Any hints what could cause the problem?
RMI? JBoss4? Webstart and it's JNLPClassloader? Some network problem?

Robert

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3950658#3950658

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950658


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Delay in getting Server response

2006-05-10 Thread jaikiran
rschroeder wrote : 
  | PS: Is there a way to configure the range of ports used for RMI? It seems 
that the PooledInvoker uses a port range starting at 4000 - but it should use a 
higher lower limit (starting at 10.000).

Have a look at:

http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePorts

http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3942507#3942507

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942507


---
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user