Hello,

I've been banging my head against the wall on this one. Hopefully
someone can point me in a direction. I apologize in advance for the
length of the post, but I don't want to leave out what could be an
important detail. 

I've got an application that runs within WebLogic that we use to build
applications using Ant. It's an NT box running W2K, WebLogic 5.1.0 (as
a service) Ant1.4.1, and Java1.3.1_02.
The app has a JSP interface that allows the user to choose a specific
build, update some configurable properties, and fire off the build.
Everything has been running fine, until this weekend. The box has been
warm-booted (Ctrl+Alt+Del) in the past, but this weekend it was
cold-booted due to a power shutdown. Also, Tivoli software (endpoint)
was installed on the box. In other words, something in the environment
changed.
The problem that I'm experiencing is if I use fork=yes attribute with
javac task, I get the following error:

.
.
.
--- Nested Exception ---
java.io.IOException: CreateProcess: javac -d
D:\BuildMeister\Kevin\classes -classpath
D:\BuildMeister\Kevin\classes;D:\BuildMeister\Kevin\lib\jakarta-regexp-1.1.jar;D:\bea\wlserver6.1\lib\weblogic.jar
-sourcepath D:\BuildMeister\Kevin\java -g:none
@d:\weblogic5\jikes-7259966342106650854 error=2
at java.lang.Win32Process.create(Native Method)
.
.
.

If I don't use fork=yes, everything is fine. If I don't run the server
as a service, and run it from a command prompt, everything runs fine
whether or not I use fork=yes. I updated a copy of Execute to dump out
what values it had:

.
.
.
(messages from the javac task)
KHT - In the exec method of Java13CommandLauncher
Execute:Java13CommandLauncher: javac -d D:\BuildMeister\Kevin\classes
-classpath
D:\BuildMeister\Kevin\classes;D:\BuildMeister\Kevin\lib\jakarta-regexp-1.1.jar;D:\bea\wlserver6.1\lib\weblogic.jar
-sourcepath D:\BuildMeister\Kevin\java -g:none
@d:\weblogic5\jikes-7259966342106650854
KHT - cmd [0] = javac
KHT - cmd [1] = -d
KHT - cmd [2] = D:\BuildMeister\Kevin\classes
KHT - cmd [3] = -classpath
KHT - cmd [4] =
D:\BuildMeister\Kevin\classes;D:\BuildMeister\Kevin\lib\jakarta-regexp-1.1.jar;D:\bea\wlserver6.1\lib\weblogic.jar
KHT - cmd [5] = -sourcepath
KHT - cmd [6] = D:\BuildMeister\Kevin\java
KHT - cmd [7] = -g:none
KHT - cmd [8] = @d:\weblogic5\jikes-7259966342106650854
KHT - env is null
KHT - working dir = D:\BuildMeister\Kevin
KHT - Caught an InvocationTargetException
KHT - realexc is instanceof IOException


I know it's creating the jikes-7259966342106650854 file because I see
it in the directory. I tried putting a shortcut to javac in the working
directory, but no luck.

Any ideas?

Thanks for any help,
Kevin

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to