RE: Problem with servlets from upgrade

2006-01-12 Thread Francesca Jovanovic
Thanks so much for replying.
My URL's are mapped, below is an example. 
I had this working on my old PC for the past 2 years with no problems then I 
got a new pc and installed the latest tomcat, set the environment vars and 
copied everything over to the relevant folders but things are going horribly 
wrong.
I'll read through that doc and see if anything I've missed comes to light.

?xml version=1.0 encoding=ISO-8859-1?


web-app
 

!-- JSPC servlet mappings start --
   
servlet
   servlet-namevirtualward.java.CourseList/servlet-name
   servlet-classvirtualward.java.CourseList/servlet-class
   /servlet
.
.
.
.
servlet-mapping
   servlet-namevirtualward.java.CourseList/servlet-name
   url-pattern/servlet/CourseList/url-pattern
   /servlet-mapping
  !-- JSPC servlet mappings end --
/web-app

-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED] 
Sent: 11 January 2006 15:56
To: 'Tomcat Users List'
Subject: RE: Problem with servlets from upgrade

Read:

http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt

Specifically, search for

Enabling invoker servlet:

Essentially, you need to do URL mapping in your web.xml for your servlets.


George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: Francesca Jovanovic [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 11, 2006 3:29 AM
 To: tomcat-user@jakarta.apache.org
 Subject: Problem with servlets from upgrade
 Importance: High
 
 I have a new computer and I have installed the latest version 
 of Tomcat 5 and reinstalled the Sun One Studio 4 which I 
 still had a setup file. The example servlets and jsp's work 
 fine but my servlets - that worked fine on my old pc with 
 tomcat 4 - now don't work, the jsps are working fine but not 
 the servlets. I get this error:
 
 
 HTTP Status 404 - /servlet/PostStudentID
 
   _  
 
 
 type Status report
 
 message /servlet/PostStudentID
 
 description The requested resource (/servlet/PostStudentID) 
 is not available.
 
   _  
 
 
 Apache Tomcat/5.5.12
 
 
 I have searched endlessly to try and see what's going wrong 
 and tried all your pointers but cannot resolve it. Can you 
 please help? Is Tomcat 5.5.12 compatible with Sun one studio 4?
 
  
 
  
 
 Francesca Jovanović
 Learning Technologist
 Learning Partnerships Development Unit (LPDU) 
 Faculty of Health
 University of Central England
 311 Ravensbury House, Westbourne Road
 Edgbaston, Birmingham, B15 3TN
 Telephone: 0121 331 7181
 Fax: 0121 331 6009
 
  
 
 


-
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: Problem with servlets from upgrade (Tomcat to SunOne)

2006-01-11 Thread Duan, Nick
Without knowing how your web.xml file was defined, it seems to me a context 
root problem.  Sun has its own way to define the path of a context root in its 
sun-web.xml file, unlike tomcat which uses the application name as the default 
root path.  If you use Sun's Studio to package and deploy your web app, by 
default it may create a default context root as / instead of /yourappname as in 
tomcat.

The simplest way to solve this problem is to package your tomcat application 
yourself (if you haven't got a deployable war file) instead of using Sun's IDE, 
and deploy the war file to the autodeploy directory of your Sun One app server. 
 By default, the autodeploy directory should be under 
$YOURSUNAPPSERVER/domains/domain1.  You don't have to restart the SunOne server 
to do the deployment.

ND

-Original Message-
From: Francesca Jovanovic [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 11, 2006 5:29 AM
To: tomcat-user@jakarta.apache.org
Subject: Problem with servlets from upgrade
Importance: High

I have a new computer and I have installed the latest version of Tomcat 5 and 
reinstalled the Sun One Studio 4 which I still had a setup file. The example 
servlets and jsp's work fine but my servlets - that worked fine on my old pc 
with tomcat 4 - now don't work, the jsps are working fine but not the servlets. 
I get this error:


HTTP Status 404 - /servlet/PostStudentID

  _  


type Status report

message /servlet/PostStudentID

description The requested resource (/servlet/PostStudentID) is not available.

  _  


Apache Tomcat/5.5.12


I have searched endlessly to try and see what's going wrong and tried all your 
pointers but cannot resolve it. Can you please help? Is Tomcat 5.5.12 
compatible with Sun one studio 4?

 

 

Francesca Jovanović
Learning Technologist
Learning Partnerships Development Unit (LPDU) 
Faculty of Health
University of Central England
311 Ravensbury House, Westbourne Road
Edgbaston, Birmingham, B15 3TN
Telephone: 0121 331 7181
Fax: 0121 331 6009

 


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



RE: Problem with servlets from upgrade

2006-01-11 Thread George Sexton
Read:

http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt

Specifically, search for

Enabling invoker servlet:

Essentially, you need to do URL mapping in your web.xml for your servlets.


George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: Francesca Jovanovic [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 11, 2006 3:29 AM
 To: tomcat-user@jakarta.apache.org
 Subject: Problem with servlets from upgrade
 Importance: High
 
 I have a new computer and I have installed the latest version 
 of Tomcat 5 and reinstalled the Sun One Studio 4 which I 
 still had a setup file. The example servlets and jsp's work 
 fine but my servlets - that worked fine on my old pc with 
 tomcat 4 - now don't work, the jsps are working fine but not 
 the servlets. I get this error:
 
 
 HTTP Status 404 - /servlet/PostStudentID
 
   _  
 
 
 type Status report
 
 message /servlet/PostStudentID
 
 description The requested resource (/servlet/PostStudentID) 
 is not available.
 
   _  
 
 
 Apache Tomcat/5.5.12
 
 
 I have searched endlessly to try and see what's going wrong 
 and tried all your pointers but cannot resolve it. Can you 
 please help? Is Tomcat 5.5.12 compatible with Sun one studio 4?
 
  
 
  
 
 Francesca Jovanović
 Learning Technologist
 Learning Partnerships Development Unit (LPDU) 
 Faculty of Health
 University of Central England
 311 Ravensbury House, Westbourne Road
 Edgbaston, Birmingham, B15 3TN
 Telephone: 0121 331 7181
 Fax: 0121 331 6009
 
  
 
 


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