Got an error in workflow : PORPOCHA , RESPONSE_7689_1234

Hi ,
I am new to workflow , getting this error
Item Type = PORPOCHA
Item Key = RESPONSE_7689_1234
User Key =
Error Name = WFNTF_ROLE
Error Message = 3205: 'XXYY' is not a valid role or user name.
Error Stack =
how to check whether it is perocessed or not ?
and how to get the PO number or requisition number from RESPONSE_7689_1234
?

Hi
i'm using version 4.7. Also I've checked the wf template there is no fork. It's a standard wf... template number I've mentioned in my first mail.
While transporting any change feom Development system to Test system we are actually creating transport proposal. You can find a tab of transport proposal in SE10. After creating this transport proposal a standard wf got triggered for approval of transport proposal. This workflow went into error.
hope this small backgroung will help you to get into my actual issue.
Please let me know if you have any understanding regarding the root cause of this issue.
Thanks
Moumita

Similar Messages

  • Can't run a workflow manually. I got this error: 'StartWorkflowOnListItem' does not have an implementation.

    Hello Everybody,
    I have a site collection in sharepoint 2013. When I go to site contents and then click on workflows I got this error:
    Method 'StartWorkflowOnListItem' in
    type 'Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider' from
    assembly 'Microsoft.SharePoint.WorkflowServices, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c' does not have an
    implementation.
    Then I created a site workflow using SharePoint designer 2013 and I published, Still the same error.
    I created a list and a workflow associated to that list. That workflow is configured to run manually for every item in that list. Again when I go to the item in the list and click workflows I got the same error.
    What Am I missing?
    Please, Can anyone help me?

    I'm having this issue as well, the apparent fix is to install
    an additional patch to the farm servers. I installed the patch in my dev environment and it takes SharePoint down for about 5 minutes per install, but doesn't require a reboot.
    Source:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/b189e4b8-bb9e-4ade-a3d5-cd2e0f90e93f/workflow-not-working-after-installing-service-pack-1-and-patches?forum=sharepointadmin

  • LIBOVD ERROR  - "validateContextToken: workflow session was not found for given context. Create a new workflow session with token"

    Hello everyone,
    I have the following scenario:
    We're using "Oracle SOA Suite 11g 11.1.1.7.0" (Patched w/ 17893896) mainly for a BPM/Human workflow composite. Former, we were having the error bellow:
    <Mar 16, 2015 1:13:03 PM BRT> <Error> <oracle.soa.services.workflow.query> <BEA-000000> <<.> Verification Service cannot resolve user identity. User weblogic cannot be found in the identity repository. Workflow Context token cannot be null in request.
    ORABPEL-30511
    When that error ocurred, no one was able to use the system (BPM/Human Workflow).
    I opened an SR, and after some analysis from the support, it recommended me to set up "virtualize=true" in EM, and restarting the domain. Then it started logging the following:
    connection to ldap://[10.200.10.57]:7001 as cn=Admin.
    javax.naming.NamingException: No LDAP connection available to process request for DN: cn=Admin.
    Looking up on support KB, I found this note Doc ID 1545680.1 and increased from Max size of Connection Pool 10 to 200. That did work successfully! Problem now is that the <SERVER>_diagnostic.log is being filled up with the following error:
    [2015-03-31T16:03:46.421-03:00] [soa_server2] [ERROR] [] [oracle.soa.services.workflow.verification] [tid: [ACTIVE].ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: e0194e38aa6c9a2f:39fc1ff9:14c5def5247:-8000-00000000000a5653,0] [APP: soa-infra] <.>    validateContextToken: workflow session was not found for given context. Create a new workflow session with token=51490173-e3d0-41dd-ae99-983915aa8454;;G;;Z+P7Oe9ABnoTUQD9ECryEW2l0/8yRcqPDyZsOWBCuzMmRgA3Qsj601TxmWQ87z2MjuwW5AH+KzgjIwkPmhJFdpc1FrE6Y/MrN1bxIDHJWu2/zP3iSNwKD07hRrh/U37Ea0TvaQyuaHJIog9y3Ptmzw==
    One important point is that we're using only the embedded WLS ldap. So I am not 100% sure if we should be using the virtualize flag=true, once all docs I read point out that this should be done when using multi-ldap providers.
    Also, I only got this error in the "diagnostic.log".
    Although, no user has complained about using the system, I really want to work it out. Anyone has any suggestions?
    Thanks in advance!

    I have moved your thread from Certification to SOA Suite to get proper assistance.
    Thanks,
    Lisa

  • Error in workflow for transport proposal

    Hi
    I've got an error in transport proposal. Actually we are creating transport proposal after realeasing transport . There is a workflow running behind it. it's a standard workflow template no : WS30000524.
    It was running absolutely fine till yesterday. But today I've found a strange error. The error is as below:
    Problems occurred when generating a mail                                   
    Error '9' when calling service 'SO_OBJECT_SEND'                            
    Workflow 179001: Repair message for error & could not be created           
    Inconsistent workflow definition: Node/step number 1 is not available      
    Error '9' when calling service 'SO_OBJECT_SEND'                            
    Inconsistent workflow definition: Node/step number 1 is not available      
    Workflow 179001: Repair message for error & could not be created           
    Problems occurred when generating a mail                                   
    Also, the container SOFM,CTProposal etc are not actually even displayed in the WF log. No step has been created.
    Is there any config missing?
    It would be very helpful if anyone has faced such issue and can help me.
    Thanks
    Moumita

    Hi
    i'm using version 4.7. Also I've checked the wf template there is no fork. It's a standard wf... template number I've mentioned in my first mail.
    While transporting any change feom Development system to Test system we are actually creating transport proposal. You can find a tab of transport proposal in SE10. After creating this transport proposal a standard wf got triggered for approval of transport proposal. This workflow went into error.
    hope this small backgroung will help you to get into my actual issue.
    Please let me know if you have any understanding regarding the root cause of this issue.
    Thanks
    Moumita

  • Web-Disk on OSX 10.9 Give me this error: "Finder got an error: Network file permission error."

    Previously I was using OSX 10.8 and Web Disk was working great.
    Since I upgraded to OSX 10.9 Web Disk Dont Attach to my compputer and give me this ERROR:
    FInder got an error: Network file permission error.
    When I got this ERROR first time I searched GOOGLE and found this link: http://cammodude.blogspot.no/
    And I did:
    To force all connections to be SMB1:
    Open A terminal window
    paste in the following line followed by the return key(should be all on one line): 
    echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
    What the command does:
    Creates a file called nsmb.conf  in your  home directory at the path ~/Library/Preferences/nsmb.conf.
    Adds directives to force SMB connections to use the SMB1 protocol.  This is slower but stable.
    Then I could use Web Disk on OSX 10.9 after executing this command in Terminal.
    But now I restarted my Macbook and now Im NOT able to connect to Web Disk and get the same ERROR.
    FInder got an error: Network file permission error
    After trying 100 times it attaches 1 time but then show this ERROR:
    Can't get <<class cdis>> "my.server.com/2078" of application "Finder".
    If this happen then I can see the files in Finder and see the Contents and Size of files but if I open a PHP file in BBEdit then it shows BLANK.. But actually it is NOT blank.
    Now Im stuck How can I solve this? All help is highly appericated..
    Thank you so much...

    Hi,
    Make sure to chmod the app, something like this :
    chmod -Rf 777  secure_site_WebDisk.app
    (in my case the CPanel provided the app for my OSx version.)

  • I got an error message while burning a cd in itunes - "The attempt to burn a disc failed.  The burn failed because of a medium write error.  What is that and how can i fix it?t

    I got an error message while burning a CD in iTunes - "the attempt to burn a disc failed.  The burn failed because of a medium write error."  What does this mean and how do I fix it?

    The disk you are using probably has a defect, not uncommon on consumer grade disks. Try another disk or better yet another disk from a different manufacturer or at least a different batch.

  • Error in workflow while linking goods receipt document with parked invoice

    Hi All,
    I parked document using Tcode MIRO, when WF has been executed and goods receipt document has been created.At the time that we tried to link this goods receipt to parked invoice document in the workflow,The problem happens with work item saying the status as Error. See the below error.
    MIRO Invoice: 801061193 2010 Item: 000001     13.09.2010     09:24:58     Error     AP Workflow for MIRO/MIRA Parked Invoice
    Can anyone advice why it is coming so?
    Thanks in advance.

    Hi
    In SWEL go to workflow trace and see what exactly is the error. This error description is too generic to arrive at soln.

  • Hi, I got an Error 23 when trying to restore my phone. Apple support centre says its a hardware issue without doing anything to come to this conclusion. They will not tell me how to escalate this case. Please let me know if there is a way to escalate.

    One day when tried to restart my iphone 4, I got a screen asking me to connect to itunes. Itunes asked me to restore my phone. When I tried to restore, I got an Error 23 saying it cannot be restored. I tried the phone support. They asked to contact the service centre. I then tried the service centre guys. They clearly did not know what Error 23 was. They asked to contact the apple support again. After 2-3 guys tried to blow me off saying it is a hardware issue, I asked for a senior analyst. Apple support assigned a senior guy who said he will contact the engineering team. After 2 days, I was told that the engineering team has confirmed that this is a hardware issue.
    What I am surprised about is that no one seems to have done any analysis or debugging to figure this out. How do they decide that this is a hardware issue?
    The first time I tried it from my laptop and got this message. The support guy told me that my laptop may have an antivirus software which may be causing this issue. So I took it to the service centre. They tried the same restore from their machine and got the exact same error.
    The senior analyst that was later assigned to my case, again asked me to restore from my machine. I got the same error.
    Basically what they had verified in all these activities was that I was getting error 23. I dont know how they decided that this was due to hardware issues?
    Online documentation on Error 23 is vague. It is bunched long with other error codes. There is no clear explanation of what Error 23 is.
    But most importantly It says 'In rare cases, this may be a hardware issue'.
    So if it is a hardware issue in rare case, how was my case deemed to be a 'rare case'?
    When I asked them to escalate this, they said that there is no way to escalate.
    I have had a horrible experience with Apple support. Till this point I used to think of Apple as a class apart. But now I am totally disillusioned.
    My phone was about a year and a half old. I dont mind it if it actually turns out to be a hardware issue. I will take it as my bad luck.
    But I dont see how the support guys decided that this is a hardware issue. I need to know.
    And secondly I am shocked that Apple has no escalation path.
    Can anyone please help?

    Hi @imobl,
    You sound like an Apple support guy who hasn't been able to answer my questions.
    To respond to some of the points you made,
    - I did not ignore Ocean20's suggestion. If you has read my post, you would have known that I took my phone to the apple service centre where they tried this restore on THEIR machines. I am assuming that Apple guys know how not to block iTunes. So I actually do not understand your point about me trying the hosts file changes on my machine. Do you not believe that apple tested this issue with the correct settings?
    - you also give a flawed logic of why the issue is a hardware issue. You mentioned that If I thought that the issue was with the software, i should try a restore and getting it to work. The problem is that my error (23), and many others comes up when the restore fails. And you would be astonished to know that not all errors are hardware errors. Sometimes even software errors prevent restores. Funnily enough Apple itself mention that 'in rare cases, error 23 could be hardware related'.
    - all Apple has done so far is replicate the issue. I don not know how anyone can conclude that the issue is a hardware issue.
    And by the way, I am not certain that this is a software bug. Again if you read my Posts, you will notice I only want a confirmation,/proof that the issue is hardware related as they mention..
    Please refrain do. Responding if there is nothing to add.

  • I just tried to update my iPhone4 to iOS7 and after downloading, I got an error "4005" message; Now my iPhone is completely wiped out and I can't even get my pc to read it (just has a picture of the USB and the iTunes icon). HELP!!

    I tried updating my Iphone4 from iOS 6.1.4 to 7 via iTunes. After downloading, I got an error 4005 message during installation and now my phone is completely wiped out; is not being recognized by my PC; and all I get on the phone is a photo of a USB plug and the iTunes symbol! Can anyone, PLEASE, help?!?

    The phones in recovery mode so if yu connect it to itunes it should ask to restore it back to the last back up you have done.
    that should solve it for you...

  • Got this error

    Please somebody help me,i´m a oracle jdeveloper beginner i got this error deploying my oracle application
    [Waiting for the domain to finish building...]
    [09:02:47 PM] Creating IntegratedWebLogicServer Domain...
    *** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    [09:06:58 PM] IntegratedWebLogicServer Domain processing completed successfully.
    /home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain/bin/startWebLogic.sh
    [Starting IntegratedWebLogicServer.]
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=512m
    java version "1.7.0_15"
    Java(TM) SE Runtime Environment (build 1.7.0_15-b33)
    Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
    CLASSPATH=/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.jdbc_11.2.0/ojdbc6dms.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/jdk/lib/tools.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic_sp.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/server/lib/webservices.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/modules/features/oracle.wls.common.nodemanager_1.0.0.0.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/internal/features/jrf_wlsFmw_oracle.jrf.wls.classpath_12.1.2.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/com.oracle.cie.config-wls-online_8.0.0.0.jar::/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbynet.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbyclient.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derby.jar:/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/server/lib/xqrl.jar
    PATH=/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/server/bin:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/org.apache.ant_1.7.1/bin:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/jdk/jre/bin:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/jdk/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/felisberto/bin
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http://hostname:port/console        *
    starting weblogic with Java version:
    Starting WLS with line:
    /home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/jdk/bin/java -client   -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.policy -Djavax.net.ssl.trustStore=/tmp/trustStore6365708649841247654.jks -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true  -Xverify:none -Djava.endorsed.dirs=/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/jdk/jre/lib/endorsed:/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/endorsed -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dopss.version=12.1.2 -Digf.arisidbeans.carmlloc=/home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain/config/fmwconfig/carml -Digf.arisidstack.home=/home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain/servers/DefaultServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.ossoiap_12.1.2,/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.oamprovider_12.1.2,/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.jps_12.1.2 -Doracle.mds.filestore.preferred=true -Dweblogic.jdbc.remoteEnabled=false -Dcommon.components.home=/home/felisberto/Oracle/Middleware/Oracle_Home/oracle_common -Djrf.version=12.1.2 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain -Doracle.server.config.dir=/home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain/config/fmwconfig/servers/DefaultServer -Doracle.domain.config.dir=/home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain/config/fmwconfig  -da -Dwls.home=/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/server -Dweblogic.home=/home/felisberto/Oracle/Middleware/Oracle_Home/wlserver/server  -Djps.app.credential.overwrite.allowed=true -Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder    -Djava.util.logging.manager=oracle.core.ojdl.logging.ODLLogManager  weblogic.Server
    <Nov 26, 2013 9:08:06 PM CET> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
    <Nov 26, 2013 9:08:08 PM CET> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
    <Nov 26, 2013 9:08:16 PM CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 23.7-b01 from Oracle Corporation.>
    <Nov 26, 2013 9:09:07 PM CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.2.0.0  Fri Jun 7 15:16:15 PDT 2013 1530982 WLS_12.1.2.0.0_GENERIC_130607.1100>
    <Nov 26, 2013 9:09:13 PM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
    <Nov 26, 2013 9:09:13 PM CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
    <Nov 26, 2013 9:09:13 PM CET> <Notice> <Log Management> <BEA-170019> <The server log file /home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log is opened. All server side log events will be written to this file.>
    Nov 26, 2013 9:09:16 PM oracle.security.jps.JpsStartup start
    INFO: Jps started.
    Nov 26, 2013 9:09:25 PM oracle.security.jps.internal.idstore.util.LibOvdUtil pushLdapNamesToLibOvd
    INFO: Pushed ldap name and types info to libOvd. Ldaps : DefaultAuthenticator:idstore.ldap.provideridstore.ldap.
    <Nov 26, 2013 9:09:29 PM CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    2013-11-26 21:09:35.605/149.719 Oracle Coherence 12.1.2.0.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from "jar:file:/home/felisberto/Oracle/Middleware/Oracle_Home/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2013-11-26 21:09:35.856/149.970 Oracle Coherence 12.1.2.0.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "jar:file:/home/felisberto/Oracle/Middleware/Oracle_Home/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2013-11-26 21:09:35.870/149.984 Oracle Coherence 12.1.2.0.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2013-11-26 21:09:35.887/150.001 Oracle Coherence 12.1.2.0.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "cache-factory-config.xml" is not specified
    2013-11-26 21:09:35.895/150.009 Oracle Coherence 12.1.2.0.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "cache-factory-builder-config.xml" is not specified
    2013-11-26 21:09:35.900/150.014 Oracle Coherence 12.1.2.0.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 12.1.2.0.0 Build 44396
    Grid Edition: Development mode
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    <Nov 26, 2013 9:09:54 PM CET> <Warning> <com.oracle.coherence> <BEA-000000> <2013-11-26 21:09:54.160/168.274 Oracle Coherence GE 12.1.2.0.0 <Warning> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): UnicastUdpSocket failed to set receive buffer size to 16 packets (1MB); actual size is 21%, 3 packets (224KB). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.>
    <Nov 26, 2013 9:09:54 PM CET> <Warning> <com.oracle.coherence> <BEA-000000> <2013-11-26 21:09:54.164/168.278 Oracle Coherence GE 12.1.2.0.0 <Warning> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): PreferredUnicastUdpSocket failed to set receive buffer size to 1444 packets (2MB); actual size is 10%, 157 packets (224KB). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.>
    <Nov 26, 2013 9:10:46 PM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
    <Nov 26, 2013 9:10:46 PM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
    <Nov 26, 2013 9:17:48 PM CET> <Warning> <oracle.adf.share.logging.internal.perf.SensorTable> <BEA-000000> <Detected that sensors created in an invalid ADFContext were later visible in a valid ADFContext.  The sensors should be created in a valid ADFContext.  Please enable finest logging for more information.>
    <Nov 26, 2013 9:18:24 PM CET> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.>
    <Nov 26, 2013 9:18:25 PM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
    <Nov 26, 2013 9:18:25 PM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>
    <Nov 26, 2013 9:18:25 PM CET> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the kss keystore file kss://system/demoidentity.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the kss keystore file kss://system/trust.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 127.0.0.1:7102 for protocols iiops, t3s, ldaps, https.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[2]" is now listening on fe80:0:0:0:20c:29ff:fe86:8af:7102 for protocols iiops, t3s, ldaps, https.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:20c:29ff:fe86:8af:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[3]" is now listening on 0:0:0:0:0:0:0:1:7102 for protocols iiops, t3s, ldaps, https.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.36.128:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[1]" is now listening on 192.168.36.128:7102 for protocols iiops, t3s, ldaps, https.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <WebLogicServer> <BEA-000331> <Started the WebLogic Server Administration Server "DefaultServer" for domain "DefaultDomain" running in development mode.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
    <Nov 26, 2013 9:18:37 PM CET> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
    IntegratedWebLogicServer startup time: 1632880 ms.
    [IntegratedWebLogicServer started.]
    [Running application HR_EJB_JPA on IntegratedWebLogicServer...]
    [09:58:20 PM] EJB Module ModelEJB.jar recognized in project Model.jpr
    [09:58:21 PM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr
    [10:00:25 PM] ----  Deployment started.  ----
    [10:00:25 PM] Target platform is  (Weblogic 12.x).
    [10:02:15 PM] Retrieving existing application information
    [10:03:22 PM] Running dependency analysis...
    [10:03:27 PM] Deploying 3 profiles...
    [10:05:26 PM] Wrote Web Application Module to /home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/HR_EJB_JPA/ViewControllerWebApp.war
    [10:05:55 PM] Wrote EJB Module to /home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/HR_EJB_JPA/ModelEJB.jar
    <Nov 26, 2013 10:18:30 PM CET> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:38,851 during the configured idle timeout of 5 seconds.>
    [10:19:26 PM] Wrote Enterprise Application Module to /home/felisberto/.jdeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/HR_EJB_JPA
    [10:20:21 PM] Deploying Application...
    <Nov 26, 2013 10:20:55 PM CET> <Warning> <Application Client> <BEA-2162200> <No Main-Class defined in the manifest file of Java Module: empty.jar. This module will be treated as a utility JAR and subsequent initialization steps will be skipped.>
    <Nov 26, 2013 10:21:13 PM CET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1385500846751" for task "0". Error is: "weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: ORA-01034: ORACLE not available
    ORA-27102: out of memory
    Linux-x86_64 Error: 12: Cannot allocate memory
    Additional information: 1
    Additional information: 124747800
    Additional information: 8
    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: ORA-01034: ORACLE not available
    ORA-27102: out of memory
    Linux-x86_64 Error: 12: Cannot allocate memory
    Additional information: 1
    Additional information: 124747800
    Additional information: 8
        at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:338)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
        Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: ORA-01034: ORACLE not available
    ORA-27102: out of memory
    Linux-x86_64 Error: 12: Cannot allocate memory
    Additional information: 1
    Additional information: 124747800
    Additional information: 8
        at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:349)
        at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1309)
        at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1226)
        at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)
        at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1566)
        Truncated. see log file for complete stacktrace
    >
    <Nov 26, 2013 10:21:29 PM CET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "HR_EJB_JPA".>
    <Nov 26, 2013 10:21:29 PM CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: ORA-01034: ORACLE not available
    ORA-27102: out of memory
    Linux-x86_64 Error: 12: Cannot allocate memory
    Additional information: 1
    Additional information: 124747800
    Additional information: 8
        at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:338)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
        Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: ORA-01034: ORACLE not available
    ORA-27102: out of memory
    Linux-x86_64 Error: 12: Cannot allocate memory
    Additional information: 1
    Additional information: 124747800
    Additional information: 8
        at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:349)
        at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1309)
        at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1226)
        at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)
        at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1566)
        Truncated. see log file for complete stacktrace
    >
    [10:22:09 PM] Deployment cancelled.
    [10:23:10 PM] ----  Deployment incomplete  ----.
    [10:23:24 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application HR_EJB_JPA due to error deploying to IntegratedWebLogicServer.
    [10:23:42 PM] Cancel requested
    [Application HR_EJB_JPA stopped and undeployed from IntegratedWebLogicServer]

    Hi,
    It is not an application issue. DBA can extend the SGA for the Database  based on his analysis
    It is Your DBA call to check if you needs more SGA on the Database. DBA need to verify to find if it really need SGA, as there might be system parameters which are either blocking memory assignment or DB does not have memory at all.
    Regards,
    Kal

  • Finder got an error. Application not running (-600)

    I have a LaunchAgent that calls a shell script, at login.  The shell script runs and determines the users AD container and then will runn the correct applescript application depending on the AD Container.    The applescript applications simply mount up the users network volumes, runs a few do shell scripts and then exits.
    It works and has been working for quite some time, under 10.5.x, 10.6.x, 10.7.x and even 10.8.x.  But I have started getting a few users who are getting a rather odd message in the logs that the script creates and I can't really find anything on the error message.
    "Finder got an error.  Application not running (-600)"
    If I log the user in and run the following at the command line:
    launchctl unload name.of.plist 
    It will unload the launchagent.
    If I type this at the commane line:
    launchctl load name.of.plist
    It works perfectly.  No errors.
    I can manually run the shell script it calls and that works fine.
    I can also manually double click the apps and those run fine. 
    I've changed the permissions, I've recopied, re-imaged, but I can not figure out why the script won't sometimes and gives me that error message.
    Has anyone seen this error message before and what I can try to do to fix it?
    Thank you in advanced.

    This sounds like a typical race condition, and it's impossible to solve without seeing the script.
    The issue is that your script is targetting some application that isn't available. Ordinarily AppleScript will launch an application if it's not already running, but during launch it's possible that your script is trying to target an application before it can be launched (because the user's envirnment is still loading).
    So you need to look at the script to see what it's doing, and what apps it's targeting. The fix might be as simple as adding a few delays to allow the system to finish logging in, but t's hard to say without more data.

  • Finder got an error: Can't get item 1 of {document file "foo" ...}

    I have a lot of files in Corel Painter 8's RIFF format. I want to write a script that opens a file and somehow forces Corel Painter 8 to save the file as a GIF. GUI scripting may be some help with the latter; now I am concentrating on finding RIFF files and opening them in Corel Painter 8.
    I have a script that does a depth-first search of the folders starting at some root folder, using the Finder application to do the file-system stuff. It creates a list with
    set docs to every document file of pages_folder whose file type = "RIFF"
    as it loops through folders it adds to the list like this:
    set more_documents to every document file of a_folder whose file type = "RIFF"
    set docs to docs & more_documents
    My naîve mental model is that docs is a list of document-file objects. Next I have a loop that attempts to strip out files for which a GIF file already exists (and is no older than the RIFF document). This works by deleting non-matching items like so:
    if not isgifneeded then
    set docs to items 1 thru (i - 1) of docs & items (i + 1) thru (length of docs) of docs
    end if
    Finally it tries to open one of the files in Corel Painter 8 using the Finder:
    open item 1 of docs using "Corel Painter 8"
    This does not work. I get an error message
    Finder got an error: Can't get item 1 of {document file "bar" of folder "foo" of folder "blah" of folder "pdc" of folder "Users" of startup disk, ... }."
    It lists all of the files. (The error message appears in a sheet that extends off the bottom of the screen!) They are identified in the message as document-file objects. The curly braces are, I believe, the AppleScript notation for a list. I expect to be able to obtain the first element of a list with ‘item 1 of xs’. My assumption is that the Finder’s open command would expect a document file object, or at least would be able to cope with being asked to open a document. What am I missing here?
    PowerBook 12" without mini-DVI   Mac OS X (10.4.7)  

    Hi Damian and welcome to Apple Discussions!
    One suggestion: try
    tell application "Finder" to open item 1 of docs
    (without 'using "Corel Painter 8"')
    As far as the Finder is concerned, "Corel Painter 8" is just a string of characters. And telling the Finder to open a file is just the same as double-clicking it: the Finder knows which app to use - as long as these are native Corel Painter 8 docs.
    Hope this helps,
    H

  • I got an error message with updating my iTunes and now its saying I need to re-install iTunes. How do I do that

    When I was prompted there was an update on iTunes I did as usual and began installing the update. Something happened during that time and I got an error saying it didn't download correctly. Now when I go to open iTunes it gives me an error message and says I need to re-install the program.  I'm not sure how to do that.  I am also concerned that I will lose all of the things that I have backed up from my phones, purchases, apps, etc.  Can anyone please give me some insight on what to do?
    Thanks

    See... Unable to install or open > http://support.apple.com/kb/TS5376
    Also See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562
    littlered1382 wrote:
      I am also concerned that I will lose all of the things that I have backed up from my phones, purchases, apps, etc.
    It has always been Prudent to Create and Maintain a Backup of anything you would not like to lose.

  • I need help to run this package and i got some error

    create or replace
    PACKAGE BODY SUBS_INS_API_sun
    AS
    PROCEDURE SUBSCRIBER_INS_sun
        (SOURCE_SYS_ID IN VARCHAR2,
        TRACKING_ID IN VARCHAR2,
        ACCOUNT_NO IN VARCHAR2,
        prepaidActDevDetails_tab IN prepaidactdvcdetailsobj_sun,
        ERROR_CODE OUT VARCHAR2)
    IS
    Input_Parameter_Is_Null EXCEPTION;
    pragma exception_init(Input_Parameter_Is_Null,-2000);
    prepaidAccountDetails prepaidActDevDetails_tab:= prepaidActDevDetails_tab(NULL,NULL,NULL,NULL,NULL);
    STATUS VARCHAR2(1):='1';
    cust_no VARCHAR(10);
    m_mac_id VARCHAR2(20);
      subscriber_master_Rec subscriber_master%ROWTYPE                 :=NULL;
      flg NUMBER(1);
    BEGIN
       IF(Source_Sys_Id IS NULL OR Tracking_Id IS NULL OR ACCOUNT_NO IS NULL OR prepaidAccountDetails.LAST=0) THEN
        RAISE Input_Parameter_Is_Null;
      END IF;
      BEGIN
             select cm_cust_no into cust_no from customer_master where cm_cust_id=ACCOUNT_NO and cm_status in('A','P','0');
          EXCEPTION
          WHEN NO_DATA_FOUND THEN
            DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
                   STATUS:='0';
        END;
      BEGIN
         FOR i IN prepaidAccountDetails.FIRST .. (prepaidAccountDetails.LAST) LOOP
         prepaidAccountDetails1:=prepaidActDevDetails_tab(i);
         prepaidAccountDetails1.Status_of_device:='1';
         IF (prepaidAccountDetails.Account_id is NULL OR prepaidAccountDetails.Mac_Id is NULL or prepaidAccountDetails.LOB_value is NULL) THEN
          RAISE Input_Parameter_Is_Null;
                END IF;
                IF(prepaidAccountDetails.LOB_value = 'VDO') THEN
                 IF(prepaidAccountDetails.Channel_Line_Up is NULL) THEN
                  Error_code :='SI002';
                 DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
                 STATUS:=0;
                  prepaidAccountDetails.Status_of_device:='0';
                 END IF;
                END IF;
                begin
                   select 1 into flg from subscriber_master where pm_phone_no=prepaidAccountDetails.Mac_Id and pm_status in('P','0','A','B');
                EXCEPTION
                 WHEN NO_DATA_FOUND THEN
                  flg:=0;
                 END;
                 if(flg=1) then
                  DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
                  STATUS:=0;
                  prepaidAccountDetails.Status_of_device:='0';
                 END IF;
                 begin
                  select md_mac_id into m_mac_id from mac_details where md_mac_id=prepaidAccountDetails.Mac_Id and md_start_date<=sysdate
                  and md_status='A';
                EXCEPTION when OTHERS then
                  Error_code :='SI004';
                 DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
                  STATUS:=0;
                  prepaidAccountDetails.Status_of_device:='0';
                 end;
              if(STATUS= 1 and prepaidAccountDetails.Status_of_device='1') then
               SELECT PM_SUBS_ACT_NO_SEQ.nextval
               INTO subscriber_master_rec.PM_SUBS_ACT_NO
               FROM dual;
              subscriber_master_Rec.pm_phone_no          :=prepaidAccountDetails.Mac_Id;
            subscriber_master_Rec.pm_open_date         :=sysdate;
              subscriber_master_rec.pm_status            :='P';
              subscriber_master_rec.PM_CUST_LVL_YN:='S';
             subscriber_master_rec.PM_EQUP_CODE:=prepaidAccountDetails.LOB_value;
             subscriber_master_rec.PM_HOME_AREA:='HOM';
             subscriber_master_rec.PM_USG_CODE:='USG';
             subscriber_master_rec.PM_NO_TYPE:='S';
             subscriber_master_rec.PM_TCG_CODE:='DEF';
             subscriber_master_rec.PM_APLN_DATE:=sysdate;
              subscriber_master_rec.PM_USER2:=prepaidAccountDetails.LOB_value;
              subscriber_master_rec.PM_USER3:=prepaidAccountDetails.Channel_Line_Up;
              subscriber_master_rec.pm_cust_no:=cust_no;
              INSERT INTO subscriber_master VALUES subscriber_master_rec;
            END IF;
         END LOOP;
        END;
      END SUBSCRIBER_INS_sun;
    END SUBS_INS_API_sun;
    and
    i got this error
    Package Body PREPAID_TESTNEW.SUBS_INS_API@PREPAID_TESTNEW
    Error(73,4): PL/SQL: Statement ignored
    Error(73,99): PLS-00302: component 'LAST' must be declared
    Error(87,6): PL/SQL: Statement ignored
    Error(87,37): PLS-00302: component 'FIRST' must be declared
    please help to run this package if anyone knows

    now i corrected my package. It working fine. But, how to run this package via procedure. my procedure check below. I give all the details about my package check below.
    ---pkg specification
    create or replace
    PACKAGE SUBS_INS_API_SS
    IS
    PROCEDURE SUBSCRIBER_INS_SS
        (SOURCE_SYS_ID IN VARCHAR2,
        TRACKING_ID   IN VARCHAR2,
        ACCOUNT_NO IN VARCHAR2,
        prepaidActDevDetails_tab IN prepaidActDeviceDetails_tabobj,
        ERROR_CODE OUT VARCHAR2);
    END SUBS_INS_API_SS;
    -----pkg body
    create or replace
    PACKAGE BODY SUBS_INS_API_SS
    AS
       PROCEDURE log_error (ip_code          IN VARCHAR2,
                            ip_message       IN VARCHAR2,
                            ip_description   IN VARCHAR2)
       IS
       BEGIN
          INSERT INTO ERR_LOG (IEL_REF_ID,
                               IEL_DATE,
                               IEL_CODE,
                               IEL_MSG,
                               IEL_DESC)
               VALUES (IVRS_ERR_LOG_SEQ.NEXTVAL,
                       SYSDATE,
                       ip_code,
                       ip_message,
                       ip_description);
       EXCEPTION
          WHEN OTHERS
          THEN
             ROLLBACK;
       END log_error;
       PROCEDURE INSERT_WS_LOG (SOURCE_SYS_ID   IN VARCHAR2,
                                STATUS          IN VARCHAR2,
                                TRACKING_ID     IN VARCHAR2,
                                ACCOUNT_ID      IN VARCHAR2,
                                MAC_ID          IN VARCHAR2)
       IS
          ws_log_rec   WS_LOG%ROWTYPE := NULL;
       BEGIN
          SELECT WS_LOG#REC#ID.NEXTVAL INTO ws_log_rec.rec#id FROM DUAL;
          ws_log_rec.VER#ID := 1;
          ws_log_rec.CRE#TS := SYSDATE;
          ws_log_rec.wl_source := SOURCE_SYS_ID;
          ws_log_rec.wl_status := Status;
          ws_log_rec.wl_tracking_id := tracking_id;
          ws_log_rec.wl_account_id := account_id;
          ws_log_rec.wl_mac_id := mac_id;
          INSERT INTO ws_log
               VALUES ws_log_rec;
       EXCEPTION
          WHEN OTHERS
          THEN
             ROLLBACK;
       END INSERT_WS_LOG;
        PROCEDURE REPLICO_DEV_INFO( Acc_id IN VARCHAR2, Mc_Id IN VARCHAR2,channel IN VARCHAR2,
                                     LOB_VAL IN VARCHAR2, outlet1 IN VARCHAR2, kit_cod IN VARCHAR2,
                                     serial_No IN VARCHAR2, shipperr IN VARCHAR2, estm_recived_date IN date)                                                                
        IS
                  Replico_device_info_det_Rec   Replico_device_info_det%ROWTYPE := NULL;
                  REC_ID  NUMBER;
        BEGIN
                  SELECT REPLICO_DEVICE_INFO_DET#RECID.nextval INTO REC_ID FROM dual; 
                   Replico_device_info_det_Rec.REC#ID := REC_ID;                 
                   Replico_device_info_det_Rec.ACCOUNT_ID := Acc_id;
                   Replico_device_info_det_Rec.MAC_ID := Mc_Id;               
                   Replico_device_info_det_Rec.CHANNEL_LINE_UP := channel;
                   Replico_device_info_det_Rec.LOB_VALUE := LOB_VAL;  
                   Replico_device_info_det_Rec.OUTLET := outlet1;
                   Replico_device_info_det_Rec.KIT_CODE := kit_cod;                
                   Replico_device_info_det_Rec.SERIAL_NUMBER := serial_No;                
                   Replico_device_info_det_Rec.SHIPPER := shipperr;                
                   Replico_device_info_det_Rec.ESTIMATED_RECIVED_DATE := estm_recived_date;
                  INSERT INTO replico_device_info_det
                        VALUES Replico_device_info_det_Rec;
                  EXCEPTION
                          WHEN OTHERS
                          THEN
                              ROLLBACK;
        END REPLICO_DEV_INFO;
       PROCEDURE SUBSCRIBER_INS_SS (
          SOURCE_SYS_ID              IN     VARCHAR2,
          TRACKING_ID                IN     VARCHAR2,
          ACCOUNT_NO                 IN     VARCHAR2,
          prepaidActDevDetails_tab   IN     prepaidActDeviceDetails_tabobj,
          ERROR_CODE                    OUT VARCHAR2)
       IS
          Input_Parameter_Is_Null       EXCEPTION;
          PRAGMA EXCEPTION_INIT (Input_Parameter_Is_Null, -2000);
          prepaidAccountDetails         prepaid_act_dvc_details_obj
                                           := prepaid_act_dvc_details_obj  (NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL);
          STATUS                        VARCHAR2 (1) := '1';
          cust_no                       VARCHAR (10);
          m_mac_id                      VARCHAR2 (20);
          channel_lineup                VARCHAR2 (25);
          LOB_VALUE                     VARCHAR2 (25);
          subscriber_master_Rec         subscriber_master%ROWTYPE := NULL;
        Replico_device_info_det_Rec   Replico_device_info_det%ROWTYPE := NULL;
          flg                           NUMBER (1);
          plan_code                     VARCHAR2(10);
          subs_aact_no                 NUMBER(20);
          m_plan_code1               payment_transaction_history.TH_PLAN_CODE%type;
          m_payment_mode1           payment_transaction_history.TH_PAYMENT_MODE%type;
          pm_phone_no_cur        subscriber_master.pm_phone_no%type;
          pm_status_cur          subscriber_master.pm_status%type;
          pm_user2_cur          subscriber_master.pm_user2%type;
          pm_user9_cur        subscriber_master.pm_user9%type;
          pm_cust_no_cur       subscriber_master.pm_cust_no%type;
          pm_cust_1            subscriber_master.pm_cust_no%type;
          cm_i                 customer_master.cm_status%type;
         CURSOR subs_rec is select pm_cust_no, pm_phone_no, pm_status, pm_user2, pm_user9 from subscriber_master
         where pm_cust_no = cust_no and pm_status= 'S';
       BEGIN
          IF (   Source_Sys_Id IS NULL
              OR Tracking_Id IS NULL
              OR ACCOUNT_NO IS NULL
              OR prepaidActDevDetails_tab.LAST = 0)
          THEN
             RAISE Input_Parameter_Is_Null;
          END IF;
          BEGIN
             SELECT cm_cust_no
               INTO cust_no
               FROM customer_master
              WHERE cm_cust_id = ACCOUNT_NO AND cm_status IN ('A', 'P', '0');
          EXCEPTION
             WHEN NO_DATA_FOUND
             THEN
                ERROR_CODE := 'SI001';
                log_error ('SI001',
                           SQLERRM,
                           'No Customer exist with Active or Pre Actiavted');
                INSERT_WS_LOG (Source_Sys_Id,
                               'F',
                               Tracking_Id,
                               Account_No,
                               prepaidAccountDetails.Mac_Id);
                STATUS := '0';
          END;
          BEGIN
             FOR i IN prepaidActDevDetails_tab.FIRST ..
                      (prepaidActDevDetails_tab.LAST)
             LOOP
                prepaidAccountDetails := prepaidActDevDetails_tab (i);
                prepaidAccountDetails.Status_of_device := '1';
                IF (   prepaidAccountDetails.Account_id IS NULL
                    OR prepaidAccountDetails.Mac_Id IS NULL
                    OR prepaidAccountDetails.LOB_value IS NULL)
                THEN
                   RAISE Input_Parameter_Is_Null;
                END IF;
                IF (prepaidAccountDetails.LOB_value = 'VIDEO')
                THEN
                   /* Commented as channel lineup is not coming from the input request */
                   /*IF(prepaidAccountDetails.Channel_Line_Up is NULL) THEN
                    Error_code :='SI002';
                   log_error ('SI002', SQLERRM, 'Channel line up is mandatory for Video');
                   INSERT_WS_LOG(Source_Sys_Id,'F',Tracking_Id,Account_No,prepaidAccountDetails.Mac_Id);
                   STATUS:=0;
                    prepaidAccountDetails.Status_of_device:='0';
                   END IF;*/
                   SELECT EC_CHANNEL_LINEUP
                     INTO channel_lineup
                     FROM ELIGIBLE_CUSTOMER
                    WHERE EC_CUSTOMER_NO = cust_no;
                END IF;
                BEGIN
                   SELECT 1
                     INTO flg
                     FROM subscriber_master
                    WHERE     pm_phone_no = prepaidAccountDetails.Mac_Id
                          AND pm_status IN ('P', '0', 'A', 'B');
                EXCEPTION
                   WHEN NO_DATA_FOUND
                   THEN
                      flg := 0;
                END;
                IF (flg = 1)
                THEN
                   ERROR_CODE := 'SI003';
                   log_error ('SI003',
                              SQLERRM,
                              'Customer Already Exist with given Mac Id');
                   INSERT_WS_LOG (Source_Sys_Id,
                                  'F',
                                  Tracking_Id,
                                  Account_No,
                                  prepaidAccountDetails.Mac_Id);
                   STATUS := 0;
                   prepaidAccountDetails.Status_of_device := '0';
                END IF;
                BEGIN
                   SELECT md_mac_id
                     INTO m_mac_id
                     FROM mac_details
                    WHERE     md_mac_id = prepaidAccountDetails.Mac_Id
                          AND md_start_date <= SYSDATE
                          AND md_status = 'A';
                EXCEPTION
                   WHEN OTHERS
                   THEN
                      ERROR_CODE := 'SI004';
                      log_error ('SI004', SQLERRM, 'Invalid Mac Id');
                      INSERT_WS_LOG (Source_Sys_Id,
                                     'F',
                                     Tracking_Id,
                                     Account_No,
                                     prepaidAccountDetails.Mac_Id);
                      STATUS := 0;
                      prepaidAccountDetails.Status_of_device := '0';
                END;
                 select pm_cust_no into pm_cust_1 from subscriber_master where pm_cust_no = cust_no;
                IF (STATUS = 1 AND prepaidAccountDetails.Status_of_device = '1')
                THEN
                     SELECT DECODE (prepaidAccountDetails.LOB_value,
                                  'HSD', 'HSD',
                                  'VIDEO', 'VDO')
                     INTO LOB_VALUE
                     FROM DUAL;
            OPEN subs_rec;
            LOOP
            FETCH subs_rec into pm_cust_no_cur, pm_phone_no_cur, pm_status_cur, pm_user2_cur, pm_user9_cur;
              IF subs_rec%FOUND THEN
                 IF
                  ( pm_cust_1 = pm_cust_no_cur and pm_user2_cur= LOB_VALUE and pm_user9_cur = prepaidAccountDetails.outlet and pm_status_cur = 'S')
                    THEN
                        update subscriber_master set pm_phone_no = prepaidAccountDetails.Mac_Id, pm_status = 'P', pm_name = prepaidAccountDetails.Mac_Id
                        where pm_cust_no = pm_cust_no_cur and pm_user9 = prepaidAccountDetails.outlet;
                         select cm_status into cm_i from customer_master where cm_cust_no = pm_cust_no_cur;
                            IF( cm_i = '0')
                            THEN
                                update customer_master set cm_status = 'P' where cm_cust_no = pm_cust_no_cur;
                             END IF;
                             REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
                                               prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
                                               prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
                    ELSIF
                        ( pm_cust_1 = pm_cust_no_cur and pm_user2_cur= LOB_VALUE and pm_user9_cur = null and pm_status_cur = 'S')
                          THEN
                             update subscriber_master set pm_phone_no = prepaidAccountDetails.Mac_Id, pm_status = 'P', pm_name = prepaidAccountDetails.Mac_Id, pm_user9 = prepaidAccountDetails.outlet
                             where pm_cust_no = pm_cust_no_cur and pm_user9 = NULL;
                             update customer_master set cm_status = 'P' where cm_cust_no = pm_cust_no_cur;
                             REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
                                               prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
                                               prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
                    END IF;
                 ELSIF subs_rec%NOTFOUND THEN
                       SELECT PM_SUBS_ACT_NO_SEQ.NEXTVAL
                       INTO subs_aact_no
                       FROM DUAL;
                       subscriber_master_rec.PM_SUBS_ACT_NO := subs_aact_no;
                       subscriber_master_Rec.pm_phone_no :=
                        prepaidAccountDetails.Mac_Id;
                       subscriber_master_Rec.pm_open_date := SYSDATE;
                       subscriber_master_rec.pm_status := 'P';
                       subscriber_master_rec.PM_CUST_LVL_YN := 'S';
                       subscriber_master_rec.PM_EQUP_CODE := LOB_VALUE;
                       subscriber_master_rec.PM_HOME_AREA := 'HOM';
                       subscriber_master_rec.PM_USG_CODE := 'USG';
                       subscriber_master_rec.PM_NO_TYPE := 'S';
                       subscriber_master_rec.PM_TCG_CODE := 'DEF';
                       subscriber_master_rec.PM_APLN_DATE := SYSDATE;
                       subscriber_master_Rec.PM_NAME := prepaidAccountDetails.Mac_Id;
                       subscriber_master_Rec.PM_STAFF_id := '16';
                       subscriber_master_rec.PM_USER2 := LOB_VALUE;
                       subscriber_master_rec.PM_USER3 := channel_lineup;
                       subscriber_master_rec.pm_cust_no := cust_no;
                       subscriber_master_rec.PM_USER8 := 'Y';
                       INSERT INTO subscriber_master
                       VALUES subscriber_master_rec;
                       REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
                                         prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
                                         prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
             END IF;
             END LOOP;
             CLOSE subs_rec;
                  SELECT TH_PLAN_CODE,TH_PAYMENT_MODE
                   INTO m_plan_code1,m_payment_mode1
                   FROM PAYMENT_TRANSACTION_HISTORY
                   WHERE TH_CUSTOMER_NO = cust_no
                   AND TH_LOB = LOB_VALUE
                   AND TH_SUBSCRIBER_NO IS NULL;
                   IF(LOB_VALUE = 'HSD') THEN
                    IF(m_plan_code1 = 'SIKI') THEN
                          plan_code := 'SIKI';
                                             ELSE
                      plan_code := 'KIT';
                    END IF;
                   ELSE
                    IF(m_plan_code1 = 'SIKT') THEN
                             plan_code := 'SIKT';
                    ELSE
                          plan_code := 'TV';
                    END IF;
                   END IF;               
                          UPDATE PAYMENT_TRANSACTION_HISTORY SET TH_SUBSCRIBER_NO = subs_aact_no, th_writeback_status = 'Y' WHERE TH_CUSTOMER_NO = cust_no AND TH_PLAN_CODE = plan_code;
                          COMMIT;
                END IF;
             END LOOP;
          END;
       END SUBSCRIBER_INS_SS;
    END SUBS_INS_API_SS;
    --- type object
    create or replace
    TYPE   prepaid_act_dvc_details_obj--prepaidAccountDeviceDetailsObj
    AS     OBJECT ( Account_id VARCHAR2 ( 25 )
           , Mac_Id VARCHAR2 ( 25 )
           , Channel_Line_Up VARCHAR2 ( 25 )
           , LOB_value VARCHAR2 ( 25 )
           , Status_of_device VARCHAR2 ( 25 )
            , outlet VARCHAR2(25)
            , kit_code VARCHAR2(25)
            , serial_Number VARCHAR2(25)
            , shipper VARCHAR2(25)
            , estimated_recived_date date )
    type---
    create or replace
    TYPE prepaidActDeviceDetails_tabobj as table of prepaid_act_dvc_details_obj
    ---- i need to run this package via separate procedure. but i don't know how to pass the variable. because the passing argument contain object tab variable. please help me.. give me suggestion or procedure to run this pkg.

  • "iCal got an error: Can't Make id of event of calendar 4 into type referen

    Hello everyone. i am completely new to MAC's and very new to scripting. Thanks in advance for any help.
    I am tying to run an Apple Script that is called Scheduled Delivery.
    I'm running 10.4.10 and have the most recent version of the script.
    Basically what happens is I type up and email, add in the email address and save it to my drafts folder. The Scheduled Deliver script, when run, finds all the emails in my drafts folder and uses iCal to schedule a time to mail them (which is a specific time I enter)
    Here is my process I go through-
    I run the apple script by double clicking on the Scheduled deliver Icon, which was in my appications/MailScript folder. It brings up a new window with all my saved drafts. I select the draft I want to schedule a specific time to deliver. This is great.
    When I click on the lower right button "Update Schedule" I get an error message...
    "iCal got an error: Can't Make id of event of calendar 4 into type reference. (-1700)"
    I cannot figure this out. I've tried testing it anyway. I can close the Scheduled Deliver window but the "Done" button is always grey out. It seems to place an event in iCal but no message ever gets sent.
    Any help is greatly appreciated.
    Thanks

    Anyone? Any help is greatly appreciated.

