aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Tomcat plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Tomcat plugin" Watch "Tomcat plugin" New topic
Author

Tomcat plugin

Kevin Hamrick
Ranch Hand

Joined: Aug 30, 2004
Posts: 32
I installed the Sysdeo plugin into eclipse 2.1. It seamed to run fine and start Tomcat but it will not build a war file. I created a very simple JSP to test it but I get a server error 500. When I go to the managers page it shows the test.jsp with zero sessions. Here is a copy of the log file�
!SESSION Jan 07, 2005 15:16:36.875 ---------------------------------------------
java.version=1.4.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/eclipse/
!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jan 07, 2005 15:16:36.875
!MESSAGE Starting Tomcat...

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jan 07, 2005 15:17:43.218
!MESSAGE Stopping Tomcat...

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jan 07, 2005 15:18:25.203
!MESSAGE Starting Tomcat...

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jan 07, 2005 15:32:03.312
!MESSAGE Stopping Tomcat...

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jan 07, 2005 15:32:07.625
!MESSAGE Starting Tomcat...

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jan 07, 2005 15:50:09.00
!MESSAGE Starting Tomcat...

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jan 07, 2005 15:52:48.734
!MESSAGE Stopping Tomcat...

!ENTRY com.sysdeo.eclipse.tomcat 4 4 Jan 07, 2005 15:59:03.250
!MESSAGE
-------- Launch Tomcat JVM Start --------
-> Label : Tomcat 4.1.x
-> ClassToLaunch : org.apache.catalina.startup.Bootstrap
-> Classpath : | C:\dev\bin\jakarta-tomcat-4.1.24\bin\bootstrap.jar | | c:\h\COTS\J2JRE_1.4.1\lib\tools.jar |
-> BootClasspath :
-> Vmargs : -Dcatalina.home="C:\dev\bin\jakarta-tomcat-4.1.24" -Djava.endorsed.dirs="C:\dev\bin\jakarta-tomcat-4.1.24\common\endorsed" -Dcatalina.base="C:\dev\bin\jakarta-tomcat-4.1.24" -Djava.io.tmpdir="C:\dev\bin\jakarta-tomcat-4.1.24\temp"
-> PrgArgs : start -config "C:\dev\bin\jakarta-tomcat-4.1.24\conf\server.xml"
-> Debug : true
-------- Launch Tomcat JVM End--------

My questions are
a)what am I doing wrong?
b)Is there a better plugin? By better I mean I grabbed it to build the war file. Normally I use ant but I inherited someone else�s project and they built it as a tomcat project using a plugin which build the war file for them. No matter what I have included in my ant file I can�t create the same war file and it will not run correctly after my builds. I thought using a plugin would be the easiest/fastest solution.

Thanks to all who answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat plugin