•
•
•
•
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
![]() |
•
•
Join Date: Jan 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 18
Solved Threads: 197
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.
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.
•
•
Join Date: Jan 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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?
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?
![]() |
•
•
•
•
•
•
•
•
DaniWeb RSS, Web Services and SOAP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
algos api apple asp bebo blogger blogging cell code development dom drama feed fortitude gdata google hope html iphone ipod katemodern linspire linux lonelygirl15 microsoft news openoffice phone programming reader rss soap standards struggle trial-and-error tv victory video w3c weather web xml xoap youtube 500
- Apache SOAP Server startup issue (RSS, Web Services and SOAP)
- Apache Soap Problem, rpcrouter is throwing exception (RSS, Web Services and SOAP)
- "Error message 580 when debugging a web page" (ASP.NET)
- Error message when running ASP login page (ASP)
- Getting error 500 Internal Service Error..Meaning? (Web Browsers)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: Sopa Service Erro
- Next Thread: I am New to XML ANd SOAP PLS Help!



Linear Mode