Maybe you are looking for

  • I remove lyrics from iTunes, but they still show up in my iPhone :(

    So I download a song and it came with some unwanted text. I clicked on the song, went to file>get info, clicked on the lyrics tab, and removed the text. Then I synced my iPhone. However, the unwanted text still show up in my iPhone. What can I do to

  • Color picker not working in CC and Elements 12

    My Color picker keeps picking gray instead of any other color i chose. its the same in CC and Elements 12. I'm on an iMac running Yosemite. the color picker works ok when no document is open but reverts back to gray once i open one.

  • Why Collection interface declares equals() and hashCode() method

    When I went through the source code of Collection interface, I found equals() and hashCode() are declared? Why? If a class implements this interface, it will inherit these two method from Object, and we can true to override them.

  • Unable to stop syslog messages

    I keep getting the following syslog messages to my syslog server from our CUPS:- "133161: Jul 10 2013 09:32:21.387 UTC : %UC_RTMT-2-RTMT_ALERT: %[Name=CriticalServiceDown][Detail= Service operational status is DOWN.<010>Cisco UP XCP Message Archiver,

  • Load of application

    hi,I am using 10 g app server last patches, just wana ask,when load the app at load the mouse is give me symbol like hand and i have to click one time to remove that symbol,what is it???and how to remove that???? thansk in advance