You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul McKean <Pa...@maf.nasa.gov> on 2000/03/20 22:06:16 UTC

Tomcat 3.1 beta w/ CodeWarrior

I'm trying to get Tomcat 3.1 beta to work inside of my CodeWarrior
debugger.  I'm on a Solaris workstation.

I had no trouble getting the M1 version to work by setting the following
inside of my target:

Main Class:   org.apache.tomcat.shell.Startup
Parameters:   -config  /path/to/server.xml

This doesn't work with the beta release.  Can anyone help?

Thanks,

Paul C. McKean Jr.
 Technical Audit & Systems Compliance
Lockheed Martin Space Systems Company - Michoud Operations
phone: (504) 257-1213



Re: Tomcat 3.1 beta w/ CodeWarrior

Posted by ya...@itl.toppan.co.jp.
In 3.1 beta 1 version, "-config" option is changing.

For example, 
in 3.1 beta 1 version, 
Parameter: -config /opt/tomcat/conf/server.xml means
$TOMCAT_HOME/opt/tomcat/conf/server.xml

in M1 version,
Parameter: -config /opt/tomcat/conf/server.xml means
/opt/tomcat/conf/server.xml

--
Takamasa YAGUCHI


> I'm trying to get Tomcat 3.1 beta to work inside of my CodeWarrior
> debugger.  I'm on a Solaris workstation.
> 
> I had no trouble getting the M1 version to work by setting the following
> inside of my target:
> 
> Main Class:   org.apache.tomcat.shell.Startup
> Parameters:   -config  /path/to/server.xml
> 
> This doesn't work with the beta release.  Can anyone help?
> 
> Thanks,
> 
> Paul C. McKean Jr.
>  Technical Audit & Systems Compliance
> Lockheed Martin Space Systems Company - Michoud Operations
> phone: (504) 257-1213
> 
> 
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 

Re: Tomcat 3.1 beta w/ CodeWarrior

Posted by Paul McKean <Pa...@maf.nasa.gov>.
I had already tried using the org.apache.tomcat.startup.Tomcat class to start
tomcat in codewarrior; however, I finally got it working.

Here's what I ended up doing in addition to setting up my project normally:

1.  Created a new project in CodeWarrior.
2.  Added the "CodeWarrior" JDK's tools.jar to my project.
3.  Added the TomcatHome/lib/*.jar files to my project.
4.  Set the target Output Directory to /my-web-app/WEB-INF/lib
5.  Set the target VM Arguments to "-Dtomcat.home=/path/to/tomcat/home"
6.  Set the Main Class to org.apache.tomcat.startup.Tomcat
7.  Set the parameters to "start"

Hope this helps someone else save a few brain cells.

Paul

Lou wrote:

> Paul:
>
> I'm using a different debugger, but also had problems until I changed my
> main class from org.apache.tomcat.shell.Startup  to:
> org.apache.tomcat.startup.Tomcat.
>
> Perhaps doing that will resolve your situation as well.
>
> Lou
>
> Paul McKean wrote:
> >
> > I'm trying to get Tomcat 3.1 beta to work inside of my CodeWarrior
> > debugger.  I'm on a Solaris workstation.
> >
> > I had no trouble getting the M1 version to work by setting the following
> > inside of my target:
> >
> > Main Class:   org.apache.tomcat.shell.Startup
> > Parameters:   -config  /path/to/server.xml
> >
> > This doesn't work with the beta release.  Can anyone help?
> >
> > Thanks,
> >
> > Paul C. McKean Jr.
> >  Technical Audit & Systems Compliance
> > Lockheed Martin Space Systems Company - Michoud Operations
> > phone: (504) 257-1213
> >
> > --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
> --
> Lou Labeck
> lou@oasistek.com
> ljlabeck@usinternet.com
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

--
Paul C. McKean Jr.
 Technical Audit & Systems Compliance
Lockheed Martin Space Systems Company - Michoud Operations
phone: (504) 257-1213




Re: Tomcat 3.1 beta w/ CodeWarrior

Posted by Lou <lo...@oasistek.com>.
Paul:

I'm using a different debugger, but also had problems until I changed my
main class from org.apache.tomcat.shell.Startup  to:
org.apache.tomcat.startup.Tomcat.

Perhaps doing that will resolve your situation as well.

Lou

Paul McKean wrote:
> 
> I'm trying to get Tomcat 3.1 beta to work inside of my CodeWarrior
> debugger.  I'm on a Solaris workstation.
> 
> I had no trouble getting the M1 version to work by setting the following
> inside of my target:
> 
> Main Class:   org.apache.tomcat.shell.Startup
> Parameters:   -config  /path/to/server.xml
> 
> This doesn't work with the beta release.  Can anyone help?
> 
> Thanks,
> 
> Paul C. McKean Jr.
>  Technical Audit & Systems Compliance
> Lockheed Martin Space Systems Company - Michoud Operations
> phone: (504) 257-1213
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

-- 
Lou Labeck
lou@oasistek.com
ljlabeck@usinternet.com