File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Different ways of starting tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Different ways of starting tomcat" Watch "Different ways of starting tomcat" New topic
Author

Different ways of starting tomcat

ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 193
Hi all,
I am using apache axis 1.3.My Problem is that when I send request to server,server receives the request but at client side I get NullPointer exception by the stub class.The response send by the server does not come to the client calling class but before that the stub class at the client generates a null pointer exception.

AxisFault faultCode:{http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultString:java.lang.NullPointerException

Now I have found out the solution.When Tomcat(5.0.30) is running as a service at the server side ,I am getting NullPointerException on the client side instead of response message.But if I start Tomcat manually through batch file(%TOMCAT_HOME%/bin/startup.bat),it is working fine.There is no exception on client side.

So this is the problem.Is it because of some user permissions on server side.Becouse when we inslall tomcat it asks for admin permission.Please express your views.
with regards, ajse
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Different ways of starting tomcat
 
Similar Threads
NullPointer Exception by apache axis stub at client side
Rmi basic, why skeleton is not needed ?
Rmi basic, why skeleton is not needed ?
I am getting ClassNotFoundException for stub file
socket read-write-read-write-...