Re: Problem-Tomcat 7.0.16 on mac os 10.6.8

2011-07-16 Thread Alexandra Stylianidou
Thanks for everything!!!It's running now!

2011/7/15 Hassan Schroeder hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 12:26 PM, Alexandra Stylianidou
 alekas...@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.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

2011-07-15 Thread Alexandra Stylianidou
What do you mean?Logs folder is empty.

2011/7/15 Hassan Schroeder hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 7:31 AM, Alexandra Stylianidou
 alekas...@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.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

2011-07-15 Thread Alexandra Stylianidou
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 hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 7:38 AM, Alexandra Stylianidou
 alekas...@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.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

2011-07-15 Thread Alexandra Stylianidou
Exactly.But the problem still exists.

2011/7/15 Hassan Schroeder hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 7:45 AM, Alexandra Stylianidou
 alekas...@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.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

2011-07-15 Thread Alexandra Stylianidou
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 hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 8:20 AM, Alexandra Stylianidou
 alekas...@gmail.com 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

2011-07-15 Thread Alexandra Stylianidou
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 hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 8:35 AM, Alexandra Stylianidou
 alekas...@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.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

2011-07-15 Thread Alexandra Stylianidou
)
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 hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 8:57 AM, Alexandra Stylianidou
 alekas...@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.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

2011-07-15 Thread Alexandra Stylianidou
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 hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 9:14 AM, Alexandra Stylianidou
 alekas...@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.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

2011-07-15 Thread Alexandra Stylianidou
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 hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 9:56 AM, Alexandra Stylianidou
 alekas...@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.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

2011-07-15 Thread Alexandra Stylianidou
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 hassan.schroe...@gmail.com

 On Fri, Jul 15, 2011 at 10:42 AM, Alexandra Stylianidou
 alekas...@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.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