Computing.Net > Forums > Windows NT > CreateProcess: DB2cmd.exe problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

CreateProcess: DB2cmd.exe problem

Reply to Message Icon

Name: teamj92
Date: September 24, 2003 at 12:40:39 Pacific
OS: WidnowsNT
CPU/Ram: ?
Comment:

I am executing a java class within a .bat file and that java class uses DB2 tables. Here is the .bat file. The problem is that when this executes it opens a db2cmd window to execute and connects to the database but I then get the error "java.io.IOException: CreateProcess: DB2cmd.exe" any ideas?

echo "Connecting to the PLCAPRPS database..."
db2cmd db2 "CONNECT TO PLCAPRPS"

set CurrDir=.\
path=%CurrDir%;c:\path=.\;c:\Program Files\IBM\Application Developer\jre\bin

set classpath=%CurrDir%;c:\xml4j.jar;c:\Program%20Files\IBM\Application%20Developer\workspace\Eagle\webApplicati on\WEB-INF\classes;c:\WebSphere\AppServer\lib\xalan.jar;c:\WebSphere\AppServer\lib\xerces.jar;c:\Program%20F iles\IBM\Application%20Developer\workspace\Eagle\webApplication\WEB-INF\lib\jms.jar;c:\Program%20Files\IBM\A pplication%20Developer\workspace\Eagle\webApplication\WEB-INF\lib\cm.jar;c:\Program%20Files\IBM\Application% 20Developer\plugins\com.ibm.etools.dtdparser\runtime\dtdparser.jar;c:\Documents%20and%20Settings\All%20Users .WINNT\Documents\DrWatson;F:\


java com.plca.preprocessor.PurgeDB2Files

pause



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: CreateProcess: DB2cmd.exe problem

The dw.exe problem www.computing.net/answers/windows-nt/the-dwexe-problem/19029.html

'Mdac.exe' problems www.computing.net/answers/windows-nt/mdacexe-problems/6321.html

.exe problem on XP after blaster www.computing.net/answers/windows-nt/exe-problem-on-xp-after-blaster/21525.html