Manage Site-Specific Tasks ERROR

Hello,
I have been using Site-Specific Tasks to alert my users when we take our APEX environment down (for patches and upgrades). I created a Site-Specific Task that I guess was just too long. Now, when I go into the ADMIN tool, instead of allowing me to edit/delete the task it throws this error:
report error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Is there a table that this task sits in? Can I manually delete it?
Thanks!
evoss

Scott,
<br><br>
Yeah, since I wasn't seeing those table names I started searching on everything in the DB in hopes of finding something. This is how I picked up the package names.
What I finally realized was the user I was logging in as didn't have enough rights to see the WWV_FLOW_CUSTOMIZED_TASKS table.
<br><br>
All is well now after my DBA truncated the table. Still don't know why APEX wouldn't let me edit the field, the only thing I could think of is maybe some of the HTML tags I was using was messing it up. Now that I have access to the field, I can put the full task I created into the forum:
<br><br>
<.b>XXX:<./b><.br><br><br>
<.br>
**Scheduled Downtime**<.br><br>
<.i>10GR1 -->10GR2<./i><.br><br>
9/25/06<.br><br>
5:00PM till 10:00PM
<.br><.br><br><br>
**Scheduled Downtime**<.br><br>
<.i>APEX Upgrade to 2.2<./i><.br><br>
9/27/06<.br><br>
5:00PM till 6:30PM
<.br><.br><br><br>
Please contact <.a href="mailto:[email protected]">XXX<./a> if you have
any issues or questions.
<br><br>
Either way, it works now. Thanks for pointing me to the right table.
<br><br>
Thank you all so much,<br>
evoss

