[Oracle workflow 2.6.3] unable to find product oracle.swd.jre[1.4.0, 1.4.4]

I want to install Oracle workflow 2.6.3 on my server, but i get the following error while installing the program.
unable to find product oracle.swd.jre 1.4.0, 1.4.4
Below the step i took:
I selected the oracle_home and the path where my db has been installed. Then next... and the universal installer gives me that error. I can choose to continue or to go back. I tried to continue and oracle worflow has been succesfull installed. bet when to try to run the workflow manager. I get the following result:
C:\oracle\product\10.2.0\db_1\wf\install>set JAVA_HOME=
C:\oracle\product\10.2.0\db_1\wf\install>"\bin\java" -classpath ";C:\oracle\prod
uct\10.2.0\db_1\wf\java;\lib\rt.jar;\lib\i18n.jar;C:\oracle\product\10.2.0\db_1\
wf\install\WorkflowCA.jar;C:\oracle\product\10.2.0\db_1\jlib\ewt3.jar;C:\oracle\
product\10.2.0\db_1\jlib\ewt3-nls.jar;C:\oracle\product\10.2.0\db_1\jlib\share.j
ar;C:\oracle\product\10.2.0\db_1\jlib\swingall-1_1_1.jar;C:\oracle\product\10.2.
0\db_1\jlib\fndctx.jar;C:\oracle\product\10.2.0\db_1\jlib\wfjava.jar;C:\oracle\p
roduct\10.2.0\db_1\jlib\wfapi.jar;C:\oracle\product\10.2.0\db_1\jdbc\lib\classes
12.jar;C:\oracle\product\10.2.0\db_1\sysman\jlib\emd.jar;C:\oracle\product\10.2.
0\db_1\jlib\emConfigInstall.jar;" oracle.apps.fnd.wf.install.db.WorkflowCA /wfdi
r "C:\oracle\product\10.2.0\db_1\wf" /orahome "C:\oracle\product\10.2.0\db_1" /
wintz "W. Europe Daylight Time" /systemroot "C:\WINDOWS" /ospath "C:\OraHome_2\
bin;C:\oracle\product\10.2.0\db_1\bin;C:\OraHome_1\bin;C:\OraHome_1\jre\1.4.2\bi
n\client;C:\OraHome_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sy
stem32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files
\Support Tools\;"C:\Program Files\Symantec\Norton Ghost 2003\";C:\Program Files\
QuickTime\QTSystem\;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Com
mon Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Com
mon Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Com
mon Files\Nero\Lib\;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Com
mon Files\Nero\Lib\"
The system cannot find the path specified.
Anyone an idea to resolve it...
tnx in advanced....
Edited by: user565199 on 15-jan-2009 3:33
Edited by: user565199 on 15-jan-2009 3:52

sorry maybe a noob question but does it means io have to install the whole db again?I don't know. Try to install OWF 2.6.4 and maybe it upgarde all compnents from OWF 2.6.3
Are can you choose to install the workflow server only. When i start the install file with the universal installer i can only choose forYou need additional Oracle Database Companion CD, for link look at this message
(from thread which I provided in prev. post)
Re: Create Process Flow
Regards,
Oleg

