WLW 8.1 - Cannot use exported_build.xml outside of Workshop with Ant (Doc ID 773844.1)

Last updated on AUGUST 16, 2016

Applies to:

Oracle Workshop for Weblogic - Version: 8.1 to 8.1
Information in this document applies to any platform.
Information in this document applies to any platform

Goal

When trying to call Ant (-verbose) from the <WLS 8.1 install dir>/server/bin directory with the
exported_build.xml file generated from WebLogic Workshop 8.1, following errors show up:
Override ignored for property beahome.local.directory
Override ignored for property platformhome.local.directory
Override ignored for property app.local.directory
Override ignored for property project.local.directory
Override ignored for property appname
Override ignored for property webappname
Override ignored for property webappcontextroot
Override ignored for property webappuri
Override ignored for property servername
Override ignored for property domainroot
Trying to override old definition of task webappbuild
Trying to override old definition of task webappclean
Build sequence for target `clean' is [clean]
Complete build sequence is [clean, build]

clean:
[webappbuild] Compiling webapp-level sources...
[webappbuild] test_DefaultAppWeb\error.jsp
[webappbuild] test_DefaultAppWeb\index.jsp
[webappbuild] test_DefaultAppWeb\resources\jsp\header.jsp
[webappbuild] test_DefaultAppWeb\resources\jsp\template.jsp
[webappbuild] test_DefaultAppWeb\controls\test_dbcontrol.jcx
[webappbuild] ERROR
[webappbuild] DESCRIPTION: Can't find implementation class for controls.test_dbcontrol
[webappbuild] SUGGESTION: You may be missing a web logic component such as WLI.
[webappbuild] ERROR
[webappbuild] DESCRIPTION: The V1 controls do not support direct dispatch of requests. A JBC-based
control must be used to support invocation in a top-level (non-nested) execution context.
[webappbuild] test_DefaultAppWeb\com\bea\wlw\runtime\core\control\EventControl.jcx
[webappbuild] ERROR
[webappbuild] DESCRIPTION: An I/O Exception occurred while attempting to write the deployment
descriptors for Enterprise Java Beans. Error: Production rule file '/com/bea/wlw/runtime/core/bean/codegen
/ejb-jar.template' not found.
[webappbuild] ERROR
[webappbuild] DESCRIPTION: An unexpected exception occurred while attempting to locate the run-time
information for this Web Service. Error: java.lang.NullPointerException:null
[webappbuild] SUGGESTION: An unexpected error occurred. Please contact support@bea.com for further assistance.
[webappbuild] test_DefaultAppWeb\weblogic\jws\control\TimerControl.jcx
[webappbuild] ERROR
[webappbuild] DESCRIPTION: Can't find implementation class for weblogic.jws.control.TimerControl
[webappbuild] SUGGESTION: You may be missing a web logic component such as WLI.
[webappbuild] ERROR
[webappbuild] DESCRIPTION: The V1 controls do not support direct dispatch of requests. A JBC-based
control must be used to support invocation in a top-level (non-nested) execution context.
[webappbuild] test_DefaultAppWeb\com\bea\wlw\runtime\core\control\jmscontrol\MDBListener.jcx
[webappbuild] ERROR
[webappbuild] DESCRIPTION: The V1 controls do not support direct dispatch of requests. A JBC-based
control must be used to support invocation in a top-level (non-nested) execution context.
[webappbuild] ERROR
[webappbuild] DESCRIPTION: An unexpected exception occurred while attempting to locate the run-time
information for this Web Service. Error: java.lang.NullPointerException:null
[webappbuild] SUGGESTION: An unexpected error occurred. Please contact support@bea.com for further
assistance.
[webappbuild] ERROR
[webappbuild] DESCRIPTION: An unexpected exception occurred while attempting to locate the run-time
information for this Web Service. Error: java.lang.NullPointerException:null
[webappbuild] SUGGESTION: An unexpected error occurred. Please contact support@bea.com for further
assistance.
[webappbuild] ERROR
[webappbuild] DESCRIPTION: An unexpected exception occurred while attempting to locate the run-time
information for this Web Service. Error: java.lang.NullPointerException:null
[webappbuild] SUGGESTION: An unexpected error occurred. Please contact support@bea.com for further
assistance.
...
or the error:
Build sequence for target `clean' is [clean]
Complete build sequence is [clean, build]

clean:
[webappbuild] Compiling webapp source files...
[webappbuild] error.jsp
[webappbuild] index.jsp
[webappbuild] resources\\jsp\\header.jsp
[webappbuild] resources\\jsp\\template.jsp
[webappbuild] Untitled.jws
UNCAUGHT EXCEPTION IN JAVELIN COMPILER!
---------------------------------------
File a pri-1 bug on knex-compilerthread: Exclusive Thread
error: com/bea/xml/XmlException
stack:
java.lang.NoClassDefFoundError: com/bea/xml/XmlException
at com.bea.wlw.runtime.jws.compiler.CompatSchemaBuilder.<init>(CompatSchemaBuilder.java:46)
at com.bea.wlw.runtime.jws.compiler.WSInfo.createSchemaBuilder(WSInfo.java:660)
at com.bea.wlw.runtime.jws.compiler.WSInfo.startWsdl(WSInfo.java:356)
at com.bea.wlw.runtime.jws.compiler.JwsChecker.check(JwsChecker.java:134)
at javelin.java.JavaChecker.checkEntity(JavaChecker.java:1316)
at javelin.java.JavaChecker.checkClassDeclaration(JavaChecker.java:325)
at javelin.java.JavaChecker.checkClassDeclaration(JavaChecker.java:293)
at javelin.java.JavaChecker.check(JavaChecker.java:181)
at javelin.work.WorkCheck.checkNode(WorkCheck.java:94)
at javelin.work.WorkCheck.check(WorkCheck.java:76)
at javelin.work.WorkCheck.run(WorkCheck.java:65)
at javelin.threading.WorkList.runItem(WorkList.java:500)
at javelin.threading.WorkItem.ensureComplete(WorkItem.java:103)
at javelin.work.WorkCompile.run(WorkCompile.java:65)
at javelin.threading.WorkList.runItem(WorkList.java:500)
at javelin.threading.WorkItem.ensureComplete(WorkItem.java:166)
at javelin.work.WorkCompileFiles.compile(WorkCompileFiles.java:319)
at javelin.work.WorkCompileFiles.compile(WorkCompileFiles.java:287)
at javelin.work.WorkCompileFiles.recompile(WorkCompileFiles.java:258)
at javelin.work.WorkCompileFiles.compileFromInitialState(WorkCompileFiles.java:192)
at javelin.work.WorkCompileFiles.run(WorkCompileFiles.java:143)
at javelin.threading.WorkList$ExclusiveThread.run(WorkList.java:333)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms