Utility ImportPrivateKey crash: Runtime Exception !
I was trying to use java utils.ImportPrivateKey ; I follow the exact instruction of this example:
http://e-docs.bea.com/wls/docs92/admin_ref/utils.html#wp1184336
but the utility crashes (the same error on different PCs):
Here is the crash:
Failed to import private key and certificate to the keystore file mykeystore
Exception occurred while reading the license file.
java.lang.RuntimeException: Exception occurred while reading the license file.
at weblogic.security.utils.SSLSetup.getLicenseLevel(SSLSetup.java:143)
at weblogic.security.utils.SSLSetup.getSSLDelegateInstance(SSLSetup.java
:196)
at weblogic.security.utils.SSLContextWrapper.<init>(SSLContextWrapper.ja
va:27)
at weblogic.security.utils.SSLContextWrapper.getInstance(SSLContextWrapp
er.java:22)
at utils.ImportPrivateKey.importKey(ImportPrivateKey.java:182)
at utils.ImportPrivateKey.importKey(ImportPrivateKey.java:154)
at utils.ImportPrivateKey.main(ImportPrivateKey.java:61)
What can I do ?
Hi,
i'm not using Java mapping,
If i test the mapping manualy into Interface mapping , i have no problem , when i execute the whole process , the error appears, with or without data transfer it stays always the same.
The following message occurs also :
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
The following tags were not closed: rfc:DAY_COVERING_GET_INTERNAL.Response, APPOINTMENTS, item, EXIT_INFO. Error processing...
Similar Messages
-
BEA WLS 9.0 java.lang.NoClassDefFoundError: utils/ImportPrivateKey
Hi
I’m newbie on this forum and on BEA WebLogic 9.0.
I have to import my certificate in the keystore in order to setup SSL connection.
I’m trying to use the java utils provided by BEA WL, but I have this error:
bash-3.00# java utils.ImportPrivateKey
Exception in thread "main" java.lang.NoClassDefFoundError: utils/ImportPrivateKey
Suggestions ?
Thanks for any help.Hi,
The reason why you've got this error is because you didn't set the WebLogic context, prior to the use of the tool.
To do so, first execute the script WLS_HOME\server\bin\setWLSEnv.sh or setWLSEnv.cmd, depending on your environment.
Then, it should work.
Regards. -
I'm running Leopard 10.5.2, and whenever I open disk utility, it crashes on startup. I can't even open .dmg's any longer. It's weird...I've repaired disk, permissions, everything. Here's the error text:
Process: Disk Utility [300]
Path: /Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility
Identifier: com.apple.DiskUtility
Version: 11.0 (252)
Build Info: DiskUtility-2520000~1
Code Type: X86 (Native)
Parent Process: launchd [115]
Date/Time: 2008-05-17 21:23:15.379 -0400
OS Version: Mac OS X 10.5.2 (9C7010)
Report Version: 6
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000038
Crashed Thread: 0
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x96df6fed CFBundleCopyLocalizedString + 77
1 DiskImages 0x0011b8ae CBSDBackingStore::copyPropertiesDict() + 114
2 DiskImages 0x0015e1eb DIInitialize + 351
3 com.apple.DiskUtility 0x00002242 0x1000 + 4674
4 com.apple.AppKit 0x93ced8ce -[NSCustomObject nibInstantiate] + 315
5 com.apple.AppKit 0x93cce2cd -[NSIBObjectData instantiateObject:] + 259
6 com.apple.AppKit 0x93ccd9ee -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 297
7 com.apple.AppKit 0x93cc40ec loadNib + 264
8 com.apple.AppKit 0x93cc3a4d +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 946
9 com.apple.AppKit 0x93cc3690 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 171
10 com.apple.AppKit 0x93cc35ce +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 391
11 com.apple.AppKit 0x93cc327e NSApplicationMain + 434
12 com.apple.DiskUtility 0x000021d3 0x1000 + 4563
13 com.apple.DiskUtility 0x000255aa 0x1000 + 148906
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000038 ebx: 0x96df6fb1 ecx: 0x00000000 edx: 0x00000000
edi: 0x00554a00 esi: 0x00218298 ebp: 0xbffff6a8 esp: 0xbffff650
ss: 0x0000001f efl: 0x00010202 eip: 0x96df6fed cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000038
Binary Images:
0x1000 - 0x47ff3 com.apple.DiskUtility 11.0 (252) <9c5a67ddd3fe4ae93ff53352be633910> /Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility
0x59000 - 0x95ff7 com.apple.framework.DUSupport 11 (114) <f48f1a57fe6d0dde6fc5d0309b84a25a> /Applications/Utilities/Disk Utility.app/Contents/Frameworks/DUSupport.framework/Versions/A/DUSupport
0xc7000 - 0xf8ffb com.apple.DiskManagement 2.2 (160) <730f3019333a61f4eba0f3266d61f2fe> /System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/DiskManag ement
0x11a000 - 0x212fe0 DiskImages ??? (???) <8b79a99a29f2f47d18432e8561fea88e>
And lots more crap.
Any ideas?No luck with the preference file.
Here's the rest of the report:
Process: Disk Utility [329]
Path: /Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility
Identifier: com.apple.DiskUtility
Version: 11.0 (252)
Build Info: DiskUtility-2520000~1
Code Type: X86 (Native)
Parent Process: launchd [115]
Date/Time: 2008-05-17 21:47:51.180 -0400
OS Version: Mac OS X 10.5.2 (9C7010)
Report Version: 6
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000038
Crashed Thread: 0
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x96df6fed CFBundleCopyLocalizedString + 77
1 DiskImages 0x0011b8ae CBSDBackingStore::copyPropertiesDict() + 114
2 DiskImages 0x0015e1eb DIInitialize + 351
3 com.apple.DiskUtility 0x00002242 0x1000 + 4674
4 com.apple.AppKit 0x93ced8ce -[NSCustomObject nibInstantiate] + 315
5 com.apple.AppKit 0x93cce2cd -[NSIBObjectData instantiateObject:] + 259
6 com.apple.AppKit 0x93ccd9ee -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 297
7 com.apple.AppKit 0x93cc40ec loadNib + 264
8 com.apple.AppKit 0x93cc3a4d +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 946
9 com.apple.AppKit 0x93cc3690 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 171
10 com.apple.AppKit 0x93cc35ce +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 391
11 com.apple.AppKit 0x93cc327e NSApplicationMain + 434
12 com.apple.DiskUtility 0x000021d3 0x1000 + 4563
13 com.apple.DiskUtility 0x000255aa 0x1000 + 148906
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000038 ebx: 0x96df6fb1 ecx: 0x00000000 edx: 0x00000000
edi: 0x00553010 esi: 0x00218298 ebp: 0xbffff6a8 esp: 0xbffff650
ss: 0x0000001f efl: 0x00010202 eip: 0x96df6fed cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000038
Binary Images:
0x1000 - 0x47ff3 com.apple.DiskUtility 11.0 (252) <9c5a67ddd3fe4ae93ff53352be633910> /Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility
0x59000 - 0x95ff7 com.apple.framework.DUSupport 11 (114) <f48f1a57fe6d0dde6fc5d0309b84a25a> /Applications/Utilities/Disk Utility.app/Contents/Frameworks/DUSupport.framework/Versions/A/DUSupport
0xc7000 - 0xf8ffb com.apple.DiskManagement 2.2 (160) <730f3019333a61f4eba0f3266d61f2fe> /System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/DiskManag ement
0x11a000 - 0x212fe0 DiskImages ??? (???) <8b79a99a29f2f47d18432e8561fea88e> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
0x278000 - 0x341fe5 com.apple.DiscRecording 4.0.1 (4010.4.4) <15a86e322ad12d2d279e398120273223> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x3ac000 - 0x3d7ff7 com.apple.DiscRecordingUI 4.0.1 (4010.4.4) <e00473a9910f6ecfa9ce50122142147a> /System/Library/Frameworks/DiscRecordingUI.framework/Versions/A/DiscRecordingUI
0x3f5000 - 0x3f6ffd com.apple.RestoreFramework 1.1 (96) /System/Library/PrivateFrameworks/Restore.framework/Versions/A/Restore
0x3fd000 - 0x433fff com.apple.MediaKit 9.1 (395) <87ecf643bab6443824b484f467bad783> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x444000 - 0x46fffb libcurl.4.dylib ??? (???) <54ada27deb3b4ff7043d8836264eca0d> /usr/lib/libcurl.4.dylib
0x8fe00000 - 0x8fe2da53 dyld 96.2 (???) <7af47d3b00b2268947563c7fa8c59a07> /usr/lib/dyld
0x9000f000 - 0x90317fff com.apple.HIToolbox 1.5.2 (???) <7449d6f2da33ded6936243a92e307459> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x90318000 - 0x903dfff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x903e0000 - 0x90473fff com.apple.ink.framework 101.3 (86) <bf3fa8927b4b8baae92381a976fd2079> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x90474000 - 0x904b2ff7 libGLImage.dylib ??? (???) <090de775838db03ddc710f57abbf6218> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x904de000 - 0x90515fff com.apple.SystemConfiguration 1.9.1 (1.9.1) <8a76e429301afe4eba1330bfeaabd9f2> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x90567000 - 0x90596fe3 com.apple.AE 402.2 (402.2) <e01596187e91af5d48653920017b8c8e> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x905b6000 - 0x905b7ffc libffi.dylib ??? (???) <a3b573eb950ca583290f7b2b4c486d09> /usr/lib/libffi.dylib
0x905b8000 - 0x90614ff7 com.apple.htmlrendering 68 (1.1.3) <fe87a9dede38db00e6c8949942c6bd4f> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x90615000 - 0x90694ff5 com.apple.SearchKit 1.2.0 (1.2.0) <277b460da86bc222785159fe77e2e2ed> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x906a1000 - 0x906a1ffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x906a2000 - 0x90b75fde libGLProgrammability.dylib ??? (???) <a3d68f17f37ff55a3e61aca1e3aee522> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x90c74000 - 0x90d2efe3 com.apple.CoreServices.OSServices 224.4 (224.4) <ff5007ab220908ac54b6c661e447d593> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90d2f000 - 0x90d35fff com.apple.print.framework.Print 218.0.2 (220.1) <8bf7ef71216376d12fcd5ec17e43742c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x90e4f000 - 0x90e4fffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x90e98000 - 0x91063ff7 com.apple.security 5.0.2 (33001) <0788969ffe7961153219be10786da436> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x91064000 - 0x91072ffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x910a3000 - 0x91155ffb libcrypto.0.9.7.dylib ??? (???) <330b0e48e67faffc8c22dfc069ca7a47> /usr/lib/libcrypto.0.9.7.dylib
0x91156000 - 0x911b0ff7 com.apple.CoreText 2.0.1 (???) <07494945ad1e3f5395599f42748457cc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x911b1000 - 0x911b3ff5 libRadiance.dylib ??? (???) <20eadb285da83df96c795c2c5fa20590> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x911b4000 - 0x911f3fef libTIFF.dylib ??? (???) <6d0f80e9d4d81f3f64c876aca005bd53> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x911f4000 - 0x9127bff7 libsqlite3.0.dylib ??? (???) <6978bbcca4277d6ae9f042beff643f7d> /usr/lib/libsqlite3.0.dylib
0x9128c000 - 0x91622ff7 com.apple.QuartzCore 1.5.1 (1.5.1) <665c80f6e28555b303020c8007c36b8b> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x91944000 - 0x9194efeb com.apple.audio.SoundManager 3.9.2 (3.9.2) <0f2ba6e891d3761212cf5a5e6134d683> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x91981000 - 0x9198dfff libbz2.1.0.dylib ??? (???) <9ea4fe135c9e52bd0590eec12c738e82> /usr/lib/libbz2.1.0.dylib
0x9198e000 - 0x91a73ff3 com.apple.CoreData 100.1 (186) <8e28162ef2288692615b52acc01f8b54> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x91a74000 - 0x91a8afff com.apple.DictionaryServices 1.0.0 (1.0.0) <ad0aa0252e3323d182e17f50defe56fc> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x91ada000 - 0x91d54fe7 Foundation ??? (???) <6216196287f98a65ddb654d04d773e7b> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x91d88000 - 0x92146fea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x922ca000 - 0x922caffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallSer ver
0x922d3000 - 0x922d3ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x922d4000 - 0x92331ffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x9239f000 - 0x9239fffa com.apple.CoreServices 32 (32) <2fcc8f3bd5bbfc000b476cad8e6a3dd2> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x923b7000 - 0x923b7ff8 com.apple.ApplicationServices 34 (34) <8f910fa65f01d401ad8d04cc933cf887> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x924f0000 - 0x9257bfff com.apple.framework.IOKit 1.5.1 (???) <a17f9f5ea7e8016a467e67349f4d3d03> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x9257c000 - 0x92583ffe libbsm.dylib ??? (???) <d25c63378a5029648ffd4b4669be31bf> /usr/lib/libbsm.dylib
0x925ad000 - 0x925adfff com.apple.Carbon 136 (136) <98a5e3bc0c4fa44bbb09713bb88707fe> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x925ae000 - 0x9268dfff libobjc.A.dylib ??? (???) <a53206274b6c2d42691f677863f379ae> /usr/lib/libobjc.A.dylib
0x9268e000 - 0x926deff7 com.apple.HIServices 1.7.0 (???) <f7e78891a6d08265c83dca8e378be1ea> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x92759000 - 0x9275cfff com.apple.help 1.1 (36) <b507b08e484cb89033e9cf23062d77de> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x9275d000 - 0x92788fe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x9383f000 - 0x93879fff com.apple.coreui 1.1 (61) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x938b9000 - 0x9394cff3 com.apple.ApplicationServices.ATS 3.2 (???) <cdf31bd0ac7de54a35ee2d27cf86b6be> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x93a55000 - 0x93ad2fef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x93aee000 - 0x93b65fe3 com.apple.CFNetwork 221.5 (221.5) <5474cdd7d2a8b2e8059de249c702df9e> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x93b66000 - 0x93c9eff7 libicucore.A.dylib ??? (???) <afcea652ff2ec36885b2c81c57d06d4c> /usr/lib/libicucore.A.dylib
0x93cbd000 - 0x944bafef com.apple.AppKit 6.5.2 (949.26) <bc4593edd8a224409fb6953a354505a0> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x944bb000 - 0x944c4fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <d3180f9edbd9a5e6f283d6156aa3c602> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x944c5000 - 0x944e9feb libssl.0.9.7.dylib ??? (???) <acee7fc534674498dcac211318aa23e8> /usr/lib/libssl.0.9.7.dylib
0x944ea000 - 0x94517feb libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x94518000 - 0x9453cfff libxslt.1.dylib ??? (???) <4933ddc7f6618743197aadc85b33b5ab> /usr/lib/libxslt.1.dylib
0x94612000 - 0x946ddfff com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x946de000 - 0x94706fff libcups.2.dylib ??? (???) <2f0a710a9128882efb2ed92ad139b58c> /usr/lib/libcups.2.dylib
0x9470d000 - 0x94799ff7 com.apple.LaunchServices 286.5 (286.5) <33c3ae54abb276b61a99d4c764d883e2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x9479a000 - 0x94816feb com.apple.audio.CoreAudio 3.1.0 (3.1) <70bb7c657061631491029a61babe0b26> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x94817000 - 0x948a0fe3 com.apple.DesktopServices 1.4.5 (1.4.5) <8b264cd6abbbd750928c637e1247269d> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x94902000 - 0x94d12fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x94d13000 - 0x94d6cff7 libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x94d6d000 - 0x94e14feb com.apple.QD 3.11.52 (???) <c72bd7bd2ce12694c3640a731d1ad878> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x94e15000 - 0x94e25fff com.apple.speech.synthesis.framework 3.6.59 (3.6.59) <4ffef145fad3d4d787e0c33eab26b336> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x94e26000 - 0x94ea0ff8 com.apple.print.framework.PrintCore 5.5.2 (245.1) <3c9de512e95fbd838694ee5008d56a28> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x95020000 - 0x95020ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x95116000 - 0x9511bfff com.apple.CommonPanels 1.2.4 (85) <ea0665f57cd267609466ed8b2b20e893> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x9511c000 - 0x9527bff3 libSystem.B.dylib ??? (???) <4899376234e55593b22fc370935f8cdf> /usr/lib/libSystem.B.dylib
0x9527c000 - 0x95915fff com.apple.CoreGraphics 1.351.21 (???) <6c93fd21149f389129fe47fa6ef71880> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x95bd4000 - 0x95beafe7 com.apple.CoreVideo 1.5.0 (1.5.0) <bad2d3a9a92fdecd02e64f0b73a76f27> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x95db0000 - 0x96089ff3 com.apple.CoreServices.CarbonCore 785.8 (785.8) <827c228e7d717b397cdb4941eba69553> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x9608d000 - 0x961b1fe3 com.apple.audio.toolbox.AudioToolbox 1.5.1 (1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x961b2000 - 0x961f7fef com.apple.Metadata 10.5.2 (398.7) <73a6424c06effc474e699cde6883de99> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x96229000 - 0x9623dff3 com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x9623e000 - 0x96280fef com.apple.NavigationServices 3.5.1 (161) <cc6bd78eabf1e2e7166914e9f12f5850> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x96281000 - 0x962a1ff2 libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x962d3000 - 0x96418ff7 com.apple.ImageIO.framework 2.0.1 (2.0.1) <68ba11e689a9ca30f8310935cd1e02d6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x96419000 - 0x96429ffc com.apple.LangAnalysis 1.6.4 (1.6.4) <cbeb17ab39f28351fe2ab5b82bf465bc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x9642a000 - 0x96445ffb libPng.dylib ??? (???) <b6abcac36ec7654ff3e1cfa786b0117b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x96446000 - 0x96465ffa libJPEG.dylib ??? (???) <0cfb80109d624beb9ceb3c43b6c5ec10> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x966cf000 - 0x9677ffff edu.mit.Kerberos 6.0.12 (6.0.12) <3dd13466876a8fe4549cfc1354233ec3> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x96dd1000 - 0x96f03fef com.apple.CoreFoundation 6.5.1 (476.10) <d5bed2688a5eea11a6dc3a3c5c17030e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x96f04000 - 0x96f1cfff com.apple.openscripting 1.2.6 (???) <b8e553df643f2aec68fa968b3b459b2b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x96f35000 - 0x96f53fff libresolv.9.dylib ??? (???) <0629b6dcd71f4aac6a891cbe26253e85> /usr/lib/libresolv.9.dylib
0x96f54000 - 0x96f56fff com.apple.securityhi 3.0 (30817) <2b2854123fed609d1820d2779e2e0963> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x96f57000 - 0x96f63fe7 com.apple.opengl 1.5.6 (1.5.6) <d599b1bb0f8a8da6fd125e2587b27776> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x96fd7000 - 0x96fd7ff8 com.apple.Cocoa 6.5 (???) <e064f94d969ce25cb7de3cfb980c3249> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x96fd8000 - 0x96fdcfff libGIF.dylib ??? (???) <d4234e6f5e5f530bdafb969157f1f17b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x96fdd000 - 0x96fe5fff com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x96fe6000 - 0x96feafff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x96feb000 - 0x96ff2fe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x970c2000 - 0x971a3ff7 libxml2.2.dylib ??? (???) <3cd4cccd4ca35dffa4688436aa0cd908> /usr/lib/libxml2.2.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib -
I am using weblogic server 6.0 service pack 2.
The problem is in runtime exception in JMS.
Here is an exception I am getting:
java.lang.RuntimeException: Client possibly malfunctioning as RuntimeException thrown
from the onMessage routine of the client
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1938)
at weblogic.jms.client.JMSSession.run(JMSSession.java:881)
at weblogic.jms.backend.BEServerSession.execute(BEServerSession.java:83)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
This occurs in the line
>bsender = bsession.createSender(bqueue);
of the class, in the onMessage method.
What is the reason for the exception? What can be done to fix it? I just need to
process several messages in parallel.
I have a startup class RateQuoteJMSResponse, that calls JMS.
This happens only when I have a message listeners pool. When I did not use the pool,
it worked OK. But I want to allow processing messages in parallel, and as I understand,
there is no other option except using ServerSessionPool.
When I tried to do that just with QueueReceiver, it worked OK:
qreceiver = qsession.createReceiver (queue);
qreceiver.setMessageListener (this);
qcon.start();
However, that way messages were not processed in parallel.
Here is my code:
package com.bbb.object.jms;
import java.io.*;
import java.util.*;
import javax.jts.*;
import javax.naming.*;
import javax.jms.*;
import com.bbb.object.*;
import com.bbb.object.RateQuote.*;
import org.apache.crimson.tree.*;
import org.w3c.dom.*;
import weblogic.jms.extensions.JMSHelper;
import weblogic.jms.ServerSessionPoolFactory;
public class RateQuoteJMSResponse implements MessageListener
private final static String JNDI_FACTORY="weblogic.jndi.WLInitialContextFactory";
private final static String JMS_FACTORY="weblogic.closs.jms.QueueConnectionFactory";
private final static String SESSION_POOL_FACTORY="weblogic.jms.ServerSessionPoolFactory:ClossJMSServer";
private final static int ALL_OCCUPIED = -1;
private static REServer servers [];
private static REServersThrottle throttle;
private QueueConnectionFactory qconFactory;
private QueueConnection qcon;
private QueueSession qsession;
private QueueSession bsession;
//private QueueReceiver qreceiver;
private QueueSender bsender = null;
private Queue queue;
private Queue bqueue;
private ServerSessionPoolFactory sessionPoolFactory;
private ServerSessionPool sessionPool;
private ConnectionConsumer consumer;
private int findUnoccupiedServer ()
for (int ii = 0; ii < servers.length; ii++)
if (servers[ii].isActive () && !servers [ii].isOccupied ())
return ii;
return ALL_OCCUPIED;
private synchronized void updateServers (ActiveServers activeServers)
for (int ii = 0; ii < servers.length; ii++)
boolean wasActive = servers[ii].isActive ();
boolean nowActive = activeServers.isAlive (servers[ii].getHostName ());
if (wasActive && !nowActive)
throttle.removeResource ();
Logging.debugInfoLog ("Resource removed");
else if (!wasActive && nowActive)
throttle.addResource ();
Logging.debugInfoLog ("Resource added");
servers [ii].setActive (nowActive);
// MessageListener interface
//public void processMessage (Message msgIn)
public void onMessage (Message msgIn)
Logging.debugInfoLog ("Starting onMessage");
ActiveServers activeServers = null;
try
activeServers = new ActiveServers();
catch (Exception ignored) {}
Logging.debugInfoLog ("Active Servers file read");
updateServers (activeServers);
Logging.debugInfoLog ("Servers updated");
throttle.getResource ();
Logging.debugInfoLog ("Resource got");
try
Logging.debugInfoLog ("0");
String msgTextIn;
ObjectMessage msgOut;
RateQuoteGetBase rateQuoteGet;
RateQuoteGetXML rateQuoteGetXML;
Logging.debugInfoLog ("1");
if (msgIn == null)
Logging.debugInfoLog ("2");
rateQuoteGet = new RateQuoteGetBase ("Cannot receive a rate quote back from JMS.");
msgTextIn = "";
else
Logging.debugInfoLog ("3");
if (msgIn instanceof TextMessage)
msgTextIn = ((TextMessage)msgIn).getText();
else
msgTextIn = msgIn.toString();
Logging.debugInfoLog ("4");
bqueue = (Queue) msgIn.getJMSReplyTo ();
Logging.debugInfoLog ("8");
bsender = bsession.createSender(bqueue);
Logging.debugInfoLog ("9");
bsender.setDeliveryMode (javax.jms.DeliveryMode.NON_PERSISTENT);
Logging.debugInfoLog ("10");
Logging.debugInfoLog ("Prepareing to find unoccupied server");
int selectedServer = findUnoccupiedServer ();
Logging.debugInfoLog ("Unoccupied server found: " + selectedServer);
if (selectedServer == ALL_OCCUPIED)
rateQuoteGet = new RateQuoteGetBase ("No nonoccupied rating engines found.");
msgTextIn = "";
else
servers [selectedServer].setOccupied ();
Logging.debugInfoLog ("Set occupied: " + selectedServer);
String hostname = servers [selectedServer].getHostName ();
int portId = servers [selectedServer].getPortId ();
rateQuoteGet = new RateQuoteGetBase (hostname, portId);
rateQuoteGetXML = new RateQuoteGetXML (new RateQuoteGet (rateQuoteGet));
rateQuoteGetXML.prepareXML ();
servers [selectedServer].setUnOccupied ();
Logging.debugInfoLog ("Set unoccupied: " + selectedServer);
if (!rateQuoteGetXML.hasErrorOccured ())
rateQuoteGet.sendXML (msgTextIn);
rateQuoteGet.prepareXML ();
Logging.debugInfoLog("Message Received: " + msgTextIn );
msgOut = bsession.createObjectMessage ();
msgOut.setObject (rateQuoteGet);
bsender.send (msgOut, javax.jms.DeliveryMode.NON_PERSISTENT,
javax.jms.Message.DEFAULT_PRIORITY, 18000000L);
Logging.debugInfoLog("Message Sent Back: " + rateQuoteGet.getXML());
Logging.debugInfoLog ("End of massage sent back");
rateQuoteGet.debugPrint ();
catch (JMSException jmse)
Logging.debugInfoLog ("5");
jmse.printStackTrace();
Logging.debugInfoLog ("6");
try
if (bsender != null)
bsender.close ();
catch (JMSException ignored) {}
finally
bsender = null;
Logging.debugInfoLog ("7");
try
throttle.freeResource ();
Logging.debugInfoLog ("Resource freed");
Logging.debugInfoLog ("Finishing onMessage");
catch (Exception ignored) {}
* Create all the necessary objects for receiving
* messages from a JMS queue.
public void init(Context ctx, String queueName, int countListeners) throws NamingException,
JMSException
//Logging.debugInfoLog ("Class name: " + this.getClass().getName());
qconFactory = (QueueConnectionFactory) ctx.lookup(JMS_FACTORY);
qcon = qconFactory.createQueueConnection();
qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
bsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
try
queue = (Queue) ctx.lookup(queueName);
catch (NamingException ne)
ne.printStackTrace ();
//queue = (Queue) ctx.lookup (queueName);
//queue = qsession.createQueue (queueName);
//queue = JMSHelper.createPermanentQueueAsync(ctx, "closs", "ClossJMSServer",
queueName, JNDI_FACTORY);
//JMSHelper.createPermanentQueueAsync(ctx, "ClossJMSServer", queueName, JNDI_FACTORY);
//queue = qsession.createQueue("ClossJMSServer/" + queueName);
//queue = createPermanentQueueAsync(ctx, jmsServerName, queueName, jndiName);
//ctx.bind(queueName, queue);
//qreceiver = qsession.createReceiver (queue);
//qreceiver.setMessageListener (this);
qcon.start();
sessionPoolFactory = (ServerSessionPoolFactory) ctx.lookup (SESSION_POOL_FACTORY);
sessionPool = sessionPoolFactory.getServerSessionPool ( qcon,
countListeners,
false,
Session.AUTO_ACKNOWLEDGE,
this.getClass().getName());
ConnectionConsumer consumer = qcon.createConnectionConsumer (queue, "", sessionPool,
3*countListeners);
* Close JMS objects.
public void close()
try
//if (qreceiver != null)
// qreceiver.close();
if (consumer != null)
consumer.close();
catch (JMSException ignored){}
//qreceiver = null;
consumer = null;
try
if (qsession != null)
qsession.close();
catch (JMSException ignored){}
qsession = null;
try
if (bsender != null)
bsender.close();
catch (JMSException ignored){}
bsender = null;
try
if (bsession != null)
bsession.close();
catch (JMSException ignored){}
bsession = null;
try
if (qcon != null)
qcon.close();
catch (JMSException ignored){}
qcon = null;
* Receive a JMS message.
//public Message receive() throws JMSException
// return qreceiver.receive ();
public static void main (String[] args) throws Exception
Message msg;
int len = args.length;
if (len %2 != 0 || len == 0)
Logging.debugInfoLog("Usage: java RateQuoteJMSResponse hostname portid hostname
portid ...");
return;
int reCount = len/2;
throttle = new REServersThrottle (0);
servers = new REServer [reCount];
for (int ii = 0; ii < reCount; ii++)
servers [ii] = new REServer (args [2*ii], args [2*ii + 1]);
//Logging.debugInfoLog ("Arguments: " + args[0] + " " + args[1]);
InitialContext ic = getInitialContext (ClickProperties.getInitialContext());
RateQuoteJMSResponse qr = new RateQuoteJMSResponse ();
qr.init (ic, ClickProperties.getJMSQueue(), reCount);
Logging.debugInfoLog("JMS Rating Engine Responser Is Ready To Receive Messages.");
// Wait until a "quit" message has been received.
//synchronized (qr)
// while (true)
// msg = qr.receive ();
// Logging.debugInfoLog ("Message received");
// qr.processMessage (msg);
//qr.close();
private static InitialContext getInitialContext (String url) throws NamingException
Hashtable env = new Hashtable();
env.put (Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY);
env.put (Context.PROVIDER_URL, url);
return new InitialContext(env);
And here is the output from weblogic console:
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <Active Servers file rea
d>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <Throttle max increased
to: 1>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <Resource added>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <Servers updated>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <Throttle count increase
d to: 1>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <Resource got>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <0>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <1>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <3>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <4>
<May 15, 2002 11:11:57 AM EDT> <Debug> <Debug Info Log> <8>
java.lang.RuntimeException: Client possibly malfunctioning as RuntimeException t
hrown from the onMessage routine of the client
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1938)
at weblogic.jms.client.JMSSession.run(JMSSession.java:881)
at weblogic.jms.backend.BEServerSession.execute(BEServerSession.java:83)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
[config.xml]
Thanks. It creates a new class each time onMessage () is called. I thought it uses
an existing instance of the class.
"Zach" <[email protected]> wrote:
>You need to trap the exception inside the onMessage so you can see the
>exception that is being thrown by the bsession.createSender call. This
>stack trace doesn't give enough information. It is just a message saying
>your code failed to handle and leaked an exception out of the onMessage.
>If that is the line that failed, then try catch around it and look at the
>stack trace for that exception.
>
>_sjz.
>
>"Alexander Rabinowitz" <[email protected]> wrote in message
>news:[email protected]...
>>
>> I am using weblogic server 6.0 service pack 2.
>> The problem is in runtime exception in JMS.
>> Here is an exception I am getting:
>> java.lang.RuntimeException: Client possibly malfunctioning as
>RuntimeException thrown
>> from the onMessage routine of the client
>> at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1938)
>> at weblogic.jms.client.JMSSession.run(JMSSession.java:881)
>> at
>weblogic.jms.backend.BEServerSession.execute(BEServerSession.java:83)
>> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>>
>> This occurs in the line
>>
>> >bsender = bsession.createSender(bqueue);
>>
>> of the class, in the onMessage method.
>>
>> What is the reason for the exception? What can be done to fix it? I just
>need to
>> process several messages in parallel.
>
>
>
-
Printer Setup Utility always crashes- and am getting weird printer behavior
Just installed 10.5 on a fresh internal drive- machine is G5 2X2- settings imported from a 10.4 installation on another drive. Printer is a Brother HL-5170DN
If I try to print from any app, the app doesn't crash, as has been reported by others, but the printer behavior is strange. I added the printer from the Print and Fax control pane, which saw the printer and appeared to be happy. But when I try to print any test document, the printer starts printing an error message on every sheet in its tray, literally running through the whole stack and then complaining it's out of paper, even though the document to be printed was only one page. Have never seen anything like that. The error message printed on paper is: ERROR NAME; undefined COMMAND; y OPERAND STACK;
Cannot launch Printer Setup Utility- always crashes. Have tried reseting printer system and rebooting, but no luck. It seems to be complaining that a file called "_CPLPPDGetFileInfo" is missing. The error log when I try to launch Printer Setup Utility is:
Process: Printer Setup Utility [550]
Path: /Volumes/fatherhood/Applications/Utilities/Printer Setup Utility.app/Contents/MacOS/Printer Setup Utility
Identifier: com.apple.print.PrintCenter
Version: 4.7 (161.10)
Build Info: PrintCenter-1611000~1
Code Type: PPC (Native)
Parent Process: launchd [85]
Date/Time: 2007-11-03 10:53:29.649 -0700
OS Version: Mac OS X 10.5 (9A581)
Report Version: 6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000008fe0105c
Crashed Thread: 0
Dyld Error Message:
Symbol not found: _CPLPPDGetFileInfo
Referenced from: /Volumes/fatherhood/Applications/Utilities/Printer Setup Utility.app/Contents/MacOS/Printer Setup Utility
Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application ServicesThanks for the helpful info. I had upgraded to Leopard using Archive & Install and had an alias to the Printer Setup Utility from Tiger, which I kept trying to use not realizing that this now pointed to the old version in the Previous Systems folder.
Now I've deleted the whole thing and will remember to use the System Preference panel to configure my printers. -
Help,runtime exception when using oracle ses 11g
development environment is myeclipse 8.5 , jdk1.6 , oracle ses 11g is installed on centos .
I use the query web service example in oracle ses 11g administrator's guide to test ses 11g.
I added wseeclient.jar,ant.jar and search_client.jar to my projects .
the project is compiled successfully, however, A runtime exception occured when runing the project :
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
at oracle.search.query.webservice.client.OracleSearchService.<clinit>(OracleSearchService.java:58)
at client.SESClient.main(SESClient.java:8)
Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
The code is listed blow :
package client;
import oracle.search.query.webservice.client.*;
public class SESClient {
public static void main(String[] args) throws Exception {
// runtime exception occured : java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
// when create the object OracleSearchService
OracleSearchService stub = new OracleSearchService();
stub.setSoapURL("http://59.77.132.154:7777/search/query/OracleSearch");
OracleSearchResult result = stub.doOracleSearch("fzu site:www.fzu.edu.cn", 1,
Integer.MAX_VALUE, Boolean.TRUE, Boolean.TRUE, null, "zh",
"zh", Boolean.TRUE, null, null, null);
int estimatedHitCount = result.getEstimatedHitCount().intValue();
if (estimatedHitCount == 0)
System.out.println("No Result!");
else {
ResultElement[] resElemArray = result.getResultElements();
for (int i = 0; i < resElemArray.length; ++i) {
System.out.println(resElemArray.getTitle() + ":"
+ resElemArray[i].getUrl());
System.out.println("-----------------------------------------------------------");I have a reason to believe that my anti virus scanner is modifying the jar file.
I had initially downloaded the jar file from sourceforge. It had the com.iwss.... package.
Now i dowloaded the file in zip format and that package is not there in the zip file. But i have a new problem now.
My eclispe just crashed with the following error message.
JVM terminated. Exit code=1
D:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin\javaw.exe
-Xms40m
-Xmx256m
-jar C:\eclipse\startup.jar
-os win32
-ws win32
-arch x86
-launcher C:\eclipse\eclipse.exe
-name Eclipse
-showsplash 600
-exitdata 1bc_74
-vm D:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin\javaw.exe
-vmargs
-Xms40m
-Xmx256m
-jar C:\eclipse\startup.jar -
Runtime exception java.lang.ClassNotFoundException on executing Stored Proc
I am getting the below error when I try to execute a stored proc in Pointbase from weblogic.
java.sql.SQLException: The external "DbLog::insLog" routine had the following runtime exception "java.lang.ClassNotFoundException: DbLog"
import java.sql.*; import com.pointbase.jdbc.*; public class DbLog { static Connection conn = null; static Statement m_stmt; static Statement l_stmt; static CallableStatement m_callStmt = null; public boolean logPreAuth() { try { String I_URL = "jdbc:pointbase:server://localhost:9093/weblogic_eval"; conn = DriverManager.getConnection(I_URL, "PBSYSADMIN", "PBSYSADMIN"); /*String SQL_CREATE_PROC = "CREATE PROCEDURE insLog(IN P1 VARCHAR(30))" + " LANGUAGE JAVA" + " SPECIFIC insLog" + " DETERMINISTIC" + " NO SQL" + " EXTERNAL NAME \"DbLog::insLog\"" + " PARAMETER STYLE SQL"; m_stmt = conn.createStatement(); m_stmt.executeUpdate(SQL_CREATE_PROC); m_stmt.close(); */ Commented out because it throwed error saying, The routine "INSLOG" in schema "PBPUBLIC" already exists in system table SYSROUTINES. m_callStmt = conn.prepareCall("{ call insLog(?) }"); m_callStmt.setString(1, "Success!!"); m_callStmt.execute(); } catch (Exception e) { logger.error("Error in logPreAuth method" + e); } return true; } public static void insLog(String test) { try { l_stmt = conn.createStatement(); l_stmt.executeUpdate("Insert into logs values('" + test + "')"); l_stmt.close(); conn.close(); } catch (Exception e) { } }
Please let me know how to solve this.I setted the classpath in commEnv.cmd as follows,
set POINTBASE_HOME=%WL_HOME%\common\eval\pointbase
set POINTBASE_CLIENT_CLASSPATH=%POINTBASE_HOME%\lib\pbclient57.jar
set POINTBASE_CLASSPATH=%POINTBASE_HOME%\lib\pbembedded57.jar;%POINTBASE_CLIENT_CLASSPATH%;C:\bea\user_projects\workspaces\work1\utility\build\classes
set POINTBASE_TOOLS=%POINTBASE_HOME%\lib\pbtools57.jar
My DbLog class in the path, C:\bea\user_projects\workspaces\Work1\util\build\classes\net\local\util\common
FYI, net\local\util\common is the package.
But when I try to execute the page which calls RequestFilter.java, I am getting the following error,
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: Could not initialize class net.local.util.common.DbLog
Please find the code below,
--RequestFilter.java
import net.local.util.common.DbLog;
public final class RequestFilter {
public void log() {
DbLog dblog = new DbLog();
dblog.logPreAuth();
} --DbLog.java
package net.local.util.common;
import java.sql.*;
import org.apache.log4j.Logger;
import com.pointbase.jdbc.*;
public class DbLog {
private static final Logger logger = Logger.getLogger(DbLog.class);
private static boolean DEBUGGING = logger.isDebugEnabled();
private Connection conn = null;
private Statement m_stmt;
private Statement l_stmt;
private CallableStatement m_callStmt = null;
//static ResultSet l_rs = null;
public DbLog() {
logger.info("DbLog constructor called");
init();
public void init() {
logger.info("DbLog init called");
public void logPreAuth() {
try {
logger.info("Inside logPreAuth method");
String I_URL = "jdbc:pointbase:server://localhost:9093/weblogic_eval";
Class.forName("com.pointbase.jdbc.jdbcUniversalDriver").newInstance();
//Class.forName("com.pointbase.jdbc.jdbcDataSource");
conn = DriverManager.getConnection(I_URL, "PBPUBLIC", "PBPUBLIC");
String SQL_CREATE_PROC = "CREATE PROCEDURE insLog(IN P1 VARCHAR(30))"
+ " LANGUAGE JAVA"
+ " SPECIFIC insLog"
+ " DETERMINISTIC"
+ " NO SQL"
+ " EXTERNAL NAME \"DbLog::insLog\""
+ " PARAMETER STYLE SQL";
m_stmt = conn.createStatement();
m_stmt.executeUpdate(SQL_CREATE_PROC);
m_stmt.close();
m_callStmt = conn.prepareCall("{ call PBPUBLIC.insLog(?) }");
m_callStmt.setString(1, "Success!!");
m_callStmt.execute();
catch (Exception e) {
logger.error("Error in logPreAuth method" + e);
public void insLog(String test)
try {
l_stmt = conn.createStatement();
l_stmt.execute("Insert into logs values('" + test + "')");
l_stmt.close();
conn.close();
catch (Exception e) {
} -
Crystal Runtime exception: Missing parameter values
Our company did a PeopleTools upgrade at one of our clients recently. We upgraded them to PeopleTools 8.50.08. We had to convert all the Crystal Reports to the 2008 format using the RPT converter which is included in the Client install of PeopleTools.
The only problem now is that a lot of the Crystal processes in PeopleSoft are failing with the following error:
Crystal Runtime exception: Missing parameter values.
I've checked the parameters which are being passed to the report and I see both parameters are filled:
E:\HR881\BIN\CLIENT\WINX86\PSCRRUN.EXE -CTORACLE -CDHRMKPDEV -COPSDUT -CPOPRPSWD -I218609 -RP"PUP202K" -OT6 -OP"G:\PS\PSPRCS\log_output\HRMKPDEV\CRW_PUP202K_218609" -LGDUT -OF2 -ORIENTL "2000-10-01" "2002-06-30"
Database type is Oracle. HRMS version is 8.8. I can run the Query which gets the data in just fine and I can also run the report from Crystal fine. This only happens with Crystal reports which have a date field as a parameter/prompt in the report.
There's currently an SR open at Oracle, but I was hoping that someone here can help me nail this issue. I'm not too happy with the quallity of Oracle support, but that's a whole different story.<s>Just to be sure, did you put a space after each parameter name or is it a typo over here ?
E:\HR881\BIN\CLIENT\WINX86\PSCRRUN.EXE -CT ORACLE -CD HRMKPDEV -CO PSDUT -CP OPRPSWD -I 218609 -RP "PUP202K" -OT 6 -OP "G:\PS\PSPRCS\log_output\HRMKPDEV\CRW_PUP202K_218609" -LG DUT -OF 2 -OR IENTL "2000-10-01" "2002-06-30"</s>
Nicolas.
sorry, it was wrong assumption.
Edited by: N Gasparotto on Jun 2, 2010 5:11 PM -
SOAP Framework error: SOAP Runtime Exception: CSoa
I got the error 'SOAP Framework error: SOAP Runtime Exception: CSoa' when I activate my Adobe Form. The form can be activated before but the error happens when I add the fourth main body page.
PhilipHi
1. Check if your ADS is working. Use program FP_TEST_00 / FP_TEST_01 to test your ADS if it is working.
2. Test using super user, it might caused by authorization too.
Thanks, Xiang Li -
Error:Adobe document services error: SOAP Runtime Exception: CSoapException
Dear All,
While executing an adobe form I am facing the following error:
Adobe document services error: SOAP Runtime Exception: CSoapExceptionTransport :
Can you please suggest how the error can be rectified?
Thanks and regards,
Atanu
Edited by: Atanu Dey on Feb 18, 2008 5:31 PMHi, For solving this do one thing:
The problem is In ECC the service AdobeDocumentServicesSec was set up in SM59 but nothing was configured for SSL. So you have to change this to:
AdobeDocumentServicesSec.
Thanks
please reward points -
Reg:- Runtime Exception on preview of Portal Activity Report Editor iView
Hi All,
I am trying to preview the iView, "Portal Activity Report Editor" located under Portal Content -> Content Provided by SAP -> Admin Interfaces -> Admin iView Templates -> Portal Editors under Content Administration role.
But, when I previee the iView, I get a RunTime Exception as follows:
#1.5 #0014C263546200A5000008B900000CEC000450DE5CE9A528#1214815878685#com.sap.portal.applicationFramework.tools.wizardframework#sap.com/irj#com.sap.portal.applicationFramework.tools.wizardframework#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Fatal#1#/System/Server#Java###wizard session No: 429: could not instantiate pane instance of type com.sapportals.admin.wizardframework.core.ClassNameAndConstructorArgs@1663bd## #1.5 #0014C263546200A5000008BA00000CEC000450DE5CE9A6F1#1214815878685#System.err#sap.com/irj#System.err#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Error##Plain###Jun 30, 2008 4:51:18 AM com.sap.portal.portal [SAPEngine_Application_Thread[impl:3]_56] Error: Exception ID:04:51_30/06/08_15351_4495550
#1.5 #0014C263546200A5000008BC00000CEC000450DE5CE9B605#1214815878685#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Error#1#/System/Server#Java###Exception ID:04:51_30/06/08_15351_4495550
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.activityReportEditor
Component class : com.sap.portal.webreport.editor.ActivityReportEditor
User : <User_ID>
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:547)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
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)
Caused by: java.lang.RuntimeException: an Exception occured when instantating class com.sap.portal.admin.editor.pane.EditorPaneWrapper
at com.sapportals.admin.wizardframework.core.TrivialPaneFactory.getComponent(TrivialPaneFactory.java:54)
at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:225)
at com.sap.portal.admin.editor.Editor.doWizard(Editor.java:605)
at com.sap.portal.admin.editor.Editor.run(Editor.java:150)
at com.sap.portal.admin.editor.AbstractEditorComponent.doContent(AbstractEditorComponent.java:59)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
... 29 more
This happens for all Editor iViews.
Kindly let me know what could be the problem.
Thanks and Regards,
PavithraHi Sandeep,
Thank you for your inputs.
I had raised an OSS Message with SAP some days ago on this issue. SAP has replied back saying that only users with Content Administration role can have access to configure portal acyivity report. All other users can only view the results.
Regards,
Pavithra -
Runtime Exception in Message mapping
Hi Experts,
I have a scenario of IDoc to <third party adapter> cXML.
The message caught the below error
RuntimeException in Message-Mapping transformation : Runtime exception during processing target field mapping ......./ShipTo[2]/Address/PostalAddress/DeliverTo (suppressed field). The message is: Exception:[java.lang.ArrayIndexOutOfBoundsException: 7] in class com.sap.xi.tf._M_IDOC_to_cXML_ method getShipToContact$[, , com.sap.aii.mappingtool.tf3.rt.Q2QFunctionWrapper@253fdd8a]
Please suggest on what went wrong, as everything is working fine before.
Thanks in advance.
MKMk:
Please check if the source fields which are mapped to the target are all generated by the SAP Script and make sure that they have data so that when they are mapped to the target. If they are mapped and source fields don't have data then it may error out. Sometimes SAP Script might not generate a node if there is not data for it, make sure you handle that condition also.
RuntimeException in Message-Mapping transformation is
due to the missing TEXT_LINE element in the segment Z1VOBTH for the TEXT_ID 'INVOICE_TO_LOCATION'
I am not able to understand this. is Text_ID subelement of Text_Line?? Could you please post the complete error message as it is. -
RuntimeException in Message-Mapping transformation: Runtime exception durin
Hi Friends,
Iam going test Message Mapping, i got the error like
RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:LeapIndent_R3_MT/Recordset/RowData/QTY_TNS. The message is: Exception:[java.lang.NumberFormatException: empty String] in class com.sap.aii.mappingtool.flib3.Arithm method formatNumber[, com.sap.aii.mappingtool.tf3.rt.Context@27f972cf]
Pls help me ..
Thanks & Regards,
NvrHi Ravi,
Thanks for ur reply, the problem is solved, the Date field is Mandaratory, they are not mention the data field, so that way the problem is coming.
Thanks & Regards,
NVR -
Runtime exception for Date format
Hi,
Scenario : RFC to IDOC
found the error in my payload :
RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at com.sap.aii.mappingtool.tf3.AMappingProgram.start
Here i has used DateTransformation from the Date Function.
How can i give the format for Target side here.
Regards,
yeswanth.Hello Yeshwanth,
RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at com.sap.aii.mappingtool.tf3.AMappingProgram.start
Here i has used DateTransformation from the Date Function.
In Date Trans Properties:
In Format Source date u select : yyyy-mm-dd
In Target Format u select: yyyy/mm/dd
Thanks,
Satya -
Runtime exception occurred during execution of application mapping program
Hi all
while testing intergase mapping i am getting this error----->
com/sap/xi/tf/_XI_FI_BAPI_CC_DOCUMENT_POST_REQ_MM:
com.sap.aii.utilxi.misc.api.BaseRuntimeException;RuntimeException in Message-Mapping transgormation:Runtime exception during processing target field mapping
/ns1:BAPI_ACC_DOCUMENT_POST/DOCUMENTHEADER/HEADER_TXT. THE message is:Exception:[java.lang.NullPointerException] in class com.sap.aii.mappingtool.flib3.TextFunction s method substring [null,com.sap.aii.mappingtool.tf3.rt.Context@2388897239]
I had used in the message mapping two user defined function scan you please look into the user defined functions, getPriviousMounthLastDate and FileName in the mapping for the target DocDate field
ihave used even this getPriviousMounthLastDate user defined function before using FileName
this is the code of userdefined function getPriviousMounthLastDate
Calendar cal = Calendar.getInstance();
SimpleDateFormat output = new SimpleDateFormat("yyyyMMdd");
cal.add(Calendar.MONTH,1);
cal.set(Calendar.DAY_OF_MONTH,1);
cal.add(Calendar.MONTH,-1);
cal.add(Calendar.DATE,-1);
StringBuffer dateBuffer = new StringBuffer();
output.format(cal.getTime(),dateBuffer,new FieldPosition(0));
return dateBuffer;
this is the code of userdefined function FileName
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/File",
"FileName");
String valueOld = conf.get(key);
return valueOld;
thanks sandep
Edited by: sandeep pendyala on Feb 6, 2008 6:52 AMHi Sandeep,
please check the trace file in SXMB_MONI,
which is avialble in response node.
if you analyze the trace, u can find-out....
error happend because of ehich field.
first copy the inbound xml from MONI and test it at message mapping.
then also, u can find-out the error.
regards
mahesh.
Maybe you are looking for
-
A SAP Community member need help to get back in track once again.
Hi to all experts and fellow members in these good community, I learned and work as SAP BASIS and Security my previous company for about a year , but opportunately I get laid off recently due to cost cutting of the company. Can someone Help me to
-
Trying to download from iTunes and when I clicked on the Sync button, it indicates that it is waiting to sync. Then it comes back saying sync failed. What is the problem ?
-
Hi All, 1. I would like to know if an abstract class can contain a main method? 2.I have a class called KeyTest which is a junit test class and it contains 2 methods called testSymKey() and testAsymKey() which bascially tests for symmetric key genera
-
Weblogic connect oracle9.2.0.1
weblogic create connectionpool erro.oracle excepiont at oracle.security.o3logon.C0.r(C0) at oracle.security.o3logon.C0.l(C0) at oracle.security.o3logon.C1.c(C1) How can i do it? oracle9.0.11 and oracle8.1.7 have not this problem.
-
Ho can I print child from XML file
I'm trying to print the child of one parent..it's not working I don't have no clue...bello is the code and the XML DocumentBuilderFactory aronXml = DocumentBuilderFactory.newInstance(); DocumentBuilder aronText = aronXml.newDocumentBuilder(); Documen