Nithyaraj Veeramani

Greenhorn
+ Follow
since May 19, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nithyaraj Veeramani

Hi,

We are using the build script for building the EAR file. The same script was working for Weblogic 10.3.

We are trying to migrate Weblogic 10.3.2 , during the build time we are getting this issues.

Kindly help on this !
7 years ago
Hi Team,

We are trying to migrate one of the appliucation from weblogic 10.3 to weblogic 10.3.2 . During the build we are getting the below mentioned error.

[ejbc] C:\GBOM Source\build.xml:351: java.io.IOException: Cannot run progra
m "C:\Program Files\Java\jdk1.6.0_24\jre\bin\java.exe": CreateProcess error=87,
The parameter is incorrect[ejbc] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:791)
[ejbc] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:211)

[ejbc] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)

[ejbc] at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeployment
Tool.buildWeblogicJar(WeblogicDeploymentTool.java:634)
[ejbc] at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeployment
Tool.writeJar(WeblogicDeploymentTool.java:665)
[ejbc] at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentT
ool.processDescriptor(GenericDeploymentTool.java:458)
[ejbc] at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(Ejb
Jar.java:606)
[ejbc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[ejbc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[ejbc] at java.lang.reflect.Method.invoke(Method.java:597)
[ejbc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[ejbc] at org.apache.tools.ant.Task.perform(Task.java:348)
[ejbc] at org.apache.tools.ant.Target.execute(Target.java:357)
[ejbc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[ejbc] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1337)
[ejbc] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:38)
[ejbc] at org.apache.tools.ant.Project.executeTargets(Project.java:1189
)
[ejbc] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[ejbc] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
ava:105)
[ejbc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[ejbc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[ejbc] at java.lang.reflect.Method.invoke(Method.java:597)
[ejbc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[ejbc] at org.apache.tools.ant.Task.perform(Task.java:348)
[ejbc] at org.apache.tools.ant.Target.execute(Target.java:357)
[ejbc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[ejbc] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1337)
[ejbc] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

[ejbc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:41)
[ejbc] at org.apache.tools.ant.Project.executeTargets(Project.java:1189
)
[ejbc] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[ejbc] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[ejbc] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[ejbc] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[ejbc] Caused by: java.io.IOException: Cannot run program "C:\Program Files
\Java\jdk1.6.0_24\jre\bin\java.exe": CreateProcess error=87, The parameter is in
correct
[ejbc] at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
[ejbc] at java.lang.Runtime.exec(Runtime.java:593)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[ejbc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[ejbc] at java.lang.reflect.Method.invoke(Method.java:597)
[ejbc] at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.e
xec(Execute.java:832)
[ejbc] at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:447
)
[ejbc] at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:46
1)
[ejbc] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:784)
[ejbc] ... 37 more
[ejbc] Caused by: java.io.IOException: CreateProcess error=87, The paramete
r is incorrect
[ejbc] at java.lang.ProcessImpl.create(Native Method)
[ejbc] at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
[ejbc] at java.lang.ProcessImpl.start(ProcessImpl.java:30)
[ejbc] at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
[ejbc] ... 46 more
[ejbc] --- Nested Exception ---
[ejbc] java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.
6.0_24\jre\bin\java.exe": CreateProcess error=87, The parameter is incorrect
[ejbc] at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
[ejbc] at java.lang.Runtime.exec(Runtime.java:593)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[ejbc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[ejbc] at java.lang.reflect.Method.invoke(Method.java:597)
[ejbc] at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.e
xec(Execute.java:832)
[ejbc] at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:447
)
[ejbc] at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:46
1)
[ejbc] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:784)
[ejbc] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:211)

[ejbc] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)

[ejbc] at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeployment
Tool.buildWeblogicJar(WeblogicDeploymentTool.java:634)
[ejbc] at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeployment
Tool.writeJar(WeblogicDeploymentTool.java:665)
[ejbc] at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentT
ool.processDescriptor(GenericDeploymentTool.java:458)
[ejbc] at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(Ejb
Jar.java:606)
[ejbc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[ejbc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[ejbc] at java.lang.reflect.Method.invoke(Method.java:597)
[ejbc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[ejbc] at org.apache.tools.ant.Task.perform(Task.java:348)
[ejbc] at org.apache.tools.ant.Target.execute(Target.java:357)
[ejbc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[ejbc] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1337)
[ejbc] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:38)
[ejbc] at org.apache.tools.ant.Project.executeTargets(Project.java:1189
)
[ejbc] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[ejbc] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
ava:105)
[ejbc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[ejbc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[ejbc] at java.lang.reflect.Method.invoke(Method.java:597)
[ejbc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[ejbc] at org.apache.tools.ant.Task.perform(Task.java:348)
[ejbc] at org.apache.tools.ant.Target.execute(Target.java:357)
[ejbc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[ejbc] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1337)
[ejbc] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

[ejbc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:41)
[ejbc] at org.apache.tools.ant.Project.executeTargets(Project.java:1189
)
[ejbc] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[ejbc] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[ejbc] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[ejbc] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[ejbc] Caused by: java.io.IOException: CreateProcess error=87, The paramete
r is incorrect
[ejbc] at java.lang.ProcessImpl.create(Native Method)
[ejbc] at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
[ejbc] at java.lang.ProcessImpl.start(ProcessImpl.java:30)
[ejbc] at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
[ejbc] ... 46 more

BUILD FAILED
C:\GBOM Source\build.xml:413: The following error occurred while executing this
line:
C:\GBOM Source\build.xml:351: Exception while calling weblogic.ejbc. Details: Ej
bc reported an error

Total time: 31 seconds
7 years ago