Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.12
-
windows xp , weblogic9.2
-
Advanced
Description
I have found the reason of the problem and I hope you can correct it.
It's my Code;
JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
Client client = factory.createClient("wsdl");
[error]:IOException during exec() of compiler "javac". Check your path environment variable
javax.xml.bind.JAXBException: "" doesnt contain ObjectFactory.class or index
The errors are result from code that is " p = Runtime.getRuntime().exec(cmdArray)" in the class of "compiler.class" whose method is "internalCompile ";
The real reason is the commond ---"cmdArray" is so long.
when the commond is in Windows xp ,the length of bat commond is limited.
so when it executes the commond ,the commond is not integrated.
I hope you can issue the "-classpath" in "cmdArray" ,it's too long.
Other Environment work well.
In weblogic the classpath of weblogic is big ,it results in "cmdArray" that is long.
I am sorry that my English is not well.
Thank you