| Author |
JBoss initialcontext problem
|
Charith Fernando
Ranch Hand
Joined: Sep 12, 2005
Posts: 67
|
|
hi all, i'm a bit new to jboss application server. i have deployed my bean on jboss and i'm trying to access the bean through a client which i developed... but i seem to not have done some stuff related to getting the initialcontext correctly.. please review the code.. the exception which i get when this is executed is as follows... thanks
|
Charith I Fernando<br />SCJP5, SCWCD, SCBCD, BSc(Hons) IS<br />+94 773 263 222 (mobile)
|
 |
Charith Fernando
Ranch Hand
Joined: Sep 12, 2005
Posts: 67
|
|
the problem was the http://localhost:1099 line it should've been localhost:1099 thnaks
|
 |
Vivek Gupta
Greenhorn
Joined: May 02, 2005
Posts: 23
|
|
I used the localhost:1099, but get the following exception- Any clue javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Permission denied: Datagram send failed [Root exception is java.net. SocketException: Permission denied: Datagram send failed] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.SocketException: Permission den ied: connect]]]
|
 |
Marimuthu Madasamy
Ranch Hand
Joined: Jun 07, 2007
Posts: 72
|
|
It should be jnp://localhost:1099
|
- Marimuthu Madasamy
|
 |
 |
|
|
subject: JBoss initialcontext problem
|
|
|