You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bob McCormick <bo...@intuitivesoftware.com> on 2002/11/28 06:18:28 UTC
URGENT: Tomcat4 - Setting my Application as Default
I'm having a devil of a time configuring my Application so that when I
enter 'http://someIP_or_name_or_localhost/' I get my application rather
than than the Tomcat Startup Screen.
At this point, I'm brain-dead I think. Here's what I've done so far:
1. Changed the CoyoteConnector to listen on port 80, instead of 8080.
2. Created the following connector:
<Context path="" docBase="var/tomcat4/webapps/myapp" debug="0"/>
I still keep getting the Tomcat Congrads screen. Could somebody chime in
here and lay this out for a complete idiot? Still feeling very new to
this Tomcat stuff and need to get this nailed down SOON. (deadline looms)
Any help here would be GREATLY appreciated.
Thanks...Bob
Bob McCormick
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: URGENT: Tomcat4 - Setting my Application as Default
Posted by David Brown <dw...@webitplanet.com>.
Bob McCormick writes:
> I'm having a devil of a time configuring my Application so that when I
> enter 'http://someIP_or_name_or_localhost/' I get my application rather
> than than the Tomcat Startup Screen.
>
> At this point, I'm brain-dead I think. Here's what I've done so far:
> 1. Changed the CoyoteConnector to listen on port 80, instead of 8080.
> 2. Created the following connector:
>
> <Context path="" docBase="var/tomcat4/webapps/myapp" debug="0"/>
>
> I still keep getting the Tomcat Congrads screen. Could somebody chime in
> here and lay this out for a complete idiot? Still feeling very new to this
> Tomcat stuff and need to get this nailed down SOON. (deadline looms)
>
> Any help here would be GREATLY appreciated.
>
> Thanks...Bob
>
> Bob McCormick
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
Hello Bob, next time start out w/ info that can get the attention of people
that can help u by supplying the following: tomcat version, platform, os,
hardware, network config, name or type of tc application u r trying to run
(jsp, servlet, other java object), protocal used: http, rmi, smtp. this is
just the short list. back to ur question i don't understand ur statement: "I
get my application rather than than the Tomcat Startup Screen." i assume u
mean u r not getting ur application but the tomcat "congrats" screen
instead. based on this assumption i will continue w/ a possible stab at this
problem. typically, when an application is "built" for tc the invocation of
the newly built application (defined here as <app_context>) would be
something like: http://localhost:8080/<app_context> where <app_context>
lives under $CATALINA_HOME/webapps and the definition/config for
<app_context> may be found:
$CATALINA_HOME/webapps/<app_context>/WEB-INF/web.xml. the entire
<app_context> business is created by tc from ur .war/.jar file combo that u
hopefully created using ant and the build.xml that u used for ur
<app_context> (whatever that may be). the ant "build" places the .war file
below /webapps and when u bounce (preferably not) ur tc server the .war file
is expanded 4 u into what i described above:
$TOMCAT_HOME/webapps/<app_context>. hope this helps, david.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>