Urgent: RTF runs successfully in local, but no output on JDE

Hello
I'm having a problem with my RTF. The following codes below are in my RTF, my RTF outputs successfully when run locally. But if i upload the same RTF in JDE, it doesn't show any output.
In the error log i get an error in the foreach_number loop.
I had another RTF before with the variable@incontext:G1, and i had to remove the G1 to make it work. My output must be as follows: Original - Duplicate - Duplicate for each invoice number. (For each invoice number i must get Original - Dup - Dup, then it does the same for the next invoice no)
<?for-each-group@section:/R56565/Phase_1___Build_Work_File_S1/Reference_Creapharm_S2_Group/On_Payment_Terms_S3;./Invoice_Number_ID27?>
<?variable@incontext:G1;current-group()?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,$G1/Invoice_Copies_INVC_ID309,1)?>
<?end for-each?>
<?end for-each?>
If i remove the $G1, it wont work and i will get no output. Can you please help me on that. Thank you very much.

How have you narrrowed the error to this particular portion of the code :
AND PC_SCHD_PYMT_DT IN (
SELECT MIN (G.PC_SCHD_PYMT_DT)
FROM PT_IL_PREM_COLL G
WHERE G.PC_POL_SYS_ID = POL_SYS_ID
AND G.PC_PAID_FLAG = (SELECT 'N' FROM DUAL)--'N'
AND NVL (G.PC_FLEX_02, 'N') 'P'
AND G.PC_SCHD_PYMT_DT <= TO_DATE('11-MAY-11','DD-MON-RR')) --ERROR INVALID NUMBERThe error occurs while the query is being executed, while some values are being evaluated as they are fetched.
So, you also need to check other places where you have a VARCHAR2 for a NUMBER.
See the very simple example by Tom Kyte at
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:45012348053
Hemant K Chitale