Similar Messages

  • Unable to find product oracle.swd.jre[1.1.6, 1.1.7.27] in oracle inventory

    while installing workflow server 2.6 I got an error saying that "unable to find product oracle.swd.jre[1.1.6, 1.1.7.27] in oracle inventory"
    I tried installing it using oracle universal installer 2.2 but still it is giving the same error as above.
    so please help me.

    Thanks Allison for your help.
    I am installing wf server on windows 2000
    The other products installed in the same ORACLE_HOME are Oracle database 9i version 9.2.0.1.0
    I am not using any CD, but I have downloaded it from web and have the licence to use the software.
    I hope you can help me
    Janak

  • 'unable to find product oracle.swd.jre[1.3.1,1.6] in Oracle Inventory'

    Hi All,
    i am running the runInstaller for patch set 9.2.0.8 on AIX 5L Based Systems (64-Bit)
    after selecting the products.xml file and selecting the oracle home to update and then cllick Install
    i get the error 'unable to find product oracle.swd.jre[1.3.1,1.6] in Oracle Inventory'
    is it the issue of the version of oracle.swd.jre? can we skip the installation of this componenet?
    Kindly suggest
    Thanks
    SK

    Hi,
    Please see if these documents help.
    Note: 397745.1 - Error when installing Patch 2376472: "Unable to find product oracle.swd.jre "
    Note: 315842.1 - 'unable to find product oracle.swd.jre' Error During Agent Upgrade from 10.1.0.3 to 10.1.0.4
    Regards,
    Hussein

  • Unable to find product oracle.swd.jre[1.4.1, 9.9.9.] in Oracle Inventory

    I am trying to install Oracle 10g on Solaris 10 (SPARC) using the OUI and receive the following error towards the beginning of the install.
    unable to find product oracle.swd.jre[1.4.1, 9.9.9.] in Oracle Inventory
    Please respond if you have encountered this error and what you did to resolve it.
    Thanks

    Of course, thoroughly. Ok. Like I said, it surprising how often people don't check that, so we always ask first.
    Have you run into this error,
    or a similar one, before? No. Have installed 9.2 on several Solaris boxes without a problem, so have not directly seen this one.
    Do you have an applicable
    troubleshooting tips? I searched MetaLink on "unable to find product oracle.swd.jre" and got three hits. None are exactly your situation, but they might lead you to something. See notes 468150.1, 315842.1, and 397745.1.
    And this may be one requireing an SR.
    I suspect that the JRE
    location is not set properly. I

  • Unable to find driver (oracle.jdeveloper.cm.CMException)

    Hi All.
    I get this error message when I try to get a connection to my Database:
    oracle,jdeveloper.cm.CMException:unable to find driver:oracle.lite.poljdbc.POLJ...!
    I installed BPEL PM (where JDeveloper is included).
    Yesterday the Connection i made works fine, but today i get this error when I try to connect (open a SQL Worksheet) the same connection:
    Has anyone an Idea what is happen because I am shure I doesn't change sth. in my configuration since yesterday.
    It would be nice if sb. could give me a hint
    Message was edited by:
    BenSp

    Hi, maybe you could check out you have set the right olite jdbc driver in your project CLASSPATH
    Normally:
    $OLite_Home\jdbc\lib\classes12.jar
    Luis R.

  • Unable to find class oracle.adf.controller.faces.lifecycle.ADFPhaseListener

    hi ,OTN
    I have an ADF 10g application which I migrate to Jdeveloper 11.1.1.3.0 version after migration and turning Adf faces to Apache Trinidad components and fixing all my code,compiling the application without any Errors,when I deployed my application to weblogic I had a deployment exception this is all the stack trace
    User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener '
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException:
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    <08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286547027015' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException:
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    >
    <08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'Version4'.>
    <08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Version4'.>
    <08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: :com.sun.faces.config.ConfigurationException:
    Source Document: file:/C:/Documents and Settings/Administrator/Application Data/JDeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/Version4/ViewControllerWebApp.war/WEB-INF/faces-config.xml
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    help please?

    thank you for quick reply. but I ran my application in the integrated weblogic server in the Jdeveloper.I did not deploy it to a standalone one.did you mean the default domain?

  • Oracle Workflow Server in a SUN machine; and the Oracle

    Hi All
    I have installed Oracle Workflow Server in a SUN machine; and the Oracle
    Workflow Client (Builder) in a WIN2000 machine.
    In the SUN machine, I already had installed Oracle9i and OMS (Oracle
    Management Server) version 9.2.0.1.0.
    In the WINDOWS 2000 machine, I already had installed the Oracle9i
    Client and the OWB (Oracle Warehouse Builder) version 9.0.3.35.0. Workflow
    Builder
    was installed together with Oracle Client components.
    I have a OWB (Oracle Warehouse Builder) project, and I deploy and schedule
    JOBS in OEM.
    Now I need Oracle Workflow in order to better ordering, manage and schedule
    that jobs.
    I'm reading the following documentation:
    Oracle Workflow Guide (Release 2.6.2)
    http://www.csis.gvsu.edu/GeneralInfo/Oracle/workflow.920/a95265.pdf But I think Oracle Workflow is very complex to learn quickly.
    My OWB Project has several mappings that load tables in a Data Warehouse.
    When I deploy these mappings one by one, in OEM, I can execute them in OEM
    and they work well.
    But when I use the Workflow Deployment Wizard, I create a new Workflow
    Project (Item type and Process).
    But I can't Launch this process. I go to Launch Process in Workflow page
    (http://:/pls//) but when I iniciate the project,
    it stops in the OWB Standard Begin Function. It does not go ahead.
    Well, when I use the Workflow Deployment Wizard inside OWB, it generates
    jobs that can
    be viewed inside OEM (Oracle Enterprise Manager) too. But when I submit
    these jobs, I can't get success too.
    Can somebody help me? May you guide me in order to solve my problem, or send
    me some
    documents or links about workflow, and it's integration with OWB and OEM?
    Best regards

    I think this might be more of an OWB question, and how OWB uses workflow, I have sent an email internally to try and get someone to responsd. You should also consider contacting Oracle Support if you are having these kinds of problems.
    Hi All
    I have installed Oracle Workflow Server in a SUN machine; and the Oracle
    Workflow Client (Builder) in a WIN2000 machine.
    In the SUN machine, I already had installed Oracle9i and OMS (Oracle
    Management Server) version 9.2.0.1.0.
    In the WINDOWS 2000 machine, I already had installed the Oracle9i
    Client and the OWB (Oracle Warehouse Builder) version 9.0.3.35.0. Workflow
    Builder
    was installed together with Oracle Client components.
    I have a OWB (Oracle Warehouse Builder) project, and I deploy and schedule
    JOBS in OEM.
    Now I need Oracle Workflow in order to better ordering, manage and schedule
    that jobs.
    I'm reading the following documentation:
    Oracle Workflow Guide (Release 2.6.2)
    http://www.csis.gvsu.edu/GeneralInfo/Oracle/workflow.920/a95265.pdf But I think Oracle Workflow is very complex to learn quickly.
    My OWB Project has several mappings that load tables in a Data Warehouse.
    When I deploy these mappings one by one, in OEM, I can execute them in OEM
    and they work well.
    But when I use the Workflow Deployment Wizard, I create a new Workflow
    Project (Item type and Process).
    But I can't Launch this process. I go to Launch Process in Workflow page
    (http://:/pls//) but when I iniciate the project,
    it stops in the OWB Standard Begin Function. It does not go ahead.
    Well, when I use the Workflow Deployment Wizard inside OWB, it generates
    jobs that can
    be viewed inside OEM (Oracle Enterprise Manager) too. But when I submit
    these jobs, I can't get success too.
    Can somebody help me? May you guide me in order to solve my problem, or send
    me some
    documents or links about workflow, and it's integration with OWB and OEM?
    Best regards

  • Unable to find this Oracle document ID 1277924.1

    Hi All,
    Unable to find the below document provided by Oracle Support
    WebCenter Page Hangs with Web Page Layout Components Referring to JSF Pages (Doc ID 1277924.1)
    Any help will be appreciated.
    Thanks,
    Somnath

    Unable to find the below document provided by Oracle SupportMe neither. Just tell support to provide you more information.

  • Unable to find class oracle.panama.personalization.login

    oracle.jsp.parse.JspParseException: Line # 21, Error: Unable to find class for bean: login defined by tag with class: oracle.panama.personalization.login
    I get this message when trying to go to "http://{hostname}/papz/login.jsp"
    window 2k, Oracle 8.1.7, 9iASwe 1.0.2.0.0.
    Any help would be great.
    Thanks in advance
    Sean.

    I'm also having this problem. Could really use some help

  • JVM Loader Error: Unable to find supported JDK or JRE version

    Hello,
    I am trying to use Visibroker (Borland version 6.5) with JDK 1.5.2
    When I try to run idl2java, it gives me the following message:
    JVM Loader Error:
    Unable to find a supported JDK or JRE version. The JVM Version should be either 1.3.1 or 1.4.1 and above.
    Check your installation and use -VBJjavavm or -javahome(vbj only) to specify the JDK or JRE location
    I am using eclipse IDE - i created an external tool configuration for idl2java giving the argument *.idl
    I looked in the forum and tried the suggestions given in this thread
    http://forum.java.sun.com/thread.jspa?threadID=376403&messageID=3052413
    Where am I going wrong. Can someone help me?
    Thaks
    Manju

    Hi,
    I don't know if you got an answer to this problem. It looks like you need to install Borland Service Pack 1 (for BES 6.5) to fix this issue. I spent a couple of days squirming, trying to figure out this issue.
    Hope this helps.
    Regards,
    Sony.

  • Unable to find product categories after client copy

    Hi all,
    We have copied  clients from an existing ones for both SRM and ECC. After client copy we have followed standard procedure after client copy i.e.
    Run transcation BDLS
    created new RFC connections
    changed attributes using the Attributes replace report
    created new distributon model
    maintained CRM parameters
    maintained new site attributes in SMOEAC transaction
    maintained entries in table TWPURLSVR
    however , when i try to create a shopping cart,  I cannot see any product category. The extended attributes for product category point to new ECC client becuse we have run the attributes replace report.
    however in the product category table , COMM_CATEGORY , the product categories listed are all for the old ECC client
    When i tried to load the Object DNL_CUST_PROD1 using transaction R3AS in SRM and tried to pull from new ECC client , it is in runing status for a long time and new categories with new ECC backend reference are not being replicated in the SRM.
    Can you tell me why this could be happening ? How can i get the product categories from new ECC backend into my client?
    Regards,
    Mangesh

    problem solved
    i was using wrong parameters in BDLS

  • Error while installing Oracle Workflow

    Hi,
    While installing Oracle Workflow on Oracle9i Release 2 I am getting this error :
    Unable to find product oracle.swd.jre[1.1.6,1.1.7.27] in Oracle Inventory
    If anyone can help me on this issue.

    Amit,
    You will find workflow in the database server CD (9.0.2 and 9.2). Go to the integration and management option from the CD.
    Cheers,
    Raja

  • Oracle Workflow Manager, Agent Listener, and Java Mailer problem

    Hi,
    I am not sure this topic to this forum, since this might be installation issue.
    But I am hitting a big wall.
    I had Windows 2000 SP4.
    I have already installed Oracle Database 10gR1, Oracle Developer 10gR2, and Oracle Workflow 2.6.3 Standalone previously.
    Including :
    - Oracle Workflow Server 2.6.3
    - Oracle Workflow Builder 2.6.3.5
    - Apache HTTP Server 9.0.4
    - Workflow Middle Tier
    Anything seems to right, including the Notification Mailer and the Business Event.
    And I had also made backup of them surely.
    Now,
    I'd like to change into Oracle Database 10gR2 because :
    1. Some errors I found when I tried to call a Report from Oracle Form.
    Unable to connect to Report Server ...
    I thought Oracle Database 10gR1 is not suitable for Oracle Developer 10gR2.
    2. And in the OWF 2.6.3 Workflow Home Page, there was no Logout button (which I found in OWF 2.6.4)
    I removed my previous installation including Oracle Workflow.
    After strugglineg in the installation of Oracle Database 10gR2, now I am facing another problem with Oracle Workflow.
    I succesfully installed Oracle Workflow 2.6.4 Server and Oracle Workflow Manager (standalone version),
    and the Oracle Workflow Middle Tier.
    After I launch Oracle Workflow Configuration Assisstant, everthing seems to be normal.
    I succed to open the Oracle Workflow Home Page (and found the Logout button there)
    Next, I tried to navigate to the Oracle Workflow Manager.
    1. I start the OC4J_Workflow_Management_Container --> initialized
    2. OC4J_Workflow_Component_Container
    The following error line appeared in the OC4J command prompt
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.Logger.Logger(String,
    int) : Logging to System.out until necessary parameters are retrieved for Logger
    to be properly started.
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    initializeStateMachine() : BEGIN [default implementation]
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    getNewWorkflowContext() : BEGIN
    06/05/26 10:31:45 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    loadGlobalParameters() : BEGIN
    06/05/26 10:31:48 oracle.apps.fnd.wf.common.ContextFactoryException: Unable to g
    et connection from data source because the following Exception occurred -> java.
    sql.SQLException: ORA-28000: the account is locked
    06/05/26 10:33:57 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)
    initialized
    3. finally it initialized
    Next I tried to go to Oracle Workflow Manager from related link of Enterprise Manager
    It is said that the OWF_MGR is locked
    (I surprised since I had UNLOCKED the OWF_MGR after the installation and succeed to login at the Workflow Home Page)
    And the following error line appeared in the commaned prompt after that
    06/05/26 10:35:03 OrionCMTConnection not closed, check your code!
    06/05/26 10:35:03 Logical connection not closed, check your code!
    06/05/26 10:35:03 (Use -Djdbc.connection.debug=true to find out where the leaked
    connection was created)
    4. I re-UNLOCK the OWF_MGR and login to Oracle Workflow Manager
    I noticed that the Agent Listener and Notification Service is Unavailable
    (In OWF 2.6.3, The Agent Listener was started and Notification Service was waiting to be configured)
    I tried to start one of the Agent Listener, but the following error appeared
    ERROR: The Service Component Container is not running
    Well, I had the same problem when installing the OWF 2.6.3
    I tried to uninstall (remove) and re-install it like I had done before in OWF 2.6.3
    (based on someone's post in Oracle's forum)
    But this time, the re-installation won't fix this problem. (It was succeed in the OWF 2.6.3)
    Everytime I start the OC4J, using wfmgrstart.bat and wfsvcstart.bat
    the OWF_MGR is re-LOCKED(TIME) automatically.
    And the servlet (WFALSNRSVC and WFMLRSVC) are not running.
    I am worry, since I cannot use the Notification Mailer if this problem had not fixed yet.
    (In OWF 2.6.3, the mailer was not available until those servlet is Started)
    Sorry for the long post.
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Finally, I have found the solution.
    Step :
    1. Start all of the Oracle Service, except for the OC4J
    If you have already started OC4J, then stop them
    Unlocked the <wf_manager_user>
    2. Search in your Oracle Home : data-sources.xml
    There should be two files,
    one is in the ...\OC4J_Workflow_Component_Container\application-deployments\WFALSNRSVCApp
    the other is in ...\OC4J_Workflow_Component_Container\application-deployments\WFMLRSVCApp
    3. Make sure, you create back up of them.
    4. Replace the following line
    password="-&gt;pwForOwfMgr"
    with
    password="<your_wf_manager_password>",
    should be look like this
    password="a"
    5. Now start the OC4J using wfmgrstart.bat and wfsvcstart.bat
    6. Next, login to the Oracle Workflow Manager
    This worked for me.
    Hope this will help someone who has the same problem.
    Buntoro

  • Unable to find line break between two lines in attachment file.

    Dear all I will be very great full if someone help me out,
    I am trying to send mail through SMTP server with an attachment of oracle report, but I am unable to find line break between two lines, when I down load the attachment from mail and open attach.txt file by double click on it. Next line starts right after previous line ends, it should starts with new line.
    In order to send an attachment file, I am reading source file line by line and put MIME protocol’s attachment instance, contain of source file is being properly written into target file if I open that attachment on cmd prompt.
    Following code may help you to understand the case.
    Thanks in advance.
    My code is as follows:-
    create or replace procedure bec_file_test
    v_subject varchar2, -- Subject of the email
    v_body varchar2, -- Body of the email
    v_from VARCHAR2 default 'XYZ.com', -- sender mail id
    v_to varchar2 default 'XYZ.com', -- Field To of the email
    v_cc varchar2 default 'XYZ.com' -- cc address
    ) is
    -- variable to hold the smtp server connection
    v_smtp_connection utl_smtp.connection;
    -- variable to hold the smtp host name
    v_smtp_host varchar2(100) default 'mail.bec-group.com';
    -- variable to hold the smtp port
    v_smtp_port number default 25;
    -- composite of {CR}{LF} caridge return and line feed.
    CRLF varchar2(2):=CHR(13)||CHR(10);
    cursor pr_rec is
    select requisition_no,line_no,release_no,a.contract,
    a.project_id,substr(a.activity_seq,1,11)ACT_SEQ,
    substr(a.part_no,1,12)PART_NO,
    substr(a.description,1,32)DESCRIPTION,
    substr(a.Bal_qty,1,8) BAL_QTY,
    substr(a.unit_meas,1,5)UOM,
    a.wanted_receipt_date WAN_REC_DT,
    a.latest_order_date LAT_ORD_DT
    from bec_pr_line_rep a
    where a.Bal_qty>0 and a.header_state not in 'Closed'
    and upper(a.state1) like 'RELEASED' and a.contract not in ('U1ENG','ULENG','U1FND','U2FND')
    and a.buyer_code='70306'
    order by a.part_no;
    begin
    declare
    fHandle UTL_FILE.FILE_TYPE;
    v_msg_line varchar2(2000);
    -- v_buffer varchar2(20000);
    --ALTER SYSTEM SET utl_file_dir = 'D:\Database\temp'
    --COMMENT='Temporary change on Dec 14'
    --SCOPE=SPFILE;
    SELECT name, value
    FROM gv$parameter
    WHERE name = 'utl_file_dir';
    --drop directory my_directory
    --CREATE or replace DIRECTORY my_directory AS 'D:\database\temp';
    --GRANT read,write ON DIRECTORY my_directory TO PUBLIC;
    begin ---writing data into a file.
    fHandle := UTL_FILE.FOPEN('MY_DIRECTORY', 'pending_pr_summry.txt', 'w');
    UTL_FILE.put_line(fHandle, ' Pending PR to process (detail report)');
    UTL_FILE.put_line(fHandle,TO_CHAR(SYSDATE,'MM-DD-YY HH:MI:SS AM'));
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    UTL_FILE.put_line(fHandle, 'Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt' );
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    for pr_temp in pr_rec loop
    begin
    v_msg_line:=to_char(rpad(pr_temp.requisition_no,12,' ')||'|'||
    lpad(pr_temp.line_no,3,' ')||'|'||
    lpad(pr_temp.release_no,3,' ')||'|'||
    rpad(pr_temp.contract,7,' ')||'|'||
    lpad(nvl(pr_temp.project_id,' '),7,' ')||'|'||
    lpad(nvl(pr_temp.act_seq,' '),12,' ')||'|'||
    lpad(pr_temp.part_no,12,' ')||'|'||
    rpad(pr_temp.description,35,' ')||'|'||
    lpad(pr_temp.bal_qty,10,' ')||'|'||
    rpad(pr_temp.uom,6,' ')||'|'||
    lpad(pr_temp.wan_rec_dt,14,' ')||'|'||
    lpad(pr_temp.lat_ord_dt,14,' '));
    UTL_FILE.put_line(fHandle,v_msg_line);
    end;
    end loop;
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    UTL_FILE.put_line(fHandle, ' Regards : IFSAPP ( Application owner ) ');
    UTL_FILE.FCLOSE(fHandle); ------------writing into file is successfuly done here!
    --Reading of file starts here containt will be added in attchment file
    fHandle :=UTL_FILE.FOPEN('MY_DIRECTORY','pending_pr_summry.txt','R' );
    -- establish the connection to the smtp server
    v_smtp_connection := utl_smtp.open_connection(v_smtp_host, v_smtp_port); /** OPEN CONNECTION ON THE SERVER **/
    -- perform a handshake with the smtp server
    utl_smtp.helo(v_smtp_connection, v_smtp_host); /** DO THE INITIAL HAND SHAKE **/
    -- set the 'from' address of the message
    utl_smtp.mail(v_smtp_connection, v_from);
    -- add the recipient to the message
    utl_smtp.rcpt(v_smtp_connection, v_to);
    -- send the email
    utl_smtp.open_data(v_smtp_connection);
    v_msg_line:='Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || CRLF ||
    'From: ' || v_from || CRLF ||
    'Subject: ' || v_subject || CRLF ||
    'To: ' || v_to || CRLF ||
    'Cc: ' || v_cc || CRLF ||
    'MIME-Version: 1.0'|| CRLF || -- Use MIME mail standard
    'Content-Type: multipart/mixed;'||CRLF ||
    ' boundary="-----SECBOUND"'||CRLF||
    CRLF ||'-------SECBOUND'|| CRLF ||
    'Content-Type: text/plain;'|| CRLF ||
    'Content-Transfer_Encoding: 7bit'|| CRLF ||
    CRLF ||v_body|| CRLF;     -- Message body
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    v_msg_line:='-------SECBOUND'|| CRLF ||
    'Content-Type: application/octet-stream;'|| CRLF ||
    'Content-Type: text/plain;'|| CRLF ||
    'name="pending_pr_summry.txt"'|| CRLF ||
    'Content-Transfer_Encoding: 8bit'|| CRLF ||
    'Content-Disposition: attachment;'|| CRLF ||
    ' filename="pending_pr_summry.txt"'|| CRLF || CRLF;     -- Content of attachment
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    -- check file is opened
    IF utl_file.is_open(fHandle) THEN
    -- loop lines in the file
    LOOP
    BEGIN -- Content of attachment
    utl_file.get_line(fHandle,v_msg_line);
    v_msg_line:=concat(v_msg_line,CRLF);
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXIT;
    END;
    END LOOP;
    END IF;
    --end of attachment containt     
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    UTL_FILE.FCLOSE(fHandle);
    utl_smtp.close_data(v_smtp_connection);
    utl_smtp.quit(v_smtp_connection);
    exception
    when utl_smtp.invalid_operation then
    dbms_output.put_line(' Invalid Operation in Mail attempt using UTL_SMTP.');
    when utl_smtp.transient_error then
    dbms_output.put_line(' Temporary e-mail issue - try again');
    when utl_smtp.permanent_error then
    dbms_output.put_line(' Permanent Error Encountered.');
    when others then
    dbms_output.put_line('Exception: SQLCODE=' || SQLCODE || ' SQLERRM=' || SQLERRM);
    RAISE;
    end;
    end bec_file_test;

    Pending PR to process (detail report)01-17-13 12:43:19 PM--------------------------------------------------------------------------------------------------------------------------------------------------Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt--------------------------------------------------------------------------------------------------------------------------------------------------MAT/250370 | 2| 1|ISCSP | 4977| 100004207| 0104000016|Angle 50 X 50 X 6 IS:2062 Grade |500|kg |30-NOV-2012| 20-nov-2012MAT/250370 | 3| 1|ISCSP | 4977| 100004207| 0105000002|Channel 100 X 50 IS:2062 Grade A | 1000|kg | 30-NOV-2012| 20-nov-2012MAT/250579 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 2991|kg | 13-DEC-2012| 03-dec-2012MAT/250606 | 2| |NMDCJ | 6002| 100005860| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | |1|NMDCJ|6001|100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 1500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 3| 1|NMDCJ | 6002| 100005818| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 3939|kg | 29-DEC-2012| 19-dec-2012MAT/250606 | 4| 1|NMDCJ | 6002| 100005860| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 39000|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 4| 1|NMDCJ | 6001| 100005580| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 2| 1|NMDCJ | 6002| 100005818| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 12183|kg | 29-DEC-2012| 19-dec-2012MAT/250606 | 6| 1|NMDCJ | 6002| 100005860| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 9500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 6| 1|NMDCJ | 6001| 100005580| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 6| 1|NMDCJ | 6002| 100005818| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 7| 1|NMDCJ | 6001| 100005580| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 22000|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 7| 1|NMDCJ | 6002| 100005818| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 27060|kg | 29-DEC-2012| 19-dec-2012MAT/251138 | 1| 1|NMDCJ | 6002| 100005825| 3501000001|Cement 50 kg | 1|pkt | 25-DEC-2013| 14-dec-2013--------------------------------------------------------------------------------------------------------------------------------------------------
    where as source file is like that:-
    Pending PR to process (detail report)
    01-17-13 12:43:19 PM
    Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt
    MAT/250370 | 2| 1|ISCSP | 4977| 100004207| 0104000016|Angle 50 X 50 X 6 IS:2062 Grade | 5500|kg | 30-NOV-2012| 20-nov-2012
    MAT/250370 | 3| 1|ISCSP | 4977| 100004207| 0105000002|Channel 100 X 50 IS:2062 Grade A | 1000|kg | 30-NOV-2012| 20-nov-2012
    MAT/250579 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 2991|kg | 13-DEC-2012| 03-dec-2012
    MAT/250606 | 2| 1|NMDCJ | 6002| 100005860| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 1500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 3| 1|NMDCJ | 6002| 100005818| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 3939|kg | 29-DEC-2012| 19-dec-2012
    MAT/250606 | 4| 1|NMDCJ | 6002| 100005860| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 39000|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 4| 1|NMDCJ | 6001| 100005580| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 2| 1|NMDCJ | 6002| 100005818| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 12183|kg | 29-DEC-2012| 19-dec-2012
    MAT/250606 | 6| 1|NMDCJ | 6002| 100005860| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 9500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 6| 1|NMDCJ | 6001| 100005580| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 6| 1|NMDCJ | 6002| 100005818| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 7| 1|NMDCJ | 6001| 100005580| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 22000|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 7| 1|NMDCJ | 6002| 100005818| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 27060|kg | 29-DEC-2012| 19-dec-2012
    MAT/251138 | 1| 1|NMDCJ | 6002| 100005825| 3501000001|Cement 50 kg | 1 |pkt | 25-DEC-2013| 14-dec-2013
    Ignore alignment. It is well formatted in source file.

  • Process Flow Deployment using Oracle workflow

    Hi,
    If I have my own Process Flow in XPDL, can I deploy it to the Oracle workflow? I couldn't find any doc regarding how Oracle workflow (standalone) imports XPDL file.
    Is the Oracle workflow packaged with the OWB comes with some adapter that understand the XPDL process flow?
    I have an application that may output process flows in XPDL, and I want to deploy them to Oracle workflow for processing. How do I do that?
    Thanks,
    Denny

    Hi,
    I´ve used it in 2 system as a DM. It works fine. But I have to say that they were a small project.
    OWF is a very robust and easy tool. I´ve never need to look for another workflow because OWF always cover my project. When it doesn´t, I´m able to change some pl/sql procedures to make it attend project requirements.
    I can advice you that if you want a personalized user interface, you are going to spend more time doing it than developing your workflow. but if you don´t need to personalize user interface, so it is very easy do develop and deploy a workflow.
    Any doubt just ask.
    Regards,
    Luiz Soares

Maybe you are looking for