I've recently started studying the Web Services, and I got myself a n
O'Reilly's book about it.
However, I cannot get the examples working. I have downloaded all the
required packages (appropriate versions, some are older than the current
ones) and put them in the correct paths, edited the envirormnet bat files as
suggested and everything.
I am using Tomcat 3.3, because Tomcat 3.2.n is suggested in the book. I have
also downloaded Apache SOAP 2.2 and put soap.war in the Tomcat webapps
directory.
When I enter Apache SOAP Admin tool and click any of the buttons (List,
Deploy, Undeploy) I get this error (copy-pasted below).
I know that the mistake is probably trivial, but I cannot get it.
I'd appreciate any kind of helpful advice. Thanx.
Error: 500
Location: /soap/admin/deploy.jsp
Internal Servlet Error:
javax.servlet.ServletException: javax.servlet.ServletContext
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:460)
at admin.deploy_1._jspService(deploy_1.java:202)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:536)
Root cause:
java.lang.ClassNotFoundException: javax.servlet.ServletContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at admin.deploy_1._jspService(deploy_1.java:66)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:536)
I uninstalled and reinstalled Tomcat and now I'm getting an entirely
different mistake
Error: 500
Location: /soap/admin/deploy.jsp
Internal Servlet Error:
java.lang.NoClassDefFoundError: javax.mail.MessagingException
> Still need help, but a little update:
>
> I uninstalled and reinstalled Tomcat and now I'm getting an entirely
> different mistake
>
> Error: 500
> Location: /soap/admin/deploy.jsp
> Internal Servlet Error:
>
> java.lang.NoClassDefFoundError: javax.mail.MessagingException
> at admin.deploy_1._jspService(deploy_1.java:66)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
...
You'll need to download the javamail api, which can be found at
http://java.sun.com/products/javamail/
Be sure to also download the following, as javamail depends on it:
http://java.sun.com/products/javabeans/glasgow/jaf.html
--
Regards,
Christophe Vanfleteren
>> You'll need to download the javamail api, which can be found at
>> http://java.sun.com/products/javamail/
>>
>> Be sure to also download the following, as javamail depends on it:
>> http://java.sun.com/products/javabeans/glasgow/jaf.html
>>
> Thanx, but no good. I've already added mail.jar and activation.jar and
> nothing. The same
> error message... :((
>
Where did you add them? The classes should be found correctly if they are in
your classpath.
--
Regards,
Christophe Vanfleteren
I believe that as of V 1.4 all of the J2EE stuff went into the J2EE
kit which has to be installed on top of the SDK. I've got j2sdk-1_4
as well as j2eesdk_1_4. All of the servlet/JSP classes are in the
j2eesdk.
Keith
"Baba" <baba...@yahoo.com> wrote in message
news:bqhsdj$vvb$1...@bagan.srce.hr...
Keith
"Keith Bjorkman" <kbj...@si.rr.com> wrote in message
news:gY6zb.179399$Gq.22...@twister.nyc.rr.com...