Re: Rampart-1.1.mar
Hi Rajesh, Did you copy all the jars from rampart-1.2\lib to the ..\axis2_war.ear\axis2.war\WEB-INF\lib ? Pavan On 9/21/07, Rajesh, Peter (CLAIMS, WIP) <[EMAIL PROTECTED]> wrote: > > After adding the rampart-1.1.mar in the Web-Inf/modules folder and adding > the same in modules.list file and restart the Weblogic, below error is > thrown. > > I tried to get the rampart jar file, but I couldn't find it in the Apache > website. Please let me know how to resolve this error. > > *Caused by: java.lang.ClassNotFoundException: org.apache.rampart.Rampart* > at weblogic.utils.classloaders.GenericClassLoader.findClass( > GenericClassLoader.java:199) > at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass( > ChangeAwareClassLoader.java:6 > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at weblogic.utils.classloaders.GenericClassLoader.loadClass( > GenericClassLoader.java:224) > at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass( > ChangeAwareClassLoader.java:4 > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:141) > at org.apache.axis2.util.Loader.loadClass(Loader.java:261) > at org.apache.axis2.util.Loader.loadClass(Loader.java:229) > at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass( > ModuleBuilder.java:66) > > Thanks & Regards, > > Peter Rajesh | 860-547-3881 > > > * > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > * >
Re: security processing failed
Following is the response from Ruchith Fernando <[EMAIL PROTECTED]> Argh ... seems like the certs expired on July 21st :( Please create the client and service keystores as described here : http://wso2.org/library/174 To get around the issue. You can also change the system date and make the example to work. On 8/16/07, seok <[EMAIL PROTECTED]> wrote: > > Hi > > I have a problem with using signature item. > > client : axis2.xml > ・ > ・ > Timestamp Signature > ・ > ・ > > service : service.xml (tomcat5.5.23) > ・ > ・ > Timestamp Signature > ・ > ・ > > and I got a error message : > WSDoAllReceiver: security processing failed > > I used sample04 in the rampart1.2. > > Please Let me know the way to solve this problem. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: passwordCallbackClass>
Thanks for the response Dimuthu, Can anyone point me to documentation on passwordCallbackClass and when it is invoked ? Is that invoked by the service on receiving the request from client or while generating the response. Thanks, Pavan On 8/14/07, Dimuthu Leelaratne <[EMAIL PROTECTED]> wrote: > > Hi Pavan, > > As far as I know you cannot completely remove the concept of password > call back handler, if you want to put signature or username token. > However you can programatically create and add RampartConfig. This way > you can get rid of it from the policy.xml file, but still it will > exit. > > Regards, > Dimuthu. > > > On 8/13/07, Pavan Madiraju <[EMAIL PROTECTED]> wrote: > > Is there any way that we can configure the client and service policy > without > > coding the PWCBHandler so that I can keep all the security information > in > > the policy. > > > > org.apache.rampart.samples > > > .policy.sample02.PWCBHandler > > > > > > > Can I complete remove :passwordCallbackClass> in the client and server ? > > > > Any ideas ? > > > > Thanks in Advance, > > Pavan > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
passwordCallbackClass>
Is there any way that we can configure the client and service policy without coding the PWCBHandler so that I can keep all the security information in the policy. org.apache.rampart.samples > > .policy.sample02.PWCBHandler > Can I complete remove :passwordCallbackClass> in the client and server ? Any ideas ? Thanks in Advance, Pavan
Re: Rampart error with MustUnderstand
Thanks Ruchit for your Help, Is there any way that we can configure the client and service policy without coding the PWCBHandler so that I can keep all the security information in the policy. org.apache.rampart.samples.policy.sample02.PWCBHandler Thanks Pavan On 8/9/07, Ruchith Fernando <[EMAIL PROTECTED]> wrote: > > Argh ... seems like the certs expired on July 21st :( > > Please create the client and service keystores as described here : > http://wso2.org/library/174 > > Thanks, > Ruchith > > On 8/10/07, Pavan Madiraju <[EMAIL PROTECTED]> wrote: > > I am trying to get samples\policy\sample2 working but getting the > following > > error. Is anyone able to get the sample2 working ? > > > > Error: > > > > [java] org.apache.ws.security.WSSecur ityException: The signature > > verification failed (The provided certificate is invalid). > > > > I am using the service.jks and client.jks that is shipped with the > samples. > > > > Here is the whole error log > > > > Service log > > > > C:\Development\axis\rampart-1.2\samples\policy>ant service.02 > > Buildfile: build.xml > > > > check.dependency: > > > > service.02: > > [copy] Copying 1 file to C:\Development\axis\rampart- > > 1.2\samples\policy\bui > > ld\service_repositories\sample02\modules > > [copy] Copying 1 file to > > C:\Development\axis\rampart-1.2\samples\policy\bui > > ld\service_repositories\sample02\modules > > [copy] Copying 1 file to C:\Development\axis\rampart- > > 1.2\samples\policy\bui > > ld\service_repositories\sample02\modules > > [mkdir] Created dir: > > C:\Development\axis\rampart-1.2\samples\policy\build\te > > mp > > [mkdir] Created dir: > > C:\Development\axis\rampart-1.2\samples\policy\build\te > > mp\META-INF > > [javac] Compiling 2 source files to > > C:\Development\axis\rampart-1.2\samples\ > > policy\build\temp > > [copy] Copying 1 file to > > C:\Development\axis\rampart-1.2\samples\policy\bui > > ld\temp\META-INF > > [copy] Copying 1 file to > > C:\Development\axis\rampart-1.2\samples\policy\bui > > ld\temp > > [copy] Copying 1 file to > > C:\Development\axis\rampart-1.2\samples\policy\bui > > ld\temp > > [jar] Building jar: C:\Development\axis\rampart- > > 1.2\samples\policy\build\s > > ervice_repositories\sample02\services\sample02.aar > >[delete] Deleting directory > > C:\Development\axis\rampart-1.2\samples\policy\bu > > ild\temp > > [java] [SimpleHTTPServer] Starting > > [java] [SimpleHTTPServer] Using the Axis2 Repository > > C:\Development\axis\ra > > mpart-1.2\samples\policy\build\service_repositories\sample02 > > [java] [SimpleHTTPServer] Listening on port 8080 > > [java] Aug 9, 2007 2:17:27 PM > > org.apache.axis2.deployment.ModuleDeployer de > > ploy > > [java] INFO: Deploying module: addressing-1.2 > > [java] Aug 9, 2007 2:17:28 PM > > org.apache.axis2.deployment.ModuleDeployer de > > ploy > > [java] INFO: Deploying module: rahas-1.2 > > [java] Aug 9, 2007 2:17:29 PM > > org.apache.axis2.deployment.ModuleDeployer de > > ploy > > [java] INFO: Deploying module: rampart-1.2 > > [java] Aug 9, 2007 2:17:29 PM > > org.apache.axis2.deployment.ServiceDeployer d > > eploy > > [java] INFO: Deploying Web service: sample02.aar > > [java] [SimpleHTTPServer] Started > > [java] Aug 9, 2007 2:17:29 PM > > org.apache.axis2.transport.http.server.Defaul > > tConnectionListener run > > [java] INFO: Listening on port 8080 > > [java] org.apache.ws.security.WSSecurityException: The > > signature verificati > > on failed (The provided certificate is invalid) > > [java] at > > org.apache.ws.security.processor.SignatureProcessor.verifyXML > > Signature(SignatureProcessor.java:259) > > [java] at > > org.apache.ws.security.processor.SignatureProcessor.handleTok > > en(SignatureProcessor.java:80) > > [java] at > > org.apache.ws.security.WSSecurityEngine.processSecurityHeader > > (WSSecurityEngine.java:279) > > [java] at > > org.apache.ws.security.WSSecurityEngine.processSecurityHeader > > (WSSecurityEngine.java:201) > > [java] at > > org.apache.rampart.RampartEngine.process(RampartEngine.java > > :7 > > 1) > > [java] at > > org.apache.rampart.handler.RampartReceiver.invoke(RampartRece > > iver.java:71) >
Re: Rampart error with MustUnderstand
I am trying to get samples\policy\sample2 working but getting the following error. Is anyone able to get the sample2 working ? Error: [java] org.apache.ws.security.WSSecurityException: The signature verification failed (The provided certificate is invalid). I am using the service.jks and client.jks that is shipped with the samples. Here is the whole error log Service log C:\Development\axis\rampart-1.2\samples\policy>ant service.02 Buildfile: build.xml check.dependency: service.02: [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\service_repositories\sample02\modules [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\service_repositories\sample02\modules [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\service_repositories\sample02\modules [mkdir] Created dir: C:\Development\axis\rampart- 1.2\samples\policy\build\te mp [mkdir] Created dir: C:\Development\axis\rampart- 1.2\samples\policy\build\te mp\META-INF [javac] Compiling 2 source files to C:\Development\axis\rampart- 1.2\samples\ policy\build\temp [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\temp\META-INF [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\temp [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\temp [jar] Building jar: C:\Development\axis\rampart- 1.2\samples\policy\build\s ervice_repositories\sample02\services\sample02.aar [delete] Deleting directory C:\Development\axis\rampart- 1.2\samples\policy\bu ild\temp [java] [SimpleHTTPServer] Starting [java] [SimpleHTTPServer] Using the Axis2 Repository C:\Development\axis\ra mpart-1.2\samples\policy\build\service_repositories\sample02 [java] [SimpleHTTPServer] Listening on port 8080 [java] Aug 9, 2007 2:17:27 PM org.apache.axis2.deployment.ModuleDeployer de ploy [java] INFO: Deploying module: addressing-1.2 [java] Aug 9, 2007 2:17:28 PM org.apache.axis2.deployment.ModuleDeployer de ploy [java] INFO: Deploying module: rahas-1.2 [java] Aug 9, 2007 2:17:29 PM org.apache.axis2.deployment.ModuleDeployer de ploy [java] INFO: Deploying module: rampart-1.2 [java] Aug 9, 2007 2:17:29 PM org.apache.axis2.deployment.ServiceDeployer d eploy [java] INFO: Deploying Web service: sample02.aar [java] [SimpleHTTPServer] Started [java] Aug 9, 2007 2:17:29 PM org.apache.axis2.transport.http.server.Defaul tConnectionListener run [java] INFO: Listening on port 8080 [java] org.apache.ws.security.WSSecurityException: The signature verificati on failed (The provided certificate is invalid) [java] at org.apache.ws.security.processor.SignatureProcessor.verifyXML Signature(SignatureProcessor.java:259) [java] at org.apache.ws.security.processor.SignatureProcessor.handleTok en(SignatureProcessor.java:80) [java] at org.apache.ws.security.WSSecurityEngine.processSecurityHeader (WSSecurityEngine.java:279) [java] at org.apache.ws.security.WSSecurityEngine.processSecurityHeader (WSSecurityEngine.java:201) [java] at org.apache.rampart.RampartEngine.process( RampartEngine.java:7 1) [java] at org.apache.rampart.handler.RampartReceiver.invoke (RampartRece iver.java:71) [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:383) [java] at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java :203 ) [java] at org.apache.axis2.engine.AxisEngine.receive( AxisEngine.java:13 1) [java] at org.apache.axis2.transport.http.HTTPTransportUtils.processHTT PPostRequest(HTTPTransportUtils.java:279) [java] at org.apache.axis2.transport.http.HTTPWorker.service (HTTPWorker .java:216) [java] at org.apache.axis2.transport.http.server.AxisHttpService.doServ ice(AxisHttpService.java:275) [java] at org.apache.axis2.transport.http.server.AxisHttpService.handle Request(AxisHttpService.java:184) [java] at org.apache.axis2.transport.http.server.HttpServiceProcessor.r un(HttpServiceProcessor.java:74) [java] at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExec utor$Worker.runTask(ThreadPoolExecutor.java:665) [java] at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExec utor$Worker.run(ThreadPoolExecutor.java:690) [java] at java.lang.Thread.run(Thread.java:797) client log C:\Development\axis\rampart-1.2\samples\policy>ant client.02 Buildfile: build.xml check.dependency: client.02: [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\client_repositories\sample02\modules [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\client_repositories\sample02\modules [copy] Copying 1 file to C:\Development\axis\rampart- 1.2\samples\policy\bui ld\temp_client [copy] Copying 1 file to C:\Development\ax
Re: non-repudiation with signature using rampart 1.2
Thanks Dimuthu, Does anyone have example code for WS security using only digital signature ? Tried to modify the simple example ( Sample4) to implement one way security. Client has only OutflowSecurity and service has only InflowSecurity. Can I do this using Rampart 1.2 ? Getting the following error on the client side \[java] Exception in thread "main" org.apache.axis2.AxisFault: WSDoAllReceiver: security processing fail and recieving the following error on the server WSDoAllReceiver: security processing failed On 8/2/07, Dimuthu <[EMAIL PROTECTED]> wrote: > Hi Pavan, > > I think this issue is related to > https://issues.apache.org/jira/browse/RAMPART-10 > > Regards, > Dimuthu > > On Thu, 2007-08-02 at 23:29 -0400, Pavan Madiraju wrote: > > Hi, > > I am trying to implement non-repudiation with signature with Axis2 > > 1.2 & Rampart 1.2. > > > > Here is my service.xml enabling rampart > > > > > > > > > > Signature > > > > service.properties > > > > > > > > I have placed my service.properties file in > > > > > > \base_v61\profiles\AppSrv01\installedApps\NW815856Node02Cell\axis2_war.ear\axis2.war\WEB-INF\classes > > folder > > > > service.properties contents are > > org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin > > org.apache.ws.security.crypto.merlin.keystore.type=jks > > org.apache.ws.security.crypto.merlin.keystore.password=servertrust > > org.apache.ws.security.crypto.merlin.keystore.alias=wasclient > > org.apache.ws.security.crypto.merlin.alias.password=servertrust > > org.apache.ws.security.crypto.merlin.file=servertrust.jks > > > > I am getting the following error > > > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at > > com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510) > > [8/2/07 8:28:10:326 EDT] 0027 SystemErr R Caused by: > > org.apache.ws.security.components.crypto.CredentialException: Failed > > to load credentials. Inner Exception: [DerInputStream.getLength(): > > lengthTag=109, too big.] > > at > > org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:141) > > at > > org.apache.ws.security.components.crypto.AbstractCrypto.(AbstractCrypto.java:97) > > at > > org.apache.ws.security.components.crypto.Merlin.(Merlin.java:65) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > > > > > > > > > > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194) > > at > > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741) > > at com.ibm.io.async.ResultHandler$2.run(ResultH
Rampart Sample 4 -
I am trying to execute sample 4 from Rampart samples. I am getting the following soap fault http://www.w3.org/2005/08/addressing"; xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";> http://www.w3.org/2005/08/addressing/soap/fault soapenv:Client WSDoAllReceiver: security processing failed not sure what'z is the problem. Here is what I see while executing the client Buildfile: C:\Development\axis\rampart-1.2\samples\basic\build.xml check.dependency: client.04: [copy] Copying 1 file to C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\conf [copy] Copying 1 file to C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\modules [copy] Copying 1 file to C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04\modules [copy] Copying 1 file to C:\Development\axis\rampart-1.2\samples\basic\build\temp_client [copy] Copying 1 file to C:\Development\axis\rampart-1.2\samples\basic\build\temp_client [java] Aug 4, 2007 12:25:02 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository [java] INFO: No services directory was found under C:\Development\axis\rampart-1.2\samples\basic\build\client_repositories\sample04. [java] Aug 4, 2007 12:25:02 AM org.apache.axis2.deployment.ModuleDeployer deploy [java] INFO: Deploying module: addressing-1.2 [java] Aug 4, 2007 12:25:03 AM org.apache.axis2.deployment.ModuleDeployer deploy [java] INFO: Deploying module: rampart-1.2 [java] Exception in thread "main" org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed [java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434) [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373) [java] at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294) [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520) [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500) [java] at org.apache.rampart.samples.sample04.Client.main(Unknown Source) [java] Java Result: 1 BUILD SUCCESSFUL Total time: 5 seconds I don't see anything in the console. Not sure why. I am running WAS 6.1 , Axis2 1.2 and Rampart 1.2 Attached are my request and response as well as the log property file. Please help. Regards, Pavam log4j.properties Description: Binary data commons-logging.properties Description: Binary data http://www.w3.org/2005/08/addressing"; xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";> http://www.w3.org/2005/08/addressing/soap/fault soapenv:Client WSDoAllReceiver: security processing failed http://schemas.xmlsoap.org/soap/envelope/";> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; soapenv:mustUnderstand="1"> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"; ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"; wsu:Id="CertId-3468159">MIIC7DCCAlWgAwIBAgIBATANBgkqhkiG9w0BAQQFADBNMQswCQYDVQQGEwJMSzEQMA4GA1UECBMHV2VzdGVybjEQMA4GA1UEBxMHQ29sb21ibzENMAsGA1UEChMEV1NPMjELMAkGA1UEAxMCQ0EwHhcNMDYwNzIxMTAwOTIxWhcNMDcwNzIxMTAwOTIxWjBOMQswCQYDVQQGEwJMSzEQMA4GA1UECBMHV2VzdGVybjENMAsGA1UEChMEV1NPMjENMAsGA1UECxMEV1NPMjEPMA0GA1UEAxMGQ2xpZW50MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLZbE6nuAkO6f4xEAmjwkbt83/kLZOC09h8XIzTpNgowkSE7fEffmZ55auT4kr+ZlQWPntN6yUL3UdjCjswzgb6YxCYXAN+AIwdEDfHiY2LEhWJIUi4wxvELEBohUOtvFD6U/Wb3bp0inHW9kjueqvTQPvY/E+DxWJtdcAAPbIKQIDAQABo4HaMIHXMAkGA1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBQxLMCTSZb+3pG0f+eXvVT8HWn7UDB9BgNVHSMEdjB0gBTqjpU/ODKOIhKC4vphl14m26jJh6FRpE8wTTELMAkGA1UEBhMCTEsxEDAOBgNVBAgTB1dlc3Rlcm4xEDAOBgNVBAcTB0NvbG9tYm8xDTALBgNVBAoTBFdTTzIxCzAJBgNVBAMTAkNBggkAo5RPqifQLL0wDQYJKoZIhvcNAQEEBQADgYEAdqTpO79RlL+e50rmK+tcEhB/SJw4cwXCtHWkloLdrIcdRxl6uDEZBGacxyQtBeLbgTp7jCTKLPuhJ7Hhguyp2ggr26a/Prt32zsu5XTUVIQMrZLJ2CemA0sOS8UJ7KSvG1ksE38whcFJnaGMbGdP5H2hzDpgQ1DAN38D/eQr3dI= http://www.w3.org/2000/09/xmldsig#"; Id="Signature-1558863082"> http://www.w3.org/2001/10/xml-exc-c14n#"/> http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> http://www.w3.org/2001/10/xml-exc-c14n#"/> http://www.w3.org/2000/09/xmldsig#sha1"/> 7T2EVE1aK1hsJ74cQ4dgYyWrt98= sdwPo5ROCQgfmp0NPkUyNNbQ55Vlv9jdM9rB2C9p1btj/AdZsX61i+hzLqBL0WdhaKG1VY6x2fRt mHTkVNojTwKiXnhk4Ge1YEhImdAI6PBV7Th10m1ulV4+UQ9wbLu8JGNMMc+ohWgEZ4toi26ZpNr9 wUER5m3TcFOxGluQykw= http://docs.oasis-op
non-repudiation with signature using rampart 1.2
Hi, I am trying to implement non-repudiation with signature with Axis2 1.2 & Rampart 1.2. Here is my service.xml enabling rampart Signature service.properties I have placed my service.properties file in \base_v61\profiles\AppSrv01\installedApps\NW815856Node02Cell\axis2_war.ear\axis2.war\WEB-INF\classes folder service.properties contents are org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin org.apache.ws.security.crypto.merlin.keystore.type=jks org.apache.ws.security.crypto.merlin.keystore.password=servertrust org.apache.ws.security.crypto.merlin.keystore.alias=wasclient org.apache.ws.security.crypto.merlin.alias.password=servertrust org.apache.ws.security.crypto.merlin.file=servertrust.jks I am getting the following error [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510) [8/2/07 8:28:10:326 EDT] 0027 SystemErr R Caused by: org.apache.ws.security.components.crypto.CredentialException: Failed to load credentials. Inner Exception: [DerInputStream.getLength(): lengthTag=109, too big.] at org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:141) at org.apache.ws.security.components.crypto.AbstractCrypto.(AbstractCrypto.java:97) at org.apache.ws.security.components.crypto.Merlin.(Merlin.java:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510) [8/2/07 8:28:10:346 EDT] 0027 SystemErr R at org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:141) [8/2/07 8:28:10:346 EDT] 0027 SystemErr R at org.apache.ws.security.components.crypto.AbstractCrypto.(AbstractCrypto.java:97) [8/2/07 8:28:10:346 EDT] 0027 SystemErr R at org.apache.ws.security.components.crypto.Merlin.(Merlin.java:65) [8/2/07 8:28:10:346 EDT] 0027 SystemErr R ... 40 more [8/2/07 8:28:10:366 EDT] 0027 SystemErr R java.lang.InstantiationException: org.apache.ws.security.components.crypto.Merlin [8/2/07 8:28:10:366 EDT] 0027 SystemErr R at java.lang.Class.newInstanceImpl(Native Method) [8/2/07 8:28:10:366 EDT] 0027 SystemErr R at java.lang.Class.newInstance(Class.java:1263) [8/2/07 8:28:10:366 EDT] 0027 SystemErr R at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:219) [8/2/07 8:28:10:366 EDT] 0027 SystemErr R at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:176) [8/2/07 8:28:10:366 EDT] 0027 SystemErr R at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.java:347) Did anyone encounter this error before ? Please help. Thanks, Pavan - To unsubscribe, e-mail: [EMAIL PROTECTED] F
Re: Axis2 on Websphere 6.1
Nilesh, Were you able to make it work. I was having the same issue before. On 5/20/07, Pavan Madiraju <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am having trouble in installing axis2 application on Websphere 6.1. Did > anyone encounter this issue before ? Change your application startup > behavior to " Classes loaded with application class loader first ". , Thanks, Pavan
Re: Integrating AXIS-RAMPART-TAM
Hi Vinod, Did you integrate Axis with Rampart ? Can you please share your experience. Regards, Pavan On 6/6/07, Kumar, Vidyod <[EMAIL PROTECTED]> wrote: > > Hello All- > I am using AXIS 2(1.1.1) with Rampart . I need to integrate Rampart with > Tivoli Access Manager in webSphere v6.0.Need to know what is the best > approach to be followed? > > Thanks in advance > Vk > > http://www.patni.com > World-Wide Partnerships. World-Class Solutions. > _ > > This e-mail message may contain proprietary, confidential or legally > privileged information for the sole use of the person or entity to > whom this message was originally addressed. Any review, e-transmission > dissemination or other use of or taking of any action in reliance upon > this information by persons or entities other than the intended > recipient is prohibited. If you have received this e-mail in error > kindly delete this e-mail from your records. If it appears that this > mail has been forwarded to you without proper authority, please notify > us immediately at [EMAIL PROTECTED] and delete this mail. > _ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
Documentation on Kandula2
Can anyone point me to the documentation on Kandula2 and where can I download and use it. Thanks, Pavan
Axis2_Codegen_Wizard_1.2.0
I am trying to write a simple webservice integrating Jibx for databinding. Does anyone know how to add New Databinding name in the codegen Wizard ? Any information is greatly appreciated. Thanks, PM <>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis2 on Websphere 6.1
Hi All, I am having trouble in installing axis2 application on Websphere 6.1. Did anyone encounter this issue before ? Error: java.lang.NoSuchMethodError: javax/wsdl/Operation.getExtensibilityElements()Ljava/util/List; at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations( WSDL11ToAxisServiceBuilder.java:1010) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType( WSDL11ToAxisServiceBuilder.java:399) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints( WSDL11ToAxisServiceBuilder.java:318) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( WSDL11ToAxisServiceBuilder.java:288) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile( ArchiveReader.java:232) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs( ArchiveReader.java:331) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:64) at org.apache.axis2.deployment.DeploymentEngine.doDeploy( DeploymentEngine.java:582) at org.apache.axis2.deployment.repository.util.WSInfoList.update( WSInfoList.java:201) at org.apache.axis2.deployment.RepositoryListener.update( RepositoryListener.java:271) at org.apache.axis2.deployment.RepositoryListener.checkServices( RepositoryListener.java:189) at org.apache.axis2.deployment.DeploymentEngine.loadServices( DeploymentEngine.java:110) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices( WarBasedAxisConfigurator.java:257) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext (ConfigurationContextFactory.java:74) at org.apache.axis2.transport.http.AxisServlet.initConfigContext( AxisServlet.java:486) at org.apache.axis2.transport.http.AxisServlet.init( AxisServlet.java:406) at org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:51) at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest Thanks,
Re: Just point me in the right direction...
Hi All, I am having trouble in installing axis2 application on Websphere 6.1. Did anyone encounter this issue before ? Error: java.lang.NoSuchMethodError: javax/wsdl/Operation.getExtensibilityElements()Ljava/util/List; at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations( WSDL11ToAxisServiceBuilder.java:1010) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType( WSDL11ToAxisServiceBuilder.java:399) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints( WSDL11ToAxisServiceBuilder.java:318) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService( WSDL11ToAxisServiceBuilder.java:288) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile( ArchiveReader.java:232) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs( ArchiveReader.java:331) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:64) at org.apache.axis2.deployment.DeploymentEngine.doDeploy( DeploymentEngine.java:582) at org.apache.axis2.deployment.repository.util.WSInfoList.update( WSInfoList.java:201) at org.apache.axis2.deployment.RepositoryListener.update( RepositoryListener.java:271) at org.apache.axis2.deployment.RepositoryListener.checkServices( RepositoryListener.java:189) at org.apache.axis2.deployment.DeploymentEngine.loadServices( DeploymentEngine.java:110) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices( WarBasedAxisConfigurator.java:257) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext (ConfigurationContextFactory.java:74) at org.apache.axis2.transport.http.AxisServlet.initConfigContext( AxisServlet.java:486) at org.apache.axis2.transport.http.AxisServlet.init( AxisServlet.java:406) at org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:51) at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest Thanks, Pavan
Soap Over JMS using Embedded Axis2 Engine
Anyone able to successfully send Soap messages over JMS using Embedded Axis2 Engine ? Hi Ted, Were you able to get your code to work ? Thanks in Advance Pavan