Do you have a web.xml in WEB-INF?
What do the tomcat logs say on startup? You can tweak the logger verbosity by increasing the debug attributes on elements within server.xml.
What version of tomcat? Not sure Logger elements are supported in 5.5.x

Jon

PS: books are generally out of date by the time they are published ;) There are plenty of config changes between 4.0.x, 4.1.x, 5.0.x and 5.5.x versions

Iin Nurhidayat wrote:
yess ....


--- "Raghupathy,Gurumoorthy"
<[EMAIL PROTECTED]> wrote:


Did you restart tomcat ?

-----Original Message-----
From: Iin Nurhidayat [mailto:[EMAIL PROTECTED]

Sent: 14 July 2005 13:30
To: Tomcat Users List
Subject: RE: Tomcat Configuration



Hi Guru,

i replced webapps but i have same problem also ...

Thanks

- IN -

--- "Raghupathy,Gurumoorthy"
<[EMAIL PROTECTED]> wrote:


<Context path= "/myapplication" docBase=
"myapplication" reloadable= "true " crossContext= "true " > Remove ( /webapps/ )
Regards
Guru
-----Original Message-----
From: Iin Nurhidayat

[mailto:[EMAIL PROTECTED]

Sent: 14 July 2005 12:14
To: Tomcat Users List
Subject: Tomcat Configuration



Hi All,

I have a problem with my deployment.

I have some servlets and one Login.html.
I will put my servlets and Login.html on
/myapplication

Based on book i have read :

a) I configure the server.xml
  <Context path= "/myapplication" docBase=
"/webapps/myapplication" reloadable= "true " crossContext= "true " >
<Logger className=
"org.apache.catalina.logger.FileLogger " prefix= "localhost_myapplication_log. " suffix=
".txt
" timestamp= "true " / > </Context >
b) I put Login.html under myapplication directory.
  $CATALINA_HOME\webapps\myapplication

c) I put servlets under classes directory

$CATALINA_HOME\webapps\myapplication\WEB-INF\classes.

But, Tomcat response is can not find

/myapplication

(404).

Please advice ...


Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to