Re: Tomcat 4.1.29 Configuration Problem

2003-11-18 Thread Harry Mantheakis
Hello

 3) I copied my servlet to
 webapps/hSolutions/WEB-INF/classes/hLibManagSolutions/Hello.class

 servlet 
 servlet-name Hello /servlet-name
 servlet-class hLibManagSystem.Hello /servlet-class
 /servlet

Looks like either 'hLibManagSolutions' should be 'hLibManagSystem' or the
other way round.

Avoid blank spaces in your element values just to be safe. Instead of this:

servlet-name Hello /servlet-name

Type this:

servlet-nameHello/servlet-name

Regards

Harry Mantheakis
London, UK


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



RE: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Vaneet Sharma
Can someone solve my problem , it is a bit urgent 
 Thankx 
Van

-Original Message- 
From: Vaneet Sharma 
Sent: Tue 18/11/2003 16:48 
To: Tomcat Users List 
Cc: 
Subject: Tomcat 4.1.29 Configuration .. please see Attachments



The error is same.
  After making changes, i went on to Tomcat manager interface and reloaded the 
context. (I think that restarts the server, am i right ?)

Tomcat is finding the Registration.html but not the classes .
 It is giving 404 error.

  There aer three or four SERVER.XML Files.
 Which file to change,,, i dont know..
 No documentation avaliable
  Vaneet


-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tue 18/11/2003 16:43
To: Tomcat Users List
Cc:
Subject: Re: Java core w TC 4.1.24
   
   

  Unexpected Signal : 11 occurred at PC=0x4002245E
  Function=(null)+0x4002245E
  Library=/lib/i686/libpthread.so.0
   
Does this happen frequently? Only under load?
   
RH 7.3 is pretty stable, and I've never had a problem with it along 
with
pretty much any JDK. I've heard a lot of suggestions to bypass 1.4.1 
due
to some serious bug especially in StringBuffer. Give that a try, but I
expect that it won't go away...
   
When you get the sig 11, does it always say the same shared lib or does
it look like it's coming from all over?
   
-chris
   
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   



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

Re: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Christopher Schultz
Vaneet,

The error is same.
  After making changes, i went on to Tomcat manager interface and reloaded the 
context. (I think that restarts the server, am i right ?)

Tomcat is finding the Registration.html but not the classes .
 It is giving 404 error.

  There aer three or four SERVER.XML Files.
 Which file to change,,, i dont know..
 No documentation avaliable
  Vaneet
Are you using Tomcat as your web server, or do you have Apache (or 
another web server) in front of it?

What is the URL that you are using to access the Hello servlet?

-chris

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


RE: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Vaneet Sharma
No, we are not using Tomcat as a webserver
 It is running as a service
 liek
 
195. . .  :8080/html/Regisrtation.html
 In html page, i have put action to ../servlet/Hello
 
 And after pressing submit , it is not picking up the servle. Is it anything to do 
with server.xml 
 Can anyone explain me Why there are three server.xml files in CONF
 
 Thankx
Vaneet 

-Original Message- 
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Tue 18/11/2003 17:23 
To: Tomcat Users List 
Cc: 
Subject: Re: Tomcat 4.1.29 Configuration ..



Vaneet,

   The error is same.
 After making changes, i went on to Tomcat manager interface and 
reloaded the context. (I think that restarts the server, am i right ?)
  
   Tomcat is finding the Registration.html but not the classes .
It is giving 404 error.
  
 There aer three or four SERVER.XML Files.
Which file to change,,, i dont know..
No documentation avaliable
 Vaneet

Are you using Tomcat as your web server, or do you have Apache (or
another web server) in front of it?

What is the URL that you are using to access the Hello servlet?

-chris


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



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

RE: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Vaneet Sharma
Please see attachments
 

-Original Message- 
From: Vaneet Sharma 
Sent: Tue 18/11/2003 17:22 
To: Tomcat Users List 
Cc: 
Subject: RE: Tomcat 4.1.29 Configuration ..



No, we are not using Tomcat as a webserver
 It is running as a service
 liek

195. . .  :8080/html/Regisrtation.html
 In html page, i have put action to ../servlet/Hello

 And after pressing submit , it is not picking up the servle. Is it anything 
to do with server.xml
 Can anyone explain me Why there are three server.xml files in CONF

 Thankx
Vaneet

-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tue 18/11/2003 17:23
To: Tomcat Users List
Cc:
Subject: Re: Tomcat 4.1.29 Configuration ..
   
   

Vaneet,
   
   The error is same.
 After making changes, i went on to Tomcat manager interface 
and reloaded the context. (I think that restarts the server, am i right ?)
 
   Tomcat is finding the Registration.html but not the classes .
It is giving 404 error.
 
 There aer three or four SERVER.XML Files.
Which file to change,,, i dont know..
No documentation avaliable
 Vaneet
   
Are you using Tomcat as your web server, or do you have Apache (or
another web server) in front of it?
   
What is the URL that you are using to access the Hello servlet?
   
-chris
   
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   



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

Re: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Christopher Schultz
Vaneet,
Please see attachments
Your attachments do not come through. Please paste all servlet and 
servlet-mapping elements from your web.xml into a post to the list.

-chris

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


Re: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Harry Mantheakis
Hello


 In html page, i have put action to ../servlet/Hello


I recall that you have registered your servlet in the deployment descriptor
and mapped it to '/Hello' so you should be able to invoke that servlet
without specifying 'servlet' in the URL path.

You must also specify the context name 'hSolutions'.

Hence, instead of:

../servlet/Hello

Try:

/hSolutions/Hello


The other thing to do is double-check the servlet has implemented the right
service method - doGet or doPost - depending on what action (post or get) is
specified in the Regisrtation.html file that is calling the servlet.


 There aer three or four SERVER.XML Files...


Can you not count them exactly?

In any case, there should only be one file named 'server.xml' in the
'$CATALINA_HOME/conf' directory.

If you have more, your computer might catch fire and blow up.

I'm joking :-)

Seriously, though, if you have that many 'server.xml' files your file system
must be corrupted somehow. I am not sure what to suggest, to be honest: I
have never heard of more than two files having the same name in the same
directory.

Regards

Harry Mantheakis
London, UK


 No, we are not using Tomcat as a webserver
 It is running as a service
 liek
 
 195. . .  :8080/html/Regisrtation.html
 In html page, i have put action to ../servlet/Hello
 
 And after pressing submit , it is not picking up the servle. Is it anything to
 do with server.xml
 Can anyone explain me Why there are three server.xml files in CONF
 
 Thankx
 Vaneet 
 
 -Original Message-
 From: Christopher Schultz [mailto:[EMAIL PROTECTED]
 Sent: Tue 18/11/2003 17:23
 To: Tomcat Users List
 Cc: 
 Subject: Re: Tomcat 4.1.29 Configuration ..
 
 
 
 Vaneet,
 
   The error is same.
 After making changes, i went on to Tomcat manager interface and
 reloaded the context. (I think that restarts the server, am i right ?)
  
   Tomcat is finding the Registration.html but not the classes .
It is giving 404 error.
  
 There aer three or four SERVER.XML Files.
Which file to change,,, i dont know..
No documentation avaliable
 Vaneet


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