java.security.InvalidKeyException: Must be a PBEKey in RAW format.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

java.security.InvalidKeyException: Must be a PBEKey in RAW format.

Jean Luc-2
I get the following while trying to submit a form (on SAP's app server, I was trying to check an earlier reported problem).
Any idea?
 
Thanks!
 
 
Orbeon Forms Release 3.6.0.200805221357 - configured standalone (and just rebooted)
 
JVM: Sun Microsystems Inc. 1.4.2_08-b03 (32bit pointers) [VM Spec: 1.0]
J2EE: SAP J2EE Engine/6.40 PatchLevel 109749.313 [Servlet Spec: 2.3]
Operating System: Windows 2003 5.2 x86 (run as SAPServiceQ09))
 
 
2008-05-28 11:16:08,688 INFO  ProcessorService  - /xforms-server - Received request
2008-05-28 11:16:08,860 ERROR ProcessorService  - Exception at line 55, column 103 of oxf:/ops/xforms/xforms-server.xpl (reading processor output: name='response', id='xml-response')
java.security.InvalidKeyException: Must be a PBEKey in RAW format.
 at iaik.security.cipher.PbeWithMD5AndDES_CBC.initCipher(Unknown Source)
 at iaik.security.cipher.PbeWithMD5AndDES_CBC.engineInit(Unknown Source)
 at javax.crypto.Cipher.init(DashoA6275)
 at org.orbeon.oxf.util.SecureUtils.encrypt(SecureUtils.java:136)
 at org.orbeon.oxf.xforms.XFormsUtils.encodeBytes(XFormsUtils.java:188)
 at org.orbeon.oxf.xforms.XFormsUtils.encodeXML(XFormsUtils.java:161)
 at org.orbeon.oxf.xforms.XFormsUtils.encodeXML(XFormsUtils.java:127)
 at org.orbeon.oxf.xforms.processor.XFormsServer.outputResponse(XFormsServer.java:405)
 at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:307)
 at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:54)
 at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:80)
 at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:994)
 at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:948)
 at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
 at org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
 at org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
 at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:994)
 at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1177)
 at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:972)
 at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1177)
 at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
 at org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
 at org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
 at org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:182)
 at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644)
 at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:518)
 at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641)
 at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:230)
 at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644)
 at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:518)
 at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641)
 at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95)
 at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
 at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
 at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
 at org.orbeon.oxf.servlet.OPSXFormsFilter.doFilter(OPSXFormsFilter.java:58)
 at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
 at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
 at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
 at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
 at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
 at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
 at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
 at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
 at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
 at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
 at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
 at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
 at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
 at java.security.AccessController.doPrivileged(Native Method)
 at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
 at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: java.security.InvalidKeyException: Must be a PBEKey in RAW format.

Alessandro Vernet
Administrator
Jean Luc,

On Wed, May 28, 2008 at 9:00 AM, Jean Luc <[hidden email]> wrote:
> I get the following while trying to submit a form (on SAP's app server, I
> was trying to check an earlier reported problem).
> [...]
> java.security.InvalidKeyException: Must be a PBEKey in RAW format.
>  at iaik.security.cipher.PbeWithMD5AndDES_CBC.initCipher(Unknown Source)
>  at iaik.security.cipher.PbeWithMD5AndDES_CBC.engineInit(Unknown Source)
>  at javax.crypto.Cipher.init(DashoA6275)
>  at org.orbeon.oxf.util.SecureUtils.encrypt(SecureUtils.java:136)
>  at org.orbeon.oxf.xforms.XFormsUtils.encodeBytes(XFormsUtils.java:188)

This seems to be an issue specific to SAP NetWeaver (OK, you knew
that). You might find more information about this here, including what
seems to be a work-around:

https://www.sdn.sap.com/irj/sdn/thread?threadID=124421

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: java.security.InvalidKeyException: Must be a PBEKey in RAW format.

Jean Luc-2
Thank you, I'll try that and let you know.
----- Original Message -----
From: "Alessandro Vernet" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, May 31, 2008 7:04 PM
Subject: [ops-users] Re: java.security.InvalidKeyException: Must be a PBEKey
in RAW format.


> Jean Luc,
>
> On Wed, May 28, 2008 at 9:00 AM, Jean Luc <[hidden email]> wrote:
>> I get the following while trying to submit a form (on SAP's app server, I
>> was trying to check an earlier reported problem).
>> [...]
>> java.security.InvalidKeyException: Must be a PBEKey in RAW format.
>>  at iaik.security.cipher.PbeWithMD5AndDES_CBC.initCipher(Unknown Source)
>>  at iaik.security.cipher.PbeWithMD5AndDES_CBC.engineInit(Unknown Source)
>>  at javax.crypto.Cipher.init(DashoA6275)
>>  at org.orbeon.oxf.util.SecureUtils.encrypt(SecureUtils.java:136)
>>  at org.orbeon.oxf.xforms.XFormsUtils.encodeBytes(XFormsUtils.java:188)
>
> This seems to be an issue specific to SAP NetWeaver (OK, you knew
> that). You might find more information about this here, including what
> seems to be a work-around:
>
> https://www.sdn.sap.com/irj/sdn/thread?threadID=124421
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> Twitter - http://twitter.com/avernet
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws