axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan West <nat...@web.de>
Subject Re: Axis 2 v1.0 security sample
Date Fri, 12 May 2006 20:24:57 GMT
Thank you very much for your help, i forgot it to put this file under tomcats lib dir too

> -----Ursprüngliche Nachricht-----
> Von: axis-user@ws.apache.org
> Gesendet: 12.05.06 12:25:07
> An: axis-user@ws.apache.org
> Betreff: Re: Axis 2 v1.0 security sample


> Did you put the jar under <Tomcat>\webapps\axis2\WEB-INF\lib\? Or is it
> only reside client side?
> 
> --- Nathan West <natest@web.de> wrote:
> 
> > Its a little bit longer...
> > 
> > 0    [main] INFO  org.apache.axis2.deployment.DeploymentEngine  - no
> > services directory found , new one created
> > 341  [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
> > Deploying module : addressing-1.0
> > 4967 [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
> > Deploying module : rampart-1.0
> > org.apache.axis2.AxisFault: Transport error 500 . Error Message is
> > <html><head><title>Apache Tomcat/5.5.12 - Error
> > report</title><style><!--H1
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> > H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY
> >
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> > B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P
> >
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> > {color : black;}A.name {color : black;}HR {color :
> > #525D76;}--></style> </head><body><h1>HTTP Status 500
- </h1><HR
> > size="1" noshade="noshade"><p><b>type</b> Exception
> > report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The
> > server encountered an internal error () that prevented it from
> > fulfilling this request.</u></p><p><b>exception</b>
> > <pre>javax.servlet.ServletException: Servlet execution threw an
> > exception
> > </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
> > org/apache/xml/utils/URI$MalformedURIException
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
> > 
> >
> org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
> > 
> >
> org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> > 	org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> > 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> > 	org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
> > 
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> > 
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > </pre></p><p><b>note</b> <u>The full stack trace
of the root cause is
> > available in the Apache Tomcat/5.5.12 logs.</u></p><HR size="1"
> > noshade="noshade"><h3>Apache Tomcat/5.5.12</h3></body></html>;
nested
> > exception is: 
> > 	org.apache.axis2.AxisFault: Transport error 500 . Error Message is
> > <html><head><title>Apache Tomcat/5.5.12 - Error
> > report</title><style><!--H1
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> > H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY
> >
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> > B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P
> >
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> > {color : black;}A.name {color : black;}HR {color :
> > #525D76;}--></style> </head><body><h1>HTTP Status 500
- </h1><HR
> > size="1" noshade="noshade"><p><b>type</b> Exception
> > report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The
> > server encountered an internal error () that prevented it from
> > fulfilling this request.</u></p><p><b>exception</b>
> > <pre>javax.servlet.ServletException: Servlet execution threw an
> > exception
> > </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
> > org/apache/xml/utils/URI$MalformedURIException
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
> > 
> >
> org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
> > 
> >
> org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> > 	org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> > 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> > 	org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
> > 
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> > 
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > </pre></p><p><b>note</b> <u>The full stack trace
of the root cause is
> > available in the Apache Tomcat/5.5.12 logs.</u></p><HR size="1"
> > noshade="noshade"><h3>Apache Tomcat/5.5.12</h3></body></html>;
nested
> > exception is: 
> > 	org.apache.axis2.AxisFault: Transport error 500 . Error Message is
> > <html><head><title>Apache Tomcat/5.5.12 - Error
> > report</title><style><!--H1
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> > H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY
> >
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> > B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P
> >
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> > {color : black;}A.name {color : black;}HR {color :
> > #525D76;}--></style> </head><body><h1>HTTP Status 500
- </h1><HR
> > size="1" noshade="noshade"><p><b>type</b> Exception
> > report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The
> > server encountered an internal error () that prevented it from
> > fulfilling this request.</u></p><p><b>exception</b>
> > <pre>javax.servlet.ServletException: Servlet execution threw an
> > exception
> > </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
> > org/apache/xml/utils/URI$MalformedURIException
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
> > 
> >
> org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
> > 
> >
> org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> > 	org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> > 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> > 	org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
> > 
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> > 
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > </pre></p><p><b>note</b> <u>The full stack trace
of the root cause is
> > available in the Apache Tomcat/5.5.12 logs.</u></p><HR size="1"
> > noshade="noshade"><h3>Apache Tomcat/5.5.12</h3></body></html>;
nested
> > exception is: 
> > 	org.apache.axis2.AxisFault: Transport error 500 . Error Message is
> > <html><head><title>Apache Tomcat/5.5.12 - Error
> > report</title><style><!--H1
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> > H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY
> >
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> > B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P
> >
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> > {color : black;}A.name {color : black;}HR {color :
> > #525D76;}--></style> </head><body><h1>HTTP Status 500
- </h1><HR
> > size="1" noshade="noshade"><p><b>type</b> Exception
> > report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The
> > server encountered an internal error () that prevented it from
> > fulfilling this request.</u></p><p><b>exception</b>
> > <pre>javax.servlet.ServletException: Servlet execution threw an
> > exception
> > </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
> > org/apache/xml/utils/URI$MalformedURIException
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
> > 
> >
> org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
> > 
> >
> org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> > 	org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> > 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> > 	org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
> > 
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> > 
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > </pre></p><p><b>note</b> <u>The full stack trace
of the root cause is
> > available in the Apache Tomcat/5.5.12 logs.</u></p><HR size="1"
> > noshade="noshade"><h3>Apache Tomcat/5.5.12</h3></body></html>
> > 	at
> >
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:223)
> > 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
> > 	at
> >
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
> > 	at
> >
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
> > 	at
> >
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
> > 	at
> >
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
> > 	at sample.security.Client.main(Client.java:61)
> > Caused by: org.apache.axis2.AxisFault: Transport error 500 . Error
> > Message is <html><head><title>Apache Tomcat/5.5.12 - Error
> > report</title><style><!--H1
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> > H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY
> >
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> > B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P
> >
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> > {color : black;}A.name {color : black;}HR {color :
> > #525D76;}--></style> </head><body><h1>HTTP Status 500
- </h1><HR
> > size="1" noshade="noshade"><p><b>type</b> Exception
> > report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The
> > server encountered an internal error () that prevented it from
> > fulfilling this request.</u></p><p><b>exception</b>
> > <pre>javax.servlet.ServletException: Servlet execution threw an
> > exception
> > </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
> > org/apache/xml/utils/URI$MalformedURIException
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
> > 
> >
> org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
> > 
> >
> org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> > 	org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> > 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> > 	org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
> > 
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> > 
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > </pre></p><p><b>note</b> <u>The full stack trace
of the root cause is
> > available in the Apache Tomcat/5.5.12 logs.</u></p><HR size="1"
> > noshade="noshade"><h3>Apache Tomcat/5.5.12</h3></body></html>;
nested
> > exception is: 
> > 	org.apache.axis2.AxisFault: Transport error 500 . Error Message is
> > <html><head><title>Apache Tomcat/5.5.12 - Error
> > report</title><style><!--H1
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> > H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY
> >
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> > B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P
> >
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> > {color : black;}A.name {color : black;}HR {color :
> > #525D76;}--></style> </head><body><h1>HTTP Status 500
- </h1><HR
> > size="1" noshade="noshade"><p><b>type</b> Exception
> > report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The
> > server encountered an internal error () that prevented it from
> > fulfilling this request.</u></p><p><b>exception</b>
> > <pre>javax.servlet.ServletException: Servlet execution threw an
> > exception
> > </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
> > org/apache/xml/utils/URI$MalformedURIException
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
> > 
> >
> org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
> > 
> >
> org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> > 	org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> > 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> > 	org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
> > 
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> > 
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > </pre></p><p><b>note</b> <u>The full stack trace
of the root cause is
> > available in the Apache Tomcat/5.5.12 logs.</u></p><HR size="1"
> > noshade="noshade"><h3>Apache Tomcat/5.5.12</h3></body></html>
> > 	at
> >
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:305)
> > 	at
> >
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:207)
> > 	... 6 more
> > Caused by: org.apache.axis2.AxisFault: Transport error 500 . Error
> > Message is <html><head><title>Apache Tomcat/5.5.12 - Error
> > report</title><style><!--H1
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> > H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY
> >
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> > B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P
> >
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> > {color : black;}A.name {color : black;}HR {color :
> > #525D76;}--></style> </head><body><h1>HTTP Status 500
- </h1><HR
> > size="1" noshade="noshade"><p><b>type</b> Exception
> > report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The
> > server encountered an internal error () that prevented it from
> > fulfilling this request.</u></p><p><b>exception</b>
> > <pre>javax.servlet.ServletException: Servlet execution threw an
> > exception
> > </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
> > org/apache/xml/utils/URI$MalformedURIException
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84)
> > 
> >
> org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
> > 
> >
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
> > 
> >
> org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
> > 
> >
> org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> > 	org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> > 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> > 	org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
> > 
> >
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> > 
> >
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > </pre></p><p><b>note</b> <u>The full stack trace
of the root cause is
> > available in the Apache Tomcat/5.5.12 logs.</u></p><HR size="1"
> > noshade="noshade"><h3>Apache Tomcat/5.5.12</h3></body></html>
> > 	at
> >
> org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:120)
> > 	at
> >
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:299)
> > 	... 7 more
> > 
> > 
> > > -----Ursprï¿œngliche Nachricht-----
> > > Von: axis-user@ws.apache.org
> > > Gesendet: 12.05.06 10:14:53
> > > An: axis-user@ws.apache.org
> > > Betreff: Re: Axis 2 v1.0 security sample
> > 
> > 
> > > When you use xalan-2.6.0.jar do you get the same stack trace or a
> > > different one? If it's different, could you please post it?
> > > 
> > > Thanks,
> > > 
> > > Ali Sadik Kumlali
> > > 
> > > --- Nathan West <natest@web.de> wrote:
> > > 
> > > > Hi, thanks for your help, but it dosnt work for me. I get this
> > error
> > > > with xalan-2.6.0.jar on my classpath too.
> > > > 
> > > > Nathan
> > > > 
> > > > 
> > > > > -----Ursprï¿œngliche Nachricht-----
> > > > > Von: axis-user@ws.apache.org
> > > > > Gesendet: 12.05.06 08:13:26
> > > > > An: axis-user@ws.apache.org
> > > > > Betreff: Re: Axis 2 v1.0 security sample
> > > > 
> > > > 
> > > > > Hi Nathan,
> > > > > 
> > > > > You need to add xalan-2.6.0.jar to your classpath.
> > > > > 
> > > > > Regards,
> > > > > 
> > > > > Ali Sadik Kumlali
> > > > > 
> > > > > --- Nathan West <natest@web.de> wrote:
> > > > > 
> > > > > > Hello,
> > > > > > my Problem is that i get a URL Exception. My first Problem
> > was,
> > > > that
> > > > > > the axis security sample client cant find his axis2.xml in
> > the
> > > > > > repository. So i used -Daxis2.xml... to solve that problem.
> > But
> > > > now i
> > > > > > get this exception:
> > > > > > 
> > > > > > 0    [main] INFO 
> > org.apache.axis2.deployment.DeploymentEngine  -
> > > > no
> > > > > > services directory found , new one created
> > > > > > 80   [main] INFO 
> > org.apache.axis2.deployment.DeploymentEngine  -
> > > > > > Deploying module : addressing-1.0
> > > > > > 2133 [main] INFO 
> > org.apache.axis2.deployment.DeploymentEngine  -
> > > > > > Deploying module : rampart-1.0
> > > > > > Exception in thread "main" java.lang.NoClassDefFoundError:
> > > > > > org/apache/xml/utils/URI$MalformedURIException
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:336)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:643)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.ws.security.action.SignatureAction.execute(SignatureAction.java:54)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:191)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender.java:181)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
> > > > > > 	at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
> > > > > > 	at
> > > > org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
> > > > > > 	at
> > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:572)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
> > > > > > 	at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
> > > > > > 	at sample.security.Client.main(Client.java:61)
> > > > > > 
> > > > > > I followed these instructions:
> > > > > > 
> > > > > > Please follow each of the following steps:
> > > > > > Note - These instructions assume that the Axis2.war is
> > already
> > > > > > deployed in Tomcat
> > > > > > 
> > > > > > 1.) Download the rampart-1.0.mar and addressing-1.0.mar from

