Hi
I have been trying to use Kawa to help with debugging, but have a
problem which I couldn't find a solution to.
When I start Orion from the command line, and then run my client for a
stateless EJB from the command line I don't get this error.
When I start Orion through Kawa, and then run my client for a stateless
EJB from the command line I get the following error.
Caught an unexpected exception!
javax.naming.NamingException: Error reading application-client
descriptor: Error
communicating with server: Lookup error: java.net.ConnectException:
Connection
refused: no further information; nested exception is:
java.net.ConnectException: Connection refused: no further
information; n
ested exception is:
javax.naming.NamingException: Lookup error:
java.net.ConnectException: C
onnection refused: no further information; nested exception is:
java.net.ConnectException: Connection refused: no further
information
at
com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(JAX)
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 CountriesBean.<init>(CountriesBean.java:40)
at CountriesBean.main(CountriesBean.java:117)
Exception in thread "main" java.lang.NullPointerException
at CountriesBean.main(CountriesBean.java:119)
The output in Kawa on starting Orion is
Wait, Starting the Debugger...
Working Directory - c:\orion
ClassPath -
c:\orion;C:\orion\xerces.jar;C:\orion\admin.jar;C:\orion\applicationlauncher.jar;C:\orion\assemblerlauncher.jar;C:\orion\autoupdate.jar;C:\orion\ejb.jar;C:\orion\ejbassembler.jar;C:\orion\jaxp.jar;C:\orion\jcert.jar;C:\orion\jdbc.jar;C:\orion\jndi.jar;C:\orion\jnet.jar;C:\orion\js.jar;C:\orion\jsse.jar;C:\orion\jta.jar;C:\orion\orion.jar;C:\orion\orionconsole.jar;C:\orion\parser.jar;C:\orion\rt.jar;C:\orion\tools.jar;C:\orion\webappassembler.jar;C:\orion\xalan.jar;C:\orion\activation.jar;c:\Development\Test\countries;c:\orion;.;C:\kawa4.01\kawaclasses.zip;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\rt.jar;c:\jdk1.3\jre\lib\i18n.jar
Properties -
-Xbootclasspath:c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\rt.jar;c:\jdk1.3\jre\lib\i18n.jar;
Debug Start...
I noted the lack of "Orion/1.2.9 initialized" in the Kawa output
But still have been unable to solve my problem.
Thanks
Fiona