aspose file tools*
The moose likes BEA/Weblogic and the fly likes Issue in migrating Weblogc 10.3 to Weblogic 10.3.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Issue in migrating Weblogc 10.3 to Weblogic 10.3.2" Watch "Issue in migrating Weblogc 10.3 to Weblogic 10.3.2" New topic
Author

Issue in migrating Weblogc 10.3 to Weblogic 10.3.2

Nithyaraj Veeramani
Greenhorn

Joined: May 19, 2011
Posts: 2
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

Joined: Oct 29, 2001
Posts: 8713
    
    6

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Nithyaraj Veeramani
Greenhorn

Joined: May 19, 2011
Posts: 2
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 !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue in migrating Weblogc 10.3 to Weblogic 10.3.2
 
Similar Threads
javax.xml.rpc.soap. SOAPFaultException , unrecognized operation
Could not parse hibernate.cfg.xml
How to using Hibernate with in Axis2 web services
Folder class Path
WLS - wldeploy