> > > > > > 	http://ws.apache.org/axis2/modules/
> > > > > > 2.) To engage the rampart (WSS4J) module add the following
> > line
> > > > to
> > > > > > axis2.xml in axis2/WEB-INF/conf/
> > > > > > 	<module ref="rampart"/>
> > > > > > 3.) Copy samples/security/SecureService.aar to
> > > > > > axis2/WEB-INF/services/ directory
> > > > > > 4.) Copy all jars other than the secUtil.jar in the
> > > > > > samples/security/lib directory to axis2/WEB-INF/lib/
> > > > > > 5.) Copy the downloaded rampart-1.0.mar to
> > Axis2/WEB-INF/modules/
> > > > > > directory
> > > > > > 6.) Start Tomcat
> > > > > > 
> > > > > > Run the sample
> > > > > > 
> > > > > > And i am using:
> > > > > > -tomcat 5.5
> > > > > > -java 1.4
> > > > > > -axis 2 version 1.0
> > > > > > -security sample: \axis2-std-1.0-bin\samples\security
> > > > > > 
> > > > > > Best regards
> > > > > > nathan
> > > > > >
> > _______________________________________________________________
> > > > > > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> > > > > > kostenguenstig. Jetzt gleich testen!
> > http://f.web.de/?mc=021192
> > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Tired of spam?  Yahoo! Mail has the best spam protection around
> > 
> > > > > http://mail.yahoo.com 
> > > > 
> > > > 
> > > > _______________________________________________________________
> > > > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> > > > kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> > > > 
> > > > 
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam protection around 
> > > http://mail.yahoo.com 
> > 
> > 
> > _______________________________________________________________
> > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> > kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


Mime
View raw message