Problem with  SQL_ATTR_ROW_STATUS_PTR on 11.02.0030

The problem occur only with version *11.02.0030* all other previous version of the client work has expected.
If you set a row status ptr. This properties is supposed to be an SQLUSMALLINT (unsign short)
So assuming my code does sothing like:
SQLUSMALLINT *m_rgRowStatus;
m_rgRowStatus=(SQLUSMALLINT *)malloc(112 * sizeof(SQLUSMALLINT));
::SQLSetStmtOption(m_hstmt, SQL_ATTR_ROW_ARRAY_SIZE, 112)
::SQLSetStmtOption(m_hstmt, SQL_ATTR_ROW_STATUS_PTR, m_rgRowStatus));
After a call to
AFX_ODBC_CALL(::SQLFetchScroll(m_hstmt, SQL_FETCH_NEXT, 0));
The status of each row get rewriten has if it was SQLUINTEGER effectively overwriting memory.
Maybe a screens shots will help:
[Before fetchScroll|http://i200.photobucket.com/albums/aa19/jajoflo/before_fetchscroll.png]
[After FetchScroll|http://i200.photobucket.com/albums/aa19/jajoflo/afterfetchscroll.png]
Of course this is a major problem.
Any Idea or workaround?
Edited by: ca109900 on Feb 17, 2012 1:22 PM

Hi all I have a similar problem, but don't know what's wrong:
LOAD DATA
INFILE *
INTO TABLE table_test
REPLACE
FIELDS TERMINATED BY ','
number1 INTEGER EXTERNAL,
mychar1 CHAR(250),
image LOBFILE (mychar1) TERMINATED BY EOF
BEGINDATA
1153,/opt/oracle/appl/myproject/HR/imgdir/1153.JPG
the error msg is :
SQL*Loader-350: Syntax error at line 9.
Expecting "," or ")", found "LOBFILE".
image LOBFILE (mychar1) TERMINATED BY EOF
(The table has the columns number1 (number) , mychar1 (varchar2(250) and image (blob) )
What is the problem with LOBFILE...?
Thanks,
Jose.

Similar Messages

  • I have some real odd problems with flash

    Right, I have sort of had two problems with adobe flash player 10, so bare with me, I need to tell you the ‘back story’ before I reach my current issue:
    Back story; latest version of flash been running normally for a while until it tries to update. When it wants to update it goes to 100% completion then comes up with a message saying ‘Unable to complete because Adobe Flash Native Control Panel is open. Please close the Adobe Flash Native Control Panel and please try again‘
    After this, my pc and adobe website (and other websites) will report that I have no flash. At all. So I try to update/install/uninstall again (after rebooting computer each time obviously) - and no luck. I either got a message like the one above or this one: ‘The Flash Player Settings Manager is currently open. Please close the Flash Player Settings Manager and try again’.
    So I find that I have no flash, yet I have flash and I can’t upgrade, install or uninstall. I have found a solution to this in other forums by going into my System32 folder on my C drive and using the freeware program ‘Unlocker’ to delete the file ‘C:\WINDOWS\system32\FlashPlayerCPLApp.cpl ‘upon restarting. After that I can uninstall flash properly and reinstall to the latest version.
    I’ve had to do this twice now, after each attempted ‘update ‘and each time I have to completely uninstall flash in the way stated above and then reinstall it properly.
    So that is the first issue- now to my current problem:
    After doing the following I tried to install the latest flash from adobe’s website...but my computer seems to ‘eat’ the executable file and then not actually install the latest flash. It downloads and opens fine but as soon as it starts to install, the actual executable file vanishes. It doesn’t go anywhere, not the recycle bin; it just...vanishes. Then nothing happens. According to Task manager, there is an ‘Install_flashplayer’ in the background using 8000 k or so memory and seeming doing something, but it’s not on screen and it does...nothing. I’ve waited almost a good hour and nothing happens despite memory usage dipping a bit.
    So first problem of mine is this Adobe ‘Flash Native Control Panel ‘and ‘Flash Player Settings Manager’ seems to be causing problems with my flash every time it needs to update (and subsequently makes adobe flash player thins it Schrödinger’s cat being in a state of installed and uninstalled).  I want to know how to stop thins form happening each time I need to update. I can't seem to find any information on how to actually 'close' these programs.
    My second is getting my PC to actually install the latest version of flash as opposed to eat it and make it a ghost program like my PC is pacman and the excitable file is a blue ghost.
    I currently have Flash player 10,3,183,5 installed and it is working fine (until the investable update issue is bound to come along).
    My system is Vista 32-bit.
    My main web browser is firefox 3.6.18
    Ask me if you need more specs, and sorry for the bad analogies.

    Here you go, hopefully this is the right thing and will help:
    =O====== M/10.1.53.64 2010-06-17+14-28-57.760 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\FlashPlayerUpdate.exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0003 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0004 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0005 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0006 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0007 [W] 00001036 Software\Opera Software/Plugin Path 2
    0008 [W] 00001036 Software\Opera Software/Plugin Path 2
    0009 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0010 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10h_Plugin.exe
    0011 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.1.53.64 2010-06-17+14-29-05.045 ========
    is =O====== M/10.1.82.76 2010-08-21+10-32-59.173 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\C977.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10i_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.1.82.76 2010-08-21+10-33-25.178 ========
    =O====== M/10.1.85.3 2010-09-23+07-57-41.815 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\A90B.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10k_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.1.85.3 2010-09-23+07-57-49.180 ========
    =O====== M/10.1.102.64 2010-11-11+10-41-25.479 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\93E7.dir\InstallFlashPlayer.exe" -iv 0
    =X====== M/10.1.102.64 2010-11-11+10-48-16.518 ========
    =O====== M/10.1.102.64 2010-12-02+10-52-34.774 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\B37.dir\InstallFlashPlayer.exe" -iv 0
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10l_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    =X====== M/10.1.102.64 2010-12-02+10-52-52.605 ========
    =X====== M/10.3.183.5 2011-08-12+17-20-19.029 ========
    =O====== M/10.3.183.5 2011-08-12+17-59-38.530 ========
    0000 [I] 00000010 "D:\Users\Emeline Porter\Pictures\uninstall_flash_player.exe" -force 
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0004 [W] 00001018
    0005 [W] 00001037 Software\Macromedia\FlashPlayer\SafeVersions/ 2
    0006 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0007 [W] 00001019
    0008 [W] 00001020
    0009 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0010 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0011 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0012 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0013 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
    0014 [W] 00001021
    0015 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0016 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0017 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0018 [W] 00001018
    0019 [W] 00001036 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0020 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0021 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0022 [W] 00001019
    0023 [W] 00001020
    0024 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0025 [W] 00001037 Software\Macromedia\FlashPlayerPlugin/ 2
    0026 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0027 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0028 [W] 00001021
    0029 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0030 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0031 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
    0032 [W] 00001048
    0033 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0034 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0035 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0036 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0037 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0038 [W] 00001036 Software\Opera Software/Plugin Path 2
    0039 [W] 00001036 Software\Opera Software/Plugin Path 2
    =X====== M/10.3.183.5 2011-08-12+17-59-42.866 ========
    =O====== M/10.3.183.5 2011-08-12+18-12-09.286 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\InstallAX.exe" -install activex -msi
    0001 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
    0002 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0003 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash10v.ocx
    0004 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_ActiveX.exe
    0005 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil10v_ActiveX.dll
    =X====== M/10.3.183.5 2011-08-12+18-12-19.509 ========
    =O====== M/10.3.183.5 2011-08-12+21-09-19.716 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\Rar$EX00.569\fp_10.3.183.5_archive\10_3r183_5\flash player10_3r183_5_win.exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0004 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0005 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0006 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0007 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0008 [W] 00001036 Software\Opera Software/Plugin Path 2
    0009 [W] 00001036 Software\Opera Software/Plugin Path 2
    0010 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0011 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe
    0012 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0013 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0014 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.183.5 2011-08-12+21-09-25.004 ========
    =O====== M/10.3.183.5 2011-08-13+09-57-05.662 ========
    0000 [I] 00000010 "D:\Users\Emeline Porter\Pictures\install_flash_player_10.exe"
    0001 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0002 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0003 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0004 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0005 [W] 00001036 Software\Opera Software/Plugin Path 2
    0006 [W] 00001036 Software\Opera Software/Plugin Path 2
    0007 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe
    0009 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0010 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0011 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0012 [E] 00001040 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.183.5 2011-08-13+09-57-23.634 ========
    =O====== M/10.3.183.5 2011-08-13+11-10-23.454 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\FP_PL_PFS_INSTALLER.exe"
    0001 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0002 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0003 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0004 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0005 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0006 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0007 [W] 00001036 Software\Opera Software/Plugin Path 2
    0008 [W] 00001036 Software\Opera Software/Plugin Path 2
    0009 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0010 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe
    0011 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0012 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0013 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0014 [E] 00001040 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.183.5 2011-08-13+11-10-32.783 ========
    =O====== M/10.3.183.5 2011-08-13+11-12-29.782 ========
    0000 [I] 00000010 "D:\Users\Emeline Porter\Pictures\install_flash_player_10.exe"
    0001 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0002 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0003 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0004 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0005 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0006 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0007 [W] 00001036 Software\Opera Software/Plugin Path 2
    0008 [W] 00001036 Software\Opera Software/Plugin Path 2
    0009 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0010 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe
    0011 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0012 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0013 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0014 [E] 00001040 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.183.5 2011-08-13+11-13-06.961 ========
    =O====== M/10.3.183.5 2011-08-13+11-15-13.433 ========
    0000 [I] 00000010 "D:\Users\Emeline Porter\Pictures\install_flash_player_10.exe"
    0001 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0002 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0003 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0004 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0005 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0006 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0007 [W] 00001036 Software\Opera Software/Plugin Path 2
    0008 [W] 00001036 Software\Opera Software/Plugin Path 2
    0009 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0010 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe
    0011 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0012 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0013 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0014 [E] 00001040 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.183.5 2011-08-13+11-15-26.589 ========
    =O====== M/10.3.183.5 2011-08-13+11-24-30.735 ========
    0000 [I] 00000010 C:\Windows\system32\Macromed\Flash\FlashUtil10v_ActiveX.exe -uninstall activex -msi
    0001 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0002 [W] 00001015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_ActiveX.exe 5
    0003 [I] 00000018
    0004 [W] 00001015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_ActiveX.exe 5
    0005 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0006 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0007 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0008 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
    0009 [W] 00001021
    0010 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0011 [W] 00001015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_ActiveX.exe 5
    0012 [I] 00000012
    =X====== M/10.3.183.5 2011-08-13+11-24-31.422 ========
    =O====== M/10.3.183.5 2011-08-13+11-24-16.274 ========
    0000 [I] 00000010 "D:\Users\Emeline Porter\Downloads\uninstall_flash_player.exe" -force 
    0001 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0002 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0003 [W] 00001017
    0004 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0005 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0006 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0007 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0008 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
    0009 [W] 00001021
    0010 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0011 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0012 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0013 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0014 [W] 00001037 Software\Macromedia\FlashPlayerPlugin/ 2
    0015 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0016 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0017 [W] 00001021
    0018 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0019 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0020 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0021 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0022 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0023 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0024 [W] 00001036 Software\Opera Software/Plugin Path 2
    0025 [W] 00001036 Software\Opera Software/Plugin Path 2
    =X====== M/10.3.183.5 2011-08-13+11-24-45.103 ========
    =O====== M/10.3.183.5 2011-08-13+11-30-53.024 ========
    0000 [I] 00000010 "D:\Users\Emeline Porter\Pictures\install_flash_player_10.exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [E] 00001039
    =X====== M/10.3.183.5 2011-08-13+11-30-59.264 ========
    =O====== M/10.3.183.5 2011-08-13+11-31-34.013 ========
    0000 [I] 00000010 "D:\Users\Emeline Porter\Pictures\install_flash_player_10.exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0004 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0005 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0006 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0007 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0008 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0009 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0010 [W] 00001036 Software\Opera Software/Plugin Path 2
    0011 [W] 00001036 Software\Opera Software/Plugin Path 2
    0012 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0013 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe
    0014 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0015 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0016 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.183.5 2011-08-13+11-31-39.457 ========
    =O====== M/10.3.181.34 2011-08-13+20-09-58.153 ========
    0000 [I] 00000010 "C:\Users\Emeline Porter\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\QPMER51O\install_flash_player_ax_10.3.181.34[1].exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0004 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
    0005 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0006 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash10u.ocx
    0007 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10u_ActiveX.exe
    0008 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil10u_ActiveX.dll
    0009 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0010 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0011 [E] 00001040 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.181.34 2011-08-13+20-10-03.328 ========
    =O====== M/10.2.153.1 2011-08-13+20-15-45.112 ========
    0000 [I] 00000010 "C:\Users\Emeline Porter\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\DDOGJGNF\install_flash_player_10.2.153.1[1].exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash10o.ocx
    0006 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10o_ActiveX.exe
    0007 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil10o_ActiveX.dll
    =X====== M/10.2.153.1 2011-08-13+20-15-52.160 ========
    =O====== M/10.3.181.16 2011-08-14+20-00-42.794 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\Rar$EX02.431\fp_10.3.181.16_archive\10_3r181_16\fla shplayer10_3r181_16_winax.exe"
    0001 [E] 00001040
    =X====== M/10.3.181.16 2011-08-14+20-00-47.240 ========
    =O====== M/10.3.183.5 2011-08-14+20-07-01.733 ========
    0000 [I] 00000010 "D:\Users\Emeline Porter\Downloads\uninstall_flash_player.exe" -force 
    0001 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0002 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0003 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0004 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0005 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
    0006 [W] 00001021
    0007 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0008 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0009 [W] 00001037 Software\Macromedia\FlashPlayerPlugin/ 2
    0010 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0011 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0012 [W] 00001021
    0013 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0014 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0015 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0016 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0017 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0018 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0019 [W] 00001036 Software\Opera Software/Plugin Path 2
    0020 [W] 00001036 Software\Opera Software/Plugin Path 2
    =X====== M/10.3.183.5 2011-08-14+20-07-06.023 ========
    =O====== M/10.3.181.16 2011-08-14+20-10-54.036 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\Rar$EX01.603\fp_10.3.181.16_archive\10_3r181_16\fla shplayer10_3r181_16_winax.exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash10r.ocx
    0006 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10r_ActiveX.exe
    0007 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil10r_ActiveX.dll
    0008 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    =X====== M/10.3.181.16 2011-08-14+20-11-01.415 ========
    =O====== M/10.3.183.5 2011-08-14+20-16-17.115 ========
    0000 [I] 00000010 "C:\Users\EMELIN~1\AppData\Local\Temp\FP_PL_PFS_INSTALLER.exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0004 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0005 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0006 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0007 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0008 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0009 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0010 [W] 00001036 Software\Opera Software/Plugin Path 2
    0011 [W] 00001036 Software\Opera Software/Plugin Path 2
    0012 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0013 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil10v_Plugin.exe
    0014 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0015 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0016 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0017 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    =X====== M/10.3.183.5 2011-08-14+20-16-22.512 ========

  • Urgent : Problem with Client when OC4J has been setup in 2 way SSL mode

    This is the output that is generated in the JDeveloper console on running the example from b14429.pdf. Examle :
    ====================================================
    import HTTPClient.HTTPConnection;
    import HTTPClient.HTTPResponse;
    import javax.security.cert.X509Certificate;
    import oracle.security.ssl.OracleSSLCredential;
    import java.io.IOException;
    import javax.net.ssl.SSLPeerUnverifiedException;
    public class SSLSocketClientWithClientAuth {
    public static void main(String[] args) {
    if (args.length < 4) {
    System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
    "[wallet] [password]");
    System.exit(-1);
    String hostname = args[0].toLowerCase();
    int port = Integer.decode(args[1]).intValue();
    String walletPath = args[2];
    String password = args[3];
    HTTPConnection httpsConnection = null;
    OracleSSLCredential credential = null;
    try {
    httpsConnection = new HTTPConnection("https", hostname, port);
    } catch (IOException e) {
    System.out.println("HTTPS Protocol not supported");
    System.exit(-1);
    try {
    credential = new OracleSSLCredential();
    credential.setWallet(walletPath, password);
    } catch (IOException e) {
    System.out.println("Could not open wallet");
    System.exit(-1);
    httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_3DES_EDE_CBC_SHA"});
    httpsConnection.setSSLCredential(credential);
    try {
    httpsConnection.connect();
    } catch (IOException e) {
    System.out.println("Could not establish connection");
    e.printStackTrace();
    System.exit(-1);
    // X509Certificate x509 = new X509Certificate();
    //javax.servlet.request.
    X509Certificate[] peerCerts = null;
    try {
    peerCerts =
    (httpsConnection.getSSLSession()).getPeerCertificateChain();
    } catch (javax.net.ssl.SSLPeerUnverifiedException e) {
    System.err.println("Unable to obtain peer credentials");
    e.printStackTrace();
    System.exit(-1);
    String peerCertDN =
    peerCerts[peerCerts.length - 1].getSubjectDN().getName();
    peerCertDN = peerCertDN.toLowerCase();
    if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
    System.out.println("Certificate for " + hostname +
    " is issued to " + peerCertDN);
    System.out.println("Aborting connection");
    System.exit(-1);
    try {
    HTTPResponse rsp = httpsConnection.Get("/");
    System.out.println("Server Response: ");
    System.out.println(rsp);
    } catch (Exception e) {
    System.out.println("Exception occured during Get");
    e.printStackTrace();
    System.exit(-1);
    ================================================================
    C:\j2sdk1.4.2_09\bin\javaw.exe -client -classpath "D:\eclipse\workspace\OC4JClient\OC4JClient\classes;D:\eclipse\workspace\jdev\extensions\.jar;C:\Documents and Settings\nilesh_bafna\Desktop\Nitin\lib\jssl-1_1.jar;E:\product\10.1.3.1\OracleAS_1\j2ee\home\lib\http_client.jar;E:\product\10.1.3.1\OracleAS_1\jlib\javax-ssl-1_1.jar" -Djava.protocol.handler.pkgs=HTTPClient -Djavax.net.debug=ssl -Djavax.net.ssl.keyStore=F:/oc4jcert/client.keystore -Djavax.net.ssl.keyStorePassword=welcome1 -Djavax.net.ssl.trustStore=F:/oc4jcert/client.keystore -Djavax.net.ssl.trustStorePassword=welcome1 -DOracle.ssl.defaultCipherSuites=SSL_RSA_WITH_RC4_128_MD5 SSLSocketClientWithClientAuth ps4372.persistent.co.in 443 F:/oc4jcert/client.keystore welcome1
    keyStore is : F:/oc4jcert/client.keystore
    keyStore type is : jks
    init keystore
    init keymanager of type SunX509
    found key for : oracle-client
    chain [0] = [
    Version: V3
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    87fcc8e9 0ffcef8e 61f3be10 be7c9715 2792849b 3bbdeb1c cc76b337 4b82bbab
    86972c63 9af3adfd 35b5df99 9078a0d1 6dc760d8 0549a95a bfa7648a 9eadd326
    a6bc4b61 d8f8b42f 44e0b178 ff1dee20 db8406cd d800c26a 9c5a6ed9 4d6f2aef
    bc919814 3b46be39 e129280c e83afe12 c9d4e3d7 fb5787b1 d98bed4a 4f0833d5
    Validity: [From: Thu Jan 18 21:18:14 GMT+05:30 2007,
                   To: Wed Apr 18 21:18:14 GMT+05:30 2007]
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    SerialNumber: [    45af96be]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 41 47 35 41 90 10 E3 77 A7 F3 F5 81 37 49 4F 57 AG5A...w....7IOW
    0010: 01 11 82 A2 FB 69 46 E8 18 6C EE 11 23 A6 67 2E .....iF..l..#.g.
    0020: 68 4D D6 A6 E7 09 45 24 58 18 9A E5 44 49 10 9B hM....E$X...DI..
    0030: F1 EC 99 4A 45 5F A4 4F 71 3F 05 3D 45 29 42 CD ...JE_.Oq?.=E)B.
    0040: 11 87 DA 0C AA DC 55 4E CF 22 4A 94 85 CB E5 EB ......UN."J.....
    0050: BA E1 10 D2 C8 80 2C 6B 65 94 13 01 1F 6E 18 C3 ......,ke....n..
    0060: 87 33 8C 65 C7 03 16 03 24 FB 0D B0 6D D8 E7 AA .3.e....$...m...
    0070: A1 A5 48 90 0D D6 8C 47 50 2A AA 7C 7B 14 E5 B7 ..H....GP*......
    trustStore is: F:\oc4jcert\client.keystore
    trustStore type is : jks
    init truststore
    adding as trusted cert:
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Algorithm: RSA; Serial number: 0x45af96be
    Valid from Thu Jan 18 21:18:14 GMT+05:30 2007 until Wed Apr 18 21:18:14 GMT+05:30 2007
    adding as trusted cert:
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Algorithm: RSA; Serial number: 0x45af95dc
    Valid from Thu Jan 18 21:14:28 GMT+05:30 2007 until Wed Apr 18 21:14:28 GMT+05:30 2007
    init context
    trigger seeding of SecureRandom
    done seeding SecureRandom
    %% No cached client session
    *** ClientHello, TLSv1
    RandomCookie: GMT: 1152299454 bytes = { 41, 212, 166, 48, 109, 77, 185, 232, 204, 95, 158, 141, 60, 96, 196, 172, 49, 19, 49, 22, 222, 234, 47, 76, 27, 130, 5, 176 }
    Session ID: {}
    Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
    Compression Methods: { 0 }
    main, WRITE: TLSv1 Handshake, length = 73
    main, WRITE: SSLv2 client hello message, length = 98
    main, READ: TLSv1 Handshake, length = 839
    *** ServerHello, TLSv1
    RandomCookie: GMT: 1152299454 bytes = { 206, 186, 162, 116, 179, 72, 44, 198, 189, 25, 70, 227, 170, 235, 83, 186, 152, 49, 194, 222, 248, 3, 191, 170, 248, 95, 134, 35 }
    Session ID: {69, 175, 178, 190, 47, 141, 131, 115, 241, 226, 39, 29, 241, 65, 235, 165, 57, 40, 52, 85, 68, 85, 68, 84, 108, 141, 1, 125, 193, 191, 158, 208}
    Cipher Suite: SSL_RSA_WITH_RC4_128_MD5
    Compression Method: 0
    %% Created: [Session-1, SSL_RSA_WITH_RC4_128_MD5]
    ** SSL_RSA_WITH_RC4_128_MD5
    *** Certificate chain
    chain [0] = [
    Version: V3
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    6f24d75b 96919725 ad6ea93a cab0bd96 a49d2f3c e14f5c09 0e228e36 de64e0f2
    f2b82740 1653bdb4 5024d281 21ed8c4c 89bc322b 4dc9ffb2 0e97cd95 16e6fe1e
    380340c9 f3c67e2c 18d06461 f4f30eaf 4394716e 7bc66d80 810a9cb5 9c168b36
    cdd99919 67074ebc edebf02e ebf0accb 2193bc38 7ae1cdda af5ff300 ed0e7763
    Validity: [From: Thu Jan 18 21:14:28 GMT+05:30 2007,
                   To: Wed Apr 18 21:14:28 GMT+05:30 2007]
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    SerialNumber: [    45af95dc]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 05 4E EE 12 5B DD 7F 26 92 37 67 C9 D0 73 46 4D .N..[..&.7g..sFM
    0010: 7E A5 1E 67 38 06 D9 5F 9F B7 2F E8 F6 9E BF 88 ...g8.._../.....
    0020: 01 31 7D EA 42 5E 4F 9E D7 8F DA 9F 94 A5 EF 47 .1..B^O........G
    0030: E3 E9 BA DE 94 15 C6 03 DE C9 C0 7D CE 58 C0 27 .............X.'
    0040: 0F 1A 66 EC 73 53 5D 1D DE 7E FA 35 15 E0 2A CC ..f.sS]....5..*.
    0050: C9 74 CC 58 E9 B6 2F 68 A0 89 2B F3 E6 61 7D E1 .t.X../h..+..a..
    0060: 21 AF BE E8 83 49 B1 BD 36 C5 2D 1B 0D A1 0E 63 !....I..6.-....c
    0070: 02 4A 82 71 B0 E1 9C AD 55 67 F9 17 A5 96 18 EB .J.q....Ug......
    Found trusted certificate:
    Version: V3
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    6f24d75b 96919725 ad6ea93a cab0bd96 a49d2f3c e14f5c09 0e228e36 de64e0f2
    f2b82740 1653bdb4 5024d281 21ed8c4c 89bc322b 4dc9ffb2 0e97cd95 16e6fe1e
    380340c9 f3c67e2c 18d06461 f4f30eaf 4394716e 7bc66d80 810a9cb5 9c168b36
    cdd99919 67074ebc edebf02e ebf0accb 2193bc38 7ae1cdda af5ff300 ed0e7763
    Validity: [From: Thu Jan 18 21:14:28 GMT+05:30 2007,
                   To: Wed Apr 18 21:14:28 GMT+05:30 2007]
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    SerialNumber: [    45af95dc]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 05 4E EE 12 5B DD 7F 26 92 37 67 C9 D0 73 46 4D .N..[..&.7g..sFM
    0010: 7E A5 1E 67 38 06 D9 5F 9F B7 2F E8 F6 9E BF 88 ...g8.._../.....
    0020: 01 31 7D EA 42 5E 4F 9E D7 8F DA 9F 94 A5 EF 47 .1..B^O........G
    0030: E3 E9 BA DE 94 15 C6 03 DE C9 C0 7D CE 58 C0 27 .............X.'
    0040: 0F 1A 66 EC 73 53 5D 1D DE 7E FA 35 15 E0 2A CC ..f.sS]....5..*.
    0050: C9 74 CC 58 E9 B6 2F 68 A0 89 2B F3 E6 61 7D E1 .t.X../h..+..a..
    0060: 21 AF BE E8 83 49 B1 BD 36 C5 2D 1B 0D A1 0E 63 !....I..6.-....c
    0070: 02 4A 82 71 B0 E1 9C AD 55 67 F9 17 A5 96 18 EB .J.q....Ug......
    *** CertificateRequest
    Cert Types: RSA, DSS,
    Cert Authorities:
    <CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US>
    *** ServerHelloDone
    matching alias: oracle-client
    *** Certificate chain
    chain [0] = [
    Version: V3
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    87fcc8e9 0ffcef8e 61f3be10 be7c9715 2792849b 3bbdeb1c cc76b337 4b82bbab
    86972c63 9af3adfd 35b5df99 9078a0d1 6dc760d8 0549a95a bfa7648a 9eadd326
    a6bc4b61 d8f8b42f 44e0b178 ff1dee20 db8406cd d800c26a 9c5a6ed9 4d6f2aef
    bc919814 3b46be39 e129280c e83afe12 c9d4e3d7 fb5787b1 d98bed4a 4f0833d5
    Validity: [From: Thu Jan 18 21:18:14 GMT+05:30 2007,
                   To: Wed Apr 18 21:18:14 GMT+05:30 2007]
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    SerialNumber: [    45af96be]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 41 47 35 41 90 10 E3 77 A7 F3 F5 81 37 49 4F 57 AG5A...w....7IOW
    0010: 01 11 82 A2 FB 69 46 E8 18 6C EE 11 23 A6 67 2E .....iF..l..#.g.
    0020: 68 4D D6 A6 E7 09 45 24 58 18 9A E5 44 49 10 9B hM....E$X...DI..
    0030: F1 EC 99 4A 45 5F A4 4F 71 3F 05 3D 45 29 42 CD ...JE_.Oq?.=E)B.
    0040: 11 87 DA 0C AA DC 55 4E CF 22 4A 94 85 CB E5 EB ......UN."J.....
    0050: BA E1 10 D2 C8 80 2C 6B 65 94 13 01 1F 6E 18 C3 ......,ke....n..
    0060: 87 33 8C 65 C7 03 16 03 24 FB 0D B0 6D D8 E7 AA .3.e....$...m...
    0070: A1 A5 48 90 0D D6 8C 47 50 2A AA 7C 7B 14 E5 B7 ..H....GP*......
    JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
    *** ClientKeyExchange, RSA PreMasterSecret, TLSv1
    Random Secret: { 3, 1, 236, 206, 185, 158, 75, 201, 230, 16, 170, 40, 193, 70, 188, 134, 36, 134, 14, 20, 191, 121, 246, 8, 7, 2, 137, 66, 166, 10, 185, 246, 104, 154, 27, 82, 161, 133, 11, 130, 11, 130, 71, 84, 155, 165, 239, 227 }
    main, WRITE: TLSv1 Handshake, length = 763
    SESSION KEYGEN:
    PreMaster Secret:
    0000: 03 01 EC CE B9 9E 4B C9 E6 10 AA 28 C1 46 BC 86 ......K....(.F..
    0010: 24 86 0E 14 BF 79 F6 08 07 02 89 42 A6 0A B9 F6 $....y.....B....
    0020: 68 9A 1B 52 A1 85 0B 82 0B 82 47 54 9B A5 EF E3 h..R......GT....
    CONNECTION KEYGEN:
    Client Nonce:
    0000: 45 AF B2 BE 29 D4 A6 30 6D 4D B9 E8 CC 5F 9E 8D E...)..0mM..._..
    0010: 3C 60 C4 AC 31 13 31 16 DE EA 2F 4C 1B 82 05 B0 <`..1.1.../L....
    Server Nonce:
    0000: 45 AF B2 BE CE BA A2 74 B3 48 2C C6 BD 19 46 E3 E......t.H,...F.
    0010: AA EB 53 BA 98 31 C2 DE F8 03 BF AA F8 5F 86 23 ..S..1......._.#
    Master Secret:
    0000: CA 5C BA B3 D0 C9 26 A9 3A 06 08 8F 27 2E CE 17 .\....&.:...'...
    0010: 93 98 BC DF EF 78 2A 99 DB 3E 50 3B 01 D1 84 5F .....x*..>P;..._
    0020: 28 80 CE 7C 7C C1 12 A4 11 F6 33 9B 2E D9 6F BE (.........3...o.
    Client MAC write Secret:
    0000: 80 FF CE 99 7C 45 4C D8 60 FA 40 79 A2 A4 36 7C .....EL.`[email protected].
    Server MAC write Secret:
    0000: 2D F1 A0 A8 ED A1 7B DD 89 A5 01 90 43 BF F1 19 -...........C...
    Client write key:
    0000: E1 3F 33 54 D3 C5 3A 26 4A 41 65 DA AC 44 3B 28 .?3T..:&JAe..D;(
    Server write key:
    0000: C5 08 52 AE A9 0A 4F D0 AD 54 49 C6 4E 2F 9C 4E ..R...O..TI.N/.N
    ... no IV for cipher
    JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
    *** CertificateVerify
    main, WRITE: TLSv1 Handshake, length = 134
    main, WRITE: TLSv1 Change Cipher Spec, length = 1
    main, handling exception: java.net.SocketException: Software caused connection abort: socket write error
    main, SEND TLSv1 ALERT: fatal, description = unexpected_message
    main, WRITE: TLSv1 Alert, length = 2
    Exception sending alert: java.net.SocketException: Software caused connection abort: socket write error
    main, called closeSocket()
    IOException in getSession(): java.net.SocketException: Software caused connection abort: socket write error
    Unable to obtain peer credentials
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
         at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain(DashoA12275)
         at SSLSocketClientWithClientAuth.main(SSLSocketClientWithClientAuth.java:56)
    Process exited with exit code -1.
    =====================================================
    I think this is the problem with ciphers. So can anybody please help me with this!!!. This is very urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Thanks in advance
    Nilesh

    Thanks for your prompt reply I was able to make it run. Actually I am using the same keystore and truststore at both the client and the server end. I added those properties in opmn.xml as startup parameters.
    I have another query I am using JDev to create a client proxy for my webservice that is deployed in OC4J. I have setup OC4J in 2 way SSL (mutual authentication)
    When I invoke my client proxy with these system properties set
    System.setProperty("javax.net.ssl.keyStore",keyStore);
    System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
    System.setProperty("javax.net.ssl.trustStore", trustStore);
    System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
    System.setProperty("javax.net.ssl.keyStoreType","JKS");
    System.setProperty("javax.net.ssl.trustStoreType","JKS");
    I get an exception in the log.xml which is
    <MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
                at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
                at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
                at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
                at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
                at java.lang.Thread.run(Thread.java:595)
    ]]></SUPPL_DETAIL>
    Isn't setting these properties enough for sending a client certificate. Please help!!!!
    Thanks,
    Nilesh.

  • Problem with embed font such us some character

    Hi  i have some problems with a font.
    I have this simple code.
    [CODE]
    package {
    import flash.text.AntiAliasType;
    import flash.text.TextFormat;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextField;
    import flash.text.Font;
    import flash.display.Sprite;
    [SWF(backgroundColor="#FFFFFF", frameRate="31", width="700", height="500")]
    public class ExampleEmbedFontKoz extends Sprite {
    private var mytextfield : TextField;
    private var format : TextFormat;
    public function ExampleEmbedFontKoz() {
    Font.registerFont(AssetManager.kozgopro);
    createText();
    private function createText() : void {
    mytextfield= new TextField();
    addChild(mytextfield);
    mytextfield.embedFonts= true;
    mytextfield.width= 400;
    mytextfield.border= true;
    mytextfield.autoSize= TextFieldAutoSize.LEFT;
    mytextfield.antiAliasType= AntiAliasType.ADVANCED;
    format= new TextFormat();
    format.font="KozGoPro-Regular";
    mytextfield.defaultTextFormat= format;
    mytextfield.text= "try embed KozgoPro and write puntualitation.\n i can't view this letters: è é ò à ù ì";
    [/CODE]
    AssetManager
    [CODE]
    package {
    public class AssetManager {
    [Embed(source="KozGoPro-Regular.otf", fontName="KozGoPro-Regular",mimeType="application/x-font", fontWeight="normal", fontStyle="normal" , unicodeRange="U+0021-U+007B,U+0400-U+04CE,U+2000-U+206F,U+20A0-U+20CF,U+2100-U+2183,U+002 0-U+002F,U+0030-U+0039,U+003A-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+00 7E")]
    public static  var kozgopro : Class;
    [/CODE]
    when i write character such us è ò à ì don't view nothing.
    I put file online... [url]http://depositfiles.com/en/rmv/6620791594111859[/url]

    Thank i added this range and now works...
    U+00E9,U+00E0,U+00EC,U+00ED,U+00F2,U+00F3,U+00DA,U+00FA,U+00F9
    this range are lettere è ò à +ù ì

  • Problems with import utility.

    Hello friends,
    I'm having very basic problems during a import process, I have to import a database from a .dmp file exported from someone else's system to my system. I don´t know the Oracle version that export was generated, but my Oracle version is 9.2.0.4.0. I´m having problems with PL/SQL triggers during process and errors like you can see below:
    IMP-00017: following statement failed with ORACLE error 20000:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '0030'; SREC.MAXVAL "
    ":= '0068006900730074006F007200690063'; SREC.EAVS := 0; SREC.CHVALS := NULL;"
    " SREC.NOVALS := DBMS_STATS.NUMARRAY(973555660975280000000000000000000,21094"
    "03095248890000000000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SR"
    "EC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"BI_INV_CDISSC"','"LQM_SEQ_N"
    "UM"', NULL ,NULL,NULL,4,.25,0,srec,15,0); END;"
    IMP-00003: ORACLE error 20000 encountered
    ORA-20000: Unable to set values for column LQM_SEQ_NUM: does not exist or insufficient privileges
    ORA-06512: at "SYS.DBMS_STATS", line 3325
    ORA-06512: at "SYS.DBMS_STATS", line 3483
    ORA-06512: at line 1
    IMP-00058: ORACLE error 904 encountered
    ORA-00904: "LQM_SEQ_NUM": invalid identifier
    IMP-00017: following statement failed with ORACLE error 20000:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '0030'; SREC.MAXVAL "
    ":= '0068006900730074006F007200690063'; SREC.EAVS := 0; SREC.CHVALS := NULL;"
    " SREC.NOVALS := DBMS_STATS.NUMARRAY(973555660975280000000000000000000,21094"
    "03095248890000000000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SR"
    "EC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"BI_INV_CDISSC"','"LQM_BATCH"
    "_ID"', NULL ,NULL,NULL,26,.0384615384615385,0,srec,16,0); END;"
    IMP-00003: ORACLE error 20000 encountered
    ORA-20000: Unable to set values for column LQM_BATCH_ID: does not exist or insufficient privileges
    ORA-06512: at "SYS.DBMS_STATS", line 3325
    ORA-06512: at "SYS.DBMS_STATS", line 3483
    ORA-06512: at line 1
    Can you guess?
    Thanks in advance,
    Marcello.

    Hi
    One of the metalink note suggested trying STATISTICS=RECALCULATE in your import parameter.
    Read more about it and try it.
    Hope it helps.
    Rgds
    Adnan

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • Problem with threads running javaw

    Hi,
    Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
    troy.

    troy,
    Try and post a minimum code sample of your app which
    does not work.
    When using javaw, make sure you redirect the standard
    error and standard output streams to file.
    Graeme.Hi Graeme,
    I dont understand what you mean by redirection to file? some of my code below.
    The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
    public class Server{
    ServerSocket aServerSocket;
    Socket dianosticsSocket;
    Socket nPortExpress;
    ClientListener aClientListener;
    LinkedList queue = new LinkedList();
    int port = 0;
    int clientPort = 0;
    String clientName = null;
    boolean serverAlive = true;
    * Server constructor generates a server
    * Socket and then starts a client threads.
    * @param aPort      socket port of local machine.
    public Server(int aPort, String aClientName, int aClientPort){
    port = aPort;
    clientName = aClientName;
    clientPort = aClientPort;
    try{
    // create a new thread
    aServerSocket = new ServerSocket(port) ;
    // connect to the nPortExpress
    aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
    // aClientListener.setDaemon(true);
    aClientListener.start();
    // start a dianostic port
    DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
    // System.out.println("Server is running on port " + port + "...");
    // System.out.println("Connect to nPort");
    catch(Exception e)
    // System.out.println("ERROR: Server port " + port + " not available");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
    serverAlive = false;
    System.exit(1);
    while(serverAlive&&aClientListener.hostSocket.isConnected()){
    try{
    // connect the client
    Socket aClient = aServerSocket.accept();
    //System.out.println("open client connection");
    //System.out.println("client local: "+ aClient.getLocalAddress().toString());
    // System.out.println("client localport: "+ aClient.getLocalPort());
    // System.out.println("client : "+ aClient.getInetAddress().toString());
    // System.out.println("client port: "+ aClient.getLocalPort());
    // make a new client thread
    ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
    // start thread
    clientThread.start();
    catch(Exception e)
    //System.out.println("ERROR: Client connection failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
    }// end while
    } // end constructor Server
    void serverExit(){
         JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
         System.exit(1);
    }// end class Server
    *** connect to another server
    public class ClientListener extends Thread{
    InetAddress hostName;
    int hostPort;
    Socket hostSocket;
    BufferedReader in;
    PrintWriter out;
    boolean loggedIn;
    LinkedList queue;      // reference to Server queue
    Server serverRef; // reference to main server
    * ClientListener connects to the host server.
    * @param aHostName is the name of the host eg server name or IP address.
    * @param aHostPort is a port number of the host.
    * @param aLoginName is the users login name.
    public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer)      // reference to Server queue)
    hostName = aHostName;
    hostPort = aHostPort;
    queue = aQueue;
    serverRef = aServer;      
    // connect to the server
    try{
    hostSocket = new Socket(hostName, hostPort);
    catch(IOException e){
    //System.out.println("ERROR: Connection Host Failed");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);     
    System.exit(0);
    } // end constructor ClientListener
    ** multi client connection server
    ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
    queue = aQueue;
    addToQueue(this);
    client = aSocket;
    clientRef = aClientListener;
    aDiagnostic = diagnostics;
    } // end constructor ClientWorker
    * run method is the main loop of the server program
    * in change of handle new client connection as well
    * as handle all messages and errors.
    public void run(){
    boolean alive = true;
    String aSubString = "";
    in = null;
    out = null;
    loginName = "";
    loggedIn = false;
    while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
    try{
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
    if(aDiagnostic){
    out.println("WELCOME to diagnostics");
    broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    out.println("WELCOME to Troy's Server");
    broadCastDia("Connect : client "+client.getInetAddress().toString());
         out.flush();
    String line;
    while(((line = in.readLine())!= null)){
    StringTokenizer aStringToken = new StringTokenizer(line, " ");
    if(!aDiagnostic){
    broadCastDia(line);
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    else{
    if(line.equals("GETIPS"))
    getIPs();
    else{
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    } // end while
    catch(Exception e){
    // System.out.println("ERROR:Client Connection reset");
                             JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);     
    try{
    if(aDiagnostic){
    broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    broadCastDia("Disconnect : client "+client.getInetAddress().toString());
         out.flush();
    // close the buffers and connection;
    in.close();
    out.close();
    client.close();
    // System.out.println("out");
    // remove from list
    removeThreadQueue(this);
    alive = false;
    catch(Exception e){
    // System.out.println("ERROR: Client Connection reset failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);     
    }// end while
    } // end method run
    * method run - Generates io stream for communicating with the server and
    * starts the client gui. Run also parses the input commands from the server.
    public void run(){
    boolean alive = true;
    try{
    // begin to life the gui
    // aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
    // aGuiClient.show();
    in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
    while (alive && hostSocket.isConnected()){
    String line;
    while(((line = in.readLine())!= null)){
    System.out.println(line);
    broadCast(line);
    } // end while
    } // end while
    catch(Exception e){
    //     System.out.println("ERRORa Connection to host reset");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
    try{
    hostSocket.close();
         }catch(Exception a){
         JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
    alive = false;
    System.exit(1);
    } // end method run

  • Problem with threads and camera.

    Hi everybody!
    I've a problem with taking snapshot.
    I would like to display a loading screen after it take snapshot ( sometimes i
    have to wait few seconds after i took snapshot. Propably photo is being taken in time where i have to wait).
    I was trying to use threads but i didn't succeed.
    I made this code:
    display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while((!performing.isShown()) && (backgroundCamera.isShown())){
                        Thread.yield();
                    notifyAll();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        this.wait();                   
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();This code is sometimes showing performing screen but sometimes no.
    I don't know why. In my opinion performing.isShown() method isn't working correctly.
    Does anyone have some idea how to use threads here?

    Hi,
    I've finally managed to work this fine.
    The code:
           Object o = new Object();
           display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while(!performing.isShown()){
                        Thread.yield();
                   synchronized(o) {
                      o.notify();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        synchronized(o) {
                           o.wait(1);
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();

  • Problem with threads hanging

    We have a problem where our application stops responding after a few days of usage. Things will for fine for a day or two, and then pretty quickly threads will start getting hung up, usually in places where they are allocating memory
    We are running WebLogic 8.1 SP2 on Sun JDK 1.4.2_04 on Solaris 8 using the alternate threading model and the -server hotspot vm. We are running pretty much the same code that we had no problems with under WebLogic 6.1 SP4 and Sun JDK 1.3.1.
    A thread dump usually shows that some or all of our execute threads are in the state "waiting for monitor entry" even though they are not currently waiting on any java locks. Here is a sample thread from the thread dump (we have ~120 threads so I don't want to post the full dump).
    =============================================================================================
    "ExecuteThread: '8' for queue: 'itgCrmWarExecutionQueue'" daemon prio=5 tid=0x005941d0 nid=0x2c waiting for monitor entry [c807f000..c807fc28]
    at java.lang.String.substring(String.java:1446)
    at java.lang.String.substring(String.java:1411)
    at weblogic.servlet.internal.ServletRequestImpl.getRelativeUri(ServletRequestImpl.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3492)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    =============================================================================================
    String.java line 1446 for this jdk allocates a new String object, and all the other threads in this state also are creating new objects or arrays, etc.
    We've done a pstack on this process when it's in this state, and the threads that are in the "waiting for monitor entry" that look like they're allocating memory are all waiting on the same lwp_mutex_lock with some allocation method that's calling into the native TwoGenerationCollectorPolicy.mem_allocate_work (see pstack output below for the same thread as in the thread dump above)
    =============================================================================================
    ----------------- lwp# 44 / thread# 44 --------------------
    ff31f364 lwp_mutex_lock (e3d70)
    fee92384 __1cNObjectMonitorGenter26MpnGThread__v_ (5000, 525c, 5000, 50dc, 4800, 4af0) + 2d8
    fee324d4 __1cSObjectSynchronizerKfast_enter6FnGHandle_pnJBasicLock_pnGThread__v_ (c807f65c, c807f7d4, 5941d0, 0, 35d654, fee328ec) + 68
    fee32954 __1cQinstanceRefKlassZacquire_pending_list_lock6FpnJBasicLock__v_ (c807f7d4, ff170000, d4680000, 4491d4, fee1bc2c,
    0) + 78
    fee3167c __1cPVM_GC_OperationNdoit_prologue6M_i_ (c807f7bc, 4400, ff170000, 2d2b8, 4a6268, c807fa18) + 38
    fee2e0b0 __1cIVMThreadHexecute6FpnMVM_Operation__v_ (c807f7bc, 963a8, 0, 0, 1, 0) + 90
    fed2c2a4 __1cbCTwoGenerationCollectorPolicyRmem_allocate_work6MIii_pnIHeapWord__ (962c0, ff1c29ec, ff1c297c, ff131a26, 4800, 4998) + 160
    fed22940 __1cNinstanceKlassRallocate_instance6MpnGThread__pnPinstanceOopDesc__ (ee009020, 5941d0, 15ca581, 3647f0, 4a6268, c807f8c8) + 180
    fed34928 __1cLOptoRuntimeFnew_C6FpnMklassOopDesc_pnKJavaThread__v_ (ee009018, 5941d0, 0, 0, 0, 0) + 28
    fa435a58 ???????? (ee009018, e86de, 15ca4de, 50dc, 5941d0, c807f9c8)
    fb36f9a4 ???????? (0, d412ccd8, ee046c28, ff170000, 0, 0)
    fad8b278 ???????? (ee046c28, d6000c90, ee046530, 8, db8e8450, c807f9e8)
    fad62abc ???????? (d412ccd8, ee046530, d6000c90, ee3bfa38, 8, c807fa18)
    fa4b3c38 ???????? (c807fb9c, 0, f2134700, fa415e50, 8, c807faa8)
    fa40010c ???????? (c807fc28, c807fe90, a, ee9e1e20, 4, c807fb40)
    fed5d48c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (c807fe88, c807fcf0, c807fda8, 5941d0, 5941d0, c807fd00) + 27c
    fee4b784 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ (ff170000, 594778, c807fd9c, c807fd98, c807fda8, 5941d0) + 164
    fee5e8dc __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (c807fe88, c807fe84, c807fe7c, c807fe74, c807fe6c, 5941d0) + 6c
    fee6fc74 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (5941d0, 5941d0, 838588, 594778, 306d10, fee69254) + 128
    fee6927c __1cKJavaThreadDrun6M_v_ (5941d0, 2c, 40, 0, 40, 0) + 284
    fee6575c _start   (5941d0, fa1a1600, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Also when it's having this problem, the "VM Thread" is always using a lot of processor time. We did a couple of pstacks today while it was having this problem, and this thread was stuck in the ONMethodSweeper.sweep for over 15 minutes when we finally killed the server.
    From the thread dump:
    "VM Thread" prio=5 tid=0x000e2d20 nid=0x2 runnable
    From the first pstack:
    =============================================================================================
    ----------------- lwp# 2 / thread# 2 --------------------
    fed40c04 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (42a2f4, fa5fa46d, ffffffff, fc4ffcb8, 42a2f4, 42a324) + 124
    fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (42a2f0, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
    fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (fa5f7f88, fa608940, 1, 0, fa400000, 6) + 1ac
    fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
    fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
    feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
    feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
    fee6575c _start   (e2d20, ff270200, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Second pstack
    =============================================================================================
    ----------------- lwp# 2 / thread# 2 --------------------
    fed41180 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (0, ff1b9664, ffffffff, fc4ffcb8, a6f2cc, fc4ffbd0) + 6a0
    fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (a6f2c8, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
    fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (faded4c8, fadf2c80, 1, 0, fa400000, 6) + 1ac
    fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
    fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
    feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
    feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
    fee6575c _start   (e2d20, ff270200, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Has anyone ever seen anything like this? I'm trying to figure out if this is caused by something we're doing, or something relating to our environment and jvm options. Any ideas?

    Thanks for the reply - I'm testing our app with the +UseConcMarkSweepGC now in our test environment to make sure it doesn't cause any problems there.  Unfortunately the only place we've had this problem is on the production server, so it's extra difficult debugging this. 
    We're using the following memory options:
    -ms512m -mx512m -XX:NewSize=128m -XX:PermSize=192m -XX:MaxNewSize=128m -XX:MaxPermSize=192m -XX:SurvivorRatio=8and the following debugging options, as we've also been seeing OutOfMemoryErrors ( see http://forum.java.sun.com/thread.jsp?forum=37&thread=522354&tstart=45&trange=15 )
    -verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGCBTW, which c++filt version and options are you using? Our Solaris boxes only seem to have the GNU version installed. I was trying to run that on some of the other stack traces and wasn't getting anywhere, and didn't know if because it was GNU version wouldn't work on something compiled with the Sun compiler.
    Thanks!
    --Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem with threads and ProgressMonitor

    Dear Friends:
    I have a little problem with a thread and a ProgressMonitor. I have a long time process that runs in a thread (the thread is in an separate class). The thread has a ProgressMonitor that works fine and shows the tasks progress.
    But I need deactivate the main class(the main class is the user interface) until the thread ends.
    I use something like this:
    LongTask myTask=new LongTask();
    myTask.start();
    myTask.join();
    Now, the main class waits for the task to end, but the progress monitor don`t works fine: it shows only the dialog but not the progress bar.
    What's wrong?

    Is the dialog a modal dialog? This can block other UI updates.
    In general, you should make sure that it isn't modal, and that your workThread has a fairly low priority so that the UI can do its updating

  • Problem with threads and/or memory

    I'm developing an application where there are 3 threads. One of them sends a request to the other, and if the 2nd can't answer it, it sends it to the 3rd (similar to CPU -> CACHE -> MEMORY). When i run the program with 1000-10.000 requests, no problem occurs. When i run it with 300.000-1.000.000 requests, it sometimes hangs. Is this a problem with the garbage collector, or should it be related to the threads mecanism.
    (note: eache thread is in execution using a finite state machine)

    i had been running the program inside Netbeans.
    Running the jar using the command line outside
    Netbeans i have no more problems... Does Netbeans use
    it's own JVM?Depends how you set it up, but look under the options. There are settings for the compiler and jvm that it uses.

  • Installation problem with NW'04 SR1: database connection failed

    Hi all,
    while installing NW '04 SR1 on Windows Server 2003 SP1 and MS SQL Server 2000 SP4 I ran into an error related to the database connection. While performing the step "Load Java Database content" SAPinst crashes with the message
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    The connection to the SLQ Server with e.g. the Query Analyzer is OK. I had a problem with this installation setup before (have a look at the corresponding <a href="https://forums.sdn.sap.com/thread.jspa?threadID=338638&tstart=0">thread</a> ), the JDBC drivers where missing on the installation master but after copying them in the right direction the installation went on with no problem up to this point...
    Has anybody an idea what could have happened here? Is this maybe a problem connected to the one I recently had
    Below I attached the sapinst.log and jload.log with more detailed messages.
    sapinst.log ###########
    INFO 2007-03-12 22:06:24
    Working directory changed to C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST.
    INFO 2007-03-12 22:06:24
    Output of D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' is written to the logfile C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST/jload.java.log.
    WARNING 2007-03-12 22:06:26
    Execution of the command "D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'" finished with return code 1. Output:
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    12.03.2007 22:06:25 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.2007 22:06:26 com.sap.inst.jload.Jload main
    SCHWERWIEGEND: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    ERROR 2007-03-12 22:06:26
    CJS-20065  Execution of JLoad tool 'D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' and 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.java.log' for more information.
    jload.log ###########
    12.03.07 22:06 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.07 22:06 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    Best regards,
    Bernd

    Hello Kairat,
    Please follow the below mentioned guide to install it.
    Check all the parameters to set and run pre requisite checker before starting installation.
    Keep in mind that before starting any SAP installation you should always run prerequisite checker.
    https://websmp205.sap-ag.de/instguides --> SAP Netweaver -->SAP Netweaver 7.0 -- > Installations --> EHP2
    Regards,
    Amit Barnawal

  • My app store wont let me download apps, says the card is expired and theres a problem with previous purchase can someone help me pls?

    My app store wont let me download apps, asks me to update my payment details then says theres a problem with previous purchase and card is expired which is untrue someone help me pls

    This is a User to User Forum...
    See Here for
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

  • Problem with item and/or data during page-processing-PS/SQL

    Greetings!
    On my page I have a custom report (from 2 tables) and a small form-field, that adds and edits data in the report. After generating the form with the wizard I added an extra item, to store the id from one of the tables from the report data.
    Now, on submit a calculation should take place, that updates data according user input with a procedure in Page-Prosseses:
    declare a number;
    begin
    case :PLATZ
    when 1 then a:=100;
    when 2 then a:= 50;
    else a:=25;
    end case;
    update TBL_MITGLIEDER set TURNIERPUNKTE = TURNIERPUNKTE + a
    where ID_MITGL = :P14_ID_MITGL;
    end;
    :PLATZ is user selected (1,2,3), :P14_ID_MITGL stores the reference to TBL_MITGLIEDER (and shows the change, when I select another record)
    As I understand, that process should also run, when I submit a chance, but nothing happens then.
    But when I try to save a new record (which worked without any problems before adding that process), I get this error message:
    ORA-06550: line 1, column 64: PL/SQL: ORA-00957: duplicate column name ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
         Error      Unable to process row of table TBL_TURNIERSIEGER.
    Then, when I go back into the app-builder and try to run the page again, I get this message:
    ORA-01403: no data found
         Error      Unable to fetch row.
    I am not sure, if you guys have all the information you need, to know whats going on. Maybe this has to do with session-id and the whay, items are updated. I hope you can help me.
    Thanks, best regards,
    tobi

    First can you please post all log file errors
    >> I can't really give you a solution or specific recommendation since I did not saw this error yet myself, but on your own risk you can try:
    1. You may try to just register 'dts.dll' using regsvr32.exe, but this error may indicate a bigger problem with setup.
    If you are running SQL Server 64bit then try running this at the command prompt: %windir%\syswow64\regsvr32 "%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\dts.dll"
    2. You can try reinstall from start (In this case you have to make sure that you un-install all)
    [Personal Site] [Blog] [Facebook]

Maybe you are looking for