You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alexandra Stylianidou <al...@gmail.com> on 2011/07/15 16:31:29 UTC

Problem-Tomcat 7.0.16 on mac os 10.6.8

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?

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
Thanks for everything!!!It's running now!

2011/7/15 Hassan Schroeder <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 12:26 PM, Alexandra Stylianidou
> <al...@gmail.com> 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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 12:26 PM, Alexandra Stylianidou
<al...@gmail.com> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
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 <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 10:42 AM, Alexandra Stylianidou
> <al...@gmail.com> 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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 10:42 AM, Alexandra Stylianidou
<al...@gmail.com> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
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 <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 9:56 AM, Alexandra Stylianidou
> <al...@gmail.com> 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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 9:56 AM, Alexandra Stylianidou
<al...@gmail.com> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
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 <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 9:14 AM, Alexandra Stylianidou
> <al...@gmail.com> 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 <null>: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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 9:14 AM, Alexandra Stylianidou
<al...@gmail.com> 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 <null>: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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
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 <null>: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.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(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 <null>: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.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(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.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 15, 2011 7:12:39 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 773 ms
Jul 15, 2011 7:12:39 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Jul 15, 2011 7:12:39 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.16
Jul 15, 2011 7:12:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory docs
Jul 15, 2011 7:12:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory examples
Jul 15, 2011 7:12:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory host-manager
Jul 15, 2011 7:12:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory manager
Jul 15, 2011 7:12:39 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory ROOT
Jul 15, 2011 7:12:39 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 15, 2011 7:12:40 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 966 ms




2011/7/15 Hassan Schroeder <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 8:57 AM, Alexandra Stylianidou
> <al...@gmail.com> 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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 8:57 AM, Alexandra Stylianidou
<al...@gmail.com> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
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 <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 8:35 AM, Alexandra Stylianidou
> <al...@gmail.com> 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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 8:35 AM, Alexandra Stylianidou
<al...@gmail.com> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
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 <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 8:20 AM, Alexandra Stylianidou
> <al...@gmail.com> wrote:
> > Exactly.But the problem still exists.
>
> What "problem"? What does the startup logging show?
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 8:20 AM, Alexandra Stylianidou
<al...@gmail.com> wrote:
> Exactly.But the problem still exists.

What "problem"? What does the startup logging show?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
Exactly.But the problem still exists.

2011/7/15 Hassan Schroeder <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 7:45 AM, Alexandra Stylianidou
> <al...@gmail.com> 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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 7:45 AM, Alexandra Stylianidou
<al...@gmail.com> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
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 <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 7:38 AM, Alexandra Stylianidou
> <al...@gmail.com> 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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 7:38 AM, Alexandra Stylianidou
<al...@gmail.com> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Alexandra Stylianidou <al...@gmail.com>.
What do you mean?Logs folder is empty.

2011/7/15 Hassan Schroeder <ha...@gmail.com>

> On Fri, Jul 15, 2011 at 7:31 AM, Alexandra Stylianidou
> <al...@gmail.com> 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.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

Posted by Hassan Schroeder <ha...@gmail.com>.
On Fri, Jul 15, 2011 at 7:31 AM, Alexandra Stylianidou
<al...@gmail.com> 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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org