Deploying admin application causes hang on Tomcat
![]()
Cesar Ivan Orozco Cervantes (10●9●10)
| asked Feb 13 '14, 10:23 a.m.
edited Feb 17 '14, 7:28 a.m. by Krzysztof Kaźmierczyk (7.5k●4●80●103)
Hi,
I'm trying to install JTS and CCM, I just want to make a few tests, so I download the zip and ran the server.startup.bat script, but it takes too long to deploy the admin.war, it stays open but it left the console open for 1 day! and there's no new messages on the console, the log have the same info from the console, I tried on 3 different machines, 2 with win 7 and 1 with win server 2008, all with 8GB of memory and core i5, so, I don't think is a performance issue, can anybody help me with this? This are all the messages in the console: Feb 12, 2014 1:47:44 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\JTS5_32bits\server\jre\bin;C:\windows\SysWOW64;C:\windows;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\IBM\Infoprint Select;C:\Program Files (x86)\IBM\Personal Communications\;C:\Program Files (x86)\IBM\Trace Facility\;C:\RAD\SDP\jdk\bin;. Feb 12, 2014 1:47:44 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-9080"] Feb 12, 2014 1:47:44 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-9443"] Feb 12, 2014 1:47:44 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-9009"] Feb 12, 2014 1:47:44 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 766 ms Feb 12, 2014 1:47:44 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Feb 12, 2014 1:47:44 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.25 Feb 12, 2014 1:47:44 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive C:\JTS5_32bits\server\tomcat\webapps\admin.war The catalina.log file have the same info Thanks. |
3 answers
![]()
You can check whether the archive content has been unpacked into C:\JTS5_32bits\server\tomcat\webapps\admin\. If you cannot see the folder or there is nothing under the folder, chances are something is preventing the archive file from being unpacked.
You can try the following: 1. Turn off the antivirus and firewall applications on the machine. 2. Open a command prompt with Administrator privilege (right-click on the shortcut and choose Run as administrator). 3. Run the command servers.startup.bat. Comments The problem is that Tomcat is not starting, if I run the startup.bat I got this errors:
Tomcat needs to open several ports when starting up. Make sure that the ports defined in server.xml are all available. To check whether port 9443 is already opened, run command
Hi Cesar,
After several configurations I'm still getting this error:
Maybe I'm missing something, not sure if I need to perform some other steps before trying to start the server, because I just download the zip and run the server.startup.bat script.
|
![]()
I think there is nothing fancy and you still need to figure out why Tomcat cannot start on your machine. For what it's worth, I simply tested what you might be doing and it was all smooth sailing.
1. Download JTS-CCM-keys-Win64_4.0.5.zip. 2. Unzip it. 3. Open a command prompt on my Win7 64 bit machine. 4. Run server.startup.bat. Here is the log: 18/02/2014 11:23:50 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-9080"] 18/02/2014 11:23:50 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-9443"] 18/02/2014 11:23:51 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-9009"] 18/02/2014 11:23:51 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 823 ms 18/02/2014 11:23:51 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina 18/02/2014 11:23:51 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.32 18/02/2014 11:23:51 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive C:\Users\IBM_ADMIN\Downloads\JTS-CCM-keys-Win64_4.0.5\server\tomcat\webapps\admin.war 18/02/2014 11:24:02 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive C:\Users\IBM_ADMIN\Downloads\JTS-CCM-keys-Win64_4.0.5\server\tomcat\webapps\ccm.war 18/02/2014 11:25:29 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive C:\Users\IBM_ADMIN\Downloads\JTS-CCM-keys-Win64_4.0.5\server\tomcat\webapps\clmhelp.war 18/02/2014 11:25:49 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive C:\Users\IBM_ADMIN\Downloads\JTS-CCM-keys-Win64_4.0.5\server\tomcat\webapps\jts.war 18/02/2014 11:26:58 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Users\IBM_ADMIN\Downloads\JTS-CCM-keys-Win64_4.0.5\server\tomcat\webapps\ROOT 18/02/2014 11:26:58 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-9080"] 18/02/2014 11:26:58 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-9443"] 18/02/2014 11:26:58 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-9009"] 18/02/2014 11:26:58 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 187286 ms |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.