Erro com App Client e ORB

0 respostas
LeoNicolas

Amigos

Tenho um servidor Websphere (WAS) iniciado com um datasource versão 4 cadastrado. Também tenho uma aplicação do tipo Application Client que faz um lookup desse datasource através de seu JNDI.

Quando executo a aplicação cliente por dentro do WSAD tudo funciona bem, ela consegue fazer o lookup e obter o datasoure.

Quando executo por fora, utilizando o bat launchClient do WAS, ele apresenta o seguinte erro:

OBS: O telnet para localhost 2809 indica que a porta está aberta

javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: corbaloc:iiop:localhost:2809.  Make sure that any bootstrap address information in the URL is correct and that the target name server is running.  A bootstrap address with no port specification defaults to port 2809.  Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration.  Root exception is org.omg.CORBA.OBJ_ADAPTER: ORB_CONNECT_ERROR (5) - couldnt get Server Subcontract:org.omg.CORBA.INTERNAL: CREATE_LISTENER_FAILED_4  vmcid: 0x49421000  minor code: 56  completed: No  vmcid: IBM  minor code: B8F  completed: No

at com.ibm.rmi.corba.ORB.connect(ORB.java:3470)

at com.ibm.rmi.corba.ORB.internalConnect(ORB.java:3494)

at com.ibm.CORBA.iiop.ORB.internalConnect(ORB.java:2046)

at com.ibm.rmi.corba.ORB.createCodeBaseServant(ORB.java:4140)

at com.ibm.rmi.corba.ORB.getCodeBaseServant(ORB.java:4119)

at com.ibm.rmi.iiop.ORB.getCodeBaseServant(ORB.java:784)

at com.ibm.rmi.iiop.Connection.getServiceContexts(Connection.java:747)

at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:141)

at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:97)

at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:1854)

at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1132)

at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1285)

at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1065)

at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1251)

at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1731)

at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1207)

at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:460)

at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(Unknown Source)

at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1114)

at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:679)

at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:607)

at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:482)

at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112)

at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422)

at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:143)

at javax.naming.InitialContext.lookup(InitialContext.java:361)

at br.com.bradseg.saf.teste.TesteApp.main(TesteApp.java:22)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.ibm.websphere.client.applicationclient.launchClient.createContainerAndLaunchApp(launchClient.java:638)

at com.ibm.websphere.client.applicationclient.launchClient.main(launchClient.java:425)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)

Alguém tem alguma idéia do que pode estar ocorrendo?

Criado 17 de agosto de 2005
Respostas 0
Participantes 1