Getting error code exitVal = p.waitFor(); as 2 ,during SQLLOADER Call Dynam
Hi Friends,
This is regarding the problem being faced at my client in production environment. our code is calling the SQLLOADER ,sequentially,the below code is working fine for 4 files and returning the
int exitVal = p.waitFor(); as 2 whihe is expected.(Note p is process)
But giving exitVal = p.waitFor(); as zero and coming out from normal execution.(We have verified the file it is correct and working fine in UAT)
Below is the sample code:
connectString is the dynamic string used for calling sqlloader
***********************Sample Code*************************************
p=r.exec(connectString);
System.out.println("abc1");
java.io.InputStream is = p.getInputStream();
System.out.println("abc2");
java.io.InputStreamReader isr = new java.io.InputStreamReader(is);
System.out.println("abc3");
java.io.BufferedReader br = new java.io.BufferedReader(isr);
System.out.println("abc4");
java.io.OutputStream os = p.getOutputStream();
java.io.OutputStreamWriter osw = new java.io.OutputStreamWriter(os);
java.io.BufferedWriter bw = new java.io.BufferedWriter(osw);
//String line = null;
bw.write(password);
System.out.println("abcd5");
bw.newLine();
bw.flush();
String line = null;
while ( (line = br.readLine()) != null);
System.out.println("abc6");
int exitVal = p.waitFor();
System.out.println("abc6");
System.out.println("Process exitValue: " + exitVal);
Our current environment:
java - version of production environment........Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit)
Application server/web server : iplanet 5
OS: SOLARIS 5.8(117000-03)
Database ORACLE 8i
Could someone please help in in resolving this issue??
Note : this is critical production issue ,so you can use my mail Id, [email protected] for any update.
Thanks for your favour.
Thanks & Regards
Ranjan SIngh
Message was edited by:
RanjanNucleussoftware
Message was edited by:
RanjanNucleussoftware
Hi Friends,
This is regarding the problem being faced at my client in production environment. our code is calling the SQLLOADER ,sequentially,the below code is working fine for 4 files and returning the
int exitVal = p.waitFor(); as 2 whihe is expected.(Note p is process)
But giving exitVal = p.waitFor(); as zero and coming out from normal execution.(We have verified the file it is correct and working fine in UAT)
Below is the sample code:
connectString is the dynamic string used for calling sqlloader
***********************Sample Code*************************************
p=r.exec(connectString);
System.out.println("abc1");
java.io.InputStream is = p.getInputStream();
System.out.println("abc2");
java.io.InputStreamReader isr = new java.io.InputStreamReader(is);
System.out.println("abc3");
java.io.BufferedReader br = new java.io.BufferedReader(isr);
System.out.println("abc4");
java.io.OutputStream os = p.getOutputStream();
java.io.OutputStreamWriter osw = new java.io.OutputStreamWriter(os);
java.io.BufferedWriter bw = new java.io.BufferedWriter(osw);
//String line = null;
bw.write(password);
System.out.println("abcd5");
bw.newLine();
bw.flush();
String line = null;
while ( (line = br.readLine()) != null);
System.out.println("abc6");
int exitVal = p.waitFor();
System.out.println("abc6");
System.out.println("Process exitValue: " + exitVal);
Our current environment:
java - version of production environment........Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit)
Application server/web server : iplanet 5
OS: SOLARIS 5.8(117000-03)
Database ORACLE 8i
Could someone please help in in resolving this issue??
Note : this is critical production issue ,so you can use my mail Id, [email protected] for any update.
Thanks for your favour.
Thanks & Regards
Ranjan SIngh
Message was edited by:
RanjanNucleussoftware
Message was edited by:
RanjanNucleussoftware
Similar Messages
-
While activating a request in DSO getting error code 10
While activating a request in DSO getting error code 10
Hi All,
I am trying to load data into Billing: Condition Data (0SD_O06) using 2LIS_13_VDKON. First while loading data I am getting error
Record 8778 :InfoObject SOLD_TO does not contain alpa-conforming value 100000 which I changed manually in PSA maintenence and tried to load data again and now I am getting an error (Error 10 in the update) ID:RSAR No119.
I have checked the formula in Transformation and it works fine. Still I am not able to load data.
Please help.
Thanks and regards
Vishal PardeshiCheck the log for the request from the manage screen of the DSO, it will be there next to the monitor button.
Otherwise you can check the error from the monitor screen of the request in Details tab.
Veerendra. -
I've tried everything. Cloud Cleaner, removed all Adobe products from computer, ran in Administrator Deleted everything still get error code 1 noting in all the troubleshoots have helped.
Error Code 1: "Failed to install" | Creative Cloud Desktop :
https://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html -
When I try to open Photoshop CS6 I get "Error Code 16"
When I try to open Photoshop CS6 I get "Error Code 16"
I have researched Internet - ADOBE and others - to find a solution, but no luck! (see under)
The problem started around one year ago but I was able to open Bridge and go to Photoshop from there until recently.
Now I get "Error Code 16" in Bridge too when I am trying to go to Photoshop.
I have tried everything I could think of (including creating a new Administrator-user) with help from my Internet research and my own pretty good experience (I started working with computer systems as a Systems Analysts 1968...... - now it is only PCs)
I miss my Photoshop and Bridge a lot - it is very frustrating to have this problem, but I can see I am not the only one!!!
I also have these Adobe products:
Adobe Photoshop
1045-1297-1724-5553-8938-xxxx
Adobe InDesign
1037-1476-0290-3491-8464-xxxx
Adobe Audition
1137-1169-5106-2253-7226-xxxx
Adobe Photoshop
1045-1007-5934-1160-3319-xxxx
Adobe Photoshop Elements
1057-4535-7945-2468-2014-xxxx
and some more.
I am grateful for all help.
/// Björn Andrén - [email protected] (member ID)
=======================================================================
Configuration error 16 when you start a Creative Cloud (CC) or Creative Suite (CS) application
https://helpx.adobe.com/x-productkb/policy-pricing/configuration-error-cs5.html
========================================================================
Adobe CC/CS6 - Error 16 and no SLStore or PCD File
https://forums.adobe.com/message/7157810
https://forums.adobe.com/thread/1243845?tstart=0
=========================================================================
How to Erase an Adobe Registration File
http://smallbusiness.chron.com/erase-adobe-registration-file-45714.html
=========================================================================
Why can't I open Photoshop CS6? Missing Adobe PCD and SLstore folders!?
https://answers.yahoo.com/question/index?qid=20130608085953AAuWzEA
========================================================================
Issue with getting an Error code '16' if trying to install Adobe Photoshop CS5
http://thedailybuggle.com/forum/issue-getting-error-code-16-if-trying-install-adobe-photos hop-cs5-66.html
========================================================================
Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
Mon Feb 09 17:24:22 2015] ---------------------------------------------------------
[Mon Feb 09 17:24:22 2015] *=*=*=*=*=*=*=*=* :: Start Session :: *=*=*=*=*=*=*=*=*=*
[Mon Feb 09 17:24:22 2015] ---------------------------------------------------------
[Mon Feb 09 17:24:22 2015] Win OS Version: 6.1
[Mon Feb 09 17:24:22 2015] Cleaner Tool version : 2.0.0.0
[Mon Feb 09 17:24:22 2015] Cleanup source directory : C:\Program Files (x86)\Common Files\Adobe\AdobeCreativeCloudCleanerTool
[Mon Feb 09 17:24:22 2015] [AdobeProgramFiles] : C:\Program Files (x86)\Adobe
[Mon Feb 09 17:24:22 2015] [AdobeProgramFiles_x64] : C:\Program Files\Adobe
[Mon Feb 09 17:24:22 2015] [AdobeCommon] : C:\Program Files (x86)\Common Files\Adobe
[Mon Feb 09 17:24:22 2015] [AdobeCommon_x64] : C:\Program Files\Common Files\Adobe
[Mon Feb 09 17:24:22 2015] [UserRoamingAppData] : C:\Users\BEAR2\AppData\Roaming
[Mon Feb 09 17:24:22 2015] [UserLocalAppData] : C:\Users\BEAR2\AppData\Local
[Mon Feb 09 17:24:22 2015] [StartMenu] : C:\ProgramData\Microsoft\Windows\Start Menu\Programs
[Mon Feb 09 17:24:22 2015] [System32Folder] : C:\Windows\system32
[Mon Feb 09 17:24:22 2015] [SharedApplicationData] : C:\ProgramData
[Mon Feb 09 17:24:28 2015] Language selected: English
[Mon Feb 09 17:24:28 2015] Displaying the Adobe End User License Agreement
ADOBE
Gen_WWCombined-en_US-20121017_1230
[Mon Feb 09 17:24:28 2015] Please enter (y) for Yes or (n) for No. ... >>
[Mon Feb 09 17:24:38 2015] Choose from one of the following options to clean up :
[Mon Feb 09 17:24:38 2015] 1. All
[Mon Feb 09 17:24:38 2015] 2. Adobe Flash Player 10.2
[Mon Feb 09 17:24:38 2015] 3. Creative Cloud 2014 , Creative Cloud & CS6 Products
[Mon Feb 09 17:24:38 2015] 4. Creative Cloud 2014 only
[Mon Feb 09 17:24:38 2015] 5. Creative Cloud only
[Mon Feb 09 17:24:38 2015] 6. CS6 only
[Mon Feb 09 17:24:38 2015] 7. CS5-CS5.5-CS6
[Mon Feb 09 17:24:38 2015] 8. CS5-CS5.5
[Mon Feb 09 17:24:38 2015] 9. CS3, CS4
[Mon Feb 09 17:24:38 2015] 10. Adobe Id credentials
[Mon Feb 09 17:24:38 2015] 11. Quit
[Mon Feb 09 17:24:38 2015] Choice :>
[Mon Feb 09 17:24:44 2015] User selected: CS6 Only
[Mon Feb 09 17:24:44 2015] Executed the command : call copy /Y "C:\Program Files (x86)\Common Files\Adobe\caps\pdb.db" "C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444\pdb.db"
[Mon Feb 09 17:24:44 2015] Executed the command : call copy /Y "C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db" "C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444\Media_db.db"
[Mon Feb 09 17:24:44 2015] Opened DB connection with path: C:\Program Files (x86)\Common Files\Adobe\caps\pdb.db
[Mon Feb 09 17:24:44 2015] DB does not exist at: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
[Mon Feb 09 17:24:44 2015] List of products installed on this machine
[Mon Feb 09 17:24:44 2015] Listing products for cleanup:
[Mon Feb 09 17:24:44 2015] Please enter the option number of the product you wish to remove; enter (q) to quit ... >>
[Mon Feb 09 17:25:02 2015] response 1
[Mon Feb 09 17:25:02 2015] Are you sure you want to clean all the listed products and associated files?
[Mon Feb 09 17:25:02 2015] Type (y) to confirm and remove or (n) to quit ... >>
[Mon Feb 09 17:25:07 2015] Please wait for Adobe Creative Cloud Cleaner Tool to finish........
[Mon Feb 09 17:25:07 2015] User selected: 'Clean All'
[Mon Feb 09 17:25:07 2015] *-*-*-*-*-*-* Start removing product : ALL *-*-*-*-*-*-*
[Mon Feb 09 17:25:07 2015] *-*-*-*-*-*-* Finished removing product : ALL *-*-*-*-*-*-*
[Mon Feb 09 17:25:07 2015] Action : Deleting the C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444 folder as there is no product deleted.
[Mon Feb 09 17:25:07 2015] LOG FILE SAVED TO: C:\Users\BEAR2\AppData\Local\Temp\Adobe Creative Cloud Cleaner Tool.log
[Mon Feb 09 17:25:07 2015] Adobe Creative Cloud Cleaner Tool completed successfully
[Mon Feb 09 17:25:07 2015]
[Mon Feb 09 17:25:07 2015] *-*-*-*-*-*- ::START:: - SUMMARY OF Warnings -*-*-*-*-*-*
[Mon Feb 09 17:24:44 2015] DB does not exist at: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
[Mon Feb 09 17:25:07 2015] *-*-*-*-*-*- :: END :: - SUMMARY OF Warnings -*-*-*-*-*-*
[Mon Feb 09 17:25:07 2015] ---------------------------------------------------------
[Mon Feb 09 17:25:07 2015] *=*=*=*=*=*=*=*=* :: End Session :: *=*=*=*=*=*=*=*=*=*=*
[Mon Feb 09 17:25:07 2015] ---------------------------------------------------------
[Mon Feb 09 17:28:53 2015] ---------------------------------------------------------
[Mon Feb 09 17:28:53 2015] *=*=*=*=*=*=*=*=* :: Start Session :: *=*=*=*=*=*=*=*=*=*
[Mon Feb 09 17:28:53 2015] ---------------------------------------------------------
[Mon Feb 09 17:28:53 2015] Win OS Version: 6.1
[Mon Feb 09 17:28:53 2015] Cleaner Tool version : 2.0.0.0
[Mon Feb 09 17:28:53 2015] Cleanup source directory : C:\Program Files (x86)\Common Files\Adobe\AdobeCreativeCloudCleanerTool
[Mon Feb 09 17:28:53 2015] [AdobeProgramFiles] : C:\Program Files (x86)\Adobe
[Mon Feb 09 17:28:53 2015] [AdobeProgramFiles_x64] : C:\Program Files\Adobe
================================================================================
OS Name Microsoft Windows 7 Professional
Version 6.1.7601 Service Pack 1 Build 7601
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name BEAR-PC
System Manufacturer System manufacturer
System Model System Product Name
System Type x64-based PC
Processor Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. 0801, 2011-08-15
SMBIOS Version 2.6
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "6.1.7601.17514"
User Name BEAR-PC\BEAR2
Time Zone Eastern Standard Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 16.0 GB
Available Physical Memory 12.1 GB
Total Virtual Memory 31.9 GB
Available Virtual Memory 28.1 GB
Page File Space 16.0 GB
Page File C:\pagefile.sysRun the cleaner tool and reinstall.
Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
Download CS6 products
Mylenium -
i can't burn cd's in iTunes anymore. I get error code 4450 when I'm trying to burn a playlist. Songs from my own cd's, or bought in iTunes (have not burned 7x's as I can't BURN any cd's at all!), Then my cd gets stuck in the drive. and it says "cancelling burn" forever and then itunes freezes up. I have a Dell with Windows 7.
-I've slowed down the burn as slow as it can go
-I have bought 3 different brands of cd's
-i have the latest version of iTunes.
Can someone help me?I have Windows 7 on a Dell. Open and play iTunes in the compatability mode and use Windows XP (service pack 2). Disregard any messsages to disable the compability mode. This has worked for me. I have also reinstalled iTunes and played with burn speeds etc. These ideas did not work. Compatability mode works.
-
TS3694 i keep getting error code 3194 i just want update to5.1.1 on my ipad help
i keep getting error code 3194 i just want update to5.1.1 on my ipad help
Here you go: http://lmgtfy.com/?q=iphone+error+3194
-
Hi, I got my Mac in 2009 with photoshop elements on it - it's recently been wiped, however before the process we put Photoshop onto a hard drive, we then copied it back over and it no longer works, I'm getting error code 150:30 and I'm being asked for a password... any ideas how to get it working again?
You can never, never migrate an installed copy of PSE. It's just too complex and you can't get to all the bits and bobs.
First you will have to download and run this:
Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
which will not seem to do anything, but is necessary to break the links within PSE so that you can pitch the bits manually. Then you will have to go around, not only to applications, but also to your username>library>preferences and most importantly to the library at the top level of your hard drive>application support>adobe, and remove everything you can find. Spotlight will not help with this kind of search, so don't try that.
Then you can install PSE from scratch. -
I have a LV 8.5 VI that controls only an agilent spectum analyzer. The agilent VIs call DLLs rather than SCPI commands. I created an application and an installer to load on a non LV machine and ran setup which was successful. When I run the EXE I get "error code 3: Could not load front panel" for each of my agilent spectrum analyzer VIs. I have to click "OK" about ten times, once for each VI. (My executable runs fine on all machines that have labview 8.5) The front panel does load with a broken arrow. The errors listed when the arrow is clicked for all of the Agilent VIs state: Missing subVI AGE444xInitialize.VI (or close.VI or read.VI etc.)
There is an AGE444x32.DLL in the data folder with the EXE file so I included as support both the DLL and all of the agilent drivers in the application build. Still no luck. I have built the application and installer about 6 times in various forms. I NEED AIR SUPPORT.
Unfortunately I do not have access to the internet at my jobsite so bear with me.
RobHi V-rob,
I'm glad to hear the executable is working now that NI-VISA is installed. Thanks for posting the solution!
Jennifer R.
National Instruments
Applications Engineer -
Hello,
I am trying to execute a SSIS package from SQL Server 2008 R2 stored procedure but getting error code 1 (as per my knowledge, error code description is as below:
0 The package executed successfully.
1 The package failed.
3 The package was canceled by the user.
4 The utility was unable to locate the requested package. The package could not be found.
5 The utility was unable to load the requested package. The package could not be loaded.
6 The utility encountered an internal error of syntactic or semantic errors in the command line.
Details:
I have a stored procedure named "Execute_SSIS_Package" (see below sp) which executes 'Import_EMS_Response' SSIS package (when I execute this package directly from SQL Server BID it works fine it means package itself is correct) and calling
it from SQL as:- EXEC Execute_SSIS_Package 'Import_EMS_Response'.
Here I receives error code 1.
Can anyone help me to resolve this issue please?
Thanks in advance!
CREATE PROCEDURE [dbo].[Execute_SSIS_Package]
@strPackage nvarchar(100)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
DECLARE @cmd VARCHAR(8000)
DECLARE @Result int
DECLARE @Environment VARCHAR(100)
SELECT @Environment = Waarde
FROM Sys_Settings
WHERE Optie = 'Omgeving'
--print @Environment
SET @strPackage = '"\W2250_NGSQLSERVER\BVT\' + @Environment + '\' + @strPackage + '"'
SET @cmd = 'dtexec /SQL ' + @strPackage + ' /SERVER "w2250\NGSQLSERVER" /Decrypt "BVT_SSIS" /CHECKPOINTING OFF /REPORTING E'
--print @cmd
EXECUTE @Result = master..xp_cmdshell @cmd, NO_OUTPUT
--print @Result
ENDIt has something to do with the security.
E.g. cmdshell is not enabled or the caller has not rights over the package.
There could be a syntax error, too.
I suggest you make the package runnable off a SQL Agent job then trigger the job from the stored proc with
sp_start_job <job name>
Arthur
MyBlog
Twitter -
I cannot install Adobe Air into my Samsung Tab3. I get error code "-24"
I need Adobe Air on my Samsung Tab3 tablet to run vital programs. I cannot install the app -- I get error code "-24". Many others are reporting the same issue. Is there a fix for this, or is one coming? I will have to change devices if not
http://www.adobe.com/inspire-archive/august2010/articles/article1/index.html?trackingid=HR TDI
http://www.adobe.com/devnet/air/air_for_android.html
https://play.google.com/store/apps/details?id=com.adobe.air
That last one is the one you probably already tried. -
i'm getting error code 1202 when i try to log on to the itunes store using windows vista
http://support.apple.com/kb/TS1368
-
When I try to empty trash, I get error code -8003 what does it mean?
When I try to empty the trash on my imac I get error code -8003 and a message saying This operation can't be completed because an unexpected error occured. Then it gives me the option to STOP or CONTINUE. If I STOP, then it stops. If I CONTINUE, it stops anyway.
Read this.
-
I cannot empty my tarsh and keep getting (error code -8003). Is there any way to override it and get ride of my trash?
Greetings,
If you dragged items from a TimeMachine backup drive to the trash then that is most likely the cause of the issue. Do not move files from the TimeMachine backup into the trash (http://support.apple.com/kb/HT1427).
If your backup drive only contains a timemachine backup then you will want to reformat that drive:
http://support.apple.com/kb/TS1600
Keep in mind that before you reformat the backup drive that you remove any files you wish to keep to your computer.
Cheers. -
With PRE 8 when I try toExport & burn a DVD, I get error code 150:30
With PRE 8 when I try to Export & burn a DVD, I get error code 150:30
What is wrong?
Thanks, Tom
My Laptop is
Dell Studio 17 Laptop PCS17HN
Windows 7 Home Premium
Processor Intel® Core™ i7-720QM Quad Core Processor 1.6GHz
6GB, DDR3, 1333MHz, 2 DIMM
(2) 500 GB Dual SATA Hard Drive (7200rpm) - lots space available
1GB ATI Mobility Radeon™ HD 4650v + TV Tuner
17.3” HD+ (900p) Bright LED Display with TrueLife™ and Camera/Facial Recognition SW
Dell Wireless 365 Bluetooth Internal (2.1) [$20.00]
8X DVD+/-RW Dual Layer Drive8X DVD+/-RW Dual Layer Drive
+ Roxio Easy CD & DVD Burning - Enhanced Burn/Authoring
Soundblaster X-Fi Hi Def Audio - Software EnabledPlease work through the troubleshooting steps in the FAQs to the right of this forum.
http://forums.adobe.com/thread/415318?tstart=30
If you'll tell us in as much detail as possible the results of each step, we'll likely be able to diagnose your problem and recommend solutions. -
I previously downloaded the AI 30 day trial but was able to use it before the trial ran out I've since deleted it from my laptop (Windows 7 64 bit OS) How do I get it back? Trying to download AI again and getting error code 3 some thing to do with administration permissions?
If your intention is to use the trial again it will not reset if you reinstall. It will remain in its ran out state.
Maybe you are looking for
-
A205-5809 - I cannot bring up the Control Panel or do a System Restore
Hello. I am the Chairman of our church fundraiser and I have inherited a laptop from the previous Chairman. I am not used to working on a Toshiba and really not used to working with Vista. When I first got the computer I downloaded Microsoft Office H
-
Date format in HANA Stored procedure
Hi Experts, I would like to change the format from 'YYYY-MM-DD HH24:MI:SS.FF7' to 'DD.MM.YYYY' format. ( Because my target will accept only this format ) How to do the same? do we have any standard functions which it converts to mentioned format. Lik
-
Oracle 9.2 setup.exe won't run on P3 with Win2K SP3
Hi, everyone: We had difficulty in installing Oracle 9.2 onto our Dell P3 Latitude C800 laptop running Win2K Professional with SP3. As many of you already reported, after double clicking "setup.exe", it won't run and nothing happened. We tried to run
-
Hiding an application when logging in
I have setup my system to mount my Buffalo NAS device at boot up. Each time it displays the volume even though I checked "Hide" in the Accounts section under system preferences. Is there a way to have a silent mount or background mount so only the ic
-
Não consigo escrever no photoshop
Baixei o photoshop cc e toda vez que vou digitar um texto a tela fica preta e não consigo ver o que estou escrevendo