Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4387

when I run a "webapp" of CXF in weblogic9.2, it has some errors.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.12
    • Fix Version/s: 2.4.9, 2.5.5, 2.6.2, 2.7
    • Component/s: JAX-WS Runtime
    • Labels:
    • Environment:

      windows xp , weblogic9.2

    • Estimated Complexity:
      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

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Yue Fang
              Reporter:
              wanghuanqiu@neusoft.com huanqiuwang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: