Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Java [игнор отключен] [закрыт для гостей] / Provider URL for initial context / 6 сообщений из 6, страница 1 из 1
04.10.2007, 20:25:02
    #34847997
Семёныч
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Provider URL for initial context
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)

Заранее спасибо!
...
Рейтинг: 0 / 0
04.10.2007, 22:16:53
    #34848120
Kachalov
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Provider URL for initial context
Семёныч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
...
Рейтинг: 0 / 0
05.10.2007, 13:29:16
    #34849706
Семёныч
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Provider URL for initial context
настройки такие..
но что-то просветления нет..

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
...
Рейтинг: 0 / 0
05.10.2007, 14:35:02
    #34850035
Juga
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Provider URL for initial context
твой вроде 9100 но никак не тот под которым ты конектился
...
Рейтинг: 0 / 0
05.10.2007, 16:07:00
    #34850450
Семёныч
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Provider URL for initial context
про 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"
...
Рейтинг: 0 / 0
05.10.2007, 16:09:23
    #34850463
Juga
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Provider URL for initial context
Стучаться на порт корбы нада. Обычно он там же где и брокер вист ну если у тебя не так то настройки ты выложил не все.
...
Рейтинг: 0 / 0
Форумы / Java [игнор отключен] [закрыт для гостей] / Provider URL for initial context / 6 сообщений из 6, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]