You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Bradley Schatz <br...@netali.com> on 1999/12/02 00:01:49 UTC

test - please ignore


--
Bradley Schatz
http://www.netali.com
5/14 Abbott St  tel: + 61 7 3254 0246
New Farm  fax: + 61 7 3254 4510
QLD 4005 Australia



Re: Server path issues

Posted by Bradley Schatz <br...@netali.com>.
Thanks Costin,

I stilll am running into problems, would you mind a further question.

I start the nightly binary build on linux and get:

Tomcat Web Server Version 2.2
Loaded configuration from: file:/Projects/tomcat/server.xml
Configuring web service using "default"
Configuring web service using
"file:/Projects/tomcat/webpages/WEB-INF/web.xml"
default: init
jsp: init
Configuring web service using "default"
Configuring web service using
"file:/Projects/tomcat/examples/WEB-INF/web.xml"
default: init
jsp: init
Starting tcp endpoint on 8080 with
org.apache.tomcat.service.http.HttpConnectionHandler
Starting tcp endpoint on 8007 with
org.apache.tomcat.service.Ajp11ConnectionHandler
Starting tcp endpoint on 8009 with
org.apache.tomcat.service.connector.Ajp12ConnectionHandler
Starting tcp endpoint on 8008 with
org.apache.tomcat.service.connector.Ajp23ConnectionHandler


But if I run the src built on win32 under visualage, using -config to
specify the path to server.xml, with correctly scoped directories, the
sercives dont start upo in the same way. Ie

Tomcat Web Server Version 2.2
Loaded configuration from: file:/p:\tomcat\server.xml
Configuring web service using "default"
Configuring web service using "file:/p:\tomcat\webpages/WEB-INF/web.xml"
default: init
jsp: init
Configuring web service using "default"
Configuring web service using "file:/p:\tomcat\examples/WEB-INF/web.xml"
default: init
jsp: init
Setting up HttpServer for localhost:8080
Web service started: localhost/127.0.0.1:8080

Why is it using the HttpServer instead of the endpoints?

Thanks,


Bradley



Costin.Manolache@eng.sun.com wrote:

> >
> >
> > How can I specify as a property or arg, the base dir of the install?
>
> - ask VAJ to cd to the tomcat dir ( should be easiest )
> - use -config option as parameter to Main.
> - copy server.xml into whatever directory VAJ is using ( with full
> paths to contexts)
> - use a different method to start tomcat ( instead of Startup.java) -
> that's best if you embed Tomcat into an existing application.
>
> Any of those should work.
>
> Costin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

--
Bradley Schatz
http://www.netali.com
5/14 Abbott St  tel: + 61 7 3254 0246
New Farm  fax: + 61 7 3254 4510
QLD 4005 Australia



Re: Server path issues

Posted by Co...@eng.sun.com.
>
>
> How can I specify as a property or arg, the base dir of the install?

- ask VAJ to cd to the tomcat dir ( should be easiest )
- use -config option as parameter to Main.
- copy server.xml into whatever directory VAJ is using ( with full
paths to contexts)
- use a different method to start tomcat ( instead of Startup.java) -
that's best if you embed Tomcat into an existing application.

Any of those should work.

Costin



Server path issues

Posted by Bradley Schatz <br...@netali.com>.
Hi,

I am currently attempting to get Tomcat runnig inside of Visualage for
Java, and am running into 404 errors. After running the binary build on
my linux install, from the root of the binary build tree, things run
file, I hit http://localhost/ and get the index.html file returned that
is int he webdocs tree. But if run it from another directory I get

Error: 404

File Not Found: /

errors.

How can I specify as a property or arg, the base dir of the install?

thanks


--
Bradley Schatz
http://www.netali.com
5/14 Abbott St  tel: + 61 7 3254 0246
New Farm  fax: + 61 7 3254 4510
QLD 4005 Australia