User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 422,832 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,262 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser: Programming Forums
Views: 3223 | Replies: 3
Reply
Join Date: Jan 2007
Posts: 2
Reputation: jools68 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jools68 jools68 is offline Offline
Newbie Poster

Error: 500 on Apache SOAP Admin page

  #1  
Jan 8th, 2007
I'm fairly inexperienced with java and haven't had any experience with SOAP at all and have been trying to get a Sample SOAP webapp working. After I startup tomcat and go to http://localhost:8080/soap/admin the Apache SOAP Admin page comes up and if I try to click on any of the buttons on the sidebar I get this error:

Error: 500
Location: /soap/admin/list.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile
at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:873)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:708)
at org.apache.tomcat.facade.JspInterceptor.preInitCheck(JspInterceptor.java:493)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:413)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:874)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:790)
at org.apache.coyote.tomcat3.Tomcat3Adapter.service(Tomcat3Adapter.java:64)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Unknown Source)


I have my classpath set to include 4 .jar files (activation, mail, soap, xerces) and have edited the startup.bat file (hopefully correctly) to load xerces first, and also have copied soap.war into the tomcat_home\webapps directory. Any help with what I might be missing would be greatly appreciated.

Like I said I'm inexperienced, and have probably forgotten something trivial.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 197
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Error: 500 on Apache SOAP Admin page

  #2  
Jan 10th, 2007
What is the actual error the JSP compiler reports?
It will tell you what's going on, the bit you posted is just telling that there was an error...

Remember that your system classpath is NOT the classpath for a web application (or for Tomcat itself).
A webapp classpath consists of the content of the WEB-INF/classes directory and the jarfiles in the WEB-INF/lib directory belonging to that webapp.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote  
Join Date: Jan 2007
Posts: 2
Reputation: jools68 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jools68 jools68 is offline Offline
Newbie Poster

Re: Error: 500 on Apache SOAP Admin page

  #3  
Jan 11th, 2007
I've resolved this issue, but I now have another question.

I can get the service to deploy by using the apache soap admin page in my browser, and I can get the client to interact with the service.

The problem I'm having is when I try to implement a deployment descriptor in order to deploy the service from the command line. Like I said, there are no problems deploying the service from the admin page, but I'd prefer not to have to do that everytime I want to use a service.

Here is the error when I try to run my deployment descriptor from the command line.

Input:
C:\demo1>java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy soap.xml

Output:
Exception in thread "main" java.lang.NullPointerException
at org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescriptor.java:470)
at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:230)

Is there a problem with my command to run the deployment descriptor, or is it more likely that the problem is in the code of the deployment descriptor itself?
Reply With Quote  
Join Date: Jul 2007
Location: India
Posts: 18
Reputation: venu@baylogic is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
venu@baylogic's Avatar
venu@baylogic venu@baylogic is offline Offline
Newbie Poster

Re: Error: 500 on Apache SOAP Admin page

  #4  
Aug 31st, 2007
U have to include Jar files for the Jasper Reports,,,
Depending upon ur used packages and methods, u have to add that particuler jar file then u can execute successfully,,,,,,
Venu.K
BayLogic Technologies,
Visakhapatnam,
India,
venusmartsmile@gmail.comBphone:91+9247262650
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb RSS, Web Services and SOAP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the RSS, Web Services and SOAP Forum

All times are GMT -4. The time now is 10:45 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC