File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue in migrating Weblogc 10.3 to Weblogic 10.3.2

 
Nithyaraj Veeramani
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch. I changed the title of your post. We ask that you Ease Up and don't use words like "Urgent" because every one here at the Ranch hopes their question is answered quickly.
As for your question, the error says:

Have you looked at the EJBC documentation and your build script?
We have a Weblogic-specific forum here, so I'll move your question there.
 
Nithyaraj Veeramani
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic