In your server.xml file, you will notice the lines of text that say
    <!--  Tomcat Manager Context  --> 
    <Context path="/manager" docBase="manager" debug="0" privileged="true" > 
     </Context>

immediately after this, enter your context
 <Context path="/sachar" docBase="sachar" debug="0" reloadable="true" 
crossContext="true">
  <Logger className="org.apache.catalina.logger.FileLogger" 
prefix="puneet_examples_log." suffix=".txt" timestamp="true" /> 
  <Ejb name="ejb/EmplRecord" type="Entity" home="com.wombat.empl.EmployeeRecordHome" 
remote="com.wombat.empl.EmployeeRecord" /> 
 </Context>


That should be a start.

>>> [EMAIL PROTECTED] 06/08/02 03:22PM >>>
Hi friends, this is my 4th mail regarding my single
complain..

I have install the tomcat 4.0.3 and its doing fine as
far .html files are concern but no .class and .jsp
files are running on it

I have asked 9-10 times abt same question again and
again and I got nothing from u guys there

Plz help me*I really stuck ..

With this mail I'm sending my server.xml file and
web.xml file which is in my virtualhost/WEB-INF/

I know it is very tough for u to go in these files and
see for errors but plz..i'm in need badly and afater
spending so much time here I some time feel like
crying * and I'm in such a place and in such a part of
India..where I can't get ant local computer guy with
whom I can discuss ..plz do me a little favour

Here are my problems
1)      no .class and .jsp working only html is working 
2)      I have done all changes which were to made in
server.xml*)I have send the file also plz check it and
tell me any mistake if u find)
3)      I'm getting 404 error ..no servlet found
4)      And I'm able to excess the .class file vis
http://localhost:80/examples/servlet/abc.class 
 But not by making my own virtual host aand not even
the default root directory


what i have is my own context named sachar 
and when i go
.http://puneet:80/sachar/servlet/HelloworldServlet 

error -- 404

See friends ..if u can help me I'll be very grateful
to u

Puneet 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


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

Reply via email to