SOAP on TOMCAT 5.0

2005-09-19 Thread niladri.gupta

Hi Guys,



Some help required on using SOAP on Tomcat 5.0.



I need to configure SOAP 2.3.1 with Tomcat 5.0 locally on my machine.



Following are the things I did:

1) Copied the soap.war file under the webapps directory.

2)Set the class paths in my system

3) copied the latest version of activation.jar,mail.jar and
xercesImpl.jar onto the lib directory of tomcat

I am able to get the soap home page: http://localhost:8080/soap

I am also able to Run the admin tool and deploy a sample webservice
using the admin tool.

Also the the webservice is listed as a deployed component.



NOTE: Right now I am running the service and client from same server.
However the problem persisted when I used different servers(Tomcat
again) on different machines as well.



As I see this leads to the creation of DeployedServices.ds xml
descriptor on soap folder in tomcat.



Yet I am not able to deploy the service through command line neither am
I able to run the client program through command line.

Both these actions throw the same error messages:

java.lang.UnsupportedClassVersion error: org/w3c/dom/Node (unsupported
major.minor version 48.0)



As I understand this is because default dom api's in Tomcat are older
versions which support Level 1 parsing.

However all latest apis which might be used by SOAP are Level3 based.

Hence I included the xml-apis.jar and xercesImpl.jar in the
/common/endorsed directory in Tomcat. This is supposed to override the
use of default jars.

Still I am getting the same error.



Is there something else I am missing too. Any sort of help on this
welcome.

Just wanted to give it another shot else I need to reinstall the latest
version on Tomcat that is supposed to be free from this error





Thanks

Niladri







Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

Instantiating an Application Scoped Bean

2005-07-27 Thread niladri.gupta

Hi,



I need some help on the following scenario:



As soon as I start my tomcat server, I need to populate an
application-scoped bean which will have values from the database.
Thereafter I should be able to access the bean across all JSP pages
using the jsp:useBean ... ...scope=application/ tag.



It'll be great if you guys can tell me how to initialize this bean at
server startup. Any specific web.xml entry to be recorded to map to the
servlet which does the DB operation?



Thanks!





Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.