Need build.xml to create Ear file using Ant in jdeveloper 11g??
Hi all,
I think Jdeveloper use ANT to create Ear file and how to get build.xml from Jdeveloper.
1) I have created ADF Fusion web Application having separte Model and View Controller.
2) Now when I select View Controller project and then i create New ant-> Build.xml i get the required build.xml which can be used to create war file for my View Controller project.
3) Similarly when I select Model project and then i create New ant-> Build.xml i get the required build.xml which can be used to create Jarfile for my Model project.
4) If I select my application and then i click deploy... I'm able to create my ear file having both war file for View Controller and Jar File for Model.
5) But I dont know how to get built.xml file which will create ear file having both View Controller and Model in it.
Thanks a lot....
However note the generated Ant script includes unnecessary targets. See the following blog post: http://one-size-doesnt-fit-all.blogspot.com/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
CM.
Similar Messages
-
Issue in Creating EAR File Using ANT in ADF 11g of Jdeveloper11g IDE
Hi
Rookie to this ADF 11g Framework and during the exploring of ADF 11g gone through ADF essentials in OTN and i did sample application of ANT build script and in the ADF Essentials of Ant i came across creating build.xml,build.properties and finally creating WAR file and currently i want to create EAR file so that EAR file can be deployed to my oracle Weblogic server.But ADF Essentials of ANT is totally confined to build.xml,build.properties,WAR file only ! Can any one suggest me the template build.xml of EAR file of any Sample Application so that i can come across what are the patterns,jars,excluded names,included names of EAR .
Thanks In Advance,
Regards
RKRK,
There are a few options. If I were doing this today, I'd just use ojdeploy (and the ojdeploy ANT task) to create the EAR file with a minimum of fuss (refer to the JDeveloper docs for more information).
If you wanted to create an EAR file using the same technique that I used in the ADF Development Essentials article, just follow the same techniques - create an EAR file using JDeveloper and unzip it to discover the structure of what it should look like.
Best,
John -
How to create an ear file using ant script
Could you please help me in creating ear file using runAssembler task
how to call runAssembler from an <exec> task.
<exec dir="${atg.dir}/home/bin/" vmlauncher="false" executable="/runAssembler" failonerror="yes">
<arg value="-overwrite" />
<arg value="myModule.ear}"/>
<arg line="-m ${modules}" />
</exec>
I'm getting below error
[exec] The system cannot find the path specified.
Edited by: 895077 on Nov 15, 2012 10:46 PM
Edited by: 895077 on Nov 15, 2012 10:47 PM -
JDev 9.0.3.5 Ant build.xml generation for EAR file
Hi. I'm currently using JDeveloper 9.0.3.5, so that I can use the OA Extension. Is it possible to generate an ant file which can be used to build an EAR file for deployment of my application? If so, how do I do it?
If this cannot be done with 9.0.3.5, can it be done with a later version? If so, is it possible to import the generated EAR file into that later version and then generate the ant script to build and later deploy the EAR file from its components?
If neither method above works for creating the ant script that can build the EAR file, is there a sample ant file which I can then modify to do this?
Thanks!Hello,
I would recommend you to post your question to the OA Framework forum at:
OA Framework
You'll probably get more help about OAF from that forum.
Good luck.
Steff -
Problem in creating ear file using weblogic 10....Pls help
Hi,
part of build.batwhere error occure::
@echo off
echo.
echo -------------Hub 2.0 Core Build System-------------
echo.
echo.
@set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_13
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_13
set PATH=C:\Program Files\Java\jdk1.5.0_13\bin;%PATH%
if "%JAVA_HOME%"=="" goto no_java_home
if "%ANT_HOME%"=="" goto no_ant_home
:anthomeset
echo Using Ant at %ANT_HOME%
goto dobuild
:no_ant_home
set ANT_HOME=C:\ant1.6.1
set ANT_OPTS=-Xms1024m -Xmx2048m
set CLEAR_ANT_HOME=yes
echo ANT_HOME was not set - setting to %ANT_HOME% for current build
goto dobuild
:dobuild
set BUILD_CLASSPATH=D:\Projects\Quadriga\Hub20\HUB\buildscripts\core\build\classes;D:\Projects\Quadriga\Hub20\HUB\buildscripts\estate\build\classes;D:\Projects\Quadriga\Hub20\HUB\buildscripts\application\build\classes;D:\Projects\Quadriga\Hub20\HUB\buildscripts\application\dist;
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar;C:\bea\wlserver_10.0\server\lib\**/*.jar;D:\projects\Quadriga\Hub20\HUB\lib\bea.weblogic\**/*.jar;
echo.
echo CLASSPATH=%CLASSPATH%
call %ANT_HOME%\bin\ant.bat -debug -buildfile buildscripts\application\build.xml %1
if "%CLEAR_ANT_HOME%"=="yes" goto clear_ant
goto end
:no_java_home
echo Please set the environment variable JAVA_HOME on your box.
goto end
:clear_ant
set ANT_HOME=
goto end
:end
set CLEAR_ANT_HOME=
the error in console is:
The ' characters around the executable and arguments are
not part of the command.
[java] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/
utils/compiler/Tool
[java] at java.lang.ClassLoader.defineClass1(Native Method)
[java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
[java] at java.security.SecureClassLoader.defineClass(SecureClassLoader
.java:124)
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] at weblogic.appc.main(appc.java:14)
[ant] Exiting D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml.
BUILD FAILED
D:\projects\Quadriga\Hub20\HUB\buildscripts\application\build.xml:104: The follo
wing error occurred while executing this line:
D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:447: Java returned: 1
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.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(DefaultExe
cutor.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:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:447: Java
returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
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(Single
CheckExecutor.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
--- Nested Exception ---
D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:447: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
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(Single
CheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
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(DefaultExe
cutor.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)
Total time: 37 seconds
Pls help me.....
Thanks,
AnindyahI,
I ll send the bild.xml file:
part of build.xml in 1st file:
<target name="build-core" depends="init" unless="core.nobuild">
<ant antfile="build.xml" dir="${buildscripts.home}/core" target="build-deployment-units" inheritAll="false"/>
</target>
part of build.xml of 2nd file:
<!-- ================================================================= -->
<!-- classpath settings -->
<!-- ================================================================= -->
<path id="lido.classpath">
<fileset dir="${lib}/lido">
<include name="*.jar"/>
</fileset>
</path>
<path id="compile.classpath">
<pathelement location="${lib}/jakarta.apache/log4j-1.2.9.jar"/>
<pathelement location="${lib}/jakarta.apache/jakarta-regexp-1.2.jar"/>
<pathelement location="${lib}/bea.weblogic/webservices.jar"/>
<pathelement location="${lib}/bea.weblogic/weblogic.jar"/>
<pathelement location="${lib}/bea.weblogic/wls-api.jar"/>
<pathelement location="${lib}/bea.weblogic/api.jar"/>
<pathelement location="${lib}/bea.weblogic/wljmsclient.jar"/>
<pathelement location="${lib}/bea.weblogic/wljmxclient.jar"/>
<pathelement location="${lib}/bea.weblogic/wlxbean.jar"/>
<pathelement location="${lib}/bea.weblogic/wlutil.jar"/>
<pathelement location="${lib}/bea.weblogic/xquery.jar"/>
<pathelement location="${lib}/bea.weblogic/xqrl.jar"/>
<pathelement location="${lib}/bea.weblogic/xmlx.jar"/>
<pathelement location="${lib}/bea.weblogic/wsse.jar"/>
<pathelement location="${lib}/bea.weblogic/wseeclient.jar"/>
<pathelement location="${lib}/bea.weblogic/weblogic-container-binding.jar"/>
<pathelement location="${lib}/bea.weblogic/classes12.zip"/>
<pathelement location="${lib}/jdom.org/jdom.jar"/>
<pathelement location="${lib}/java.sun/jmxtools.jar"/>
<pathelement location="${lib}/mindterm/mindterm.jar"/>
<pathelement location="${lib}/java.sun/jsse1.0.3/jcert.jar"/>
<pathelement location="${lib}/java.sun/jsse1.0.3/jnet.jar"/>
<pathelement location="${lib}/java.sun/jsse1.0.3/jsse.jar"/>
<pathelement location="${lib}/mindterm/Qmindterm.jar"/>
<pathelement location="${lib}/mindterm/java40.jar"/>
<pathelement location="${lib}/mindterm/jtStubs.jar"/>
<pathelement location="${lib}/junitee/junit.jar"/>
<pathelement location="${lib}/junitee/junitee.jar"/>
<pathelement location="${lib}/enterprisedt/ftp-1.2.2/ftp.jar"/>
<pathelement location="${lib}/jakarta-commons/commons-collections-3.1.jar"/>
<pathelement location="${lib}/xml-writer-0.2.jar"/>
<fileset dir="${lib}/jaxb">
<include name="*.jar"/>
</fileset>
<path refid="lido.classpath"/>
</path>
<path id="built.classpath">
<pathelement location="${classes}"/>
<path refid="compile.classpath"/>
</path>
<path id="jdos.classpath">
<pathelement location="${classes}"/>
</path>
<taskdef classpathref="compile.classpath" name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc"/>
<java classname="weblogic.appc" fork="yes" failonerror="yes">
<sysproperty key="weblogic.home" value="C:/bea/wlserver_10.0/server"/>
<arg line="-keepgenerated -compiler javac ${dist}/${wl-entity-jarfile}.jar"/>
<classpath>
<path refid="built.classpath"/>
</classpath>
</java>
eroor in console now:
[java] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/
descriptor/BeanUpdateListener
[java] at java.lang.ClassLoader.defineClass1(Native Method)
[java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
[java] at java.security.SecureClassLoader.defineClass(SecureClassLoader
.java:124)
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:164)
[java] at weblogic.logging.MessageLogger.<clinit>(MessageLogger.java:45
[java] at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:51)
[java] at weblogic.j2ee.J2EELogger.logAppcFailedWithError(J2EELogger.ja
va:5257)
[java] at weblogic.application.compiler.Appc.runBody(Appc.java:174)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.application.compiler.Appc.main(Appc.java:183)
[java] at weblogic.appc.main(appc.java:14)
[ant] Exiting D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml.
BUILD FAILED
D:\projects\Quadriga\Hub20\HUB\buildscripts\application\build.xml:103: Following
error occured while executing this line
D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:460: Java returned: 1
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:537)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:385)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
at org.apache.tools.ant.Main.runBuild(Main.java:632)
at org.apache.tools.ant.Main.startAnt(Main.java:183)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:460: Java
returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:80)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
... 10 more
--- Nested Exception ---
D:\projects\Quadriga\Hub20\HUB\buildscripts\core\build.xml:460: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:80)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
at org.apache.tools.ant.Main.runBuild(Main.java:632)
at org.apache.tools.ant.Main.startAnt(Main.java:183)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Total time: 14 seconds
pls reply... -
How to Create EAR File by Ant Script for ADF Application
Hi,
I want to deploy my ADF Application by EAR.
I refer this blog:- http://jdeveloperfaq.blogspot.com/2010/01/faq-10-how-to-configure-ojdeploy-as-ant.html
From this I am able to make WAR file but not EAR file and I want it should be EAR
Can anyone suggest me any script or any process.
Jdev Ver:- 11.0.0.3
Thanks in Advance.
Ramit
Edited by: Ramit on May 31, 2011 3:54 AMHi All,
I am not able to run the adf application.In log I found this error message.please help me to resolve this
javax.faces.FacesException: javax.el.PropertyNotFoundException: Missing Resource in EL implementation: ???propertyNotReadable???
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:261)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:513)
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:782)
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1354)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:71)
at oracle.adfinternal.view.faces.unified.taglib.layout.UnifiedPanelGroupLayoutTag.doStartTag(UnifiedPanelGroupLayoutTag.java:50)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:665)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:440)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:665)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
thanks
santosh -
How to use ant with Jdeveloper 11g
Hello, as we develop our app with ADF Faces & EJB 3.0 we are using tomcat 6.x + openEJB 3.0 as a sort of app server. So we need to build application archive 2 differrent methods (collapsed war for tomcat and ear for Jdev's integrated WLS). Besides, some xml files need to be modificated depending on target server. So we are going to use ant to build archives.
My questions:
- Where should I copy built archive for deployment on integrated WLS (should I copy it in ant's target or Jdev can do it for me)? Or there is another way to do the following: when one presses Run button on a page ant builds an archive for local WLS and then app is deployed and the page is opened in a new browser tab (just like default Jdev behaviour)?
- Where can I find tutorial on integration of Jdev & ant?Here is a good example [http://biemond.blogspot.com/2009/04/weblogic-jdeveloper-ant-tasks.html]
-
Build.xml classpath ref to be used in another build XML file
Hi,
I have ant build.xml with a target as
<target name="build_project">
<ant antfile="C:/projects/antbuild/build.xml" inheritAll="true">
<target name="clean" />
</ant>
</target>
in report1.xml.
This build.xml inturn have the classpath defined in it with the JARS added to the classpath.
In the report2.xml,
Can I use the classpathref in build.xml which is defined in report2.xml? Where report2.xml is imported in report1.xml as
<import file="report2.xml" />
If I can do so I don't have to create duplicate class path ref again adding all the JARS in report2.xml?
Please clarify.
Thanks.I've used quite a bit of ANT in the past, but I don't really know what to answer to your question that is in any way helpful to you. I remember that ANT has some form of build file inheritance built in, I've played around with it in years ago to try and crank out somewhat standardized build files with reusable elements. What I can recall is that I had to read a book on advanced ANT usage to be able to work it out, the online manual wasn't nearly enough.
-
Can't create a file using fm 'File_Get_Name'
hi gurus,
Can you please help me with this issue. There's a program that have to create a file using the said fm. It was working before when it was set in OS NT. But when the settings and codes have been changed to UNIX, the program was able to generate the program. But the file doesn't exist. It seems it doesn't create a file in that server.
What else do I need to check?
Points will be rewarded. Thanks
Here's the code for your reference:
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
* CLIENT = SY-MANDT
logical_filename = 'Z_SYSBRIDGE'
OPERATING_SYSTEM = SY-OPSYS
* PARAMETER_1 = ' '
* PARAMETER_2 = ' '
* USE_PRESENTATION_SERVER = ' '
* WITH_FILE_EXTENSION = ' '
* USE_BUFFER = ' '
IMPORTING
* emergency_flag =
* file_format =
file_name = ltfile-out_path
EXCEPTIONS
file_not_found = 1
OTHERS = 2.Hi Maui,
Did you check SM69, where the code that ties to this FM creates a file after it execute your FM...
SM69 are os commands that does UNIX execution or other OS commands...
or maybe you have missed another FM like FM 'SXPG_OS_COMMAND' or of some sort.
Thanks
William Wilstroth -
Creating new file using report generation express vi
Hello,
In my application, I need to write certain data in excel sheet. For that I created an excel template and I used the express vi in report generation toolkit to save the appropriate data in appropritate columns. I need a new file created everyday by that day's name and write the data to it rest of the day. I am having problems creating new file using this express vi. I tried using the low level vi's but not been able to it properly.
Attaching my code and excel template.
Please help.
Thanks!
Solved!
Go to Solution.
Attachments:
excel write2.vi 119 KB
Book2111.xltx 8 KBr_te wrote:
The thing is everyday there cannot be a file provided.
Sure there can. Don't you see the input on the Express VI for a file? "Path To Save Report" is the name of the input you want.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
is it possible to include external .js file into .ear file using NetBean 5.5.1? if not, then where should I placed the external .js file and how to write the src="xxx" element? (that is , how to write the path of "xxx"?)
I am using JBOSS 4.2.2 GA as server
thx!!Even this is also not possible because, the code in that package is developed by DWR and i am just adding it to my lib folder and importing the respective classes. In the same manner i need to include the *.js* file in the JSP.It took me about 3 minutes reading through the [DWR Getting Started|http://getahead.org/dwr/getstarted] page to learn that you don't have to do any of that. Perhaps you should read that page?
-
Since installing Word 2010 (upgrading from Word 2003) there are no visable PDF Icons nor ability to create PDF Files using Adobe Acrobat 6.06. Operating system is Windows XP. Browser is IE8. Various attempts to bypass this situation have not been successful. No problems had been experienced earlier using Acrobat 6.01 through 6.06 with Word 2003 and earlier Word versions during the passed 10 years or so. Adobe's support is not responding to recognize mentioned situations, nor is there any a solution to fix the problem. Low volume small businesses,with limited need to create PDF files, are being considerably burdened to substante a $200 investment to upgrade to Acrobat X, which may as well not be the solution. It is appealed for Adobe Forums readers to share similar experiences with possible fixes at hand. Responses will be greatly appreciated. Thank you...
Your response is greatly appreciated, Bernd...
Unfortunately, those of us who milk software packages for eons such as
Acrobat 6.06 Standard, a full version of Acrobat X is quoted to be $299
with no ability to upgrade since 7.0 is the cutoff which remains to be
only $139.
It seems to me, Military personal, retired or just ole toots who did
their think, would offer considerations such as Staples, Lowe's, and
other big boxes offer. Such is greed for some who do not consider
alternatives above their noses...
Thank you,
Skip -
How to write non-XML data to a file using an OSB FTP Routing?
Hi --
Situation ... I need to write non-XML data to a file using FTP. A proxy service retrieves XML and transforms it with XSLT to CSV format, then gives it to a Biz service to file it out, using FTP. Simple.
Problem ... OSB sends the contents of $body to any service it calls. Because $body is a SOAP document, it has to contain XML. So therefore I have to put my CSV data into an XML element, in order to put it into $body; and this inner element then gets written to the file, which I don’t want. But if I don't enclose my CSV content in a tag, I get "Unexpected CDATA encountered" trying to assign it to a variable.
There has to be away around this!
Thanks for your help.
John TaylorSolved. Steps:
-- Transform the XML to CSV using an XSL transform. Put the CSV data inside enclosing XML elements, and use a Replace action to put the XML element + CSV contents back into *$body*.
-- Define an MFL transform that only knows about the enclosing XML elements. Use a delimiter of "\n" (hard return).
-- Route from the proxy service to a Biz service that has Service Type = Messaging Service and Request Message Type = MFL; specify the MFL transform, which will receive the incoming *$body* variable, strip off the enclosing XML element within it, and pass the CSV contents to the FTP service.
Edited by: DunedainRanger on Nov 29, 2011 9:03 AM -
Changing faces-config.xml after deploying ear file
Hi,
What would be the steps to follow if we want to change contenets of web application configuration files (for example, faces-config.xml) after app.ear file has been deployed?
The app.ear file contains the faces-config.xml, and we are using Oracle AS 10.1.3.
Thanks,
Jeansee my answer at
Change web app config file of deployed app -
How to create .ear file in JDeveloper 10g
Hi, I am new to Jdeveloper. I am using JDeveloper 10g. I have created one project abc.jws under which there are five .jpr folders(DTO.jpr,persistence.jpr,service.jpr,util.jpr,ViewController.jpr). I want to create .ear file for the whole project so that it can be directly put in the production environment. When I right click on the abc.jws and select New, the EAR option under deployment profiles is disabled. I would highly appreciate if someone can help me on this.
Thanks.Hi Rexy,
See if the steps given in [this link|http://download.oracle.com/otndocs/tech/ias/portal/files/RG/OBE/deployToAppServer/lesson_Deployment.htm#t3s3] helps
Sireesha
Maybe you are looking for
-
Cl_rsr_chabit error while runing query with two new Nav attributes
hi gurus, we mark two attributes as navigational and transport to production now the problem is when I run the query on those navigational attributes it is throwing me error as below: System error in programme CL_RSR_CHABIT and form SET_BITI-02(see l
-
Translucent border on a canvas?
I have a canvas with a thick border. I'd like to make it less obvious, but there is no borderAlpha property. Can anyone suggest a work-around?
-
Dears , when i make Enable CSV output to the report , and put Spreadsheet in the Link Label , the excel file not support Arabic language .. How can i solve that ? Regards Ahmed
-
Export and Import members of a Software Update Group
Greetings, I am looking for a method I can use to Export a Software Update Group (or just it's members) to a file that I can then use to Import into another 2012 hierarchy. I can't use the built-in Migration process as it is already connected to a di
-
Call OpenURL from Widget within iBooks/iBook Author?
I am trying to call widget.openURL("...") from within a dashboard app that I imported into iBooks Author. While this is working fine in the simulator and in the dashboard, it is doing nothing inside the book context. Everything else is working fine w