Similar Messages

  • Site-specific error pages do not render images?

    A weird one, but here goes.....
    Does anyone have any idea why our site specific error pages (Network Error, Site Busy Error...) would not serve images?
    Our custom HTML and pages appear as desired, but our logo and other .gifs do not and appear broken though they are in the same location.....
    Thanks in advance for any help offered......

    Anyone?????

  • Error amending a specific task

    Hi There !
    I'm sending an amending to an order in progress, everything works as expected in the compensation process, compensating each task as I set it up, but when it try to execute a specific task in Redo mode near the end of the process I'm getting the folowing exception.
    <16-oct-2012 4:09:56,809 COT PM> <INFO> <ncaosmorquestacionba_toip.enviarReapertura> <ExecuteThread: '11' for queue: 'oms.automation'> <Creating automation plugin [c
    lass oracle.communications.ordermanagement.automation.plugin.XQuerySender] jndi[TACrearOrdenActivadorBA_TOIP.automatedtask.ncaosmorquestacionba_toip.enviarReapertura
    ] built using SDK version [7.2.0.0.0]>
    <16-oct-2012 4:09:56,884 COT PM> <WARN> <ncaosmorquestacionba_toip.enviarReapertura> <ExecuteThread: '11' for queue: 'oms.automation'> <Attempting to clean up refere
    nces to bad EJB references>
    <16/10/2012 04:09:56 PM COT> <Warning> <oms> <BEA-000000> <ncaosmorquestacionba_toip.enviarReapertura: Attempting to clean up references to bad EJB references>
    <16-oct-2012 4:09:56,894 COT PM> <ERROR> <automation.AutomationDispatcher> <ExecuteThread: '11' for queue: 'oms.automation'> <Failed to execute plugin[/automation/pl
    ugin/internal/task/NcaOsmOrquestacionBA_TOIP/1.0.0.0.0/TACrearOrdenActivadorBA_TOIP/redo] due to com.mslv.oms.automation.AutomationException: org.w3c.dom.ls.LSExcept
    ion>
    com.mslv.oms.automation.AutomationException: com.mslv.oms.automation.AutomationException: org.w3c.dom.ls.LSException
    at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.a(Unknown Source)
    at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
    at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
    at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
    at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
    at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
    at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
    at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:379)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
    at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    Caused by: com.mslv.oms.automation.AutomationException: org.w3c.dom.ls.LSException
    at com.mslv.oms.automation.TaskContextLocal.getOrderAsSource(Unknown Source)
    at com.mslv.oms.automation.plugin.AbstractAutomator._runAutomator(Unknown Source)
    at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
    ... 18 more
    Caused by: com.mslv.oms.OMSException: org.w3c.dom.ls.LSException
    at com.mslv.oms.jsp.processor.RequestProcessorSupport.processRequest(Unknown Source)
    at com.mslv.oms.jsp.processor.RequestProcessorSupport.processRequest(Unknown Source)
    at com.mslv.oms.jsp.xmlapi.InternalRequestProcessor.processRequestSourceResponse(Unknown Source)
    at com.mslv.oms.jsp.controller.CoreRequestController.processRequestSourceResponse(Unknown Source)
    at com.mslv.oms.jsp.controller.CoreRequestController.processRequestSourceResponse(Unknown Source)
    at com.mslv.oms.automation.TaskContextLocal.getOrder(Unknown Source)
    at com.mslv.oms.automation.TaskContextLocal.getOrderData(Unknown Source)
    ... 21 more
    Caused by: java.lang.RuntimeException: org.w3c.dom.ls.LSException
    at oracle.communications.ordermanagement.util.xml.XMLHelper.asXML(Unknown Source)
    at com.mslv.oms.handler.order.compare.m.nodeAdded(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.b(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.b(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.b(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
    at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
    at com.mslv.oms.model.order.CompensatedTask.getDataDifferences(Unknown Source)
    at com.mslv.oms.model.order.CompensatedTask.getCompensatedTask(Unknown Source)
    at com.mslv.oms.handler.getorder.GetOrderHandlerEJB.process(Unknown Source)
    at com.mslv.oms.handler.a.processRequest(Unknown Source)
    at com.mslv.oms.jsp.processor.RequestProcessorSupport.a(Unknown Source)
    ... 28 more
    Caused by: org.w3c.dom.ls.LSException
    at org.apache.xml.serialize.DOMSerializerImpl.writeToString(Unknown Source)
    ... 44 more
    Caused by: java.lang.NullPointerException
    at org.apache.xml.serialize.DOMSerializerImpl.prepareForSerialization(Unknown Source)
    ... 45 more
    I've checked every detail in the task settings and the function involved I've checked every detail in the task settings and the function involved, I have even re-created the task and function, but the error persists.
    If anyone has any idea what caused the error I appreciate your help.
    Best Regards

    Hi Andres,
    Looks like the xml resulted from redo plugin seems not well formed. Please check the resultant xml once.
    Thanks,
    Naveen Jabade

  • Dreamweaver CS4 - Existing Site Name Changed in Manage Sites

    Please help me! I have an existing site name from Manage Sites become slightly different site name from original.
    For example, existing site name was fashionstars, now become ftp://fashionstars, with ftp:// in it. ( It happen when I did some try and error approach to do certain task, or press the wrong buttons etc) Is there any possibility to change back to original name fashionstars and how to do it? Otherwise I won't be able to upload files to remote site because of different site name appeared in Manage Sites.
    Should I remove the modified site name ftp://fashionstars and recreate a new site name fashionstars and copy all exiting files from local site folder to new fashionstars?
    Regards,
    SSYYDD

    Additional information, I use MacBook Pro to run Dreamweaver CS4.  The existing site has 150 MB file size, hundreds of files, so to recreate new site name, it has to start to create all manually, will take a long time. Is there any other ways I can recreate site fashionstars without to start all over again?
    I am very worry about this, it may not be able to fix it. My website is stuck, won't be able to upload files any more.
    Another problem is that I lost the SITE DEFINITIONS for fashionstars or htp://fashionstars . When I go to Manage Sites to edit site of ftp://fashionstars, it goes to CONFIGURE SERVER, not the SITE DEFINITIONS for fashionstars or ftp://fashionstars. Please help me.
    ( note  that I use the name fashionstars as an example only, not my real site name)
    Thank you.
    SSYYDD

  • Failed – Site Backup Task at site SCCM 2012.

    I configured Backup of SCCM 2012 on my site Primary.
    I indicated folder in other server for my Backup of SCCM and SQL, I started all services of Backup in two servers and I gave permission for Everyone in the Sharing and Security.
    This is image of my SCCM, in tab Backup Site Server Properties:
    This is log of archive smsbkup.log
    Can anyone help me?
    Regards,
    Thiago Batista.
    http://www.gestaoemti.com.br/

    I have a similar issue. 
    My site backup task is running.  The logs show both the Site components and SQL DB backups completing mostly.
    Site Server smsbkup.log
    LogEvent(): Successfully logged Event to NT Event Log. (4 - 48 - 1,073,746,880) SMS_SITE_BACKUP 1/17/2015 7:51:46 PM 5200 (0x1450)
    FinalSnapshotPath =
    \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\PROGRAM FILES\MICROSOFT CONFIGURATION MANAGER\INBOXES\. SMS_SITE_BACKUP 1/17/2015 7:51:46 PM 5200 (0x1450)
    Backup Succeeded  for Component - SI4Backup\SiteServer\SMSServer\inboxes. SMS_SITE_BACKUP 1/17/2015 7:53:40 PM 5200 (0x1450)
    FinalSnapshotPath =
    \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\PROGRAM FILES\MICROSOFT CONFIGURATION MANAGER\LOGS\. SMS_SITE_BACKUP 1/17/2015 7:53:40 PM 5200 (0x1450)
    Backup Succeeded  for Component - SI4Backup\SiteServer\SMSServer\Logs. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    FinalSnapshotPath =
    \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\PROGRAM FILES\MICROSOFT CONFIGURATION MANAGER\DATA\. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    Backup Succeeded  for Component - SI4Backup\SiteServer\SMSServer\data. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    FinalSnapshotPath =
    \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\PROGRAM FILES\MICROSOFT CONFIGURATION MANAGER\SRVACCT\. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    Backup Succeeded  for Component - SI4Backup\SiteServer\SMSServer\srvacct. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    FinalSnapshotPath =
    \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\Program Files\Microsoft Configuration Manager\install.map. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    Backup Succeeded  for Component - SI4Backup\SiteServer\SMSServer. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    FinalSnapshotPath =
    \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\Program Files\Microsoft Configuration Manager\BackupTemp\SMSbkSiteRegSMS.dat. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    Backup Succeeded  for Component - SI4Backup\SiteServer\SMSbkSiteRegSMS.dat. SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    Waiting On SQL Backup for component sccmsi4 to complete... SMS_SITE_BACKUP 1/17/2015 7:53:48 PM 5200 (0x1450)
    Sleeping for 30 seconds... SMS_SITE_BACKUP 1/17/2015 7:53:49 PM 5200 (0x1450)
    Sleeping for 30 seconds... SMS_SITE_BACKUP 1/17/2015 7:54:19 PM 5200 (0x1450)
    Database Server smsbkup.log
    Updating the status to [snapshot done]. SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:50:50 PM 2420 (0x0974)
    Starting the backup complete phase. SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:50:50 PM 2420 (0x0974)
    Backup Succeeded  for Component - SCCMSI4. SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:52:42 PM 2420 (0x0974)
    Updating the database status to [SCCMSI4:Succeeded;]. SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:52:42 PM 2420 (0x0974)
    Successfully created the backup metadata file - E:\Site_Backup\SI4Backup\SiteDBServer\\SQLBackupDocument.xml SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:52:42 PM 2420 (0x0974)
    Info: Starting asynchronous BackupComplete... SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:52:42 PM 2420 (0x0974)
    Info: Asynchronous BackupComplete finished. SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:52:43 PM 2420 (0x0974)
    After BackupComplete SQL Writer status = STABLE. SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:52:43 PM 2420 (0x0974)
    Updating the status to [backup completed]. SMS_SITE_SQL_BACKUP_P-SC-SCM04.SDOMAINNET 1/17/2015 7:52:43 PM 2420 (0x0974)
    SQL backup completed - Sat Jan 17 19:52:43 2015 SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:52:43 PM 2420 (0x0974)
    Waiting for the Event Notification... SMS_SITE_SQL_BACKUP_P-SC-SCM04.DOMAIN.NET 1/17/2015 7:52:43 PM 2420 (0x0974)
    At the end of the smsbkup.log, after a loooonnnnggg time, the backup task finally times out with this message.
    Sleeping for 30 seconds... SMS_SITE_BACKUP 12/25/2014 2:11:53 PM 4296 (0x10C8)
    Sleeping for 30 seconds... SMS_SITE_BACKUP 12/25/2014 2:12:23 PM 4296 (0x10C8)
    Error: SQL Backup failed for component sccmsi4 SMS_SITE_BACKUP 12/25/2014 2:12:53 PM 4296 (0x10C8)
    ERROR: Timed out waiting for SQL backup for component sccmsi4 SMS_SITE_BACKUP 12/25/2014 2:12:53 PM 4296 (0x10C8)
    Error: Backup Failed  for Component - SI4Backup\SiteDBServer\SMSbkSQLSiteDB.dat. 
    SMS_SITE_BACKUP 12/25/2014 2:12:53 PM 4296 (0x10C8)
    Successfully created the backup metadata file -
    \\p-sc-fs04\IT\sccm_site_backup\SI4Backup\BackupDocument.xml SMS_SITE_BACKUP 12/25/2014 2:12:53 PM 4296 (0x10C8)
    STATMSG: ID=5057 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_SITE_BACKUP" SYS=P-SC-SCM04.DOMAIN.net SITE=SI4 PID=9084 TID=4296 GMTDATE=Thu Dec 25 22:12:53.196 2014 ISTR0="" ISTR1="" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    StateTable::CState::Handle - (5057:1 2014-12-25 22:12:53.196+00:00) >> (5056:1 2014-12-25 10:07:15.149+00:00) SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    CStateMsgReporter::DeliverMessages - Queued message: TT=1401 TIDT=0 TID='EF736CF9-7214-4796-9C85-2549A9056D8D' SID=5057 MUF=0 PCNT=2, P1='SI4' P2='2014-12-25 22:12:53.196+00:00' P3='' P4='' P5='' SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296
    (0x10C8)
    CStateMsgReporter::DeliverMessages - Created state message file: C:\Program Files\Microsoft Configuration Manager\inboxes\auth\statesys.box\incoming\e0f0ts1r.SMX SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    Successfully send state change notification EF736CF9-7214-4796-9C85-2549A9056D8D SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    LogEvent(): Successfully logged Event to NT Event Log. (4 - 48 - 1,073,746,881) SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    Waiting On SQL Backup task status... SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    STATMSG: ID=5054 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_SITE_BACKUP" SYS=P-SC-SCM04.DOMAIN.net SITE=SI4 PID=9084 TID=4296 GMTDATE=Thu Dec 25 22:12:55.789 2014 ISTR0="" ISTR1="" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    SQL Backup task completed successfully... SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    Info: Starting asynchronous BackupComplete... SMS_SITE_BACKUP 12/25/2014 2:12:55 PM 4296 (0x10C8)
    Info: Asynchronous BackupComplete finished. SMS_SITE_BACKUP 12/25/2014 2:12:57 PM 4296 (0x10C8)
    After BackupComplete SMS Writer status = STABLE. SMS_SITE_BACKUP 12/25/2014 2:12:57 PM 4296 (0x10C8)
    WARNING: SMS backup failed for atleast one component. Please check previous errors. SMS_SITE_BACKUP 12/25/2014 2:12:57 PM 4296 (0x10C8)
    SMS_SITE_BACKUP failed. Please see previous errors. SMS_SITE_BACKUP 12/25/2014 2:12:57 PM 4296 (0x10C8)
    STATMSG: ID=5060 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_SITE_BACKUP" SYS=P-SC-SCM04.DOMAIN.net SITE=SI4 PID=9084 TID=4296 GMTDATE=Thu Dec 25 22:12:57.423 2014 ISTR0="WARNING: SMS backup failed for atleast one component. Please check
    previous errors." ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_BACKUP 12/25/2014 2:12:57 PM 4296
    (0x10C8)
    SMS_SITE_BACKUP service is stopping. SMS_SITE_BACKUP 12/25/2014 2:12:57 PM 4296 (0x10C8)
    STATMSG: ID=502 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_SITE_BACKUP" SYS=P-SC-SCM04.DOMAIN.net SITE=SI4 PID=9084 TID=4296 GMTDATE=Thu Dec 25 22:12:57.423 2014 ISTR0="SMS_SITE_BACKUP" ISTR1="" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_SITE_BACKUP 12/25/2014 2:12:57 PM 4296 (0x10C8)
    Raised backup task failure alert. SMS_SITE_BACKUP 12/25/2014 2:12:57 PM 4296 (0x10C8)
    I'm not sure where to go on this.  I've tried a bunch of things like permissions, local vs., remote backup target.

  • Advancing wfs to specific tasks through script

    Hello,
    Is there a batch way (i.e. through a script) to advance workflows to specific tasks?
    Two alternatives were considered:
    1) Through the java admin applet, to expedite each workflow to the desired task. This is much too slow for us.
    2) Through the wf_engine.CompleteActivity command, but this requires for the specific activity to be notified; it cannot be performed on any activity but only on the notified ones. So it is useless in our case.
    Any ideas?

    Vassilis,
    If you are using Workflow 2.6.2 on 9iR2 you can access the workflow manager from the enterprise manager utility bulk process work items.
    1. Workflow Manager -&gt; Work Items (in the Related Links section at the bottom of the page) -&gt; View(Errored Work Items).
    2. Select one of these work item types, and click View Details. Select one of the work item activity stages (ie. the activity name where the workflow errored) and click View Details. Now you will see a list of all the work items that had errored at that activity.
    3. For an individual work item, you can abort, retry or even launch the workflow monitor. But, the big benefit for a System Administrators is that they can now Abort All or Retry All on all of the workflows at that stage.
    4. The same kinds of administrator mass actions are available for active, suspended and deferred workflows as well.
    Hope this helps..
    Raja

  • How to assign project specific task with the newly created projects ?

    Hi All,
    I need help. I need to assign project specific tasks (which i will be taking from staging table) other than the default task which are assigned during project creation. How do I proceed with this within same package. I am attaching the code of my package below...
    CREATE OR REPLACE PACKAGE body xxpa_proj_conv_pkg as
    PROCEDURE xxpa_create_project_proc(O_ERRBUF OUT VARCHAR2,O_RETCODE OUT VARCHAR2)
    is
    variables need to derive global parameters
    v_responsibility_id NUMBER; --- PA Supervisor responsibility id
    v_user_id NUMBER;
    deriving global parameters-
    -- Variables needed for API standard parameters
    v_api_version_number NUMBER := 1.0;
    v_commit VARCHAR2(1) := 'F';
    v_return_status VARCHAR2(1);
    v_init_msg_list VARCHAR2(1) := 'F';
    v_msg_count NUMBER;
    v_msg_index_out NUMBER;
    v_msg_data VARCHAR2(2000);
    v_data VARCHAR2(2000);
    v_workflow_started VARCHAR2(1) := 'Y';
    v_pm_product_code VARCHAR2(10);
    ---variables for catching errors---
    v_error_flag number:=0;
    -- Predefined Composite data types
    v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
    v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
    v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
    v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
    v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
    v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
    v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
    v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
    v_CREATED_FROM_PROJECT_ID varchar2(20);
    v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
    v_person_id NUMBER;
    v_project_role_type VARCHAR2(20);
    API_ERROR EXCEPTION;
    v_a NUMBER;
    cursor for project in data
    CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
    cursor for task data
    CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;
    ------------------------Cursors used for validations----------------------------------
    cursor for product code used for validation
    cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
    cursor for distribution rule-
    cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
    cursor for project status code
    cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
    cursor for template/created from project id
    cursor ccpid is select project_id from pa_projects where template_flag='Y';
    BEGIN
    select user_id, responsibility_id into v_user_id, v_responsibility_id
    from PA_USER_RESP_V
    where user_name like 'amit_kumar%'
    and responsibility_name like'PA SupervisorS';
    -- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
    -- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
    -- -------calling global parameters---
    pa_interface_utils_pub.set_global_info
    p_api_version_number =>v_api_version_number,
    p_responsibility_id =>v_responsibility_id,
    p_user_id =>v_user_id,
    p_msg_count =>v_msg_count,
    p_msg_data =>v_msg_data,
    p_return_status =>v_return_status
    dbms_output.put_line ('Set Global status ->' || v_return_status);
    ----Cursor for PRODUCT RELATED DATA-----------
    FOR REC IN cur_project_in_data LOOP
    -----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
    ----retrieving product code-----
    select lookup_code into v_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Oracle Project Manufacturing';
    -----retrieving and validating created from project id----
    BEGIN
    select project_id
    into v_CREATED_FROM_PROJECT_ID
    from pa_projects_all
    where name=rec.created_from_project_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;
    END;
    -----retrieving & validating carrying out organization id-----
    BEGIN
    select distinct(CARRYING_OUT_ORGANIZATION_ID)
    into v_CARRYING_OUT_ORGANIZATION_ID
    from pa_projects_prm_v
    where CARRYING_OUT_ORGANIZATION_NAME=rec.carrying_out_organization_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent Carrying Out Organization name';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;
    END ;
    v_project_in.pm_project_reference := rec.segment1;
    v_project_in.project_name := rec.PROJECT_NAME;
    v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
    v_project_in.carrying_out_organization_id := v_CARRYING_OUT_ORGANIZATION_ID;
    v_project_in.project_status_code := rec.PROJECT_STATUS_CODE;
    v_project_in.description := rec.PROJECT_DESCRIPTION;
    v_project_in.start_date := rec.PROJECT_START_DATE;
    v_project_in.completion_date := rec.PROJECT_COMPLETION_DATE;
    v_project_in.distribution_rule := rec.DISTRIBUTION_RULE;
    v_project_in.project_relationship_code := rec.PROJECT_RELATIONSHIP_CODE;
    -------------------------Validation of incoming project data--------------------------------
    v_error_flag := 1;
    project relationship code validation
    BEGIN
    for prc in cprc
    loop
    if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project distribution rule validation
    BEGIN
    for dr in cdr
    loop
    if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project status code validation
    BEGIN
    for sc in cpsc
    loop
    if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
    validation logic for project start date
    BEGIN
    if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project start date cannnot be greater than completion date';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    END;
    validation logic for project completion date
    BEGIN
    if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
    then
    if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project closed date cannot be less than start date';
    end if;
    END;
    --------Update staging table for the error records--------
    BEGIN
    if v_error_flag =1
    then
    O_Retcode := '1';
    O_Errbuf :='Incorrect project relationship code';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
    end if;
    END;
    -----------------------End of validation of incoming project data----------------------------------
    ---------------Project Task DATA-----------------
    v_a:=0;
    FOR tsk IN cur_task_in_data LOOP
    v_tasks_in_rec.pm_task_reference :=tsk.task_reference ;
    v_tasks_in_rec.task_name :=tsk.task_name;
    v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
    v_tasks_in_rec.task_start_date :=tsk.task_start_date ;
    v_tasks_in_rec.task_completion_date :=tsk.task_completion_date ;
    v_tasks_in(v_a) := v_tasks_in_rec;
    v_a:=v_a+1;
    end loop;
    ---------------end of task details------------------
    --INIT_CREATE_PROJECT
    pa_project_pub.init_project;
    ---------------------CREATE_PROJECT--------------------------
    pa_project_pub.create_project(
    p_api_version_number=> v_api_version_number,
    p_commit => v_commit,
    p_init_msg_list => v_init_msg_list,
    p_msg_count => v_msg_count,
    p_msg_data => v_msg_data,
    p_return_status => v_return_status,
    p_workflow_started => v_workflow_started,
    p_pm_product_code => v_pm_product_code,
    p_project_in => v_project_in,
    p_project_out => v_project_out,
    p_key_members => v_key_members,
    p_class_categories => v_class_categories,
    p_tasks_in => v_tasks_in,
    p_tasks_out => v_tasks_out);
    if v_return_status = 'S'
    then
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success
    dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
    dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
    else
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;
    raise API_ERROR;
    end if;
    END LOOP;
    Commit;
    ------Handling Exception--------
    EXCEPTION
    WHEN api_error THEN
    dbms_output.put_line('An error occured during project creation');
    IF (v_msg_count > 0 ) THEN
    FOR i IN 1..v_msg_count LOOP
    apps.PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_encoded => 'F',
    p_msg_index => i,
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message v_data ->'||v_data);
    dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
    dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
    dbms_output.put_line('Error message p_msg_index ->'||i);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    WHEN OTHERS THEN
    dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
    IF (v_msg_count >=1 ) THEN
    FOR i IN 1..v_msg_count LOOP
    PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_msg_index => i,
    p_encoded => 'F',
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message ->'||v_data);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    end; --end procedure
    END xxpa_proj_conv_pkg;
    * Please tell me how to assign project specific task with the newly created projects??? *
    Also please tell me how to assign multiple * Project_Relationship_Code * (ex: END CLIENT, GENERAL CONTRACTOR, PRIMARY) for a particular project during project creation?

    Are you not storing the project number in the staging table designed for storing the task data? You can use create_project API to create the project and tasks at the same time with one single call. You may want to try that option

  • [Execute SQL Task] Error: Executing the query failed with error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION."

    I have an package with source , data flow and destination to execute on begin and commit.
    in the below i have just used for questioning purpose with diagram removing my Data Flow task explaining my problem
    on execution, i get error as
    [Execute SQL Task] Error: Executing the query "COMMIT TRAN DimCompanyCode" failed with the following error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.". Possible failure reasons: Problems with the query, "ResultSet"
    property not set correctly, parameters not set correctly, or connection not established correctly.
    as mentioned , i have checked the ResultSet, parameters , connection establish.. all are fine.
    Kindly advice on what has to be done.
    ShanmugaRaj

    To avoid this error, the RetainSameConnection property should set to 'True' for the Connection Manager - Application_DB.
    Narsimha

  • SSIS-Execute Process task Error _File/Process "\\Servername\Foldername\batfile.bat" is not in path

    Hi Sir,
    I have designed the SSIS Package in 2012 Version. and i have deployed into the Integration Server,using Project Deployment Model.
    In the SSIS Pacakge we are calling the batch file using Execute Process task.
    when i am Executing the SSIS pacakge using Visual Studio(Sql Server Data tools) which is working fine.
    When i Execute the Pacakge uisng Sql server Management Studio,after the Deployment i am getting the below Error message.
    ExecProcess task:Error: File/Process "\\Servername\Foldername\batfile.bat" is not in path.
    Thanks for your time.
    Regards
    Prasad

    Hi Prasad,
    When you say executing the package in SSMS, I think you right click on the package and execute it manually rather than execute it through SQL Server Agent job, right? How did you execute the package from the SSMS on DEV server? Have your also deployed the
    SSIS project to the SSISDB catalog on DEV server or you used SSMS tool on DEV to connect to the QA server to execute the package?
    When you log into the Database Engine instance, make sure the credentials you used has access on the shared folder which hosts the .bat file. Besides, I think the issue may be caused by the Windows UAC feature which may lower the permissions level of an
    administrator to a standard user. So, I suggest that you run the SSMS as administrator to see if it works.
    Regards,
    Mike Yin
    TechNet Community Support

  • SSIS Web Service Task Error with WCF Service

    I have read all the other posts on this site and have not been able to resolve my issue.
    For testing purposes i created a very simple WCF service that takes no arguments and returns true.  That is all it does.
    When i create a winform client and instantiate the service i can run my service method and get true back so i know the service works.
    I then create a test SSIS package with 1 task, a web service task. 
    I set the web service tasks properties as follows:
    http connection: http://localhost/WCF_SSIS_Prototype/Service1.svc
    wsdl file: C:\...\SSIS_WCF_Prototype\Service1.wsdl  (I know this is not a valid path, i changed it for posting to forum)
    Service: Service1
    Method: GetData
    Variable: User::BResult
    When i run the package i get the following error:
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Method 'ProxyNamespace.Service1.GetData' not found..    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    I'm not sure why it is saying "Method 'ProxyNamespace.Service1.GetData' not found.  It the web service task trying to create a proxy class and naming the proxy class namespace ProxyNamespace? 
    Any help is greatly appreciated.

    Hi,
    How  do you get around the same issue if your string type is based on a client token ?  I downloaded the .wsdl file, was able to see the service name, method and when selecting a method type, I am required to provide a client token which was given
    to me.  (Name column = clienttoken, Type = string, Value = 2227656 - ec8922 (client token numbers goes there)?  I am new to use ssis and need your help please
    error message:  Web Service Task] Error: An error occurred with the following error message:
    "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The web serrvice threw an error during method execution. The error is: An error occurred
    when verifying security fro the message..   
    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)   
    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection) 
     at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()"
    Thank you and regards,
    Bili

  • SCCM 2012 R2 CU4 - Site Backup Task failed

    Hi, I set up a Site Maintenance Task for Backup our Primary Site, but every time I run this task it fail with the following message:
    Error: Backup folder \\backupserver\backupshare$ does not exist or backup service does not have permission to access the folder.
    I tried to use "erveryone" in share permissions and NTFS Permissions with Full Control and then the Backup works! ... I tried to remove the everyone from NTFS completely then the Backup also still works .. but when I remove everyone from the share
    permissions (and grant the SCCM Site Server and SQL Server Computer Accounts the Full Control Permission) the backup fails..
    so it seems to me that I have a permission issue ... what is the correct Permission setup for UNC Backup? (Share and NTFS Permissions) ... I tried to give the SCCM Server and SQL Server Computer and SQL Cluster Account Full Control without success...)
    kind regards
    Klaus

    "The computer account of the site server and the computer account of the SQL Server, if SQL Server is installed on another computer, must have
    Write NTFS and share permissions to the shared network folder."
    https://technet.microsoft.com/en-us/library/gg712697.aspx
    Also have you read this:
    http://blog.msvconsultancy.co.uk/2014/07/sccm-2012-sp1-site-maintenance-backup-task-error/

  • Create Task Error

    Users are getting a Create Task Error. This occurs when a User tries to submit the init form multiple times without actually going and filling the Forms that is assigned to them when the Init form is submitted..Anyone faced a similiar issue and has trouble shooted it. Please Share
    Thanks,
    Shaz

    DAQmx Base is a completely different driver than DAQmx. You cannot install DAQmx Base and use DAQmx functions. When you create the installer, select DAQmx to include as one of the 'Additional Installers'
    Actually, I get the feeling that you totally skipped over creating an installer. This is an option when you right click on 'Build Specifications' and is something you should have noticed when you created the exe.

  • DW CS5.5 "Put" cannot ftp but Manage Site Test can

    In DW CS 5.5 Build 11.5, clicking on "Put" or "Get" generates the error message "An FTP error occurred - cannot make connection to the host" but at Site>Manage Sites>Server>Test, I get "Adobe DW CS 5.5 connected to your Web server successfully". Is there more than one place in DW to configure FTP? Thank you.

    After not working for a week, suddenly today DW works. "Put" and "Get" both connect. The only thing I did in the interim was successfully run Site>Manage Sites>Server>Test several times over several days. I am grateful for whatever fixed the problem, but I cannot explain it.  I thank those of you here who read and considered my question. 

  • Manage dynamic hierarchies - Task in Task Profile

    Hello BPC Cracks,
    I have a problem to assign a user/team the rights to manage dynamic hierarchies (DHE), anybody knows witch task should I assign to the user/team in Task Profile. (In the admin guide there is no entry for this topic). The Task Profile has already the Task u201CSubmitDatau201D and the menu eSubmit appears in the Excel front end.
    Currently I have a member access profile, with rights for the ownership dimension read and write for all entities, but in the menu eSubmit the entry manage dynamic hierarchies does not appear.
    Thanks,
    Biagio

    Thanks Biagio,
    The Note 1509322 worked for me. Ta
    I applied it to a custom task profile that already had various specific tasks assigned to it (Just not Business Rules)
    By adding Secondary Admin in the checkbox, it wiped out my original specific tasks, which I then had to remember and re-apply.
    All working now.
    Regards
    Nick

  • How does new/manage site work on CS5

    I am designing an ebook on dreamweaver for ICT coursework. I want to know how new/manage site works because this feature is how you save your work. When I try this, I get an error message saying that 'unable to write cache file'? Am I doing something wrong? What does this message mean?

    The cache file is written to the user's personal configuration folder. On a Windows system, this is is in the user's hidden AppData folder. On a Mac, it's in the user's Library/Application Support folder (also hidden on recent versions of Mac OS X).
    It sounds as though you're trying to do this on a network system where the user doesn't have permission to write to the necessary folder. This question belongs more in the main Dreamweaver CC forum. If you need further help, I suggest you post a follow-up question there.

