Re: SERVLET MAP TO TOMCAT

2004-04-06 Thread jitender ahuja
Hi, I am a bit more experienced than and working with the same issues. Yet
can point u some thing I know.

 u need to specify the context (container, if not the same as
install_dir/webapps/ROOT/WEB-INF/classes) in server.xml in the server.xml
file in conf folder inside the install_dir. For me , the install dir. is ::
D:\tomcat\4.1.29\jakarta-tomcat-4.1.29\, and it is on windows platform.
Also, u need to specify for a servlet the URL of the servlets, sevlet name
in the deployment descriptor file ( basically the configuration file for ur
web application), i.e. web.xml inside the folder's root dir.
You can go through this link too: http://cymulacrum.net

Any further queries u can post to me directly too at my email id:
[EMAIL PROTECTED]
regards
Jitender

- Original Message - 
From: wwwdir zala [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 2:55 PM
Subject: SERVLET MAP TO TOMCAT



  Hello Friends,

 I m novice in Tomcat4.

 I have created Sevlet MyServlet . I want to kept this servlet in to
Tomcat4.0.

 What syntax i need to write into  WEB.XML ?

 do i need other configuration


 -
 Do you Yahoo!?
 Yahoo! Small Business $15K Web Design Giveaway - Enter today


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



Re: SERVLET MAP TO TOMCAT

2004-04-06 Thread jitender ahuja
Hi, I am a bit more experienced than and working with the same issues. Yet
can point u some thing I know.

 u need to specify the context (container, if not the same as
install_dir/webapps/ROOT/WEB-INF/classes) in server.xml in the server.xml
file in conf folder inside the install_dir. For me , the install dir. is ::
D:\tomcat\4.1.29\jakarta-tomcat-4.1.29\, and it is on windows platform.
Also, u need to specify for a servlet the URL of the servlets, sevlet name
in the deployment descriptor file ( basically the configuration file for ur
web application), i.e. web.xml inside the folder's root dir.
You can go through this link too: http://cymulacrum.net

Any further queries u can post to me directly too at my email id:
[EMAIL PROTECTED]
regards
Jitender

- Original Message - 
From: wwwdir zala [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 2:55 PM
Subject: SERVLET MAP TO TOMCAT



  Hello Friends,

 I m novice in Tomcat4.

 I have created Sevlet MyServlet . I want to kept this servlet in to
Tomcat4.0.

 What syntax i need to write into  WEB.XML ?

 do i need other configuration


 -
 Do you Yahoo!?
 Yahoo! Small Business $15K Web Design Giveaway - Enter today


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



5.0.19 server not starting?

2004-04-04 Thread jitender ahuja
Hi,
 
 I am facing problem in starting the server 5.0.19 that :server.xml cann't 
be read .The server application aborts.
The same issue is with catalina, except with the debug mode of that .
Can someone point out the reason for the same.
Regards,
Jitender

5.0.19 server not starting

2004-04-04 Thread jitender ahuja
Hi,
 
 I am facing problem in starting the server 5.0.19 , the same issue is with 
catalina, except with the debug mode of that.
The error message for catalina in run mode is:

Can't load server.xml
Can't load server.xml
Apr 4, 2004 6:49:36 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
... 6 more


The server application aborts.
The same issue is with catalina, except with the debug mode of that .
Can someone point out the reason for the same.
Regards,
Jitender