Thanks Lance.
I made it all caps- That took me a step further.
----
Note to Windows(NT) users- windows shows the name in
mixed case in explorer- even though you may type it in
caps if you look at properties and DOS-NAME it will
show the actual name- uppercase in this case.
-------
I got an error. This error was a <servlet-mapping> tag
was not closed. I had used the sample web.xml for my
web.xml and it had a comment with a <servlet-mapping>
tag. I got rid of that.
That brought me to my next error. The part of error
that I could garb on the DOS screen is as below. How
do I log the errors in a log file?
at
org.apache.catalina.startup.ContextConfig.applicationConfig(Unknown
S
ource)
at
org.apache.catalina.startup.ContextConfig.start(Unknown
Source)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown
Sour
ce)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
Source)
at
org.apache.catalina.core.StandardContext.start(Unknown
Source)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Unknown
Sourc
e)
at
org.apache.catalina.core.ContainerBase.addChild(Unknown
Source)
at
org.apache.catalina.core.StandardHost.addChild(Unknown
Source)
at
org.apache.catalina.core.StandardHostDeployer.install(Unknown
Source)
at
org.apache.catalina.core.StandardHost.install(Unknown
Source)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Unknown
Sour
ce)
at
org.apache.catalina.startup.HostConfig.deployApps(Unknown
Source)
at
org.apache.catalina.startup.HostConfig.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)
[ERROR] Digester - -Parse Fatal Error at line 145
column 3: The content of eleme
nts must consist of well-formed character data or
markup. <org.xml.sax.SAXParseE
xception: The content of elements must consist of
well-formed character data or
markup.>
Thanks a lot,
Sanjay
--- Lance Smith <[EMAIL PROTECTED]>
wrote:
> Yes it must be ALL capital letters.
>
>
> -----Original Message-----
> From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 11:14 AM
> To: Tomcat Users List
> Subject: Re: [Tomact Servlet Deploy Problem Help]
>
>
> Kaikuo Luo,
> Thanks. Check my mail- I am doing all that. Is the
> name WEN-INF case sensitive?
> Sanjay
> --- Law Kaikuo <[EMAIL PROTECTED]> wrote:
> > Hi Sanjay Bahal,
> >
> > Maybe you should create a subdirectory under
> > WEN-INF called classes and put
> > you java class there. You need to specify the
> fully
> > qualified pathe for your
> > servlet class in the web.xml file and set the
> > mapping. Use the map name in any
> > request.
> >
> > Kaikuo Luo
> >
> > Sanjay Bahal <[EMAIL PROTECTED]> wrote:
> > I installed Tomcat4.01/NT the examples run-
> > webapps/servlets.
> > I am trying to deploy my example it does not run.
> > I have directory structure
> > /webapps/search/Web-inf/classes.
> > Under /search I have my html file hello.htm-
> > <td VALIGN=TOP WIDTH="30%"><a href="/hello"><img
> > SRC="/images/execute.gif" HSPACE=4 BORDER=0
> > align=TOP></a><a
> > href="/servlet/HelloWorldExample">Execute</a></td>
> >
> > I have my class in /classes. Under Web-inf I have
> my
> > web.xml-
> > <servlet>
> > <servlet-name>HelloWorld</servlet-name>
> > <description>
> > HelloWorld
> > </description>
> >
> > <servlet-class>HelloWorldExample</servlet-class>
> > </servlet>
> > <servlet-mapping>
> > <servlet-name>HelloWorld</servlet-name>
> > <url-pattern>/hello</url-pattern>
> > </servlet-mapping>
> >
> > When I run I get the error- The requested resource
> > (/hello) is not available. The othet tag also
> fails.
> > I
> > have restarted etc Tomcat.
> >
> > Am I not doing something right?
> >
> > How do I turn on debugging/logging etc on the
> > server.
> > Thanks
> > Sanjay
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Sports - live college hoops coverage
> > http://sports.yahoo.com/
> >
> > --
> > To unsubscribe:
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands:
> > <mailto:[EMAIL PROTECTED]>
> > Troubles with the list:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> >
> > --
> > To unsubscribe:
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands:
> > <mailto:[EMAIL PROTECTED]>
> > Troubles with the list:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
>
> --
> To unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> For additional commands:
> <mailto:[EMAIL PROTECTED]>
> Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> For additional commands:
> <mailto:[EMAIL PROTECTED]>
> Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>