powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Java [игнор отключен] [закрыт для гостей] / Eclipse и WebSphere Community Edition
4 сообщений из 4, страница 1 из 1
Eclipse и WebSphere Community Edition
    #34447096
industrial
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Здравствуйте.
Действую в соответствии с инструкциями страницы
Использование подключаемого модуля Eclipse для WebSphere Application Server Community Edition .

Установил всё, дошёл до старта сервера (рис.1).


Сервер не стартует, на консоль получаю вот что :


Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
Starting server...
    Server Build:  V1. 1 . 0 . 1 - 200610312120 
    Java Version:   1 . 6 . 0 
 12 : 25 : 41 , 578  WARN  [ 1 /car,j2eeType=GBean,name=JMXService] Failure in JMXConnector service:jmx:rmi://0.0.0.0:9999/jndi/rmi://0.0.0.0:1099/JMXConnector
 12 : 25 : 42 , 015  ERROR [GBeanInstanceState] Error  while  starting; GBean is now in the FAILED state: abstractName="geronimo/j2ee-security/1.1.1/car?ServiceModule=geronimo/j2ee-security/1.1.1/car,j2eeType=GBean,name=JMXService"
java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/JMXConnector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is: 
	java.net.ConnectException: Connection refused: connect]
	at javax.management.remote.rmi.RMIConnectorServer.newIOException(Unknown Source)
	at javax.management.remote.rmi.RMIConnectorServer.start(Unknown Source)
	at org.apache.geronimo.jmxremoting.JMXConnector.doStart(JMXConnector.java: 190 )
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java: 981 )
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java: 267 )
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java: 102 )
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java: 124 )
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java: 540 )
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java: 379 )
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java: 374 )
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java: 187 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java: 527 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java: 508 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java: 53 )
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java: 38 )
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java: 122 )
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java: 817 )
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: 57 )
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java: 35 )
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java: 96 )
	at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ 24810216 .startConfiguration(<generated>)
	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java: 319 )
	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java: 83 )
	at org.apache.geronimo.system.main.Daemon.main(Daemon.java: 410 )
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host:  0 . 0 . 0 . 0 ; nested exception is: 
	java.net.ConnectException: Connection refused: connect]
	at com.sun.jndi.rmi.registry.RegistryContext.bind(Unknown Source)
	at com.sun.jndi.toolkit.url.GenericURLContext.bind(Unknown Source)
	at javax.naming.InitialContext.bind(Unknown Source)
	at javax.management.remote.rmi.RMIConnectorServer.bind(Unknown Source)
	...  24  more
Caused by: java.rmi.ConnectException: Connection refused to host:  0 . 0 . 0 . 0 ; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
	...  28  more
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect( Native  Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	...  33  more
 12 : 26 : 22 , 062  ERROR [Daemon] Exception caught  while  starting configurations.  Exception=org.apache.geronimo.kernel.config.LifecycleException: start of geronimo/j2ee-security/ 1 . 1 . 1 /car failed
Server startup failed
org.apache.geronimo.kernel.config.LifecycleException: start of geronimo/j2ee-security/ 1 . 1 . 1 /car failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java: 544 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java: 508 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java: 53 )
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java: 38 )
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java: 122 )
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java: 817 )
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: 57 )
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java: 35 )
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java: 96 )
	at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ 24810216 .startConfiguration(<generated>)
	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java: 319 )
	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java: 83 )
	at org.apache.geronimo.system.main.Daemon.main(Daemon.java: 410 )
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java: 440 )
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java: 187 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java: 527 )
	...  13  more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration geronimo/j2ee-security/ 1 . 1 . 1 /car failed to start due to the following reasons:
  The service ServiceModule=geronimo/j2ee-security/ 1 . 1 . 1 /car,j2eeType=GBean,name=JMXService did not start because the doStart method threw an exception. 
java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/JMXConnector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is: 
	java.net.ConnectException: Connection refused: connect]
	at javax.management.remote.rmi.RMIConnectorServer.newIOException(Unknown Source)
	at javax.management.remote.rmi.RMIConnectorServer.start(Unknown Source)
	at org.apache.geronimo.jmxremoting.JMXConnector.doStart(JMXConnector.java: 190 )
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java: 981 )
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java: 267 )
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java: 102 )
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java: 124 )
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java: 540 )
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java: 379 )
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java: 374 )
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java: 187 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java: 527 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java: 508 )
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java: 53 )
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java: 38 )
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java: 122 )
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java: 817 )
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: 57 )
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java: 35 )
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java: 96 )
	at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ 24810216 .startConfiguration(<generated>)
	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java: 319 )
	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java: 83 )
	at org.apache.geronimo.system.main.Daemon.main(Daemon.java: 410 )
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host:  0 . 0 . 0 . 0 ; nested exception is: 
	java.net.ConnectException: Connection refused: connect]
	at com.sun.jndi.rmi.registry.RegistryContext.bind(Unknown Source)
	at com.sun.jndi.toolkit.url.GenericURLContext.bind(Unknown Source)
	at javax.naming.InitialContext.bind(Unknown Source)
	at javax.management.remote.rmi.RMIConnectorServer.bind(Unknown Source)
	...  24  more
Caused by: java.rmi.ConnectException: Connection refused to host:  0 . 0 . 0 . 0 ; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
	...  28  more
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect( Native  Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	...  33  more


	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java: 403 )
	...  15  more

                                   
Stopping server...
Server stopped.



Как лечить ?
...
Рейтинг: 0 / 0
Eclipse и WebSphere Community Edition
    #34449798
industrial
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Ок, с этой проблемой разобрался - заменил для JMXService в конфиге 0.0.0.0 на 127.0.0.1 .

Теперь сервер запускается будучи запущенным из меню Start , но по-прежнему не стартует из панели Servers в Eclipse. Пару минут висит в статусе "Starting" с бегающим прогресс-баром, хотя в консоли уже написано Server Started. Затем заявляет что failed to start.

Уже без особого оптимизма, но жду Ваших соображений и на этот счёт.
...
Рейтинг: 0 / 0
Eclipse и WebSphere Community Edition
    #34449943
Leonidv
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А что в ошибках пишется? Может сервер уже запущен в системе?
...
Рейтинг: 0 / 0
Eclipse и WebSphere Community Edition
    #34450656
industrial
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Не запущен.
Если я его запускаю отдельно а затем жму "Start" в Eclipse то сразу выскакивает сообщение о занятости порта (естественно).

На консоли никаких ошибок не появляется, превосходно пишет "Server started" , но статус в списке серверов остаётся "Starting" и через некоторое время сообщение "Failed to start".
...
Рейтинг: 0 / 0
4 сообщений из 4, страница 1 из 1
Форумы / Java [игнор отключен] [закрыт для гостей] / Eclipse и WebSphere Community Edition
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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