Combination View Flat View Tree View
Threads [ Previous | Next ]
RE: Запуск Tomcat Любой порт - ошибка address already in use
toggle
Проблема - не могу запустить Tomcat + Liferay копия работающего портала.

Вот лог

  1
  204.12.2011 12:22:37 org.apache.catalina.core.AprLifecycleListener init
  3INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\opt\Server\liferay-portal-6.0.5\tomcat-6.0.26\jre1.6.0_21\win\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Zend\ZendServer\bin;C:\Program Files (x86)\Zend\ZendServer\share\ZendFramework\bin;C:\PROGRA~2\IBM\SQLLIB\BIN;C:\PROGRA~2\IBM\SQLLIB\FUNCTION;C:\Program Files (x86)\Zend\MySQL51\bin;C:\Program Files (x86)\GammaTech\TumarCSP\lib;C:\Program Files\Aladdin\eToken\PKIClient\x32;C:\Program Files\Aladdin\eToken\PKIClient\x64;C:\Program Files (x86)\Windows Live\Shared;C:\Java\jdk1.7.0_01\bin;C:\Java\;C:\Java\apr-1.4.5
  404.12.2011 12:22:38 org.apache.coyote.http11.Http11Protocol init
  5INFO: Initializing Coyote HTTP/1.1 on http-7575
  604.12.2011 12:22:38 org.apache.coyote.http11.Http11Protocol init
  7SEVERE: Error initializing endpoint
  8java.net.BindException: Address already in use: JVM_Bind <null>:7575
  9    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
 10    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
 11    at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
 12    at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
 13    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
 14    at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
 15    at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
 16    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 17    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 18    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 19    at java.lang.reflect.Method.invoke(Method.java:597)
 20    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
 21    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
 22Caused by: java.net.BindException: Address already in use: JVM_Bind
 23    at java.net.PlainSocketImpl.socketBind(Native Method)
 24    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
 25    at java.net.ServerSocket.bind(ServerSocket.java:319)
 26    at java.net.ServerSocket.<init>(ServerSocket.java:185)
 27    at java.net.ServerSocket.<init>(ServerSocket.java:141)
 28    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
 29    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
 30    ... 12 more
 3104.12.2011 12:22:38 org.apache.catalina.startup.Catalina load
 32SEVERE: Catalina.start
 33LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:7575
 34    at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
 35    at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
 36    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
 37    at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
 38    at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
 39    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 40    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 41    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 42    at java.lang.reflect.Method.invoke(Method.java:597)
 43    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
 44    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
 4504.12.2011 12:22:38 org.apache.catalina.startup.Catalina load
 46INFO: Initialization processed in 997 ms
 4704.12.2011 12:22:38 org.apache.catalina.core.StandardService start
 48INFO: Starting service Catalina
 4904.12.2011 12:22:38 org.apache.catalina.core.StandardEngine start
 50INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
 5104.12.2011 12:22:38 org.apache.catalina.startup.HostConfig deployDescriptor
 52INFO: Deploying configuration descriptor ROOT.xml
 5304.12.2011 12:24:13 org.apache.catalina.core.StandardContext start
 54SEVERE: Error listenerStart
 5504.12.2011 12:24:13 org.apache.catalina.core.StandardContext start
 56SEVERE: Context [] startup failed due to previous errors
 5704.12.2011 12:24:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 58SEVERE: A web application appears to have started a thread named [Dispatch-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@139ef3a] but has failed to stop it. This is very likely to create a memory leak.
 5904.12.2011 12:24:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 60SEVERE: A web application appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@139ef3a] but has failed to stop it. This is very likely to create a memory leak.
 6104.12.2011 12:24:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 62SEVERE: A web application appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@139ef3a] but has failed to stop it. This is very likely to create a memory leak.
 6304.12.2011 12:24:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 64SEVERE: A web application appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@139ef3a] but has failed to stop it. This is very likely to create a memory leak.
 6504.12.2011 12:24:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 66SEVERE: A web application appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@139ef3a] but has failed to stop it. This is very likely to create a memory leak.
 6704.12.2011 12:24:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 68SEVERE: A web application appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@139ef3a] but has failed to stop it. This is very likely to create a memory leak.
 6904.12.2011 12:24:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 70SEVERE: A web application appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@139ef3a] but has failed to stop it. This is very likely to create a memory leak.
 7104.12.2011 12:24:14 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
 72SEVERE: A web application appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@139ef3a] but has failed to stop it. This is very likely to create a memory leak.
 7304.12.2011 12:24:19 org.apache.catalina.startup.HostConfig deployWAR
 74INFO: Deploying web application archive image-gallery-portlet-6.0.5.1.war
 7504.12.2011 12:24:20 org.apache.catalina.startup.HostConfig deployDirectory
 76INFO: Deploying web application directory assets_tree-1.0
 7704.12.2011 12:24:21 org.apache.catalina.loader.WebappClassLoader validateJarFile
 78INFO: validateJarFile(C:\opt\Server\liferay-portal-6.0.5\tomcat-6.0.26\webapps\assets_tree-1.0\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
 7904.12.2011 12:24:21 org.apache.catalina.startup.HostConfig deployDirectory
 80INFO: Deploying web application directory Blog-portlet
 8104.12.2011 12:24:23 org.apache.catalina.startup.HostConfig deployDirectory
 82INFO: Deploying web application directory chat-portlet
 8304.12.2011 12:24:24 org.apache.catalina.startup.HostConfig deployDirectory
 84INFO: Deploying web application directory default-site-templates-hook
 8504.12.2011 12:24:24 org.apache.catalina.startup.HostConfig deployDirectory
 86INFO: Deploying web application directory empty-theme
 8704.12.2011 12:24:24 org.apache.catalina.startup.HostConfig deployDirectory
 88INFO: Deploying web application directory google-maps-portlet
 8904.12.2011 12:24:25 org.apache.catalina.startup.HostConfig deployDirectory
 90INFO: Deploying web application directory image-gallery-portlet
 9104.12.2011 12:24:25 org.apache.catalina.startup.HostConfig deployDirectory
 92INFO: Deploying web application directory kaleo-web
 9304.12.2011 12:24:26 org.apache.catalina.startup.HostConfig deployDirectory
 94INFO: Deploying web application directory kmg-create-account-ext
 9504.12.2011 12:24:26 org.apache.catalina.startup.HostConfig deployDirectory
 96INFO: Deploying web application directory kmg-site-map-1.0
 9704.12.2011 12:24:27 org.apache.catalina.startup.HostConfig deployDirectory
 98INFO: Deploying web application directory kmg-site-theme
 9904.12.2011 12:24:27 org.apache.catalina.startup.HostConfig deployDirectory
100INFO: Deploying web application directory mail-portlet
10104.12.2011 12:24:28 org.apache.catalina.startup.HostConfig deployDirectory
102INFO: Deploying web application directory MarketingPortlet-portlet
10304.12.2011 12:24:29 org.apache.catalina.startup.HostConfig deployDirectory
104INFO: Deploying web application directory opensocial-portlet
10504.12.2011 12:24:38 org.apache.catalina.startup.HostConfig deployDirectory
106INFO: Deploying web application directory report_charts-1.0
10704.12.2011 12:24:39 org.apache.catalina.startup.HostConfig deployDirectory
108INFO: Deploying web application directory sevencogs-hook
10904.12.2011 12:24:39 org.apache.catalina.startup.HostConfig deployDirectory
110INFO: Deploying web application directory sevencogs-mobile-theme
11104.12.2011 12:24:39 org.apache.catalina.startup.HostConfig deployDirectory
112INFO: Deploying web application directory sevencogs-theme
11304.12.2011 12:24:40 org.apache.catalina.startup.HostConfig deployDirectory
114INFO: Deploying web application directory social-networking-portlet
11504.12.2011 12:24:41 org.apache.catalina.startup.HostConfig deployDirectory
116INFO: Deploying web application directory test-theme
11704.12.2011 12:24:41 org.apache.catalina.startup.HostConfig deployDirectory
118INFO: Deploying web application directory ThkmgChart-portlet
11904.12.2011 12:24:42 org.apache.catalina.startup.HostConfig deployDirectory
120INFO: Deploying web application directory tunnel-web
12104.12.2011 12:24:42 org.apache.catalina.startup.HostConfig deployDirectory
122INFO: Deploying web application directory video-storage
12304.12.2011 12:24:42 org.apache.catalina.startup.HostConfig deployDirectory
124INFO: Deploying web application directory web-clipping-portlet
12504.12.2011 12:24:43 org.apache.catalina.startup.HostConfig deployDirectory
126INFO: Deploying web application directory web-form-portlet
12704.12.2011 12:24:43 org.apache.catalina.startup.HostConfig deployDirectory
128INFO: Deploying web application directory wsrp-portlet
12904.12.2011 12:24:47 org.apache.coyote.http11.Http11Protocol start
130INFO: Starting Coyote HTTP/1.1 on http-7575
13104.12.2011 12:24:47 org.apache.coyote.http11.Http11Protocol start
132SEVERE: Error starting endpoint
133java.net.BindException: Address already in use: JVM_Bind <null>:7575
134    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
135    at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:565)
136    at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
137    at org.apache.catalina.connector.Connector.start(Connector.java:1087)
138    at org.apache.catalina.core.StandardService.start(StandardService.java:534)
139    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
140    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
141    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
142    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
143    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
144    at java.lang.reflect.Method.invoke(Method.java:597)
145    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
146    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
147Caused by: java.net.BindException: Address already in use: JVM_Bind
148    at java.net.PlainSocketImpl.socketBind(Native Method)
149    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
150    at java.net.ServerSocket.bind(ServerSocket.java:319)
151    at java.net.ServerSocket.<init>(ServerSocket.java:185)
152    at java.net.ServerSocket.<init>(ServerSocket.java:141)
153    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
154    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
155    ... 12 more
15604.12.2011 12:24:47 org.apache.catalina.startup.Catalina start
157SEVERE: Catalina.start:
158LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind <null>:7575
159    at org.apache.catalina.connector.Connector.start(Connector.java:1094)
160    at org.apache.catalina.core.StandardService.start(StandardService.java:534)
161    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
162    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
163    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
164    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
165    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
166    at java.lang.reflect.Method.invoke(Method.java:597)
167    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
168    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16904.12.2011 12:24:47 org.apache.catalina.startup.Catalina start
170INFO: Server startup in 128833 ms


Я первый раз пользуюсь Liferay и Tomcat помогите пожалуйста!
Flag Flag
Проблема в этом:
Artem Aleksandrovich Makarenko:
java.net.BindException: Address already in use: JVM_Bind <null>:7575


У вас уже какой-то другой процесс использует порт 7575 (видимо ваш томкат сконфигурирован на работу с жтим портом вместо стандратного 8080)
Надо найти этот процесс и остановить его. Либо сконфигурировать томкат на использование другого порта
Flag Flag
В принципе я же написал в теме "любой порт", я переконфигурировал на порт 7575 он так ругается с любым портом...
Flag Flag
Сорри - название темы пропустил
Вообще странно - должно нормально работать.
Как я вижу по логам - у вас используется JRE которое идет в бандле - попробуйте поставить на эту систему Java (1.6 скачанную с java.com) - что бы использовалась системная Java
Flag Flag