|
|
|
Provider URL for initial context
|
|||
|---|---|---|---|
|
#18+
Hi пытаюсь вызвать EJB на сервере может кто поджскажет как справиться с таким Arg[0]: "Naming exception occured" Arg[1]: "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." Arg[2]: "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.UNKNOWN: minor code: 0 completed: Maybe]" 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.UNKNOWN: minor code: 0 completed: Maybe at com.ibm.rmi.corba.ClientDelegate.intercept(ClientDelegate.java:972) at com.ibm.rmi.corba.ClientDelegate.invoke(ClientDelegate.java:433) at com.ibm.rmi.corba.ClientDelegate.invoke(ClientDelegate.java:706) at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:258) 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:359) at com.ibm.dk.alr.cat.api.core.ApiEJBHelper.lookupTargetHome(ApiEJBHelper.java:153) at com.ibm.dk.alr.cat.api.core.ApiEJBHelper.getTargetHome(ApiEJBHelper.java:128) at com.ibm.dk.alr.cat.api.report.CatAPIClient.getReport(CatAPIClient.java:86) at com.ibm.dk.alr.cat.test.ApiTestClient.getVersionChessboardReport(ApiTestClient.java:460) at com.ibm.dk.alr.cat.test.ApiTestClient.run(ApiTestClient.java:630) at java.lang.Thread.run(Thread.java:513) at com.ibm.dk.alr.cat.api.core.ApiEJBHelper.lookupTargetHome(ApiEJBHelper.java:158) at com.ibm.dk.alr.cat.api.core.ApiEJBHelper.getTargetHome(ApiEJBHelper.java:128) at com.ibm.dk.alr.cat.api.report.CatAPIClient.getReport(CatAPIClient.java:86) at com.ibm.dk.alr.cat.test.ApiTestClient.getVersionChessboardReport(ApiTestClient.java:460) at com.ibm.dk.alr.cat.test.ApiTestClient.run(ApiTestClient.java:630) at java.lang.Thread.run(Thread.java:513) Заранее спасибо! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.10.2007, 20:25:02 |
|
||
|
Provider URL for initial context
|
|||
|---|---|---|---|
|
#18+
Семёныч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 - тут написано что адрес к которому конектитесь неверный, т. е. не удается установить соединение с указаным сокетом. Проверьте настройки сервера приложений, на каком порту реально работает IIOP ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.10.2007, 22:16:53 |
|
||
|
Provider URL for initial context
|
|||
|---|---|---|---|
|
#18+
настройки такие.. но что-то просветления нет.. Application servers > server1 > Ports Select Port Name Host Port Transport Details BOOTSTRAP_ADDRESS pozin_s.net9.iba.by 2809 No associated transports CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS pozin_s.net9.iba.by 9402 No associated transports CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS pozin_s.net9.iba.by 9403 No associated transports DCS_UNICAST_ADDRESS pozin_s.net9.iba.by 9353 View associated transports ORB_LISTENER_ADDRESS pozin_s.net9.iba.by 9100 No associated transports SAS_SSL_SERVERAUTH_LISTENER_ADDRESS pozin_s.net9.iba.by 9401 No associated transports SIB_ENDPOINT_ADDRESS * 7276 View associated transports SIB_ENDPOINT_SECURE_ADDRESS * 7286 View associated transports SIB_MQ_ENDPOINT_ADDRESS * 5558 View associated transports SIB_MQ_ENDPOINT_SECURE_ADDRESS * 5578 View associated transports SOAP_CONNECTOR_ADDRESS pozin_s.net9.iba.by 8880 No associated transports WC_adminhost * 9060 View associated transports WC_adminhost_secure * 9043 View associated transports WC_defaulthost * 9080 View associated transports WC_defaulthost_secure * 9443 View associated transports ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 05.10.2007, 13:29:16 |
|
||
|
Provider URL for initial context
|
|||
|---|---|---|---|
|
#18+
твой вроде 9100 но никак не тот под которым ты конектился ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 05.10.2007, 14:35:02 |
|
||
|
Provider URL for initial context
|
|||
|---|---|---|---|
|
#18+
про 2809 вот тут напсано http://publib.boulder.ibm.com/infocenter/wsphelp/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rnam_example_prop1.html а с 9100 результат тот же..( A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:localhost:9100" ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 05.10.2007, 16:07:00 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=34847997&tid=2144430]: |
0ms |
get settings: |
13ms |
get forum list: |
20ms |
check forum access: |
6ms |
check topic access: |
6ms |
track hit: |
52ms |
get topic data: |
13ms |
get forum data: |
4ms |
get page messages: |
66ms |
get tp. blocked users: |
2ms |
| others: | 339ms |
| total: | 521ms |

| 0 / 0 |
