CXF
  1. CXF
  2. CXF-4263

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: 2.4.7
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      windows xp or win7,weblogic9.2,sun jdk1.50_04 or jrockit1.50_04

    • Estimated Complexity:
      Unknown
    • CXF Fields:
      Blocked on External

      Description

      [ERROR] IOException during exec() of compiler "E:\bea\JDK150~1\jre\..\bin\javac.
      exe". Check your path environment variable.
      2012-4-24 9:10:09 org.apache.cxf.endpoint.dynamic.DynamicClientFactory createCli
      ent
      严重: Could not compile java files for http://localhost:7001/webroot/webservices
      /HelloWorld?wsdl

      when Running code "Runtime.getRuntime().exec(cmdArray)" errors. only in weblogic it is wrong!

        Activity

        Hide
        Freeman Fang added a comment -

        Hi,

        You really should post this kind of question on CXF mailing list first but not create a jira issue directly.

        Back to your problem, this looks like your env JAVA_HOME of weblogic point to a jre but not a jdk, so that can't find javac during runtime, as you use DynamicClientFactory, it need compile java src code so need javac during runtime.

        Freeman

        Show
        Freeman Fang added a comment - Hi, You really should post this kind of question on CXF mailing list first but not create a jira issue directly. Back to your problem, this looks like your env JAVA_HOME of weblogic point to a jre but not a jdk, so that can't find javac during runtime, as you use DynamicClientFactory, it need compile java src code so need javac during runtime. Freeman

          People

          • Assignee:
            Freeman Fang
            Reporter:
            huanqiuwang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development