Re: Tomcat 7 is not working on windows 7....
I am Getting Errors while Starting Tomcat And I dont Know What to DO. I am Sending Error Logs which is as Follwos. Dec 05, 2012 11:09:42 AM 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:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Calibre2\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;D:\Eclipse\JEE;;. Dec 05, 2012 11:09:43 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler [http-bio-8012] Dec 05, 2012 11:09:43 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler [ajp-bio-8009] Dec 05, 2012 11:09:43 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1079 ms Dec 05, 2012 11:09:43 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Dec 05, 2012 11:09:43 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.33 Dec 05, 2012 11:09:43 AM org.apache.catalina.valves.AccessLogValve open SEVERE: Failed to open access log file [C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs\localhost_access_log.2012-12-05.txt] java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs\localhost_access_log.2012-12-05.txt (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(Unknown Source) at org.apache.catalina.valves.AccessLogValve.open(AccessLogValve.java:1119) at org.apache.catalina.valves.AccessLogValve.startInternal(AccessLogValve.java:1223) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardPipeline.startInternal(StandardPipeline.java:185) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1137) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Dec 05, 2012 11:09:43 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs Dec 05, 2012 11:09:44 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager Dec 05, 2012 11:09:44 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT Dec 05, 2012 11:09:44 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler [http-bio-8012] Dec 05, 2012 11:09:44 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler [ajp-bio-8009] Dec 05, 2012 11:09:44 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 814 ms Please Help Me Regarding This Thanks... Jugal On Mon, Dec 3, 2012 at 9:21 PM, Mark Eggers its_toas...@yahoo.com wrote: On 12/3/2012 2:28 AM, Konstantin Kolinko wrote: 2012/12/3 Mark Thomas ma...@apache.org: On 03/12/2012 09:15, Jugal Thakkar wrote: Hello Sir, I am Java Developer. i develop web application using servlet and JSP. My problem is that i am not able to get server started in eclipse Juno.using Tomcat 7 with windows 7. Please Guide me for the same Installation Process of tomcat 7 on windows 7 I was previously using Windows XP and everything was fine But with Windows 7 i am Having the problem Please guide me regarding this Two options: 1. Read this: http://www.catb.org/esr/faqs/**smart-questions.htmlhttp://www.catb.org/esr/faqs/smart-questions.html and follow the excellent advice it offers. +1 +1 2. Apply the following logic: - It worked on Windows XP - It doesn't work on Windows 7 - Therefore a bug in Windows 7 is the root cause - Either: a) Report the problem to Microsoft and get them to fix it b) Uninstall Windows 7 and re-install Windows
Re: Tomcat 7 is not working on windows 7....
See below, and please do not top post. On 12/4/2012 10:17 PM, Jugal Thakkar wrote: I am Getting Errors while Starting Tomcat And I dont Know What to DO. I am Sending Error Logs which is as Follwos. Dec 05, 2012 11:09:42 AM 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:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Calibre2\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;D:\Eclipse\JEE;;. Dec 05, 2012 11:09:43 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler [http-bio-8012] Dec 05, 2012 11:09:43 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler [ajp-bio-8009] Dec 05, 2012 11:09:43 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1079 ms Dec 05, 2012 11:09:43 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Dec 05, 2012 11:09:43 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.33 Dec 05, 2012 11:09:43 AM org.apache.catalina.valves.AccessLogValve open SEVERE: Failed to open access log file [C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs\localhost_access_log.2012-12-05.txt] java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs\localhost_access_log.2012-12-05.txt (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(Unknown Source) at org.apache.catalina.valves.AccessLogValve.open(AccessLogValve.java:1119) at org.apache.catalina.valves.AccessLogValve.startInternal(AccessLogValve.java:1223) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardPipeline.startInternal(StandardPipeline.java:185) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1137) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Dec 05, 2012 11:09:43 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs Dec 05, 2012 11:09:44 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager Dec 05, 2012 11:09:44 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT Dec 05, 2012 11:09:44 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler [http-bio-8012] Dec 05, 2012 11:09:44 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler [ajp-bio-8009] Dec 05, 2012 11:09:44 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 814 ms Please Help Me Regarding This Thanks... Jugal On Mon, Dec 3, 2012 at 9:21 PM, Mark Eggers its_toas...@yahoo.com wrote: On 12/3/2012 2:28 AM, Konstantin Kolinko wrote: 2012/12/3 Mark Thomas ma...@apache.org: On 03/12/2012 09:15, Jugal Thakkar wrote: Hello Sir, I am Java Developer. i develop web application using servlet and JSP. My problem is that i am not able to get server started in eclipse Juno.using Tomcat 7 with windows 7. Please Guide me for the same Installation Process of tomcat 7 on windows 7 I was previously using Windows XP and everything was fine But with Windows 7 i am Having the problem Please guide me regarding this Two options: 1. Read this: http://www.catb.org/esr/faqs/**smart-questions.htmlhttp://www.catb.org/esr/faqs/smart-questions.html and follow the excellent advice it offers. +1 +1 2. Apply the following logic: - It worked on Windows XP - It doesn't work on Windows 7 - Therefore a bug in Windows 7 is the root cause - Either: a) Report the
Re: Tomcat 7 is not working on windows 7....
Hello Sir, I am Java Developer. i develop web application using servlet and JSP. My problem is that i am not able to get server started in eclipse Juno.using Tomcat 7 with windows 7. Please Guide me for the same Installation Process of tomcat 7 on windows 7 I was previously using Windows XP and everything was fine But with Windows 7 i am Having the problem Please guide me regarding this Thanks... Jugal Thakkar jugalthakkar1...@gmail.com
Re: Tomcat 7 is not working on windows 7....
On 03/12/2012 09:15, Jugal Thakkar wrote: Hello Sir, I am Java Developer. i develop web application using servlet and JSP. My problem is that i am not able to get server started in eclipse Juno.using Tomcat 7 with windows 7. Please Guide me for the same Installation Process of tomcat 7 on windows 7 I was previously using Windows XP and everything was fine But with Windows 7 i am Having the problem Please guide me regarding this Two options: 1. Read this: http://www.catb.org/esr/faqs/smart-questions.html and follow the excellent advice it offers. 2. Apply the following logic: - It worked on Windows XP - It doesn't work on Windows 7 - Therefore a bug in Windows 7 is the root cause - Either: a) Report the problem to Microsoft and get them to fix it b) Uninstall Windows 7 and re-install Windows XP Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 7 is not working on windows 7....
Jugal Thakkar wrote: Hello Sir, I am Java Developer. i develop web application using servlet and JSP. My problem is that i am not able to get server started in eclipse Juno.using Tomcat 7 with windows 7. Please Guide me for the same Installation Process of tomcat 7 on windows 7 I was previously using Windows XP and everything was fine But with Windows 7 i am Having the problem What problem ? Can you describe, step by step, starting from the download of the Tomcat that you are trying to install, what instructions you are following, what you are doing, and where exactly you have a problem ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 7 is not working on windows 7....
2012/12/3 Mark Thomas ma...@apache.org: On 03/12/2012 09:15, Jugal Thakkar wrote: Hello Sir, I am Java Developer. i develop web application using servlet and JSP. My problem is that i am not able to get server started in eclipse Juno.using Tomcat 7 with windows 7. Please Guide me for the same Installation Process of tomcat 7 on windows 7 I was previously using Windows XP and everything was fine But with Windows 7 i am Having the problem Please guide me regarding this Two options: 1. Read this: http://www.catb.org/esr/faqs/smart-questions.html and follow the excellent advice it offers. +1 2. Apply the following logic: - It worked on Windows XP - It doesn't work on Windows 7 - Therefore a bug in Windows 7 is the root cause - Either: a) Report the problem to Microsoft and get them to fix it b) Uninstall Windows 7 and re-install Windows XP There is also FAQ available, such as http://wiki.apache.org/tomcat/FAQ/Windows#Q8 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 7 is not working on windows 7....
On 12/3/2012 2:28 AM, Konstantin Kolinko wrote: 2012/12/3 Mark Thomas ma...@apache.org: On 03/12/2012 09:15, Jugal Thakkar wrote: Hello Sir, I am Java Developer. i develop web application using servlet and JSP. My problem is that i am not able to get server started in eclipse Juno.using Tomcat 7 with windows 7. Please Guide me for the same Installation Process of tomcat 7 on windows 7 I was previously using Windows XP and everything was fine But with Windows 7 i am Having the problem Please guide me regarding this Two options: 1. Read this: http://www.catb.org/esr/faqs/smart-questions.html and follow the excellent advice it offers. +1 +1 2. Apply the following logic: - It worked on Windows XP - It doesn't work on Windows 7 - Therefore a bug in Windows 7 is the root cause - Either: a) Report the problem to Microsoft and get them to fix it b) Uninstall Windows 7 and re-install Windows XP There is also FAQ available, such as http://wiki.apache.org/tomcat/FAQ/Windows#Q8 First of all, it works for me (although I mostly use NetBeans and mostly use Linux). 1. Install the appropriate JRE a. 1.6.0_37 32 bit or 64 bit depending on your system b. 1.7.0_09 32 bit or 64 bit depending on your system 2. Download and install the J2EE version of Eclipse Juno a. It's a zip file b. Unpack it in C:\Users\[username] [username] is your user name - don't use the square brackets it will make it's own directory c. Make shortcuts on the desktop and the start menu 3. Make a directory in C:\Users\[username] a. [username] is your user name - don't use the square brackets b. Call that directory Apache 4. Download Tomcat a. get the latest version (7.0.33 as I write this) b. get the zip file c. get the 32 bit or 64 bit depending on your system 5. Unpack the zip file in C:\Users\[username]\Apache a. this is the directory you made in step 3 b. it will create its own directory (apache-tomcat-7.0.33) 6. Edit C:\Users\[username]\Apache\apache-tomcat-7.0.33\conf\tomcat-users.xml a. Actually not necessary since Eclipse doesn't use the manager app b. However, you may want to use the manager app outside of Eclipse c. Make the contents of tomcat-users.xml like this: tomcat-users !-- roles -- role rolename=manager-gui/ role rolename=manager-script/ role rolename=manager-jmx/ role rolename=manager-status/ !-- users -- user name=manager password=password roles=manager-gui / user name=mgr-script password=password roles=manager-script/ user name=mgr-jmx password=password roles=manager-jmx/ user name=mgr-status password=password roles=manager-status/ /tomcat-users d. Note, I wrapped my lines so it would fit in email. e. Choose better passwords 7. Verify that Tomcat runs a. double-click on C:\Users\[username]\Apache\apache-tomcat-7.0.33\bin\startup.bat b. Browse to http://localhost:8080 c. See the Tomcat start page d. double-click on C:\Users\[username]\Apache\apache-tomcat-7.0.33\bin\shutdown.bat 8. Add server to Eclipse Juno a. Start Eclipse b. Open the Servers window (Windows-Show View-Others-Servers) c. Right-mouse click in the Servers window d. Choose New-Server e. Follow the Wizard You now have Tomcat 7.0.33 running from within Eclipse Juno. The keys are: 1. Do not install as a service 2. Install in your own directory, otherwise you'll be fighting UAC . . . . just my two cents. /mde/ (Beats packing and moving in the rain) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org