Schema Export Build Script
Hi all.
I am running on 10g and need to be able to export a schema in the form of a build script. I have tried SQL Developer but some of the tables are missing in the script.
Does anyone know how I can achieve this?
Any help Appreciated
You can go for exporting a schema using Oracle Data Pump while setting the parameter CONTENT=METADATA_ONLY.
This way, all objects owned by a schema without any data will be exported to a dump file
Regards
Similar Messages
-
Build error for weblogic 10.3 exported build scripts
Hi,
Im getting the following build error on my production server:
[mdimport] Can't find a beehive home, disabling APT for project:
BUILD FAILED
/apps/opt/ccm/build_mgr/VSRMSCB,int/VSRMSCB/src/BanStatusWorkspace/BanStatusEAR/build.xml:101: The following error occurred while executing this line:
jar:file:/apps/opt/ccm/build_mgr/VSRMSCB,int/VSRMSCB/build/bin/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:115: The following error occurred while executing this line:
/apps/opt/ccm/build_mgr/VSRMSCB,int/VSRMSCB/src/BanStatusWorkspace/BanStatusEAR/build.xml:111: The following error occurred while executing this line:
/apps/opt/ccm/build_mgr/VSRMSCB,int/VSRMSCB/src/BanStatusWorkspace/BanStatusControls/build.xml:90: java.lang.NullPointerException
I tried to debug the build.xml. The following tag is throeing errror
<mdimport workspace="${workspace}" pjdir="${project.dir}" echo="${echo.metadata}">
<!-- The WebLogic Portal home directory for the project.
Set wlp.home when executing the build to override this value.
-->
<option name="wlp.home" value="/apps/opt/weblogic/weblogic103/portal"/>
</mdimport>
Tried to set wlp.home through env properties.. didnt work
it works fine locally..
Any help much appreciated
Edited by: user11169010 on Jan 20, 2010 10:18 AMchk this
Re: build errors using Ant
1. If you are working from the user_projects directory, add the following to the properties section of the build xml "<property name="weblogic.jar.classpath" value="../../../../wlserver_10.3/server/lib"/>". Other wise set the value parameter to the full directory path of the wlserver_10.3 server lib directory.
2. Within each taskdef element, add the following child element
<classpath>
<path id="weblogic.classpath" >
<pathelement path="WEBLOGIC_HOME"/>
<fileset dir="${weblogic.jar.classpath}">
<include name="weblogic.jar"/>
</fileset>
</path>
</classpath>
3. Save and run ant task from your project directory. -
Error in Ant APT task when using exported WLP 10.3 Ant build scripts
Hi -
I'm trying to run the exported ANT build scripts for a default portal web app from the command line (either a windows shell or a cygwin shell) and I get the following error on both occasions :
c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:122: Apt task requires Java 1.5+
More details :
$ ant -v -Dworkspace=C:\\BEA\\Workspaces\\PortalTutorials\\workspace.xml
Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: build.xml
Detected Java version: 1.6 in: c:\BEA_10.3\jdk160_05\jre
Detected OS: Windows XP
parsing buildfile c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml with URI = file:/c:/BEA/Projects/PortalTutorials/tutorial-portal-web/build.xml
Project base dir set to: c:\BEA\Projects\PortalTutorials\tutorial-portal-web
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
Build sequence for target(s) `build' is [init.env, check.params, check.versions, init.typedefs, init, build]
Complete build sequence is [init.env, check.params, check.versions, init.typedefs, init, build, stage, archive, clean, clean.all, assemble, generated.root.init, assembly, stage.to.ear, ]
init.env:
[property] Loading Environment env.
check.params:
Property "env.WORKSHOP_WORKSPACE" has not been set
check.versions:
init.typedefs:
[echo] Using Workshop Libraries located in the "C:\BEA\Workspaces\PortalTutorials\workshop-lib" directory.
parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml
parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml
Trying to override old definition of task apt
[macrodef] creating macro structselector
[presetdef] defining preset resolve
[macrodef] creating macro for-each-java-src-path
[macrodef] creating macro for-each-resource-path
[macrodef] creating macro for-each-referenced-component
[macrodef] creating macro for-each-referenced-project
[macrodef] creating macro for-each-project-in-build-order
parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-wls-antlib.jar!/com/bea/workshop/wls/antlib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-wls-antlib.jar!/com/bea/workshop/wls/antlib/antlib.xml
Trying to override old definition of task jspc
init:
Property "patch.home" has not been set
build:
[mkdir] Skipping c:\BEA\Projects\PortalTutorials\tutorial-portal-web\.apt_src because it already exists.
[available] Found: src\main\java
[mkdir] Skipping c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build\classes because it already exists.
[apt] [web.content.root]|[c:\BEA\Projects\PortalTutorials\tutorial-portal-web/src/main/webapp]
[apt] [web.source.roots]|[c:\BEA\Projects\PortalTutorials\tutorial-portal-web/src/main/java]
BUILD FAILED
c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:106: The following error occurred while executing this line:
jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:54: The following error occurred while executing this line:
c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:122: Apt task requires Java 1.5+
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
I tried using a lower JDK 1.5.x - but that failed as well (complaining that 1.6 was needed).
Any help will be appreciated.
Rgds/DeepakHi,
Have you find a solution for this problem?
I have exactly the same one. I must build my web-services with some dependence compiled on java 1.6 so I need to use the APT task with a java 1.6 but the problem "Apt task requires Java 1.5+" appear.
Thanks in advance for your answer. -
Export & import of sap sid schema for building a new system
Hi,
We have a quality BW system which runs on HANA SPS07 (Revision 73). The database contains many schemas in addition to sap<sid>, the rest of the schemas are used through native HANA and are very huge.
We are planning to build a new test BW system by system copy method from quality BW systems. We dont want the export/import of entire database as it will take a long time because of huge native HANA schemas, also the schemas other than sap<sid> are not required in the target. Please let me know how to copy only the sap<sid> schema to the new database.
Thanks & Regards,
SaravananHi Saravanan,
Try with rigth clic on schema -> Export,
Select CSV format, choose a directory.
And for import the schema use the follow query:
import "old_schema"."*" as CSV from 'Directory' with replace threads 10 rename schema "old_schema" to "NEW_schema_name";
Regards.
Ferando. -
Hi,
I am trying to use the exported ant script from wls workshop for building the process application.But i am using IBM JDK 1.4.2 in AIX 5.2 box.
IBM has disintegrated the rt.jar by SUN into a number of other jar files.When i run the ant script, i have a problem like,
<b>classpath error:unable to find required rt.jar</b>
error and the build fails with
<b>noClassDefFoundError:org.apache/crimson/tree/XmlDocument</b>
I tried adding <b>rt.jar</b> into the classpath forcibly but it did not work out.
The ear file is built and packaged but the build fails.+
Do we have a fix for this either by bea or IBM?
Thanks,
VijayHi
This is a known issue addressed by CR205204
As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
Thanks
Vimala -
Problem with exported ant build scripts of a WebService Project
Hi All,
My current task is a migration of working application (from Weblogic 8.1 to Weblogic 10.2).
We have several independent projects and an EAR type of project in the workshop.
When running ant from the command line, I am getting the following build error:
BUILD FAILED
D:\HPRA2\Services\BuildScripts\build.xml:388: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:125: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
his line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:125: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
his line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
... 12 more
Caused by: D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
his line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
... 21 more
Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
his line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
... 29 more
Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing
this line:
jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
his line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:380)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
... 37 more
Caused by: jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while
executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:380)
at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
... 45 more
Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing
this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:408)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
... 55 more
Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing t
his line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:408)
at com.bea.workshop.cmdline.antlib.AntCallExTask.execute(AntCallExTask.java:118)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:406)
... 69 more
Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing t
his line:
D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:406)
... 77 more
Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:181)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
... 85 more
Caused by: java.lang.NullPointerException
at weblogic.wsee.tools.jws.decl.WebTypeDecl.getTargetNamespace(WebTypeDecl.java:213)
at weblogic.wsee.tools.jws.decl.WebTypeDecl.<init>(WebTypeDecl.java:84)
at weblogic.wsee.tools.jws.decl.WebResultDecl.<init>(WebResultDecl.java:22)
at weblogic.wsee.tools.jws.decl.WebMethodDecl.<init>(WebMethodDecl.java:68)
at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.buildMethod(WebServiceSEIDecl.java:317)
at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.initMethods(WebServiceSEIDecl.java:303)
at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.<init>(WebServiceSEIDecl.java:95)
at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.<init>(WebServiceSEIDecl.java:68)
at weblogic.wsee.tools.jws.decl.WebServiceDeclFactory.newInstance(WebServiceDeclFactory.java:54)
at weblogic.wsee.tools.anttasks.JwsModule.buildAndValidate(JwsModule.java:463)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:454)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:306)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:226)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:174)
... 93 more
I really dont know what exactly the problem is?
Any assistance would be highly appreciated.
Thanks,
NirmalHi...
Actually the build.xml is created by the workshop itself when we use export ant scripts.
And this build.xml contains the following target:
<target name="webservice.build" depends="init,generated.root.init">
<path id="jwsc.srcpath">
<path path="${java.sourcepath}" />
<pathelement path="build/assembly/.src" />
</path>
<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" >
<classpath>
<path refid="weblogic.jar.classpath" />
</classpath>
</taskdef>
<property name="jwsc.module.root" value="${project.dir}/build/weboutput"/>
<property name="jwsc.contextpath" value="TransformationWS"/>
<property name="jwsc.srcpath.prop" refid="jwsc.srcpath"/>
<path id="jwsc.classpath">
<path refid="weblogic.jar.classpath" />
<path refid="java.classpath" />
<pathelement path="${java.outpath}" />
</path>
*<jwsc*
*destdir="${project.dir}/build"*
*classpathref="jwsc.classpath"*
*>*
<module name="weboutput" explode="true" contextPath="${jwsc.contextpath}">
<jwsFileSet srcdir="${jwsc.srcpath.prop}">
<include name="**/*.java"/>
</jwsFileSet>
<descriptor file="${jwsc.module.root}/WEB-INF/web.xml" />
<descriptor file="${jwsc.module.root}/WEB-INF/weblogic.xml" />
</module>
</jwsc>
</target>
I never touch this build.xml as for rest of the services this gives no error.
But for one of the services it gives the the error mentioned above.....
Moreover the property "*jwsc.classpath*" is not set in the script.
Although it seems that build script tries to set this property. How can I manually set this property as to run the script successfully.
Thanks
Nirmal...
Edited by: nirmal_kumar on Jan 4, 2009 11:02 PM
Edited by: nirmal_kumar on Jan 4, 2009 11:05 PM -
Exported ant script -- NoClassDefFound?
I've exported ant script from workshop (wls9.2 eclipse) and I was able to build the app.war (web services) ok.
However I saw message like this:
"assembly: Imput fileset contained no files, nothing to do."
And when I deployed the war to server and tried to access the webservices, it gave me NoClassDefFound error.
Also I noticed that the ".staging" directory has empty "lib" dir under it.
Does anyone know how to fix it?
Here is the generated build.xml and workspace.xml.
========================= workspace.xml==============
<?xml version="1.0" encoding="UTF-8"?>
<node name="metadata">
<node name="projects">
<node name="billingservice">
<attribute name="location" value="C:/home/rlee/projects/telepacific/billingservice"/>
</node>
</node>
<node name="library-modules">
<node name="library-module">
<attribute name="location" value="%wl.home%/common/deployable-libraries/wls-commonslogging-bridge.war"/>
</node>
<node name="library-module">
<attribute name="location" value="%wl.home%/common/deployable-libraries/weblogic-controls-1.0.war"/>
</node>
<node name="library-module">
<attribute name="location" value="%wl.home%/common/deployable-libraries/beehive-controls-1.0.war"/>
</node>
</node>
<node name="server-runtimes">
<node name="BEA WebLogic v9.2">
<attribute name="location" value="%wl.home%"/>
</node>
</node>
<node name="vm-locations">
<attribute name="defaultVM" value="C:/bea/wls922/jdk150_10"/>
<node name="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/BEA WebLogic v9.2 JRE">
<attribute name="location" value="c:/bea/wls922/jrockit90_150_10"/>
</node>
</node>
<node name="classpath-vars">
<node name="SDKS_HOME">
<attribute name="value" value="c:/home/rlee/projects/mpower/sdks"/>
</node>
<node name="WEBLOGIC_HOME">
<attribute name="value" value="%wl.home%"/>
</node>
</node>
</node>
======================= end of workspace.xml==============
==================== exported build.xml ====================
<project default="build">
<description>
Project build script. All public targets require the "workspace" property to be
set at invocation. It can either point at the Eclipse workspace directory that
this project belongs to or an exported workspace.xml file. The wl.home property
may also need to be specified unless WL_HOME environment variable is defined.
</description>
<target name="init.env" unless="init.env.executed">
<property name="init.env.executed" value="true"/>
<property environment="env"/>
<condition property="wl.home" value="${env.WL_HOME}">
<isset property="env.WL_HOME"/>
</condition>
<fail unless="wl.home" message="The wl.home property needs to be set!"/>
</target>
<target name="init.typedefs" depends="init.env" unless="init.typedefs.executed">
<property name="init.typedefs.executed" value="true"/>
<typedef resource="com/bea/wlw/antlib/antlib.xml">
<classpath>
<fileset dir="${wl.home}">
<include name="workshop/lib/wlw-antlib.jar"/>
<include name="workshop/lib/wlw-util.jar"/>
<include name="workshop/lib/wlw-libmodules.jar"/>
<include name="workshop/lib/wlw-splitsrc.jar"/>
<include name="server/lib/ant/ant-contrib-1.0b1.jar"/>
</fileset>
</classpath>
</typedef>
</target>
<target name="init" depends="init.env,init.typedefs" unless="init.executed">
<property name="init.executed" value="true"/>
<fail unless="workspace" message="The workspace property needs to be set!"/>
<dirname property="project.dir" file="${ant.file}"/>
<property name="echo.metadata" value="false"/>
<mdimport workspace="${workspace}" pjdir="${project.dir}" echo="${echo.metadata}">
<option name="skipAnnotationProcessors" value="com.bea.wlw.webservices.core"/>
</mdimport>
<property name="archive.name" value="${project.name}.war"/>
<property name="uri" value="${archive.name}"/>
<taskdef name="xmlbean"
classname="org.apache.xmlbeans.impl.tool.XMLBean">
<classpath>
<pathelement path="${wl.home}/common/lib/apache_xbean.jar"/>
<pathelement path="${wl.home}/common/eclipse/plugins/com.bea.eclipse.common.lib.apache_xbean2/jsr173_api.jar"/>
</classpath>
</taskdef>
<property name="generated.module.root" value="${project.dir}/build/weboutput"/>
<property name="assembly.src" value="${project.dir}/build/assembly/.src"/>
</target>
<target name="build" depends="init" description=" compiles the source files; does not package the results">
<for list="0,1,2,3,4,5,6,7,8,9" param="i">
<sequential>
<if>
<and>
<isset property="xbean.src.@{i}.dir"/>
<available file="${xbean.src.@{i}.dir}"/>
</and>
<then>
<fileset id="xbean.src.paths.@{i}"
dir="${xbean.src.@{i}.dir}"
includes="${xbean.src.@{i}.include}"
excludes="${xbean.src.@{i}.exclude}"/>
</then>
<else>
<fileset id="xbean.src.paths.@{i}"
file="null_file_set"/>
</else>
</if>
</sequential>
</for>
<if>
<isset property="xbean.include-classpath-contributions"/>
<then>
<path id="xbean.classpath">
<path refid="java.classpath"/>
</path>
</then>
<else>
<path id="xbean.classpath">
<pathelement location="${wl.home}/common/lib/apache_xbean.jar"/>
</path>
</else>
</if>
<mkdir dir="${xbean.src.output.dir}"/>
<mkdir dir="${xbean.bin.output.dir}"/>
<xmlbean
javasource="${xbean.java-version}"
download="${xbean.download-network-urls}"
typesystemname="${xbean.schema-type-name}"
noupa="${xbean.unique-particle-attribution}"
nopvr="${xbean.particle-valid-restriction}"
noannotations="${xbean.skip-annotations}"
ignoreDuplicatesInNamespaces="${xbean.namespaces-to-ignore-dups}"
srcgendir="${xbean.src.output.dir}"
classgendir="${xbean.bin.output.dir}"
classpathref="xbean.classpath"
srconly="true">
<fileset refid="xbean.src.paths.0"/>
<fileset refid="xbean.src.paths.1"/>
<fileset refid="xbean.src.paths.2"/>
<fileset refid="xbean.src.paths.3"/>
<fileset refid="xbean.src.paths.4"/>
<fileset refid="xbean.src.paths.5"/>
<fileset refid="xbean.src.paths.6"/>
<fileset refid="xbean.src.paths.7"/>
<fileset refid="xbean.src.paths.8"/>
<fileset refid="xbean.src.paths.9"/>
</xmlbean>
<if>
<isreference refid="apt.factory.path"/>
<then>
<mkdir dir="${apt.src.output.dir}"/>
<for-each-java-src-path>
<if>
<available file="${.java.src.dir}"/>
<then>
<mkdir dir="${.java.src.output}"/>
<apt
sourcepath="${java.sourcepath}"
srcdir="${.java.src.dir}"
includes="${.java.src.include}"
excludes="${.java.src.exclude}"
destdir="${.java.src.output}"
preprocessdir="${apt.src.output.dir}"
classpathref="java.classpath"
factorypathref="apt.factory.path"
options="${apt.options}"
compile="false"/>
</then>
</if>
</for-each-java-src-path>
</then>
</if>
<for-each-java-src-path>
<if>
<available file="${.java.src.dir}"/>
<then>
<mkdir dir="${.java.src.output}"/>
<javac
sourcepath="${java.sourcepath}"
srcdir="${.java.src.dir}"
includes="${.java.src.include}"
excludes="${.java.src.exclude}"
destdir="${.java.src.output}"
classpathref="java.classpath"
debug="on"/>
</then>
</if>
</for-each-java-src-path>
<delete dir="${generated.module.root}"/>
<mkdir dir="${generated.module.root}"/>
<resolve-path property="user.web.xml" path="WEB-INF/web.xml"/>
<resolve-path property="user.weblogic.xml" path="WEB-INF/weblogic.xml"/>
<copy todir="${generated.module.root}/WEB-INF" file="${user.web.xml}" />
<copy todir="${generated.module.root}/WEB-INF" file="${user.weblogic.xml}" failonerror="false" />
</target>
<target name="clean" depends="init" description=" removes the files and directories generated by the build target">
<if>
<available file="${xbean.src.output.dir}"/>
<then>
<delete includeEmptyDirs="true">
<fileset dir="${xbean.src.output.dir}" includes="**/*"/>
</delete>
</then>
</if>
<if>
<available file="${xbean.bin.output.dir}"/>
<then>
<delete includeEmptyDirs="true">
<fileset dir="${xbean.bin.output.dir}" includes="**/*"/>
</delete>
</then>
</if>
<if>
<available file="${apt.src.output.dir}"/>
<then>
<delete includeEmptyDirs="true">
<fileset dir="${apt.src.output.dir}" includes="**/*"/>
</delete>
</then>
</if>
<for-each-java-src-path>
<if>
<available file="${.java.src.output}"/>
<then>
<if>
<equals arg1="${.java.src.dir}" arg2="${.java.src.output}"/>
<then>
<delete includeEmptyDirs="true">
<fileset dir="${.java.src.output}">
<or>
<filename name="**/*.class"/>
<and>
<type type="dir"/>
<depth min="0"/>
</and>
</or>
</fileset>
</delete>
</then>
<else>
<delete includeEmptyDirs="true">
<fileset dir="${.java.src.output}" includes="**/*"/>
</delete>
</else>
</if>
</then>
</if>
</for-each-java-src-path>
<delete dir="${assembly.src}"/>
<delete dir="${generated.module.root}"/>
<mkdir dir="${generated.module.root}"/>
</target>
<target name="assemble" depends="init" description=" assembles the project for iterative dev deployment; requires that the "ear.root" property is specified">
<property name="prefix" value=""/>
<for-each-resource-path>
<link ear="${ear.root}" source="${.resource.path}" target="${prefix}${uri}/${.resource.prefix}"/>
</for-each-resource-path>
<!-- Link in referenced utility projects into the WEB-INF/lib directory. -->
<for-each-referenced-component>
<if>
<and>
<equals arg1="${.referenced.component.type}" arg2="project"/>
<equals arg1="${.referenced.component.target.path}" arg2="WEB-INF/lib"/>
</and>
<then>
<antex
antfile="${.referenced.component.handle}/build.xml"
dir="${.referenced.component.handle}"
target="assemble"
inheritUserProps="false"
inheritAll="false"
inheritRefs="false">
<property name="wl.home" value="${wl.home}"/>
<property name="patch.home" value="${patch.home}"/>
<property name="workspace" value="${workspace}"/>
<property name="init.typedefs.executed" value="true"/>
<property name="ear.root" value="${ear.root}"/>
<property name="prefix" value="${uri}/WEB-INF/lib/"/>
</antex>
</then>
</if>
</for-each-referenced-component>
<link ear="${ear.root}" source="${xbean.bin.output.dir}" target="${link.target}"/>
<link ear="${ear.root}" source="${generated.module.root}" target="${uri}"/>
<antcall target="assembly" inheritAll="true" inheritRefs="true" >
<param name="ear.root" value="${ear.root}"/>
</antcall>
<antcall target="webservice.build" inheritAll="true" inheritRefs="true" />
</target>
<target name="stage" depends="init" description=" copies all of project's resources and build artifacts into a form that's ready for archive creation; staging directory can be overridden via the "staging.dir" property">
<antcall target="assembly" inheritAll="true" inheritRefs="true" >
<param name="ear.root" value="${ear.staging.dir}"/>
</antcall>
<antcall target="webservice.build" inheritAll="true" inheritRefs="true" />
<property name="staging.dir" value="${project.dir}/.staging"/>
<delete dir="${staging.dir}" quiet="true"/>
<mkdir dir="${staging.dir}"/>
<for-each-resource-path>
<if>
<available file="${.resource.path}"/>
<then>
<if>
<isfile path="${.resource.path}"/>
<then>
<copy file="${.resource.path}" tofile="${staging.dir}/${.resource.prefix}"/>
</then>
<else>
<copy todir="${staging.dir}/${.resource.prefix}">
<fileset dir="${.resource.path}" includes="${.resource.include}" excludes="${.resource.exclude}"/>
</copy>
</else>
</if>
</then>
</if>
</for-each-resource-path>
<!-- Packaged referenced utility projects into the WEB-INF/lib directory. -->
<property name="webinflib" value="${staging.dir}/WEB-INF/lib"/>
<mkdir dir="${webinflib}"/>
<for-each-referenced-component>
<if>
<and>
<equals arg1="${.referenced.component.type}" arg2="project"/>
<equals arg1="${.referenced.component.target.path}" arg2="WEB-INF/lib"/>
</and>
<then>
<antex
antfile="${.referenced.component.handle}/build.xml"
dir="${.referenced.component.handle}"
target="archive"
inheritUserProps="false"
inheritAll="false"
inheritRefs="false">
<property name="wl.home" value="${wl.home}"/>
<property name="patch.home" value="${patch.home}"/>
<property name="workspace" value="${workspace}"/>
<property name="init.typedefs.executed" value="true"/>
<property name="archive.dir" value="${webinflib}"/>
</antex>
</then>
</if>
</for-each-referenced-component>
<copy todir="${staging.dir}/${xbean.deploy.prefix}">
<fileset dir="${xbean.bin.output.dir}"/>
</copy>
<if>
<available file="${generated.module.root}"/>
<then>
<copy todir="${staging.dir}" overwrite="true">
<fileset dir="${generated.module.root}"/>
</copy>
</then>
</if>
<taskdef name="build-manifests"
classname="weblogic.ant.taskdefs.build.AnnotationManifestTask"
onerror="fail" />
<path id="annotation.manifest.search.path">
<fileset dir="${staging.dir}">
<include name="WEB-INF/lib/*.jar"/>
</fileset>
<pathelement location="${staging.dir}/WEB-INF/classes"/>
</path>
<path id="annotation.manifest.class.path">
<path refid="annotation.manifest.search.path"/>
<path refid="java.classpath"/>
</path>
<build-manifests moduleDir="${staging.dir}"
searchClasspathRef="annotation.manifest.search.path"
classpathRef="annotation.manifest.class.path"
verbose="true"
version=""
stagingDir="${java.io.tmpdir}/.manifest"/>
</target>
<target name="archive" depends="stage" description=" creates an archive containing all projects's resources and build artifacts; archive name and location can be overridden via the "archive.path" property">
<property name="archive.dir" value="${project.dir}"/>
<mkdir dir="${archive.dir}"/>
<zip destfile="${archive.dir}/${archive.name}" encoding="UTF8" whenempty="create">
<fileset dir="${staging.dir}"/>
</zip>
</target>
<target name="stage.to.ear" depends="init">
<property name="prefix" value=""/>
<antcallex target="archive" inheritUserProps="false" inheritAll="false" inheritRefs="false">
<param name="wl.home" value="${wl.home}"/>
<param name="patch.home" value="${patch.home}"/>
<param name="workspace" value="${workspace}"/>
<param name="init.typedefs.executed" value="true"/>
<param name="archive.dir" value="${ear.staging.dir}${prefix}"/>
<param name="ear.staging.dir" value="${ear.staging.dir}"/>
</antcallex>
</target>
<target name="generated.root.init" depends="init">
<property name="generated.module.root" value="${project.dir}/build/weboutput"/>
</target>
<target name="assembly" depends="init,generated.root.init">
<taskdef name="assemble"
classname="com.bea.control.assembly.AssembleTask"
classpathref="java.classpath"
onerror="report" />
<property name="assembly.src.output" value="${java.src.0.output}"/>
<mkdir dir="${assembly.src}"/>
<path id="assembly.classpath">
<path refid="java.classpath" />
<pathelement location="${assembly.src.output}" />
<pathelement path="${java.outpath}" />
<pathelement path="${java.sourcepath}"/>
</path>
<assemble
moduleDir="${generated.module.root}"
moduleName="${project.name}"
srcOutputDir="${assembly.src}"
appRootDir="${ear.root}">
<assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
<assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
<classpath refid="assembly.classpath" />
<fileset dir="${project.dir}">
<include name="**/*.controls.properties" />
</fileset>
</assemble>
<apt
srcdir="${assembly.src}"
preprocessdir="${apt.src.output.dir}"
factorypathref="apt.factory.path"
options="${apt.options}"
compile="false">
<classpath refid="assembly.classpath" />
</apt>
<javac
srcdir="${assembly.src}"
destdir="${assembly.src.output}"
debug="on">
<classpath refid="assembly.classpath" />
</javac>
</target>
<target name="webservice.build" depends="init,generated.root.init">
<path id="jwsc.srcpath">
<path path="${java.sourcepath}" />
<pathelement path="build/assembly/.src" />
</path>
<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />
<property name="jwsc.module.root" value="${project.dir}/build/weboutput"/>
<property name="jwsc.contextpath" value="billingservice"/>
<property name="jwsc.srcpath.prop" refid="jwsc.srcpath"/>
<path id="jwsc.classpath">
<path refid="java.classpath" />
<pathelement path="${java.outpath}" />
</path>
<jwsc
destdir="${project.dir}/build"
classpathref="jwsc.classpath"
>
<module name="weboutput" explode="true" contextPath="${jwsc.contextpath}">
<jwsFileSet srcdir="${jwsc.srcpath.prop}">
<include name="**/*.java"/>
</jwsFileSet>
<descriptor file="${jwsc.module.root}/WEB-INF/web.xml" />
<descriptor file="${jwsc.module.root}/WEB-INF/weblogic.xml" />
</module>
</jwsc>
</target>
</project>
==================== end of exported build.xml =========
Thanks!
Edited by renqili at 08/09/2007 10:52 AMIt looks a bug to me. The exported ant script does not take care the jar files setup in the classpath in workshop/eclipes and copy them to the WEB-INFO/lib directory.
-
Exported build.xml doesn't build Service Control correctly
We created a few components that build properly in Workshop...but not in the build.xml that Workshop generates. We are using Workshop 9.2.
Here is what we did...
1) Coded a Web Service that uses the ALDSP 3.0 dynamic mediator API (to access a data service)
2) Generated a WSDL from that service
3) Created a Service Control (that uses the WSDL from #2)
When we do a build via Project -> Clean (with Build Automatically enabled), this gets built just fine.
When we run the Ant task with the targets "clean, build", it fails when it tries to compile the SEI file (the file that gets generated for #3 above).
During the build process (from the Workshop-exported build.xml file), the com.bea.control.servicecontrol.impl.ServiceControlAssembler appears to generate the MyServiceControlSEI.java file that does not compile.
Although the compile error probably has to do with the naming conventions in our XML schema, we at least want to get the build.xml build process to act the same way as the regular Project -> Clean process (in which case our project builds just fine...even with our XML schema issues).
My question is...does the Project -> Clean process use a different set of APTs or tasks to generate the SEI file than the build.xml process? If so, how can we configure the exported build.xml file to use the same tasks/tools as the Project -> Clean process?
Thank you,
MichaelHi Michael,
Can you confirm if you are running the ant script from the command line and have run the setenv.cmd/sh script prior to running the ant tasks
more info on executing ant script from the command line is available at
[url http://e-docs.bea.com/wlw/docs102/guide/ideuserguide/build/conUseCustomAntBuild.html]http://e-docs.bea.com/wlw/docs102/guide/ideuserguide/build/conUseCustomAntBuild.html
cheers
Raj -
Error while running ant build script from cmd line -ORABPEL-01005
Hi to all,
I am newbie to BPEL, I did a sample application SyncHelloWorldBPEL application in Jdev and I deployed it application server everything looks good.
When I ran the same ant build script from command line it throw me bunch of complation error.
Anyone please help me out
bpel.init:
[echo]
[echo] --------------------------------------------------------------
[echo] | Intializing BPEL Process....
[echo] --------------------------------------------------------------
[echo]
[echo] ----------------------------------------
[echo] | Loading Dependency Jar Files : C:\Oracle\JDeveloper\integration\lib\orabpel-ant.jar;C:\Oracle\JDeveloper\integration\lib\orabpel.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-thirdparty.jar;C:\Oracle\JDeveloper\integration\lib\oracle_http_client.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-common.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-exts.jar;C:\Oracle\JDeveloper\integration\lib\connector15.jar;C:\Oracle\JDeveloper\integration\lib\commons-codec-1.3.jar;C:\Oracle\JDeveloper\lib\xmlparserv2.jar;C:\Oracle\JDeveloper\lib\xml.jar;C:\Oracle\JDeveloper\webservices\lib\orawsdl.jar
[echo] ----------------------------------------
validateTask:
[echo]
[echo] --------------------------------------------------------------
[echo] | Validating BPEL workflow
[echo] --------------------------------------------------------------
[echo]
[validateTask] Validation of workflow task definitions is completed without errors
compile.bpel:
[echo]
[echo] --------------------------------------------------------------
[echo] | Compiling bpel process SyncHelloWorld, revision 2.0
[echo] | Class Path : C:\Oracle\JDeveloper\integration\lib\orabpel-ant.jar;C:\Oracle\JDeveloper\integration\lib\orabpel.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-thirdparty.jar;C:\Oracle\JDeveloper\integration\lib\oracle_http_client.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-common.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-exts.jar;C:\Oracle\JDeveloper\integration\lib\connector15.jar;C:\Oracle\JDeveloper\integration\lib\commons-codec-1.3.jar;C:\Oracle\JDeveloper\lib\xmlparserv2.jar;C:\Oracle\JDeveloper\lib\xml.jar;C:\Oracle\JDeveloper\webservices\lib\orawsdl.jar
[echo] --------------------------------------------------------------
[echo]
[bpelc] validating "C:\AMG\CI_Project\SyncHelloWorldBPEL\.\bpel\SyncHelloWorld.bpel" ...
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
[bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
[bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
[bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
[bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
[bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
[bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
[bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
[bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
[bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
[bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
[bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
[bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
[bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
[bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
[bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
[bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
[bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
[bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
[bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
[bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
[bpelc] ^
[bpelc] Too many errors. (The limit on reported errors is 100.)
[bpelc] 126 errors
[bpelc] ORABPEL-01005
[bpelc]
[bpelc] Failed to compile classes.
[bpelc] Failed to compile the generated BPEL classes for "SyncHelloWorld".
[bpelc] at com.collaxa.cube.lang.compiler.CubeProcessor.compileGeneratedClasses(CubeProcessor.java:972)
[bpelc] at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:572)
[bpelc] at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:457)
[bpelc] at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
[bpelc] at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
[bpelc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[bpelc] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[bpelc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[bpelc] at java.lang.reflect.Method.invoke(Method.java:585)
[bpelc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[bpelc] at org.apache.tools.ant.Task.perform(Task.java:348)
[bpelc] at org.apache.tools.ant.Target.execute(Target.java:357)
[bpelc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[bpelc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[bpelc] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[bpelc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[bpelc] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[bpelc] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[bpelc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[bpelc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
C:\AMG\CI_Project\SyncHelloWorldBPEL\build.xml:127: ORABPEL-01005More precisely its porblem with commons-lang package
I am using commons-lang 2.4.jar file due to this it generated above error.
I reverted it back to earlier version now its working with apache ant 1.7.0 -
Hi,
I have a schema export using expdp which I want to import. I'm planning to drop the user and import the data. If I do that, will anything will be invalidated like synonym, grants etc? Or will it come when I import the data? If it will affect anthing like grants etc, is there any script I can use to gather the information before I start the import? My database is running in 10gR2 in Unix
ThanksRock2 wrote:
Hi,
I have a schema export using expdp which I want to import. I'm planning to drop the user and import the data. If I do that, will anything will be invalidated like synonym, grants etc? Or will it come when I import the data? If it will affect anthing like grants etc, is there any script I can use to gather the information before I start the import? My database is running in 10gR2 in UnixGrants Made will be absolutely fine even if you drop the schema and import.
It should work fine.
SS -
How to use single ant build script to package the application with and without native extensions
Hi,
I am using iOS native extensions for Adobe air. For this I am listing the extensions in the application descriptor file. Since the package with native extensions are meant to run only on device, I want my build script to work without native extensions too to be able to run on simulator. Is this manadatory that I need two separate application descriptors/basically two build scripts to compile and package them? Please suggest and let me know if more explanation is needed.
Thanks,
Swathi.Hi
This is a known issue addressed by CR205204
As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
Thanks
Vimala -
Not able to Export sap script with RSTXSCRP in different languages IT,ES
Hi all,
I am trying to export sap script to local file using this program RSTXSCRP, but it's working fine for English but not other languages like IT,ES and DA. Even if i specify parameter in selection screen Language vector as IT. It's not exporting code from sap script for IT language. By default it's exporting only EN.
Can you please tell me what I have to do to export sap script from different language.
Thank you.Hi!
For Translating you can do it by
Going in transaction SE63 -> Translation -> Abap objects -> Other Long Texts -> FS Forms and Styles.
There you have to enter client and form name source lang. and target lang.
Then you export it with the program RSTXSCRP in the language u have translated....
As you have form created in English and you can download and upload it in only English .
Regards. -
Problems deploying ear file created with ant build script
Hi All,
I'm using Jdeveloper 11G and Weblogic 10.3. When I build my application and run it within Jdeveloper, it works fine. However, we have a requirement to run ANT build script and create a deployable .ear file that can be manually deployed to any Weblogic Server.
I created my ant build script and it compiles/builds fine - the .ear file looks good. However, when I attempt to deploy it, it fails with
javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
Truncated. see log file for complete stacktrace
>
<Nov 2, 2011 2:43:43 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320266599219' for task '3'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "Faces Servlet" failed to preload on startup in Web application: "###"
I am not sure how to tell weblogic where to find the classes needed. I have a pretty huge classpath used when compiling - should I be putting the classpath in the manifest (?) - I don't think I should need to include the .jar files manually in the .ear file - since all the libraries should already be available in weblogic - or is that a misconception?
Please help!!I answered my own question -
I had to manually add the following to the WEB-INF/lib to get the error to go away:
${ORACLE_HOME}/modules/javax.jsf_1.1.0.0_1-2.jar and
${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar and
${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jstl_1.2.0.1.jar
that solved my problem. However, I think it'd be great if I could somehow just specify (in the weblogic-application.xml maybe?) that my application is using the above modules without having to copy the jar files into my WEB-INF/lib - any suggestions?
Thanks -
Problem in the Build Script Running
Hi Friends
I am facing a issue while running build script for which i need your help.
I am using RAD 7.0 as the development and using WebSphere Application Server 6.1 as the runtime.
I have my source folder path as follows.
E:\RT\RI complete\buildscripts\build.xml
My WAS Home is D:\Program Files\IBM\SDP70\runtimes\base_v61.
I have set the Environment Variable as WAS_HOME.
when i try to run the build.xml i am getting the following error.
BUILD FAILED
E:\RT\RT\buildscripts\riaf_build.xml:151: E:\RT\RTcomplete\buildscripts\${env.WAS_HOME}\lib not found.
The portion of the build.xml file where i am getting this error is follows
<javac debug="on" optimize="on" destdir="${tmp}/CustomTags/classes" includes="*.java" deprecation="off" verbose="off">
<src path="${tmp}/CustomTags/src"/>
<include name="nl/**/*.java"/>
<classpath refid="util.compile.classpath"/>
</javac>
Not able to figure out why its not taking the WAS_HOME which i have already set.Originally posted by: pascal.ibm.canada
I don't think there is such an option.
You should enter a feature enhancement against PDE-UI.
PaScaL
Gary Karasiuk wrote:
> I am using the pde.exportplugins task in my build script. The problem is
> that it is running asynchronously. I have steps in my build script that
> depend on the pde.exportplugins task having completed. Is there a way to
> force it to run synchronously?
>
> -
IMPORT / EXPORT IN SCRIPTS
Hi all.
i have an issue in the scripts.
is ir possible to use Import / export in scripts.
If it is possible ,then how.
can any body help me to solve this issue.
Thanks,
EswarHi,
Use Report RSTXSCRP allows SAPscript objects (standard texts, styles, forms
or device types to be transported between R/3 and a local or central
file.
Note: Texts, styles, and forms are client-specific! For export they are
always read from the current client and for import they are always read
to the current client. Device types are not client-specific so the
current client is not significant in the export/import of printer
definitions.
Parameters to be specified:
The radio buttons Device type/Form/Style/Standard text select the
transport object to be imported or exported.
Object name: Name of the standard text, style, form, or device type.
Mode: Export means download to file, IMPORT means upload from file.
File system: Allows you to choose whether the file is read/written
locally (GUI file system) or on the application server (default
setting).
Reward Points if it is Useful.
Thanks,
Manjunath MS.
Maybe you are looking for
-
every time i try to go onto itunes it says itunes cannot run because some of its required files are missing please reinstall itunes. and it wont let me do that either please help thank you
-
I've got three monitors lined up and I'm looking for a way to instantly center the cursor on a specific display to avoid dragging it everywhere. I know there's a software called Multi Monitor Mouse for Windows which is supposed to handle that pretty
-
Why are my brand new KRK monitors crackling?
I just got a pair of KRK RokIt5's. I only used them once.. to test out my tracks, adjusting the mix, and playing with the volume knobs. I barely went full volume, but now they're cracking. It's faint, but there. I tested four diff. cables - that wasn
-
Hi. I have created a table as table name : m_tab fields : n_name varchar2(10); n_suggestion varchar2(2000); n_post_reply varchar2(2000); n_read_reply varchar2(2000); Here the size of varchar2 is large. Is it adv to use BLOB declaration and whether th
-
dream weaver 2014 to advanced. fluid grid doesn't show up properly on my computer. I need dreamweaver cc or cs6. anything before dreamweaver 2014