Similar Messages

  • Hyperion IR BQY job run successful few month but recently failed to export pdf and sending email

    Anyone have encountered the problem that the BQY jobs which are running more than 3 years successfully. But recently no one update the report, but the job export keep failing to send result pdf to receivers intermittently.
    It shouldn't be BQY job itself problem. Because this job has running years and fine. Only recent days comes out this problem. And user manually run the report can also be successful.
    After checking the server log, find out that Hyperion IR retrieved data successfully but export-excel/bqy type file all works except pdf format. And in one week, some day it works fine. Some day it failed.
    Trace in workspace job schedule log, it saying:
    Emailing section 'xxxxxx' as 'PDF' to:
    [email protected]
    [email protected]
    Export failed with unknown error.
    And checked the server_message_IRJobService.log it just saying:
    Error in export.[[
    And
    TCApp::ExecuteJavaScript failed:
    We stuck at this error for a period of time. Anyone can help? Oracle Support has mentioned it might be system performance issue. Will keep an eye on this issue, to see any solution can be find.

    Hi RamKumar,
    Thank you very much for your inputs. We haven't tried
    Increase the memory for the Hyperion Framework Services
    will test and see if it can solve the problem. For 'Hyperion Framework Service', do you mean 'Reporting and Analysis Framework'?
    We only tried increase the parameter of "Job Service" and "Intelligence Service" which called Dynamic Service Properties set to "PROCESS_MEMORY_LIMIT=2500MB". But seems hyperion this 32bit application only can reach to 2047MB.
    Our EPM version is 11.1.2.1.600.07.
    a. We have increased the memory from 24G to 48G and add more memory for JobService (now it has 2 GB memory).
         For the provided solution.
         Set the filters in the query to return smaller amount of data
         We are still working on, but it seems slightly solve the "Error in export" problem.
    b. We have confirmed the SMTP Server configuration is correct. So this solution not fit for our case. As the trouble job has been running more than 3 years, until recent month it starts with this error. And the job failed this error only happens intermittently e.g. Monday,Tuesday,Friday it all works fine(Proved the job it self is OK) but Wednesday some period, it failed to export. So we are thinking it might the hyperion performance issue.
    For the KM reference:
    Interactive Reporting (IR) Jobs do not Send Emails. Error: "Export failed. Error Sending Mail" (Doc ID 1401854.1)
    We have already read and checked, we do have correct configuration.
    Interactive Reporting Job Completing With Javascript Errors - Not Producing Excel Output (Doc ID 1065483.1)
    Our case is customer can successful extract data and send excel/bqy result to customer with no problem. But it failed to send pdf result sometime.
    Thanks and Regards,
    Erica

  • Import.py runs fine locally, but fails on the remote server

    I have the following import.py file (from The Definitive Guide to SOA Oracle Service Bus), which I am calling from an ANT script. It runs fine when I include the parameters for the server running on my machine, but when I change the params to our test server, it connects to the server, but can't create a session. I will include the output of both runs as well. The test server runs on a cluster. Does that make a difference?
    LOCAL OUTPUT:
    Buildfile: C:\Dev\bea\ALSB\crash_alsb\build.xml
    local.import:
    [echo] importscript: import.py
    [java] Initializing WebLogic Scripting Tool (WLST) ...
    [java] Welcome to WebLogic Server Administration Scripting Shell
    [java] Type help() for help on available commands
    [java] Loading Deployment config from : local.import.properties
    [java] Connecting to t3://localhost:7001 with userid weblogic ...
    [java] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'alsb_domain'.
    [java] Warning: An insecure protocol was used to connect to the
    [java] server. To ensure on-the-wire security, the SSL port or
    [java] Admin port should be used instead.
    [java] Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    [java] For more help, use help(domainRuntime)
    [java] Attempting to import : crash-alsb-20090205.jar on ALSB Admin Server listening on : t3://localhost:7001
    [java] Read file crash-alsb-20090205.jar
    [java] Created session name SessionScript1236884174250
    [java] finding service...
    [java] creating session...
    [java] return SessionMBean...
    [java] SessionMBean started session
    [java] ALSBConfiguration MBean found [MBeanServerInvocationHandler]com.bea:Name=ALSBConfiguration.SessionScript1236884174250,Type=com.bea.wli.sb.management.configuration.ALSBConfigurationMBean
    [java] Jar Uploaded
    [java] ALSB project crash_alsb will get overlaid
    [java] Default importPlan
    [java] Update Archive crash_alsb/crash-alsb-20090205
    [java] Update Archive crash_alsb/crash-config
    [java] Update WSDL crash_alsb/resources/wsdls/crash-jxdm-20070731
    [java] Update BusinessService crash_alsb/business/crash-20090305
    [java] Update ProxyService crash_alsb/proxy/crash-jxdm-20090305
    [java] Update Archive crash_alsb/export
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 22900920&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 23950494&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 16994189&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 6011310&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 33251361&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 6566192&gt;
    [java] Modified importPlan
    [java] Update Archive crash_alsb/crash-alsb-20090205
    [java] Update Archive crash_alsb/crash-config
    [java] Update WSDL crash_alsb/resources/wsdls/crash-jxdm-20070731
    [java] Update BusinessService crash_alsb/business/crash-20090305
    [java] Update ProxyService crash_alsb/proxy/crash-jxdm-20090305
    [java] Update Archive crash_alsb/export
    [java] Deployment of : crash-alsb-20090205.jar successful
    BUILD SUCCESSFUL
    Total time: 8 seconds
    TEST SERVER OUTPUT:
    Buildfile: C:\Dev\bea\ALSB\crash_alsb\build.xml
    remote.import:
    [echo] importscript: import.py
    [java] Initializing WebLogic Scripting Tool (WLST) ...
    [java] Welcome to WebLogic Server Administration Scripting Shell
    [java] Type help() for help on available commands
    [java] Loading Deployment config from : remote.import.properties
    [java] Connecting to http://&lt;IP removed&gt;:7001 with userid &lt;userid removed&gt; ...
    [java] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'WL-DEV'.
    [java] Warning: An insecure protocol was used to connect to the
    [java] server. To ensure on-the-wire security, the SSL port or
    [java] Admin port should be used instead.
    [java] Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    [java] For more help, use help(domainRuntime)
    [java] Attempting to import : crash-alsb-20090205.jar on ALSB Admin Server listening on : http://&lt;IP removed&gt;:7001
    [java] Read file crash-alsb-20090205.jar
    [java] Created session name SessionScript1236884107843
    [java] finding service...
    [java] null returned from findService method.
    [java] creating session...
    [java] Unexpected error: exceptions.AttributeError
    [java] Unexpected error: exceptions.AttributeError
    [java] No stack trace available.
    [java] Problem invoking WLST - Traceback (innermost last):
    [java] File "C:\Dev\bea\ALSB\crash_alsb\import.py", line 212, in ?
    [java] File "C:\Dev\bea\ALSB\crash_alsb\import.py", line 130, in importToALSBDomain
    [java] File "C:\Dev\bea\ALSB\crash_alsb\import.py", line 197, in getSessionMBean
    [java] AttributeError: 'None' object has no attribute 'createSession'
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 14 seconds
    import.py
    from java.util import HashMap
    from java.util import HashSet
    from java.util import ArrayList
    from java.io import FileInputStream
    #from com.bea.wli.config import TypeIds
    from com.bea.wli.sb.util import Refs
    from com.bea.wli.config.customization import Customization
    from com.bea.wli.sb.management.importexport import ALSBImportOperation
    from com.bea.wli.sb.management.configuration import SessionManagementMBean
    from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
    import sys
    #=======================================================================================
    # Entry function to deploy project configuration and resources
    # into a ALSB domain
    #=======================================================================================
    def importToALSBDomain(importConfigFile):
    try:
    SessionMBean = None
    print 'Loading Deployment config from :', importConfigFile
    exportConfigProp = loadProps(importConfigFile)
    adminUrl = exportConfigProp.get("adminUrl")
    importUser = exportConfigProp.get("importUser")
    importPassword = exportConfigProp.get("importPassword")
    importJar = exportConfigProp.get("importJar")
    customFile = exportConfigProp.get("customizationFile")
    passphrase = exportConfigProp.get("passphrase")
    project = exportConfigProp.get("project")
    connectToServer(importUser, importPassword, adminUrl)
    print 'Attempting to import :', importJar, "on ALSB Admin Server listening on :", adminUrl
    theBytes = readBinaryFile(importJar)
    print 'Read file', importJar
    sessionName = createSessionName()
    print 'Created session name ', sessionName
    SessionMBean = getSessionMBean(sessionName)
    print 'SessionMBean started session'
    ALSBConfigurationMBean = findService(String("ALSBConfiguration.").concat(sessionName), "com.bea.wli.sb.management.configuration.ALSBConfigurationMBean")
    print "ALSBConfiguration MBean found", ALSBConfigurationMBean
    ALSBConfigurationMBean.uploadJarFile(theBytes)
    print 'Jar Uploaded'
    if project == None:
    print 'No project specified, additive deployment performed'
    importResult = ALSBConfigurationMBean.importUploaded(None, false, true, passphrase)
    SessionMBean.commitSession(sessionName)
    else:
    print 'ALSB project', project, 'will get overlaid'
    alsbJarInfo = ALSBConfigurationMBean.getImportJarInfo()
    alsbImportPlan = alsbJarInfo.getDefaultImportPlan()
    alsbImportPlan.setPassphrase(passphrase)
    operationMap=HashMap()
    operationMap = alsbImportPlan.getOperations()
    print
    print 'Default importPlan'
    printOpMap(operationMap)
    set = operationMap.entrySet()
    alsbImportPlan.setPreserveExistingEnvValues(true)
    #boolean
    abort = false
    #list of created ref
    createdRef = ArrayList()
    for entry in set:
    ref = entry.getKey()
    op = entry.getValue()
    #set different logic based on the resource type
    type = ref.getTypeId
    print 'got a ref TypeId of ', type
    if type == Refs.SERVICE_ACCOUNT_TYPE or type == Refs.SERVICE_PROVIDER_TYPE:
    if op.getOperation() == ALSBImportOperation.Operation.Create:
    print 'Unable to import a service account or a service provider on a target system', ref
    abort = true
    elif op.getOperation() == ALSBImportOperation.Operation.Create:
    #keep the list of created resources
    createdRef.add(ref)
    if abort == true :
    print 'This jar must be imported manually to resolve the service account and service provider dependencies'
    SessionMBean.discardSession(sessionName)
    raise
    print
    print 'Modified importPlan'
    printOpMap(operationMap)
    importResult = ALSBConfigurationMBean.importUploaded(alsbImportPlan)
    printDiagMap(importResult.getImportDiagnostics())
    if importResult.getFailed().isEmpty() == false:
    print 'One or more resources could not be imported properly'
    raise
    #customize if a customization file is specified
    #affects only the created resources
    if customFile != None :
    print 'Loading customization File', customFile
    print 'Customization applied to the created resources only', createdRef
    iStream = FileInputStream(customFile)
    customizationList = Customization.fromXML(iStream)
    filteredCustomizationList = ArrayList()
    setRef = HashSet(createdRef)
    # apply a filter to all the customizations to narrow the target to the created resources
    for customization in customizationList:
    print customization
    newcustomization = customization.clone(setRef)
    filteredCustomizationList.add(newcustomization)
    ALSBConfigurationMBean.customize(filteredCustomizationList)
    #SessionMBean.commitSession(sessionName)
    SessionMBean.activateSession(sessionName,"active session from import.py")
    print "Deployment of : " + importJar + " successful"
    except:
    print "Unexpected error:", sys.exc_info()[0]
    if SessionMBean != None:
    SessionMBean.discardSession(sessionName)
    raise
    #=======================================================================================
    # Utility function to print the list of operations
    #=======================================================================================
    def printOpMap(map):
    set = map.entrySet()
    for entry in set:
    op = entry.getValue()
    print op.getOperation(),
    ref = entry.getKey()
    print ref
    print
    #=======================================================================================
    # Utility function to print the diagnostics
    #=======================================================================================
    def printDiagMap(map):
    set = map.entrySet()
    for entry in set:
    diag = entry.getValue().toString()
    print diag
    print
    #=======================================================================================
    # Utility function to load properties from a config file
    #=======================================================================================
    def loadProps(configPropFile):
    propInputStream = FileInputStream(configPropFile)
    configProps = Properties()
    configProps.load(propInputStream)
    return configProps
    #=======================================================================================
    # Connect to the Admin Server
    #=======================================================================================
    def connectToServer(username, password, url):
    connect(username, password, url)
    domainRuntime()
    #=======================================================================================
    # Utility function to read a binary file
    #=======================================================================================
    def readBinaryFile(fileName):
    file = open(fileName, 'rb')
    bytes = file.read()
    return bytes
    #=======================================================================================
    # Utility function to create an arbitrary session name
    #=======================================================================================
    def createSessionName():
    sessionName = String("SessionScript"+Long(System.currentTimeMillis()).toString())
    return sessionName
    #=======================================================================================
    # Utility function to load a session MBeans
    #=======================================================================================
    def getSessionMBean(sessionName):
    #SessionMBean = findService("Session","com.bea.wli.config.mbeans.SessionMBean")
    print "finding service..."
    SessionMBean = findService(SessionManagementMBean.NAME,SessionManagementMBean.TYPE)
    if SessionMBean == None:
    print "null returned from findService method."
    print "creating session..."
    SessionMBean.createSession(sessionName)
    print "return SessionMBean..."
    return SessionMBean
    # IMPORT script init
    try:
    # import the service bus configuration
    # argv[1] is the export config properties file
    importToALSBDomain(sys.argv[1])
    except:
    print "Unexpected error: ", sys.exc_info()[0]
    dumpStack()
    raise

    Your Template code is messed up.
    Use the code validation tools below and fix reported errors.
    Code Validation Tools
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Then post your Revised Template.dwt code.  Once the editable regions are positioned properly,  your child pages should perform better.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • SSIS 2012 ETL is failing only at one server (No BIDS) but running successfully from BIDS on different sever . In this ETL, I have used Stored Procedure in OLEDB Source.

    Hi Guys,
    SSIS 2012 ETL is failing only at one server (No BIDS) but running successfully from BIDS on different sever . In this ETL, I have used Stored Procedure in OLEDB Source.
    Note: I have couple of ETLs developed in 2005 using same logic and upgraded to 2012, working perfectly.
    I am getting Error Message:
    SSIS
    Error Code
    DTS_E_OLEDBERROR. 
    An OLE DB
    error has occurred.
    Error code: 0x80004005.
    An
    OLE DB
    record is available. 
    Source: "Microsoft OLE DB Provider for SQL Server" 
    Hresult: 0x80004005 
    Description: "Error converting data type varchar to datetime.".
    Unable
    to retrieve
    column information
    from the data
    source. Make
    sure your target
    table in
    the database is
    available.
    "OLE DB Source"
    failed validation
    and returned
    validation status
    "VS_ISBROKEN".
    I tried below word around and found It is working perfectly.
    I loaded data into a table (dbo.TEMP) using Stored procedure and then I used this dbo.TEMP table in OLEDB source and then found no issue.
    MY SP Details: (This SP I am calling in OLEDB source of ETL) and when I run it from one server IT is working fine and when I run from ETL dedicated Server getting error:   Guys Help me out.
    USE
    [TEST_DB]
    GO
    SET
    ANSI_NULLS ON
    GO
    SET
    QUOTED_IDENTIFIER ON
    GO
    ALTER
    PROCEDURE  [DBO].[SP_TEST]
    --EXEC [DBO].[SP_TEST] '2014-09-30','2014-10-01'
    @FROMDATETIME
    DATETIME,
    @TODATETIME
    DATETIME
    AS
    SET
    NOCOUNT ON
    BEGIN
    DECLARE
    @FROMDATEKEY INT,
    @TODATEKEY INT,
    SET
    @FROMDATEKEY=
    CONVERT(VARCHAR(10),@FROMDATETIME,112)
    SET
    @TODATEKEY=
    CONVERT(VARCHAR(10),@TODATETIME,112)
    IF 1 = 1
    BEGIN
    SELECT
    CAST(NULL
    AS DATETIME) 
    AS TXN_DATE
    , CAST(NULL
    AS DATETIME
    ) AS PROCESS_DATE     
    , CAST(NULL
    AS money)
    AS  S1_AMT
    , CAST(NULL
    AS money)
    AS  S2_AMOUNT
    , CAST(NULL
    AS money)
    AS  S2_INVALID_AMOUNT
    , CAST(NULL
    AS money)
    AS  INVALID_MOVED_IN_VALID_S2_AMOUNT
    , CAST(NULL
    AS VARCHAR(20))
    AS SYSTEM_ID
    , CAST(NULL
    AS money)
    AS  S3_AMT
    END
    SELECT
    TXN_DATE
    ,PROCESS_DATE
    ,S1_AMT
    ,S2_AMOUNT
    ,S2_INVALID_AMOUNT
    ,INVALID_MOVED_IN_VALID_S2_AMOUNT
    ,SYSTEM_ID
    S3_AMT
    FROM
    DBO.TABLE_1
    WHERE TNX_DATE_KEY
    BETWEEN @FROMDATEKEY
    and @TODATEKEY
    UNION
    ALL
    SELECT
    TXN_DATE
    ,PROCESS_DATE
    ,S1_AMT
    ,S2_AMOUNT
    ,S2_INVALID_AMOUNT
    ,INVALID_MOVED_IN_VALID_S2_AMOUNT
    ,SYSTEM_ID
    S3_AMT
    FROM
    DBO.TABLE_2
    WHERE TNX_DATE_KEY
    BETWEEN @FROMDATEKEY
    and @TODATEKEY
    UNION
    ALL
    SELECT
    TXN_DATE
    ,PROCESS_DATE
    ,S1_AMT
    ,S2_AMOUNT
    ,S2_INVALID_AMOUNT
    ,INVALID_MOVED_IN_VALID_S2_AMOUNT
    ,SYSTEM_ID
    S3_AMT
    FROM
    DBO.TABLE_3
    WHERE TNX_DATE_KEY
    BETWEEN @FROMDATEKEY
    and @TODATEKEY
    END
    Data Source Mode: SQL Command for Variable
    "EXEC [DBO].[SP_TEST]  '"+ (DT_WSTR, 24) @[User::V_EXTRACT_FROM_DT]  +"','"+ (DT_WSTR, 24) @[User::V_EXTRACT_TO_DT]  +"'"
    Where variable @[User::V_EXTRACT_FROM_DT] and @[User::V_EXTRACT_TO_DT] is defined as DATETIME 
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi,
    Yes you are right. At one sever where I was getting error, DateTime was in USA format and Where It was running successfully was in AUS format.
    I changed from USA to AUS and I did another changes:
    Data Source Mode: SQL
    Command
    EXEC  [DBO].[SP_TEST] 
    @FROMDATETIME = ?,
    @TODATETIME = ?
    and It is working fine.
    Thanks Shiven:) If Answer is Helpful, Please Vote

  • [newbie qn] script runs under Script Editor but not as application

    I have a simple script that runs successfully under the Script Editor. The script is:
    tell application "Safari"
    activate
    tell (make new document) to set URL to "http://www.google.com"
    end tell
    However, when I tried to run it as an application, I encountered the error 'Can't set document "Untitled" of application "Safari" to "http://www.google.com".'
    How should I rewrite the script so that it would run as an application? Thanks!

    Hi PointZero01
    Your script compiles and works fine saved as an application and tested under 10.5.6.
    slightly different but does exactly the same
    tell application "Safari"
    activate
    make new document
    set URL of document 1 to "http://www.google.com"
    end tell
    Budgie

  • Front end application error after import script run successfully in R12

    Hi ,
    i got an exception in R12 environment.
    i developed one simple OAF page and deployed in apps import script run successfully.
    but when i am opening that page in Front end it will give an exception.
    That is
    Exception Details.
    oracle.apps.fnd.framework.OAException: Could not load application module 'tflsm.oracle.apps.po.per.server.TflsmAM'.
    ## Detail 0 ##
    JBO-30003: The application pool (cph-oadb-tst22.dk.flsmidth.netTST221543tflsm.oracle.apps.po.per.server.TflsmAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    ## Detail 0 ##
    oracle.jbo.NoDefException: JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
    JBO-30003: The application pool (cph-oadb-tst22.dk.flsmidth.netTST221543tflsm.oracle.apps.po.per.server.TflsmAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
    ## Detail 0 ##
    oracle.jbo.NoDefException: JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
    i will check all the class files and xml files of Application Module below top, all are there in the server top(below top)
    /u02/TST22/apps/apps_st/comn/java/classes/xxfls
    but i got the exception.
    is there any different structure in R12.
    i.ein the server top /u02/TST22/apps/apps_st/comn/java/classes/xxfls (Here my all class files in Binary mode and xml files in ASCII mode)
    only CLASS files are needed or XML files are also need.(i am moving all CLASS and XML files)
    could you please help me on this.
    Thanks with Regards,
    Muthu

    Muthu,
    This issue usually occurs when the AM.class file is not available at the given location. Try to find out on the server whether this
    tflsm.oracle.apps.po.per.server.TflsmAM exists.
    If still the problem persists then go for redeployement by deleting the existing one.
    Regards,
    Gyan

  • Im having trouble getting my macbook pro to boot up after a fail safe boot, im getting as far as the grey screen with the apple loggo. so im trying to run a disk repair but is saying the disk is locked, how do i unlock disk??

    Im having trouble getting my macbook pro to boot up after a fail safe boot, im getting as far as the grey screen with the apple loggo. so im trying to run a disk repair but is saying the disk is locked, how do i unlock disk??

    Some clarification may help.
    You say you cannot boot normally.  It shows a gray screen with the Apple logo.
    Did you say it will boot successfully in Safe Mode (boot, then hold down the Shift key)?
    How did you boot the machine to run Disk Utility?  (Which keyboard combinations)?

  • Query can run in Oracle 10g but very slow in 11g

    Hi,
    We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
    Do any of you face the same issue?
    This is our query:
    SELECT
    A.wellbore
    ,a.depth center
    ,d.MD maxbc
    ,d.XDELT xbc
    ,d.YDELT ybc
    ,e.MD minac
    ,e.XDELT xac
    ,e.YDELT yac
    from
    table_A d,table_A e, table_B a
    where a.wellbore = d.WELLBORE (+)
    and a.wellbore = e.WELLBORE(+)
    and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
    d.wellBORE = b.wellBORE)
    and e.md = (select min(md) from table_A c where c.MD > a.depth and
    e.wellBORE = c.wellBORE);

    Thanks I will move to the correct one..
    Rafi,
    Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
    Moved: Query can run in Oracle 10g but very slow in 11g
    Edited by: 924400 on Apr 1, 2012 6:03 PM
    Edited by: 924400 on Apr 1, 2012 6:26 PM

  • Yosemite 10.10.2 server app. FTP help. I have a program running in my local server enviroment that wants to FTP to my mac folder. It asks for the server , name, password, port and path. what are they?

    So I have set up a localhost area in my Mac. I have the new server.app and I am running yosemite 10.10.2 .
    I have a program running in my local server enviroment that wants to FTP to my mac .
    It asks for the server , name, password, port and path. what are they?
    I am pretty certain that the Serveris "localhost",
    Name is my macs name (like my-mac-min)
    password is "my login password"
    and they suggest port 21.
    But what is the file path, lets just say my site is set up http://localhost/siteftp and is actually at my Users/Sites/siteftp folder.
    Why cant this program connect to the mac.
    Is it because they are both operating in the same localhost enviroment,
    could it be my folder permissions are not correct on siteftp folder?
    Help please !

    I tried turning the computer off and then back on. The alerts don't show the notice to update as resolved. Hopefully this is not a problem or an indicator or another problem. Should I ignore or reload 10.10.1 from the app store to trigger a resolved check in a green circle?
    Interesting that I had to buy server software after my free Yosemite download. I would have hoped that the two pieces of software would have gone together without any complication. It is not positive to end up buying a problem. Ah well, time to move on.

  • War not running on managed server but run on admin

    Hi,
    WLS 10.3.1 , application deploy on admin runs successfully but doesnot runs when deployed on managed server.
    netstat show when access via browser the managed server show connection status as FIN_WAIT_2 but established when accessing via admin.
    any idea why?
    Thanks in advance.

    Hi,
    To understand your problem can you let us know
    - If you are using any proxy between the client and WLS.
    - Is this happing with only one managed servers or all the managed servers.
    - What is the basic difference with you try to access the same application when it is deployed on Admin sever and Managed server.
    - Does the response comes from the server (MS) after sometime or its stuck and you do not get any response, and if you do not get it then what do you error do you get if any.
    Regards,
    Ravish Mody

  • C# Script to copy an Excel File working locally but not on the server when I schedule a job

    So I have these couple C# commands to copy an Excel File which works fine and dandy on my local client when I test and run this SSIS Package but when I tried scheduling the job on the server, it failed.
    These are the couple C# commands...
    // This Opens the Source .xlsx File from Emdeon ePaySmart
    Workbook workbook = excelApplication.Workbooks.Open(StringSourceFile, XlUpdateLinks.xlUpdateLinksNever, true, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    // This will Save the Source .xlsx Emdeon ePaySmart File as a .xls File...note xlFileFormat.xlExcel5
    workbook.SaveAs(StringDestinationFile, XlFileFormat.xlExcel8, Type.Missing, Type.Missing, Type.Missing, Type.Missing, XlSaveAsAccessMode.xlExclusive, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    Is this because I'm using xlFileFormat.xlExcel8 and locally it is running fine but when I schedule via SQL Server Management Studio as a SQL Server Agent Job it seems to be failing??
    I sure hope I don't have to change this so it will run as a SQL Server Agent Job and/or run this locally every blessed week.
    Can someone clear this up for me and provide a potential solution?
    Thanks for your review and am hopeful for a reply.
    ITBobbyP85

    That is Excel automation, which requires Excel to be installed on the computer where the code runs, and is not supported on a server without an interactive user logged in.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Azure SQL database working locally but not when published to Azure

    I have an
    AngularJS  solution that is connecting to a SQL Azure database.  When
    I run the solution locally, it’s configured to connect up to the SQL Azure database, the solution works fine. However,
    when I publish the solution to Azure the connection to the SQL Azure database does not work.
    When debugging with Chrome I get the error Failed to load resource: the server responded with a status of 500 (Internal Server
    Error) 
    I'm not using EF. but dapper.
    My connectionstring is as follows
    <add name="PortalConnection" providerName="System.Data.SqlClient" connectionString="Server=tcp:xxx.database.windows.net,1433;Database=xxx;User ID="xxx";Password="xxx";Trusted_Connection=False;Encrypt=True;Connection
    Timeout=30;"/>
    When I run the web solution locally from Visual Studio, my sql queries runs like it should, it's only the published version having problems. 
    Any ideas?
    Software Developer

    Hi,
    Thanks for answer.
    I had followed that step by step guide for deploying to Windows Azure. So that was not the problem.
    But I was able to get a better error message by turning off custom error in web.config.
    I got the error message: "Windows login are not supported in this version of SQL Server"
    I solved this by using the SqlConnectionStringBuilder instead of getting the connection string from 
    web.config.
    So everything works great now, just think it's strange it worked locally before..
    Regards
    -entery
    Software Developer

  • 11.5.10 Step by Step - Run istore from local machine for customization

    Hello,
    Does anyone have step by step instructions on using JDeveloper to run iStore JSPs on local machine with the end goal to customize JSPs? We have 11.5.10. I am using JDeveloper 9.0.3.5. Have tried following steps per lot of metalink notes but none seem to be working. Need to know exactly:
    - what Jdeveloper version to use for 11.5.10?
    - Where to download this version from?
    - Is it even possible to run iStore from local Windows machine using JDeveloper?
    - What is the main iStore page that should be run the 1st time?
    - Any expert available in USA for a 2 week paid assignment to help our team setup Jdeveloper for customization? And give intro lessons?
    Much Help...
    Thanks

    1. The Jdeveloper you use with 11.5.10 will depend on which ATG patch level you are at (see metalink note 416708.1)
    2. It will be in a metalink patch (see metalink note 4167708.1)
    3. I don't believe you can run it locally on a windows machine.
    4. Can't remember it off the top of my head but I will look back in my notes, I'm no longer working at the client site who has iStore.
    5. I know of 3 or 4 experts that I have worked with in Canada on JDeveloper/iStore/Configurator, I don't know anyone in the US but there has got to be a bunch out there looking for work.
    Edited by: mcharchu on Jul 17, 2009 9:20 PM

  • Stored procedure runs fine from SSMS but fails when called from the C# app

    I'm using SS Express 2012 so I doubt I have all possible debugging capabilities at my disposal, although I'm still trying to figure this out myself.
    The compiled C# application has logging to insure that the the SP is being invoked, the appropriate line of code is  definitely being reached. The logging always reports 'success' suggesting that the SP was successfully executed (and no exception is thrown
    to the C# app), but the indexes aren't getting rebuilt (I have a fragmentation query proving they are not rebuilt). Yet it runs successfully if I
        (1) set a breakpoint in the C# app and step through the code line by line OR
        (2) run the SP from the SSMS GUI.
    The fragmentation query confirms sucess for both 1 and 2.
    -I can't rely on the GUI because I want to run this overnight immediately after the C# app is finished inserting new records.
    - The SP loops through all the tables, and all the indexes in each table, checking for fragmentation and rebuilding any indexes over 7% fragmented.
    ALTER Procedure [dbo].[usp_RebuildIndexes]
    AS
    Declare @fetch_TableName NVARCHAR(256)
    DECLARE Cursor_Tables CURSOR FOR
    SELECT Name FROM sysobjects WHERE xtype ='U'
    OPEN Cursor_Tables
    While 1 = 1 -- Begin to Loop through all tables
    BEGIN
    FETCH NEXT FROM Cursor_Tables INTO @fetch_TableName -- fetches the next table
    if @@FETCH_STATUS <> 0 break
    print '---------' + @fetch_TableName
    Declare @fetch_indexName NVARCHAR(256) -- loops through al indexes of the current table
    DECLARE Cursor_Indexes CURSOR FOR -- Looking for indexes fragmented more than 7 percent.
    SELECT name as indexName
    FROM sys.dm_db_index_physical_stats (DB_ID(DB_Name()), OBJECT_ID(@fetch_TableName), NULL, NULL, NULL) AS a
    JOIN sys.indexes AS b ON a.object_id = b.object_id AND a.index_id = b.index_id
    Where Name is not null and avg_fragmentation_in_percent > 7
    OPEN Cursor_Indexes
    WHILE 1= 1 -- Begin to Loop through all Indexes
    BEGIN
    FETCH NEXT FROM [Cursor_Indexes] INTO @fetch_indexName
    if @@FETCH_STATUS <> 0 break
    Declare @SqL nvarchar(2000) = N'ALTER INDEX ' + @fetch_indexName + ' ON ' + DB_Name() + '.dbo.' + @fetch_TableName + ' Rebuild'
    print @Sql
    Begin TRy
    Execute sp_executeSQL @sql
    End Try
    Begin Catch
    Declare @err nvarchar(2000) = ERROR_MESSAGE();
    throw 51000, @err, 1
    End Catch
    End -- Ends looping through all indexes
    CLOSE [Cursor_Indexes]
    DEALLOCATE [Cursor_Indexes]
    End -- Ends looping through all tables
    CLOSE Cursor_Tables
    DEALLOCATE Cursor_Tables
    foreach (objDB DB in oUserPrefs.DBs) {
    report += DB.Real_Name;
    if (DB.cn == null) DB.cn = sqlCn(DB.Real_Name, SystemInformation.ComputerName);
    try {
    if (DB.cn.State != ConnectionState.Open) DB.cn.Open();
    } catch (Exception ex) {
    report += " - Failed because can't open a connection.\r\n";
    continue;
    DB.OpenedAConnection = true;
    DataTable dt = null;
    try {
    dt = oParam.fillDt("dbo.usp_RebuildIndexes", DB.cn, null);
    } catch (Exception ex) {
    report += " -failed because " + ex.Message + "\r\n\r\n";
    continue;
    report += " - success.\r\n";
    DB.LastTimeRebuiltIndexes = DateTime.Now;

    Your proc is a bit of a mess and hard to read. This should get you what you need though. I added a little logic in the middle that determines if the index should be reorged, or rebuilt.
    You were right that my script was too messy and I used your code/logic to rewrite mine. Thanks! I tried it this morning and it worked fine, but I will have to see how it runs overnight to be sure.
    Here's the weird thing. My original code should have worked. In fact I'm actually using it in 3 c-sharp apps each of which has 3 to 7  Express 2012 databases (about 10 million records per database). For about a month it's been working fine on two of the
    apps. Furthermore this morning I used a commercial file-comparison tool to verify that the 3rd app has been running an identical version of the SP. So I'm at a total loss as to what went wrong in the 3rd app.
    Here's my rewrite.
    Alter Procedure [dbo].[usp_RebuildIndexes]
    As
    Declare @Messages Table(Msg nvarchar(2000))
    Declare @IndexName nvarchar(256), @TableName NVARCHAR(256)
    DECLARE Cursor_Indexes CURSOR FAST_FORWARD FOR -- GEt a list of all indexes for all tables.
    select idxs.name as indexName, o.Name as TableName
    from sys.indexes idxs
    inner join sysobjects o on idxs.object_id = o.id
    inner join sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL,NULL,NULL) as stats
    on stats.object_id = idxs.object_id and stats.index_id = idxs.index_id
    where xtype = 'u' and idxs.name is not null And avg_fragmentation_in_percent > 7
    OPEN Cursor_Indexes
    While 1 = 1
    BEGIN
    FETCH NEXT FROM Cursor_Indexes INTO @IndexName, @TableName
    if @@FETCH_STATUS <> 0 break
    Declare @SqL nvarchar(2000) = N'ALTER INDEX ' + @IndexName + ' ON ' + DB_Name() + '.dbo.' + @TableName + ' Rebuild'
    insert @Messages(Msg)VALUES(@sql)
    Execute sp_executeSQL @sql
    End
    CLOSE [Cursor_Indexes]
    DEALLOCATE [Cursor_Indexes]
    Select * From @Messages

  • ABAP Program gives error after running  successfully for few days / months

    I have a problem that sometimes my programs start giving errors or does not run at all after successfully running for few days / months.
    But, when I copy the same program with a different name (without any changes ) it starts running again.
    Yesterday I had another problem. I was sending a request to be transported to Production Client, and the request was not getting transported. But when I changed just the name of the program, It was transported to Production Client.
    I can't understand where the problem lies and what happens to the programs after running successfully for few days. All I have to do is just copy that programm into another name and it starts running.
    Can anyone help me?
    Regards,
    SK Daniel

    about the transport thing..i had the same problem few months back the reason was,  i included a table which is having different package  from my program..so wot im thinking is when you creating a different program u might be assigning different package to this new program  and this package is same as all the tables included in your program...
    regards

Maybe you are looking for

  • Burning a DVD from Final Cut Express HD

    I previously asked for help using iDVD and was directed to a site but I can't get it to open on my computer; it just loads forever. (The site is www.apple.com/ilife/tutorials/) Isn't there any way to burn a DVD straight from FCE HD? If not, can someo

  • Naming for Export dmp file in Date and Time

    Dear All, Please advise me how to give the file name in date and time stamp for the export dmp file and it's log file.Suggest me in Oracle 9i version. for example the file name get like this 020420041155.dmp and 020420041155.log where date and time a

  • Error while deploying portlet

    Hi , I am getting following error while consuming the portlet from a webcenter application deployed on WLS. Please let me know what could be wrong <Aug 22, 2011 12:44:27 PM CEST> <Error> <oracle.portlet.binding> <BEA-000000> <An error has occured for

  • How to change the limitations of columns?

    Here's a screenshot of what I mean: http://img408.imageshack.us/my.php?image=sarake0al.jpg This is an album column. The album's name is "The Cream of Female Vocal Trance". iTunes cuts of the name after 30 marks. Is it possible to change this, so iTun

  • Record TV through Powerbook - Can it be done?

    Hi all, I just got a new flash plasma TV with all the bells and whistles and wanna record some of the digital TV. I've looked at the Apple TV component, but the specs and functions didn't really impress me for the price. I also looked at a Playstatio