• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat plugin

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Do you want ants? Because that's how you get ants. And a tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic