Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
Thanks for everything!!!It's running now! 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 12:26 PM, Alexandra Stylianidou > wrote: > > You mean the logs(folder) from tomcat folder or the logs from console? > > I mean wherever your running Tomcat is writing its logging messages. > > You said you reconfigured the connector port and started it. Where > are those startup messages? > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 12:26 PM, Alexandra Stylianidou wrote: > You mean the logs(folder) from tomcat folder or the logs from console? I mean wherever your running Tomcat is writing its logging messages. You said you reconfigured the connector port and started it. Where are those startup messages? -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
You mean the logs(folder) from tomcat folder or the logs from console?I also saw that port 8080 is used by http-alt. 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 10:42 AM, Alexandra Stylianidou > wrote: > > I tried to change the port from 8080 to another port (e.g.9000) and type > > localhost:9000 but still nothing.What went wrong? > > I don't know. What do your logs say? << hint > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 10:42 AM, Alexandra Stylianidou wrote: > I tried to change the port from 8080 to another port (e.g.9000) and type > localhost:9000 but still nothing.What went wrong? I don't know. What do your logs say? << hint -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
I tried to change the port from 8080 to another port (e.g.9000) and type localhost:9000 but still nothing.What went wrong? 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 9:56 AM, Alexandra Stylianidou > wrote: > > Thank you for your tips.So, i have to change the tomcat port from 8080 > into > > another port?Is it easy to do it? > > Yes. Reading the documentation is also a good habit to get into :-) > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 9:56 AM, Alexandra Stylianidou wrote: > Thank you for your tips.So, i have to change the tomcat port from 8080 into > another port?Is it easy to do it? Yes. Reading the documentation is also a good habit to get into :-) -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
Thank you for your tips.So, i have to change the tomcat port from 8080 into another port?Is it easy to do it? 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 9:14 AM, Alexandra Stylianidou > wrote: > > When i type "Alexandras-MacBook-Pro:bin alekastyl$ cd /Library/Tomcat > > Alexandras-MacBook-Pro:Tomcat alekastyl$ export CATALINA_HOME=`pwd` > > Alexandras-MacBook-Pro:Tomcat alekastyl$ ./bin/catalina.sh run" in > terminal > > the output is: > > > SEVERE: Failed to initialize end point associated with ProtocolHandler > > ["http-bio-8080"] > > java.net.BindException: Address already in use :8080 > > Exactly. Something else is using that port, so of course Tomcat can't. > > That same message has been there *every time* you tried to start > Tomcat "for the last few days". You'll save yourself a lot of time by > paying attention to logging output. :-) > > Good luck, > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 9:14 AM, Alexandra Stylianidou wrote: > When i type "Alexandras-MacBook-Pro:bin alekastyl$ cd /Library/Tomcat > Alexandras-MacBook-Pro:Tomcat alekastyl$ export CATALINA_HOME=`pwd` > Alexandras-MacBook-Pro:Tomcat alekastyl$ ./bin/catalina.sh run" in terminal > the output is: > SEVERE: Failed to initialize end point associated with ProtocolHandler > ["http-bio-8080"] > java.net.BindException: Address already in use :8080 Exactly. Something else is using that port, so of course Tomcat can't. That same message has been there *every time* you tried to start Tomcat "for the last few days". You'll save yourself a lot of time by paying attention to logging output. :-) Good luck, -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
When i type "Alexandras-MacBook-Pro:bin alekastyl$ cd /Library/Tomcat Alexandras-MacBook-Pro:Tomcat alekastyl$ export CATALINA_HOME=`pwd` Alexandras-MacBook-Pro:Tomcat alekastyl$ ./bin/catalina.sh run" in terminal the output is: "Using CATALINA_BASE: /Library/Tomcat Using CATALINA_HOME: /Library/Tomcat Using CATALINA_TMPDIR: /Library/Tomcat/temp Using JRE_HOME:/Library/Java/Home Using CLASSPATH: /Library/Tomcat/bin/bootstrap.jar:/Library/Tomcat/bin/tomcat-juli.jar Jul 15, 2011 7:12:38 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: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java Jul 15, 2011 7:12:39 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Jul 15, 2011 7:12:39 PM org.apache.coyote.AbstractProtocol init SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"] java.net.BindException: Address already in use :8080 at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:391) at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:490) at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:364) at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119) at org.apache.catalina.connector.Connector.initInternal(Connector.java:910) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101) at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101) at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101) at org.apache.catalina.startup.Catalina.load(Catalina.java:572) at org.apache.catalina.startup.Catalina.load(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:430) Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.(ServerSocket.java:194) at java.net.ServerSocket.(ServerSocket.java:150) at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:48) at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:378) ... 17 more Jul 15, 2011 7:12:39 PM org.apache.catalina.core.StandardService initInternal SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8080]] org.apache.catalina.LifecycleException: Protocol handler initialization failed at org.apache.catalina.connector.Connector.initInternal(Connector.java:912) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101) at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101) at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101) at org.apache.catalina.startup.Catalina.load(Catalina.java:572) at org.apache.catalina.startup.Catalina.load(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:430) Caused by: java.net.BindException: Address already in use :8080 at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:391) at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:490) at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:364) at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119) at org.apache.catalina.connector.Connector.initInternal(Connector.java:910) ... 13 more Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.(ServerSocket.java:194) at java.net.ServerSocket.(ServerSocket.java:150) at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSoc
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 8:57 AM, Alexandra Stylianidou wrote: > The console doesn't show anything about tomcat. Are you saying when you type `bin/catalina.sh run` in a console window that absolutely nothing happens?? There is *no* output whatsoever? I find that very hard to believe. > So,what can i do if another server runs on port 8080?Maybe > the postgresql runs on that port. That's not what the message is telling you. Does it say anything about PostgreSQL? It's telling you it's Apache httpd. Find where that's installed and stop it. Or configure Tomcat to use a different port. Either will do. Assuming Tomcat is actually starting up, which hasn't yet been demonstrated. -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
The console doesn't show anything about tomcat.I put in the browser " http://localhost:8080/"; and it shows me the previous message.So,what can i do if another server runs on port 8080?Maybe the postgresql runs on that port.Thanks for your help am not an expert,i want to setup the SWiM wiki and i am trying it for the last few days but i can't. 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 8:35 AM, Alexandra Stylianidou > wrote: > > It shows the message: > > Again, what does the *console* show when you try to start Tomcat? > > If you already have another server running on port 8080 as the lines > below seem to indicate, you can't expect to see anything from Tomcat > in your browser. > > > "Enterprice DB > > *Apache - version 2.2.16 > > PHP - version 5.3.3 > > *Server is up and running > > The default Apache context is *www* in the Apache installation folder" > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 8:35 AM, Alexandra Stylianidou wrote: > It shows the message: Again, what does the *console* show when you try to start Tomcat? If you already have another server running on port 8080 as the lines below seem to indicate, you can't expect to see anything from Tomcat in your browser. > "Enterprice DB > *Apache - version 2.2.16 > PHP - version 5.3.3 > *Server is up and running > The default Apache context is *www* in the Apache installation folder" -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
It shows the message: "Enterprice DB *Apache - version 2.2.16 PHP - version 5.3.3 *Server is up and running The default Apache context is *www* in the Apache installation folder" 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 8:20 AM, Alexandra Stylianidou > wrote: > > Exactly.But the problem still exists. > > What "problem"? What does the startup logging show? > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 8:20 AM, Alexandra Stylianidou wrote: > Exactly.But the problem still exists. What "problem"? What does the startup logging show? -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
Exactly.But the problem still exists. 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 7:45 AM, Alexandra Stylianidou > wrote: > > I put "Library/Tomcat/bin/catalina.sh run" and says that:"Cannot find > > /Library/Tomcat/Home/bin/setclasspath.sh > > This file is needed to run this program" but this file exists. > > OK, so you say you have everything installed under /Library/Tomcat, > right? So try > > % cd /Library/Tomcat > % export CATALINA_HOME=`pwd` > % ./bin/catalina.sh run > > You should see something like this: > > 07:42 ~/Downloads/apache-tomcat-7.0.16 $ export CATALINA_HOME=`pwd` > 07:43 ~/Downloads/apache-tomcat-7.0.16 $ ./bin/catalina.sh run > Using CATALINA_BASE: /Users/hassan/Downloads/apache-tomcat-7.0.16 > Using CATALINA_HOME: /Users/hassan/Downloads/apache-tomcat-7.0.16 > Using CATALINA_TMPDIR: /Users/hassan/Downloads/apache-tomcat-7.0.16/temp > Using JRE_HOME: > /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home > Using CLASSPATH: > > /Users/hassan/Downloads/apache-tomcat-7.0.16/bin/bootstrap.jar:/Users/hassan/Downloads/apache-tomcat-7.0.16/bin/tomcat-juli.jar > > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 7:45 AM, Alexandra Stylianidou wrote: > I put "Library/Tomcat/bin/catalina.sh run" and says that:"Cannot find > /Library/Tomcat/Home/bin/setclasspath.sh > This file is needed to run this program" but this file exists. OK, so you say you have everything installed under /Library/Tomcat, right? So try % cd /Library/Tomcat % export CATALINA_HOME=`pwd` % ./bin/catalina.sh run You should see something like this: 07:42 ~/Downloads/apache-tomcat-7.0.16 $ export CATALINA_HOME=`pwd` 07:43 ~/Downloads/apache-tomcat-7.0.16 $ ./bin/catalina.sh run Using CATALINA_BASE: /Users/hassan/Downloads/apache-tomcat-7.0.16 Using CATALINA_HOME: /Users/hassan/Downloads/apache-tomcat-7.0.16 Using CATALINA_TMPDIR: /Users/hassan/Downloads/apache-tomcat-7.0.16/temp Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home Using CLASSPATH: /Users/hassan/Downloads/apache-tomcat-7.0.16/bin/bootstrap.jar:/Users/hassan/Downloads/apache-tomcat-7.0.16/bin/tomcat-juli.jar -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
I put "Library/Tomcat/bin/catalina.sh run" and says that:"Cannot find /Library/Tomcat/Home/bin/setclasspath.sh This file is needed to run this program" but this file exists. 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 7:38 AM, Alexandra Stylianidou > wrote: > > What do you mean?Logs folder is empty. > > That sounds pretty suspicious. > > Try starting using `bin/catalina.sh run` -- you should see the startup > messages in the console. > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 7:38 AM, Alexandra Stylianidou wrote: > What do you mean?Logs folder is empty. That sounds pretty suspicious. Try starting using `bin/catalina.sh run` -- you should see the startup messages in the console. -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
What do you mean?Logs folder is empty. 2011/7/15 Hassan Schroeder > On Fri, Jul 15, 2011 at 7:31 AM, Alexandra Stylianidou > wrote: > > I am trying to run tomcat 7.0.16 on my mac os x 10.6.8 in order to set up > > the SWiM and i have problem to show the tomcat welcome screen.First,i > create > > a folder /Library/Tomcat and put the apache file.Then i edit the > > /Library/Tomcat/conf/tomcat-users.xml file ,i run the startup.sh file ,i > go > > to http://127.0.0.1:8080/ but no tomcat welcome screen.What am i doing > > wrong? > > Look at the logs to see what's happening. > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Problem-Tomcat 7.0.16 on mac os 10.6.8
On Fri, Jul 15, 2011 at 7:31 AM, Alexandra Stylianidou wrote: > I am trying to run tomcat 7.0.16 on my mac os x 10.6.8 in order to set up > the SWiM and i have problem to show the tomcat welcome screen.First,i create > a folder /Library/Tomcat and put the apache file.Then i edit the > /Library/Tomcat/conf/tomcat-users.xml file ,i run the startup.sh file ,i go > to http://127.0.0.1:8080/ but no tomcat welcome screen.What am i doing > wrong? Look at the logs to see what's happening. -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org