Run Tomcat Automatically (Win7 64) 1.7.7 [SOLVED]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Run Tomcat Automatically (Win7 64) 1.7.7 [SOLVED]

Postby flacoman91 » 08. November 2011 18:40

I would also like to know how to get Tomcat running automatically. I'm a noob to this and wonder if this is normal behavior.

I installed xampp first and then now that I have to use tomcat and solr, I installed the JDK after the fact.

Double clicking catalina_start.bat does indeed start tomcat, but the command prompt stays open.

Here's my output:

Code: Select all
[XAMPP]: Searching JDK HOME with reg query ...

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit
    CurrentVersion    REG_SZ    1.7

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.7
    JavaHome    REG_SZ    C:\Program Files\Java\jdk1.7.0_01
    MicroVersion    REG_SZ    0

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.7.0_01
    JavaHome    REG_SZ    C:\Program Files\Java\jdk1.7.0_01
    MicroVersion    REG_SZ    0


[XAMPP]: Seems fine!
[XAMPP]: Set JAVA_HOME : C:\Program Files\Java\jdk1.7.0_01
[XAMPP]: Set CATALINA_HOME : C:\xampp\tomcat

Using CATALINA_BASE:   "C:\xampp\tomcat"
Using CATALINA_HOME:   "C:\xampp\tomcat"
Using CATALINA_TMPDIR: "C:\xampp\tomcat\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.7.0_01"
Using CLASSPATH:       "C:\xampp\tomcat\bin\bootstrap.jar;C:\xampp\tomcat\bin\to
mcat-juli.jar"
Nov 08, 2011 12:25:52 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.7.0_01\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Window
s;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 F
iles (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Fi
les\Roxio Shared\12.0\DLLShared\;C:\Program Files (x86)\Windows Live\Shared;C:\P
rogram Files\TortoiseSVN\bin;C:\xampp\php;C:\xampp\mysql\bin;.
Nov 08, 2011 12:25:52 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Nov 08, 2011 12:25:52 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Nov 08, 2011 12:25:52 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 721 ms
Nov 08, 2011 12:25:52 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Nov 08, 2011 12:25:52 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.21
Nov 08, 2011 12:25:52 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Nov 08, 2011 12:25:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Nov 08, 2011 12:25:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Nov 08, 2011 12:25:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Nov 08, 2011 12:25:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Nov 08, 2011 12:25:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Nov 08, 2011 12:25:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 08, 2011 12:25:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1085 ms
flacoman91
 
Posts: 2
Joined: 08. November 2011 18:27
Operating System: Windows 7 64-bit Home

Re: Tomcat None Starter With JDK7 (Win7) 1.7.7

Postby hackattack142 » 08. November 2011 23:20

Using the newer Control Panel v3 ( currently 3.0.7 available here: viewtopic.php?f=16&t=46743&start=45#p186862), you can select the "Config" button in the upper-right corner, and check the "Tomcat" check in the "Autostart" section to automatically start it when the Control Panel starts.

You can use the same "Config" window to uncheck the "Tomcat output window visible" check to make the console window not show up when it starts.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Run Tomcat Automatically (Win7 64)1.7.7

Postby flacoman91 » 09. November 2011 19:28

wow, good stuff. Thank you so much!
flacoman91
 
Posts: 2
Joined: 08. November 2011 18:27
Operating System: Windows 7 64-bit Home


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests