This discussion is archived
1 Reply Latest reply: Apr 9, 2013 4:48 AM by Jaap Spiering RSS

deploy ADF library jar file to webcenter spaces

978172 Newbie
Currently Being Moderated
dear all
i deploy shared lib to weblogic and follow the document "Extending the Spaces Application Using JDeveloper"
i add the lib name to the weblogic.xml when i tried to deploy the shared lib i got this error:


weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
[exec]      at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:136)
[exec]      at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:184)
[exec]      at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
[exec]      at weblogic.security.UserConfigFileManager.getUandP(UserConfigFileManager.java:538)
[exec]      at weblogic.security.UserConfigFileManager.retrieveUandPValues(UserConfigFileManager.java:519)
[exec]      at weblogic.security.UserConfigFileManager.getUsernameAndPassword(UserConfigFileManager.java:179)
[exec]      at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:132)
[exec]      at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
[exec]      at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
[exec]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec]      at java.lang.reflect.Method.invoke(Method.java:597)
[exec]      at org.python.core.PyReflectedFunction.__call__(Unknown Source)
[exec]      at org.python.core.PyMethod.__call__(Unknown Source)
[exec]      at org.python.core.PyObject.__call__(Unknown Source)
[exec]      at org.python.core.PyObject.invoke(Unknown Source)
[exec]      at org.python.pycode._pyx4.connect$1(<iostream>:16)
[exec]      at org.python.pycode._pyx4.call_function(<iostream>)
[exec]      at org.python.core.PyTableCode.call(Unknown Source)
[exec]      at org.python.core.PyTableCode.call(Unknown Source)
[exec]      at org.python.core.PyFunction.__call__(Unknown Source)
[exec]      at org.python.pycode._pyx47.f$0(C:\DesignWebCenterSpaces_ps4\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\extspaces.py:15)
[exec]      at org.python.pycode._pyx47.call_function(C:\DesignWebCenterSpaces_ps4\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\extspaces.py)
[exec]      at org.python.core.PyTableCode.call(Unknown Source)
[exec]      at org.python.core.PyCode.call(Unknown Source)
[exec]      at org.python.core.Py.runCode(Unknown Source)
[exec]      at org.python.util.PythonInterpreter.execfile(Unknown Source)
[exec]      at weblogic.management.scripting.WLST.main(WLST.java:124)
[exec]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec]      at java.lang.reflect.Method.invoke(Method.java:597)
[exec]      at weblogic.WLST.main(WLST.java:29)
[exec] Caused by: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
[exec]      at com.rsa.jsafe.c.a(Unknown Source)
[exec]      at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
[exec]      at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:124)
[exec]      ... 33 more
[exec] None
[exec] #########################################################
[exec] ##### Deployment Failed #########
[exec] ##### Contact support with Exception Stack #########
[exec] #########################################################
[exec]
[exec]
[exec] Exiting WebLogic Scripting Tool.
[exec]
[exec]
[exec] CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\Oracle\MIDDLE~1\ORACLE~1/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\lib\ADF-SH~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\lib\ADFSCR~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\lib\mdswlst.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\AUDITW~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\IGFWLS~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\jps-wlst.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\jrf-wlst.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OAMAP_~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OAMAUT~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\ossoiap.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OSSOIA~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OVDWLS~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\SSLCON~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\wsm-wlst.jar
[exec]
[exec] PATH=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\app\Tareq.Alawneh\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Common Files\Lenovo;C:\Program Files (x86)\Lenovo\Access Connections\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
[exec]
[exec] Your environment has been set.
[exec]
[exec] CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\Oracle\MIDDLE~1\ORACLE~1/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\lib\ADF-SH~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\lib\ADFSCR~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\lib\mdswlst.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\AUDITW~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\IGFWLS~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\jps-wlst.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\jrf-wlst.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OAMAP_~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OAMAUT~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\ossoiap.jar;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OSSOIA~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\OVDWLS~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\SSLCON~1.JAR;C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\RESOUR~1\wsm-wlst.jar;C:\Oracle\MIDDLE~1\utils\config\10.3\config-launch.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbytools.jar;;
[exec]
[exec] Initializing WebLogic Scripting Tool (WLST) ...
[exec]
[exec] Welcome to WebLogic Server Administration Scripting Shell
[exec]
[exec] Type help() for help on available commands
[exec]
[exec]
[exec] Redeploy of Spaces Application started at Sun Apr 7 13:59:19 2013
[exec]
[exec] This Exception occurred at Sun Apr 07 13:59:20 IDT 2013.
[exec] weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
[exec]      at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:136)
[exec]      at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:184)
[exec]      at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
[exec]      at weblogic.security.UserConfigFileManager.getUandP(UserConfigFileManager.java:538)
[exec]      at weblogic.security.UserConfigFileManager.retrieveUandPValues(UserConfigFileManager.java:519)
[exec]      at weblogic.security.UserConfigFileManager.getUsernameAndPassword(UserConfigFileManager.java:179)
[exec]      at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:132)
[exec]      at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
[exec]      at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
[exec]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec]      at java.lang.reflect.Method.invoke(Method.java:597)
[exec]      at org.python.core.PyReflectedFunction.__call__(Unknown Source)
[exec]      at org.python.core.PyMethod.__call__(Unknown Source)
[exec]      at org.python.core.PyObject.__call__(Unknown Source)
[exec]      at org.python.core.PyObject.invoke(Unknown Source)
[exec]      at org.python.pycode._pyx4.connect$1(<iostream>:16)
[exec]      at org.python.pycode._pyx4.call_function(<iostream>)
[exec]      at org.python.core.PyTableCode.call(Unknown Source)
[exec]      at org.python.core.PyTableCode.call(Unknown Source)
[exec]      at org.python.core.PyFunction.__call__(Unknown Source)
[exec]      at org.python.pycode._pyx47.f$0(C:\DesignWebCenterSpaces_ps4\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\redepwc.py:11)
[exec]      at org.python.pycode._pyx47.call_function(C:\DesignWebCenterSpaces_ps4\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\redepwc.py)
[exec]      at org.python.core.PyTableCode.call(Unknown Source)
[exec]      at org.python.core.PyCode.call(Unknown Source)
[exec]      at org.python.core.Py.runCode(Unknown Source)
[exec]      at org.python.util.PythonInterpreter.execfile(Unknown Source)
[exec]      at weblogic.management.scripting.WLST.main(WLST.java:124)
[exec]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec]      at java.lang.reflect.Method.invoke(Method.java:597)
[exec]      at weblogic.WLST.main(WLST.java:29)
[exec] Caused by: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
[exec]      at com.rsa.jsafe.c.a(Unknown Source)
[exec]      at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
[exec]      at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:124)
[exec]      ... 33 more
[exec] None
[exec] #########################################################
[exec] ##### ReDeploy Spaces Failed #########
[exec] ##### Contact support with Exception Stack #########
[exec] #########################################################
[exec]
[exec]
[exec] Exiting WebLogic Scripting Tool.
[exec]

any suggestions
regards

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points