Hai,
I am working in MDB(MessageDrivenBean) using Oracle9ias Release 2(version
9.0.2.0)
In Oracle site
(
http://otn.oracle.com/docs/tech/java/oc4j/htdocs/OC4JExample.html)
i got one simple example i tried to work but it is giveing error,
while trying to access MDB, it is giveing error in client side
javax.naming.NamingException: Error reading application-client descriptor..
for this i have got solution in sun forum,they r telling i have to include application-client.xml in in META-INF i have included in that file also still it is give same error.i have to set some path for that xml file or what.
Exception
javax.naming.NamingException: Error reading application-client descriptor: Error
communicating with server: Lookup error: java.net.ConnectException: Connection
refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect; nested exception
is:
javax.naming.NamingException: Lookup error: java.net.ConnectException: C
onnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(ApplicationClientInitialContextFactory.java:185)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at Main.main(Main.java:17)
please send me the details
Thanks