Maybe you are looking for

  • IPhone (4S) is not recognized by computer but iPod(4) is recognized.

    My computer (windows vista) doesn't recognize my iPhone(4S) but it can be charged with it. Also my iPod(4) is recognized by my computer. How can i fix it?

  • Need New Video Cards for 4 Displays

    Hi, I want to install 4 displays, with one being a 30". Will the Radeon 9200 PCI, and 9600 pro work for this? I saw that 9600pro only boots in "safe mode" but that's the only AGP card I can find that will run the 30". Are there any PCI cards with two

  • Error using insertPages function - Acrobat X Standard

    Hi there! i hope you can help me, since Acrobat support avoids to help me because of OEM :/ I try to add several pages in a PDF using Javascript. I am getting the following message: NotAllowedError: Security settings prevent access to this property o

  • Mavericks, only one site show question mark instead of images

    Hi,      Updated to Mavericks, only one site show question mark instead of images. Tried safari, chrome and firefox all of them have same problem of showing images of this site. Tried reset, empty cachs, cookies, did not work. Any one have a clue to

  • Photoshop Elements on  a Mac

    I just recently purchased a touch pad and it came with photoshop elements and the registration code. i downloaded photoshop and when it asked for the registration code i entered it and it seemed like it worked because it didnt say that it didnt. well