Hi - I was writing a client for a webservice which has been deployed on Axis2.
My servlet is getting two arguments and passing the details to call the webservice. It is working fine when i run the servlet on Netbeans but it not running perfectly when i want to run it on apache. I'm getting following error.

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Error instantiating servlet class org.suntel.ukw.pkgcon.Conversion
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:852)
org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619)

root cause

javax.naming.NameNotFoundException: Name org.suntel.ukw.pkgcon.Conversion is not bound in this Context
org.apache.naming.NamingContext.lookup(NamingConte xt.java:770)
org.apache.naming.NamingContext.lookup(NamingConte xt.java:153)
org.apache.catalina.util.DefaultAnnotationProcesso r.lookupFieldResource(DefaultAnnotationProcessor.j ava:278)
org.apache.catalina.util.DefaultAnnotationProcesso r.processAnnotations(DefaultAnnotationProcessor.ja va:198)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:852)
org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.
Apache Tomcat/6.0.24



Please help me to rectify this issue.

Thanks & Best regards,
Uthpala