[JBoss-user] [EJB 3.0] - Re: Problem with Remote Lookup in JBoss

2006-01-09 Thread deepSingh
i am not able to find the solution for the problem i mentioned

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Problem with Remote Lookup in JBoss

2006-01-08 Thread deepSingh
::I am trying to lookup JBoss ports through this client Program:::


env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory\
");
env.put(Context.PROVIDER_URL,"jnp://localhost:1199");
env.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interface");
Context ctx = new InitialContext(env);
NamingEnumeration bl=(NamingEnumeration)ctx.listBindings("");
while(bl.hasMore()){
Binding b=(Binding)bl.next();
System.out.println(b.getName() + " Object is -> " + b.getObject());

On Executing this i am getting Exception

javax.naming.CommunicationException: Could not obtain connection to any of
these urls: localhost:1199 and discovery failed with error:
java.security.AccessControlException: access denied (java.net.SocketPermission
230.0.0.4 connect,accept,resolve) [Root exception is
javax.naming.CommunicationExcepti
on: Failed to connect to server localhost:1199 [Root exception is
java.security.AccessControlException: access denied (java.net.SocketPermission
127.0.0.1:1199 connect,resolve)]]

_
if anyone knows the answer then do let me no please



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user