Yes that was exactly what happened, it also added the contexts...i =
deleted the uncompressed=20
files/folders and tried running only the war files..it said page not =
found.
And what about the class files...the class files are under a package=20
 "hello" and i have made a war file called hello.war under webapps...but =
when i run
this using http://localhost:8080/hello..it opens up the directory =
listing
 inside the files but when i click on any particular file it says

org.apache.jasper.JasperException: Unable to load class =
hello.NameHandler
at =
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java=
:183)
at =
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGener=
ator.java:99)
at =
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generat=
e(JspParseEventListener.java:730)
at =
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEven=
tListener.java:200)
at =
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspPar=
seEventListener.java:169)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:183)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at =
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Js=
pServlet.java:149)
at =
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet=
.java:161)
at =
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at =
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:5=
03)
at =
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at =
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Ht=
tpConnectionHandler.java:160)
at =
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:=
338)
at java.lang.Thread.run(Thread.java:484)

I am using tomcat 3.1.

thanks=20
anoop
  ----- Original Message -----=20
  From: Sriram Narayanan=20
  To: [EMAIL PROTECTED]=20
  Sent: Wednesday, October 31, 2001 9:59 AM
  Subject: Re: deploying .war files


  Hi,

  Which version of tomcat are you using ? For 3.2, check the logfile =
tomcat.log in the logs subdirectory.

  I get the following entries among others

  2001-10-31 09:29:08 - ContextManager: Adding context Ctx( /examples )
  2001-10-31 09:29:08 - ContextManager: Adding context Ctx( /admin )

  I am then able to access the examples by going to =
"http://localhost:8080/examples/"

  And what exactly do you mean by "even the examples do not work if I do =
not extract them into their respective folders" ?

  Do you mean that after you extract the wars, you are able to run the =
applications ?


  Sriram
  31/10/2001 9:45:28 AM, anoop <[EMAIL PROTECTED]> wrote:

  >
  >
  >
  >   i am sorry, yes i am using tomcat..but i hv done exactly as u hv =
said.
  >   Even the examples do not work
  >   if i do not extract them into their respective folders. But still =
i am
  >
  >   hving the same problem. Tomcat does not
  >   even recognise the .war files.
  >
  >   rgds,
  >   anoop
  >
  >

Reply via email to