| Author |
Message |
|
|
Post subject: Error when Starting Tomcat 6 with Plugin only
Posted: May 07, 2007 - 02:28 PM
|
|

Joined: Nov 18, 2004
Posts: 22
Location: CA, US
|
|
Hi,
Looks like a really useful plugin, but I'm having trouble getting it to work.
I can run Tomcat without the plugin, but not with the plugin.
I am hoping someone can figure this out and help me fix the problem.
I followed instructions here: http://www.sipages.com/jet.html#sysdeo
If I use the "server.xml" option in the plugin, the result is that I get an error when I try and start tomcat:| Code: | May 6, 2007 9:26:48 PM org.apache.catalina.startup.Bootstrap main
WARNING: Bootstrap: command "/development/tomcat6/conf/server.xml" does not exist.
|
I am sure that that path exists! | Code: | gs% ls -al /development/tomcat6/
total 17232
drwxrwxrwx 15 gs staff 510 May 4 18:17 .
drwxrwxr-x 22 gs admin 748 May 4 18:16 ..
...(some files)
drwxrwxrwx 10 gs staff 340 May 6 21:23 conf
...(more files)
gs% ls -al /development/tomcat6/conf
total 168
drwxrwxrwx 10 gs staff 340 May 6 21:23 .
drwxrwxrwx 15 gs staff 510 May 4 18:17 ..
...(some files)
-rwxrwxrwx 1 gs staff 5627 May 3 14:01 server.xml
...(more files)
|
The permissions are as liberal as they can be. What could be wrong?
I've restarted Eclipse and I get the same thing.
That's using server.xml.
Now I think I should be able to continue using server.xml, right? I
Actually, I don't know what the "Contexts directory", option is. However...
If I choose option "Contexts directory", I get
| Code: |
May 6, 2007 9:59:01 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The 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
May 6, 2007 9:59:01 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Permission denied:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
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:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
May 6, 2007 9:59:01 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Permission denied:80
at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
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:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
|
What could be wrong?
How can I run the plugin?
Please advise.
Thank you,
Garrett |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 10, 2007 - 03:47 AM
|
|

Joined: Apr 12, 2007
Posts: 1
|
|
Hi,
there is a bug in version 3.2.0 when setting context declaration mode to 'Server.xml', it is fixed in version 3.2.1 (http://www.eclipsetotale.com/tomcatPlugin.html).
Bruno |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 30, 2007 - 11:23 PM
|
|
Joined: May 30, 2007
Posts: 1
|
|
| Assuming the Tomcat icons are showing up in the Eclipse toolbar, I'd check Window --> Preferences --> Tomcat --> JVM Settings and confirm the "JRE" box at the top of the page references a JDK (not a JRE) which you set in the Java --> Installed JRE's section earlier. Tomcat requires the JDK. The Sysdeo plugin won't start Tomcat if a JRE instead of a JDK is referenced in that box. |
|
|
| |
|
|
|
 |
|
|
| |