Optional task
What is the optional task?
If I set the implementation of an interactive activity as external and create a prepare and a commit method, can set the optional task as external as well as create its prepare and commit method?
In the papi, how to indentified the different commit or prepare method?
Thanks in advance
org.apache.env.Which diagnostics
Not available.
Download it at http://xml.apache.org/commons/
Does this mean something?
Similar Messages
-
Use of Separated Variable in Optional Tasks- Null Pointer Exception
Hi,
I'm facing a strange issue with Object Category as 'Separated'. In our Process the main object(objLaunch) is big in size so we have decided to make object category to be separated. Process flow's each and every interactive activity has an optional task which is a Screen Flow. When we have changed the object(objLaunch) category to be 'Separated' we are getting below error when we had accessed the optional task. Please note that we are facing this issue in
PROD environment where as in studio we are not facing this issue. The same object is present in the main process flow as well as in the screenflow(optional task). This object is passed as an input argument to the screenflow from the main process. In the screenflow as well as the main process, we have made the object as separated, though in the screenflow, upon saving and reopening the category still displays as Normal.
Task failed. Caused by: Task '1' in activity '/SNIAuthorization#Default-1.0/Interactive[ConfirmLAZApproval]' for instance '/SNIAuthorization#Default-1.0/33774/0' could not be successfully executed. The task failed while executing method 'confirmLAZApprovalViewPEDIN'. Caused by: The task could not be successfully executed. Reason: 'java.lang.NullPointerException'. Caused by: java.lang.NullPointerException fuego.web.exception.WapiTaskFailedException: Task failed. at fuego.web.exception.WapiExceptionFactory.create(WapiExceptionFactory.java:209) at fuego.web.papi.DefaultErrorHandler.handleException(DefaultErrorHandler.java:49) at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:127) at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117) at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:228) at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 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:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) Caused by: fuego.papi.exception.TaskFailedException: Task '1' in activity '/SNIAuthorization#Default-1.0/Interactive[ConfirmLAZApproval]' for instance '/SNIAuthorization#Default-1.0/33774/0' could not be successfully executed. The task failed while executing method 'confirmLAZApprovalViewPEDIN'. at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252) at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_923_WLStub.runTask(Unknown Source) at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.runTask(EJBProcessControlInterfaceWrapper.java:2169) at sun.reflect.GeneratedMethodAccessor776.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72) at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116) at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70) at $Proxy145.runTask(Unknown Source) at sun.reflect.GeneratedMethodAccessor775.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410) at fuego.lang.JavaObject.invoke(JavaObject.java:227) at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:189) at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177) at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54) at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223) at fuego.web.papi.TaskExecutor.runInstanceTask(TaskExecutor.java:490) at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:98) ... 25 more Caused by: fuego.lang.ComponentExecutionException: The task could not be successfully executed. Reason: 'java.lang.NullPointerException'. at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1000) at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1175) at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:428) at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:430) at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:554) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:738) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:698) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:178) at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:489) at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:442) at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:100) at fuego.server.AbstractProcessBean$45.execute(AbstractProcessBean.java:2961) at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551) at fuego.transaction.TransactionAction.start(TransactionAction.java:212) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123) at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66) at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:2965) at fuego.ejbengine.EJBProcessControlAdapter.runTask(EJBProcessControlAdapter.java:1144) at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl.runTask(EJBProcessControl_1zamnl_EOImpl.java:3019) at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) ... 47 more Caused by: java.lang.NullPointerException at xobject.Fuego__AutoGen__Screenflows__.__ViewPED.automatic(__ViewPED.xcdl:9) at xobject.Fuego__AutoGen__Screenflows__.__ViewPED.Automatic_Invocator(__ViewPED.xcdl:7) at xobject.Fuego__AutoGen__Screenflows__.__ViewPED.Begin_Router(__ViewPED.xcdl:6) at xobject.Fuego__AutoGen__Screenflows__.__ViewPED.Begin_Invocator(__ViewPED.xcdl:10) at PG.SNIAuthorization.Default_1_0.Instance.CIL_confirmLAZApprovalViewPEDIN(Instance.xcdl:3) at PG.SNIAuthorization.Default_1_0.Instance.CIL_confirmLAZApprovalViewPEDIN(Instance.xcdl) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:991) at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1175) at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:428) at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:430) at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:554) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:738) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:698) at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:178) at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:489) at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:442) at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:100) at fuego.server.AbstractProcessBean$45.execute(AbstractProcessBean.java:2961) at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551) at fuego.transaction.TransactionAction.start(TransactionAction.java:212) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123) at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66) at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:2965) at fuego.ejbengine.EJBProcessControlAdapter.runTask(EJBProcessControlAdapter.java:1144)
Is it not possible to use separated variables in screenflows which will be accessed as optional tasks? The same screenflow forms part of the main process as well. This activity works fine even after the object was made separated. The error is encountered only in the optional task.
Please could you analyze the mentioned issue and let us know the reason for the error.
Anticipating for your response.
Thanks in advance
~Kavitha APlease could you respond.
Regards
~Kavitha A
Edited by: user10230886 on Dec 1, 2009 10:29 PM -
Optional Task in Interactive Activity usage?
Hi Gurus,
BPM version : 10.3.2
You will be appreciated if some could explain about the optional tasks in the Interactive activity? and how can I execute the same using PAPI?
Thanks in advance.
-NarasimhaHi Ritu,
I'm guessing you might have logic inside your Interactive activity that looks like this:
input "Enter the customer id: " : customerName
using title = "Customer Information",
buttons = ["Ok", "Cancel"]
returning selectedButton = selectionAlthough I find "input" and "display" statements useful for initial prototyping and some testing, don't take it beyond that. The problem with these statements is that they tie up a thread as long as someone has the input or displayed dialog up. Quickly you'll run out of threads as people march off to lunch with these dialogs left up on their screens. Instead use Screenflows with either JSPs or BPM Object presentations to render information to end users.
In direct answer to your question though, if you're using the input statement (again - don't do this in production) be sure to handle the variable that contains the value of the button clicked. The above logic would be changed to the logic shown below to handle the Cancel button being clicked:
selectedButton as String
input "Enter the customer id: " : customerName
using title = "Customer Information",
buttons = ["Ok", "Cancel"]
returning selectedButton = selection
if selectedButton = "Cancel" then
// action is a predefined variable that is an enumeration used in this case to cancel the user's input
action = CANCEL
endHope this helps,
Dan -
ANT: optional tasks?
How can I make ANT to support optional tasks (a task which typically requires an external library)?
Documentation says:
"If you want to develop extensions to Ant via the Apache Ant API within JDeveloper, see the Extension Manager page in Tools | Preferences - Extension Manager and the Apache Ant API documentation."
I'd love to simply dump the external library (eg junit.jar) in a lib/ext/ant folder...I find it unfortunate that "add this to the project classpath" has become the de-facto standard solution to class finding and loading issues. Optional JARs contain ANT-specific support classes, and have nothing to do with the project code itself, so why pollute the project's classpath with those libraries?
Like OC4J, ANT should have its own dedicated and customizable classpath, which should initially be cleaned of anything it doesn't need, especially the project's output path. ANT has an IDE-independent way to handle paths. If I want my project's output path to be part of ANT's classpath, then that should be my choice, not JDeveloper's!
If you are in need of inspiration, take a look at Eclipse's ANT integration... no offense intended! -
Required the examples or explanation on "Optional Task" functionality
Hi,
I need to explore the importance and main functionality on “optional task”.
[This option is available @ right click of any Interactive Activity]
Please provide me any one have examples/case studies on the same.
Best Regards,
Ratna Prasad.Hi Madhavi,
Welcome to SDN!!!!!
The report RPLICO10 is the repport about Flexible Employee Data and related to HR Module. This report is a standard one about administation in HCM Module.
Thanks,
Vinay -
Security using security profile option & task flow and nodes
we are going to change our access levels based on the various users created in the system. can some 1 out there provide me with a good document that can assist me in doing this exercise correctly and to the best practice
gurus appreciate if some one can help me as soon as possible!You can refer these documents
Understanding and Using HRMS Security in Oracle HRMS [ID 394083.1]
Taskflows in Oracle HRMS [ID 73515.1]
But again these are generic document. you can share your question if you have any specific queries.
Thanks -
I've been trying to get the optional ftp task for a few days with no luck. I believe I have placed my jar files in the correct place (they show up) but it still says ftp is unavailable. Is there some other step I'm missing? Maybe one of you guys can quickly tell me what's wrong with my set up. Here it the output from ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.6.5 compiled on August 30 2006
Implementation Version (JDK1.2+ only)
core tasks : 1.6.5
optional tasks : 1.6.5
ANT_HOME/lib jar listing
ant.home: /usr/share/ant
commons-net-1.4.1.jar (180792 bytes)
jakarta-oro-2.0.8.jar (65261 bytes)
Tasks availability
image : Not Available
wlrun : Not Available
ddcreator : Not Available
vajload : Not Available
rexec : Not Available
wlstop : Not Available
ftp : Not Available
netrexxc : Not Available
starteam : Not Available
stcheckin : Not Available
stylebook : Not Available
script : Not Available
splash : Not Available
stlabel : Not Available
vajexport : Not Available
stcheckout : Not Available
ejbc : Not Available
telnet : Not Available
vajimport : Not Available
stlist : Not Available
sound : Not Available
scriptdef : Not Available
icontract : Not Available
org.apache.env.Which diagnostics
Not available.
Download it at http://xml.apache.org/commons/
XML Parser information
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: /usr/share/java/jaxp_parser_impl.jar
System properties
ant.library.dir : /usr/share/ant/lib
path.separator : :
java.vm.name : GNU libgcj
java.vm.specification.name : Java(tm) Virtual Machine Specification
java.runtime.version : 1.4.2
java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
java.vm.specification.version : 1.0
line.separator :
java.vm.specification.vendor : Sun Microsystems Inc.
gnu.classpath.home.url : file:///usr/lib
gnu.classpath.version : 0.92
gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
java.specification.version : 1.4
java.library.path : /usr/lib/gcj-4.1.1
gnu.classpath.vm.shortname : libgcj
java.class.version : 48.0
java.specification.name : Java(tm) Platform API Specification
os.version : 2.6.18-1.2798.fc6
gnu.classpath.home : /usr
user.home : /home/odin
file.encoding : UTF-8
ant.home : /usr/share/ant
os.name : Linux
user.name : odin
java.class.path : /usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/share/java/antlr.jar:/usr/share/java/ant/ant-antlr.jar:/usr/share/java/bcel.jar:/usr/share/java/ant/ant-apache-bcel.jar:/usr/share/java/log4j.jar:/usr/share/java/ant/ant-apache-log4j.jar:/usr/share/java/oro.jar:/usr/share/java/ant/ant-apache-oro.jar:/usr/share/java/regexp.jar:/usr/share/java/ant/ant-apache-regexp.jar:/usr/share/java/xml-commons-resolver.jar:/usr/share/java/ant/ant-apache-resolver.jar:/usr/share/java/jakarta-commons-logging.jar:/usr/share/java/ant/ant-commons-logging.jar:/usr/share/java/javamail.jar:/usr/share/java/jaf.jar:/usr/share/java/ant/ant-javamail.jar:/usr/share/java/jdepend.jar:/usr/share/java/ant/ant-jdepend.jar:/usr/share/java/jsch.jar:/usr/share/java/ant/ant-jsch.jar:/usr/share/java/junit.jar:/usr/share/java/ant/ant-junit.jar:/usr/share/java/ant/ant-nodeps.jar:/usr/share/java/ant/ant-swing.jar:/usr/share/java/jaxp_transform_impl.jar:/usr/share/java/ant/ant-trax.jar:/usr/lib/jvm/java/lib/tools.jar:/usr/share/ant/lib/commons-net-1.4.1.jar:/usr/share/ant/lib/jakarta-oro-2.0.8.jar
java.io.tmpdir : /tmp
os.arch : i386
java.fullversion : GNU libgcj 4.1.1 20061011 (Red Hat 4.1.1-30)
user.language : en
java.specification.vendor : Sun Microsystems Inc.
user.dir : /home/odin/workspace/CRI
java.vm.info : GNU libgcj 4.1.1 20061011 (Red Hat 4.1.1-30)
java.version : 1.4.2
java.ext.dirs : /usr/share/java/ext
gnu.gcj.user.realname : odin
sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
java.vendor : Free Software Foundation, Inc.
java.vendor.url : http://gcc.gnu.org/java/
java.vm.vendor : Free Software Foundation, Inc.
file.separator : /
java.vm.version : 4.1.1 20061011 (Red Hat 4.1.1-30)
http.agent : gnu-classpath/0.92 (libgcj/4.1.1 20061011 (Red Hat 4.1.1-30))
gnu.cpu.endian : little
gnu.gcj.precompiled.db.path : /usr/lib/gcj-4.1.1/classmap.db
user.region : US
gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsedorg.apache.env.Which diagnostics
Not available.
Download it at http://xml.apache.org/commons/
Does this mean something? -
Don't display task in collaboration room.
I need to delete the option TASK from the Collaboration Room.
What I should do?Hi Ika,
Please check this thread for help
https://forums.sdn.sap.com/thread.jspa?threadID=60282
Thanks n Regards
Santosh
Reward if helpful !!! -
Ant Classpath ${ant.home}/lib/optional/
Buildfile: build.xml
init:
compile:
[javac] Compiling 1 source file to E:\Sasikumar\build
BUILD FAILED
E:\Sasikumar\build.xml:20: Could not create task or type of type: cl
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'classpath'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or librarie
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to
task and make sure it contains more than merely a META-INF/MANI
If all it contains is the manifest, then rebuild Ant with the n
libraries present in ${ant.home}/lib/optional/ , or alternative
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
Total time: 4 seconds
I GOT ABOVE ERROR. please give a solution
thankx in advance
SasikumarPut "weblogic.jar" in $ANT_HOME/lib.
-
Submit statement and populating select options.
Hi to all experts.
My requirement to call the program RSWUWFML2 in my zreport with selection option (task) from zreport should be populated into the standard program selection screen.I know this can be done using submit report how to populate the select options .Hi,
The screen elements of the called program must be declaredd as ranges in the calling program as shown..
RANGES: seltab1 FOR spfli-carrid,
seltab2 FOR spfli-connid.
seltab1-sign = 'I'.
seltab1-option = 'EQ'.
seltab1-low = 'AA'.
APPEND seltab1.
seltab2-sign = 'I'.
seltab2-option = 'EQ'.
seltab2-low = '0017'.
APPEND seltab2.
SUBMIT <called prog> VIA SELECTION-SCREEN
WITH s_carrid IN seltab1
WITH s_connid IN seltab2
AND RETURN.
to call report RSWUWFML2.....
in zreport declare ranges as:
RANGES: seltab1 for swwwihead-wi_rh_task.
seltab1-sign = 'I'.
seltab1-option = 'EQ'.
seltab1-low = '<value>'.
APPEND seltab1.
seltab2-sign = 'I'.
seltab2-option = 'EQ'.
seltab2-high = '<value>'.
APPEND seltab1.
SUBMIT RSWUWFML2 VIA SELECTION-SCREEN
WITH p_tasks IN seltab1
AND RETURN.
Hope it helps.....
Regards,
Mdi.Deeba
Edited by: Mdi.Deeba on Aug 3, 2009 10:59 AM -
Supress Taskbar Notification for Task Sequence
Hi,
We have some optional Task sequences, OSD etc.
We need to stop the icon appearing in the taskbar notification area telling people that things are ready to install.
In 2007, there was a VBS I ran to stop this, but can't see anything for 2012!?
Anyone help?
PeterHi Peter,
you can suppress it from the task sequence properties - Advanced Tab - Enable check box "Suppress task sequence notifications". -
AddDataSourceConnectionPool not working with ant on upgrade to 10.1.3.4
Hi,
Following script is used to create connectionpools ...
<project name="MyProject" default="dist" basedir="." xmlns:oracle="antlib:oracle">
<description>simple example build file</description>
<property file="ant-oracle.properties"/>
<import file="ant-oracle.xml"/>
<target name="dist" description="generate the distribution" >
<oracle:addDataSourceConnectionPool
deployerUri="deployer:oc4j:opmn://localhost:6003/home"
userid="oc4jadmin"
password="spatial1"
applicationName="default"
name="ScottConnectionPool"
factoryClass="oracle.jdbc.pool.OracleDataSource"
dbUser="scott"
dbPassword="tiger"
url="jdbc:oracle:thin:@localhost:1521:xe"/>
</target>
</project>
the script works fine with 10.1.3.1; but when the server is upgraded to 10.1.3.4, it gives the following exception ->
BUILD FAILED
+/home/oracle/ant_test/build.xml:17: Could not create task or type of type: antlib:oracle:addDataSourceConnectionPool.+
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'antlib:oracle:addDataSourceConnectionPool'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
+libraries present in ${ant.home}/lib/optional/ , or alternatively,+
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
+<presetdef> or <macrodef> but have spelt wrong or not+
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
Total time: 0 seconds
I believe the admin_client.jar has got updated after the upgrade ... do I have to do anything else after the patch upgrade? ...
Thanks,
NimeshThe names are updated to the following (although the documentation doesn't reflect this):
addDataSourceConnectionPool == createJDBCConnectionPool
addManagedDataSource == createManagedDataSource
addNativeDataSource == createNativeDataSource
testDataSourceConnectionPool == testConnectionPool
Hope it helps ...
Cheers!
Nimesh -
Problem in OIM Installation in Linux-64 bit environment
Hi,
Components used
1. Oracle Database11gR1
2. Weblogic Application server 10.3.0(installed in non clustered mode)
3. OIM 9.1.0.1
Also ensured the above three are compatible.
I'm facing problem at the end of OIM installation in RedHat Linux-64 bit environment.
The error details in setup-weblogic.log file is given below
===================================
setup-startscript:
setup:
[echo] Setting up weblogic for xellerate complete.
[ant] Exiting /oracle/oimserver/xellerate/setup/weblogic-setup.xml.
BUILD FAILED
/oracle/oimserver/xellerate/setup/setup.xml:443: The following error occurred while executing this line:
/oracle/oimserver/xellerate/setup/weblogic-setup.xml:196: Could not create task or type of type: wlst.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'wlst'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:385)
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: /oracle/oimserver/xellerate/setup/weblogic-setup.xml:196: Could not create task or type of type: wlst.
Further, I have identified that the ant was unable to launch a custom web logic task, wlst.
This custom task of web logic task is invoked by ant using the following script in <OIM_HOME>/xellerate/setup/weblogic-setup.xml.
<target name="setup" depends="setup-startscript">
<echo>Setting up weblogic for xellerate complete.</echo>
<wlst properties="${basedir}/Profiles/${profile}" arguments='SETUP_CONFIG ${profile}
${weblogic_login_password} ${datasource_user_password} '
fileName="${basedir}/setup/oimconfig.py"
executeScriptBeforeFile="false"
failOnError="true">
</wlst>
<antcall target="stopServer"/>
<antcall target="startServer"/>
</target>
Also I have ensured the all the environmental variables, JAVAOPTIONS, USER_MEM_ARGS, ANT_OPTS are properly set before installing OIM.
I have tried several times but still getting the same error.
Please help me to resolve this issue.
Did anyone face this issue before??????
Edited by: Katheresh on May 17, 2010 9:36 PMI am not certain but when I was installing OIM 9.1.x with wls 10.3.0 on windows I had a failure too and it turned out I didn't create the wls domain user and group for OIM. The docs for OIM 9.1 does not talk about it so you may want to create this account and group and re-try the install. The steps are below:
Log in to the WebLogic Admin Console using your new account by pointing a web browser to the following url:
http://<hostname>:7001/console
1. Select Security, then Realms, then myrealm, and then Groups from the navigation panel on the left.
2. Select the Configure a new Group link in the Groups page.
3. Enter User for the group name in the Name field under the General tab and optionally enter a description for the group.Click Apply.
Note:
The group name User is case-sensitive.
4. Select Security, then Realms, then myrealm, and then Users from the navigation panel on the left.
5. Select the Configure a new User link in the Users page.
6. Enter Internal for the user name in the Name field under the General tab and optionally enter a description for the user.
Note:
The user name Internal is case-sensitive.
7. Enter and confirm a password associated with the user name Internal and click Apply.
8. Select the Groups tab.
9. Add the User group to the list of Current Groups for the Internal user by selecting User from the list of Possible Groups and clicking the --> right arrow button. Click Apply.
Please post back if it works,
Thanks, -
Problem on building a web service
I am playing with a sample provided by Oracle regarding how to develop a web service from WSDL document. When I run the ant, I am getting the following error:
D:\work\localdev\OracleASPOC\topdown>ant
Buildfile: build.xml
[taskdef] Could not load definitions from resource oracle/ant/taskdefs/deploy/antlib.xml
. It could not be found.
[taskdef] Could not load definitions from resource oracle/antlib.xml. It could not be fo
und.
common:
[echo] BuildName: topdown
[echo] BuildHome: D:\work\localdev\OracleASPOC\topdown
[echo] BuildFile: D:\work\localdev\OracleASPOC\topdown\build.xml
[echo] BuildJVM: 1.4
oracle-env-check:
java-env-check:
init:
[echo] -----> Initializing project properties
setup:
[echo] -----> Creating the required sub-directories
generate-interface:
[echo] -----> Generating the service endpoint interface from the service wsdl
BUILD FAILED
D:\work\localdev\OracleASPOC\topdown\build.xml:156: Could not create task or type of type:
antlib:oracle:genInterface.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'antlib:oracle:genInterface'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
Total time: 0 seconds
Any idea? BTW, I have oracle AS 10.1.3 installed.
Thanks,
JasonThis issue apparently were caused by wrong ant-oracle.properties and ant-oracle.xml(coming with sample) were copied in the same directory as the build.xml in the sample. Once I copied the two files coming with my oracleAS installation, the issue was resolved.
-
Unable to log-in in OIM11g during upgrade from 9.1.0.2
Team,
We are upgrading OIM from 9.1.0.2 to 11g following below guide.
http://docs.oracle.com/cd/E21764_01/upgrade.1111/e10129/upgrade_oim.htm
Below mentioned steps have been completed successfully.
Task 1: Identify and Prepare Oracle Database for Oracle Identity Manager 11g (Optional)
Task 2: Use the Repository Creation Utility to Create the Schema in the Database
Task 3: Install Oracle Fusion Middleware
Task 4: Use Upgrade Assistant to Upgrade the Oracle Identity Manager Schema
Task 5: Create a WebLogic Domain for Oracle Identity Manager
Task 6: Start the WebLogic Administration Server
Task 7: Configure Oracle Identity Manager Server 11g(special note to copy .xldatabsekey from older installation to new version was done).
Task 8: Configure Node Manager to Start Managed Servers
Task 9: Start the SOA Managed Server
Task 10: Start the Oracle Identity Manager Managed Server
Some more tasks (five more) are remaining now.
After task10, I have added .xldatbasekey key in weblogic/enterprise. Enterprise manager shows all deployment successful (all green).
I expected that after performing Task10 was that OIM 11g user and admin console will be accessible and admin user will be able to logging however it is not happening. I am trying with xelsysdm user and I am sure I am typing the password correctly.
My Query - Should we wait for entire upgrade? To my understanding no, at least log-in into OIM11g should be happening by now?
Thanks,
MSAFAIK, You have to complete the task Use Upgrade Assistant to Upgrade Oracle Identity Manager Middle Tier before you try login to OIM.
Maybe you are looking for
-
My lg tv says no signal when I connect to my macbook pro on the rgb/vga
my lg tv says no signal when I connect to my macbook pro on the rgb/vga port. I have tried my windows pc as well, different cables, changed screen resolution but no joy. Help please.
-
UME -multiple email ids assignment
Hi.. Is there any way to assign more than one email id to a single user using portal UME. Please do advice. Thanks, Ian
-
Flash MX 2004 Serial No.
I have recently purchased a copy of Flash MX 2004 from "WeHaveSoftware.com" and require a serial number to fully install the software. However I have not been given a serial number. Can anyone please tell me of a way obtain a serial number from Adobe
-
I¹m looking for some help regarding Arabic fonts on Mac InDesign CS6 (Adobe Creative Suite 5.5). I¹ve designed a company profile in English and they need it to be translated into Arabic for their Middle Eastern branch. They¹ve sent the correct Arabic
-
Headset not detected in Windows 7
Hi everyone! I'm having annoying problem with my Windows 7 Home Premium 64bit OS. It doesn't recognize my headset even though it's plugged to the rear panel of my Sound Blaster Audigy 2 ZS sound card. It however detects the microphone properly. In pl