Well I tried... 

I can't seem to init the server....


  |     protected void init() throws Exception {
  | 
  |             if (initialContext == null) {
  | 
  |                     initialContext = new InitialContext();
  | 
  |             }
  | 
  |             if (server == null) {
  | 
  |                     String serverName = 
System.getProperty("testAdvantage.jboss.server.name"); //not set, this prop is null
  | 
  |                     if (serverName == null) {
  | 
  |                             serverName = InetAddress.getLocalHost().getHostName(); 
//the host name is RicksMachine
  | 
  |                     }
  | 
  |                     server =
  |                             (Remote) initialContext.lookup("jmx:" + serverName + 
":rmi");
  | 
  |             }
  | 
  |     }
  | 
  | 

Here is the exception I get.....


  | 10:07:15,312 ERROR [STDERR] javax.naming.NameNotFoundException: 
jmx:RicksMachine:rmi not bound
  | 10:07:15,312 ERROR [STDERR]         at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
  | 10:07:15,312 ERROR [STDERR]         at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
  | 10:07:15,312 ERROR [STDERR]         at 
org.jnp.server.NamingServer.getObject(NamingServer.java:509)
  | 10:07:15,312 ERROR [STDERR]         at 
org.jnp.server.NamingServer.lookup(NamingServer.java:282)
  | 10:07:15,312 ERROR [STDERR]         at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
  | 10:07:15,312 ERROR [STDERR]         at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
  | 10:07:15,312 ERROR [STDERR]         at 
javax.naming.InitialContext.lookup(InitialContext.java:347)
  | 10:07:15,312 ERROR [STDERR]         at 
org.appfuse.webapp.service.UserManagerJBossSpecific.init(UserManagerJBossSpecific.java:102)
  | 

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

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


-------------------------------------------------------
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

Reply via email to