BW QUERY IS NOT RUNNING IN PORTAL

Hi  Experts,
I am having BW Netweaver 7.0 (ABAPJAVA) which is installed on Windowsoracle.
I am trying to design BW queries in WAD and try to execute them in the Internet explorer. But Its not supporting.
Is there any separate Post mannual settings to be done to execute BW queries on browser.if yes kindly give the links to documents to peform the settings.
Thanks for the solutions
Best Regards
Naredra

Hi Venu ,
Can you please check the logs for details -  http(s):<host>:<port>/nwa . This may be a permissions issue . Check if the iview has read permission for everyone group and then test . Also post the error details here .
Regards
Mayank

Similar Messages

  • Have a month number but QaaWs query will not run

    If I type in the parameters for the query it runs with no problem, but when I use the MONTH function that returns the month number the query will not run.
    I think the date serial number is what is being passed even though I see a number being display.  Does anyone know how to conver this MONTH() function to a true number?  This is a converted 4.5 model that works just fine, but looks like they tightened things up in 2008.
    Thanks...
    Tom Nather

    Here is how its setup.  I have a QaaWs query that returns the max date, then Excel functions that calculate the date back 13 months.  One of the functions is MONTH() that returns the month number based on a date stored in a cell, not really a true number.
    I added a vlookup that takes the month from a date field (05/31/2008) and looks up the appropriate NUMBER of the month =VLOOKUP(MONTH(K47),M54:M65,1). Find 5 (which is defined as a number.
    This then is applied to the input side for the Qaaws (Month Number = double) using a Paste Link function from the CONTROLS sheet in excel, and the query then works.
    Anything that is a date always seems to be built off of the date serial number so this was the easiest way to get this to work. 
    I think standards have been tightened up using the Flex language vs. what 4.5 was written in, this works in 4.5 without the necessary conversion.

  • Bex Query is not working in portal

    Dear Experts,
    i have uploaded BI master role into portal, By default Bex Queries are assgined to Master Role. when I clcik on preview for particular Bex Query, it's working fine. but after assigning the master role to end user, that same Bex Query is not working. it's showing Below error..
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 05:22_18/08/10_0002_7116150
    Refer to the log file for details about this exception.
    please give me suggetions...
    Regards,
    VENU

    Hi Venu ,
    Can you please check the logs for details -  http(s):<host>:<port>/nwa . This may be a permissions issue . Check if the iview has read permission for everyone group and then test . Also post the error details here .
    Regards
    Mayank

  • FOR ALL ENTRIES stmnt. in SELECT query is not running properly

    Hello experts,
              In my report program, I write one query on table BSIS.
             Internal table declaration -             
           DATA : BEGIN OF DLC_BSIS OCCURS 0,
                            BUKRS LIKE BSIS-BUKRS,
                            GJAHR LIKE BSIS-GJAHR,
                            BELNR LIKE BSIS-BELNR,  
                            SHKZG LIKE BSIS-SHKZG,
                            BSCHL LIKE BSIS-BSCHL,
                            AUFNR LIKE BSIS-AUFNR,
                            HKONT LIKE BSIS-HKONT,
                            QSSKZ LIKE BSIS-QSSKZ,
                            DMBTR LIKE BSIS-DMBTR,
                       END OF DLC_BSIS.                                                                               
    Query as follows --
             SELECT BUKRS
                           GJAHR
                           BELNR
                           AHKZG
                           BSCHL
                           AUFNR
                           HKONT
                           QSSKZ
                            DMBTR FROM BSIS
                                      INTO TABLE DLC_BSIS
                                     FOR ALL ENTRIES IN IT_BKPF2
                                     WHERE BELNR = IT_BKPF2-BELNR
                                                  AND BUKRS = IT_BKPF2-BUKRS
                                                  AND GJAHR = IT_BKPF2-GJAHR.
    IT_BKPF2 internal table having -- BUKRS - LT01
                                                         BELNR - 6400000061
                                                         GJAHR - 2009.
    And in BSIS database  table  -- 3 entries are there for the above documnet.
    But, in my internal only one entry has come for the same above document.
    I think For all entries stmnt. is not running properly. But Why it's not running properly.??
    What would be the reason..??
    Thanks in advance....!!
    Regards,
    Poonam.

    >
    Poonam Patil wrote:
    > Hello experts,
    >           In my report program, I write one query on table BSIS.
    >
    >          Internal table declaration -             
    >                                            
    >        DATA : BEGIN OF DLC_BSIS OCCURS 0,
    >                         BUKRS LIKE BSIS-BUKRS,
    >                         GJAHR LIKE BSIS-GJAHR,
    >                         BELNR LIKE BSIS-BELNR,  
    >                         SHKZG LIKE BSIS-SHKZG,
    >                         BSCHL LIKE BSIS-BSCHL,
    >                         AUFNR LIKE BSIS-AUFNR,
    >                         HKONT LIKE BSIS-HKONT,
    >                         QSSKZ LIKE BSIS-QSSKZ,
    >                         DMBTR LIKE BSIS-DMBTR,
    >                    END OF DLC_BSIS.                                                                               
    >                           
    >          Query as follows --
    >
    >          SELECT BUKRS
    >                        GJAHR
    >                        BELNR
    >                        AHKZG
    >                        BSCHL
    >                        AUFNR
    >                        HKONT
    >                        QSSKZ
    >                         DMBTR FROM BSIS
    >                                   INTO TABLE DLC_BSIS
    >                                  FOR ALL ENTRIES IN IT_BKPF2
    >                                  WHERE BELNR = IT_BKPF2-BELNR
    >                                               AND BUKRS = IT_BKPF2-BUKRS
    >                                               AND GJAHR = IT_BKPF2-GJAHR.
    >
    > IT_BKPF2 internal table having -- BUKRS - LT01
    >                                                      BELNR - 6400000061
    >                                                      GJAHR - 2009.
    >
    > And in BSIS database  table  -- 3 entries are there for the above documnet.
    >
    > But, in my internal only one entry has come for the same above document.
    >
    > I think For all entries stmnt. is not running properly. But Why it's not running properly.??
    > What would be the reason..??
    >
    >
    > Thanks in advance....!!
    >
    > Regards,
    > Poonam.
    include the buzei field in selection criteria i have faced the same situation earlier.
    always select all the key fields.
    varun

  • Query is not running after one table exceeds certain records, any limit?

    I have a production database and a reporting database. Production is on version 9.2.0.5 where as Reporting is on 9.2.0.3. I had a query which uses Gl table which grows every month. The query use to take almost same time both in Production as well as Reporting. After the table grew in last couple of months. I observed the query just hangs up in production where as it continues to run in Reporting. Is it the orcale version which makes any difference for the query not to run in prodcution when Gl table had 27 million rows as against 25 million rows a couple of months of ago? Any help is appreciated.

    user5846372 wrote:
    If I use the gl table which was populated until two months ago having less than say 25.2 million rows, the query runs in 2 minutes. If I use the current gl table having current data (total of say 27 million rows) then the query does not even run. From the current gl table if I delete about 2 million records making it 25 illkion rows then the query runs. So I was wondering whether it is the oracle version which makes this difference.Explain your logic that says that after the queries run successfully on different versions, the version difference is now somehow causing the problem - and not the fact that what did change since the last successful run was the the data volumes....
    As for "+the query does not even run+" - it does. Simply that you do not have a clue what it is doing and thus no means to diagnose the problem. And then jump to the conclusion that the version difference is somehow to blame.
    WHAT is that query doing when it seems to "hang"? (it very likely does not hang at all, and is simply very busy with I/O or being blocked from accessing a resource it needs)
    Have you looked at the events and wait states of the query? Have you looked, as Daniel already suggested, at the execution plan?
    You cannot and should not attempt to diagnose a problem, without understanding the problem. If you have no idea what the problem is, how can you simply jump to the conclusion that "+oh, it must be the version difference+"!?
    You can only solve a problem by understanding it. It is that simple. So first understand what the query is doing and why it seems to hang BEFORE you attempt to diagnose and solve it.

  • Why select query is not running on 10.2.0.2.0  but running on 10.2.0.1.0

    Hi Friends,
    The below given select statement is executing successfully in version
    select * from v$version;
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE     10.2.0.1.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    but NOT in version
    select * from v$version;
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi
    PL/SQL Release 10.2.0.2.0 - Production
    "CORE     10.2.0.2.0     Production"
    TNS for Solaris: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    the error message is :
    ORA-00904:"SSRP"."RESOURCE_ID" invalid identifier
    Error at Line 12 : Column 40
    SELECT SR.RESOURCE_NAME,
    SRG.RESOURCE_GROUP_NAME,
    MAX(NVL((SELECT NVL(CHECKED, UNCHECKED)
    FROM
    (SELECT 2 AS UNCHECKED,
    (SELECT 1
    FROM S_USAGE_RESOURCE_PERMISSIONS SURP
    WHERE SURP.USAGE_PROFILE_ID = 1
    AND SURP.RESOURCE_PERMISSION_ID = SRP.RESOURCE_PERMISSION_ID) AS CHECKED
    FROM S_RESOURCE_PERMISSIONS SRP
    WHERE SRP.RESOURCE_PERMISSION_ID = SSRP.RESOURCE_PERMISSION_ID
    AND SRP.RESOURCE_ID = SSRP.RESOURCE_ID
    AND SRP.RESOURCE_PERMISSION_VAL = 4 )),0)) AS ALL_PERMISSION
    FROM
    S_RESOURCE_PERMISSIONS SSRP
    INNER JOIN
    S_RESOURCE SR ON SR.RESOURCE_ID = SSRP.RESOURCE_ID
    INNER JOIN
    S_RESOURCE_GROUP SRG ON SRG.RESOURCE_GROUP_ID = SR.RESOURCE_GROUP_ID
    GROUP BY SR.RESOURCE_NAME, SRG.RESOURCE_GROUP_NAME;
    Given SCHEMA is similar in all respects at both the databases.
    can someone suggest me what could be the problem?

    Sorry, didn't look close enough, here a corrected query you can try to run.
    If you still have problems, try to post a ddl scripts and small sample of data - this may do it easier for other to help you. When you post sql scripts, try as well to enclose them between [ pre ] [ pre ] or [ code ] [ code ] tags to increase readability.
    WITH t AS (
    SELECT NVL(CHECKED, UNCHECKED) NVL_CHECKED,
           RESOURCE_ID,
           RESOURCE_PERMISSION_ID
      FROM (SELECT 2 AS UNCHECKED,
                   (SELECT 1
                      FROM S_USAGE_RESOURCE_PERMISSIONS SURP
                     WHERE SURP.USAGE_PROFILE_ID = 1
                       AND SURP.RESOURCE_PERMISSION_ID =
                           SRP.RESOURCE_PERMISSION_ID) AS CHECKED,
                   SRP.RESOURCE_ID,RESOURCE_PERMISSION_ID
              FROM S_RESOURCE_PERMISSIONS SRP
             WHERE SRP.RESOURCE_PERMISSION_VAL = 4))
    SELECT SR.RESOURCE_NAME,
           SRG.RESOURCE_GROUP_NAME,
           MAX(NVL_CHECKED) AS ALL_PERMISSION
      FROM S_RESOURCE_PERMISSIONS SSRP INNER_JOIN T ON (T.RESOURCE_ID =
                                                       SSRP.RESOURCE_ID AND
                                                       T.RESOURCE_PERMISSION_ID =
                                                       SSRP.RESOURCE_PERMISSION_ID)
    INNER JOIN S_RESOURCE SR ON SR.RESOURCE_ID = SSRP.RESOURCE_ID
    INNER JOIN S_RESOURCE_GROUP SRG ON SRG.RESOURCE_GROUP_ID =
                                        SR.RESOURCE_GROUP_ID
    GROUP BY SR.RESOURCE_NAME, SRG.RESOURCE_GROUP_NAME;Best regards
    Maxim

  • 2 workbooks for a single query r not coming in portal.

    hi experts... first of all i donno whether this question belong to bex side or portal side...
    my problem is:
    i have single query with 10 workbooks.
    i need to embed these workbooks in our
    portal(bw report iview).
    my requirement is to supply URLs for all of these workbooks to portal team, so as to enable them to embed workbooks...
    while im trying to generate URLs for all workbooks,
    it is just generating only one same URL for all workbooks.
    i found that we can generate URL only to query default view, from our BEx side..
    anybody can help me that how to generate different URLs for different workbooks based on a single query.
    this is not a portal issue...
    i shud supply proper URLs for each workbook.
    hope i can get a solution from experts...
    thank u all
    nithin

    Go through the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/f3fa40badbf36fe10000000a1550b0/content.htm
    I hope this helps.
    Best Regards,
    Kiran

  • Actual Query Plan not running

    I am using SQL Server 2012 (11.0.5058.0) and I am trying to learn Execution Plan Basics.  One of the tasks is to run the "Actual Query Plan" by CTRL+M.  When I try this nothing happens.  I can do the "Display Estimated
    Query Plan" and it works.  Why can't I do the Actual Query Plan?

    Hi,
    To display Actual Query Plan, you have to execute the query. CTRL+M merely toggles to display Actual Query Plan or not.
    See:
    Display an Actual Execution Plan
    Hope this helps,
    ~ J.

  • JPQL query tool not running

    Hello people, I want to use console for JPQL I found
    https://jpaquerytool.dev.java.net/how-to.html
    and install it, but then I added my-app.jar and persistence unit name, after run I have one warning -
    "could not load persistance unit
    check your database classpath"....
    and
    Message Stack:
    No Persistence provider for EntityManager named TestPU: Provider named org.hibernate.ejb.HibernatePersistence threw unexpected exception at create EntityManagerFactory:
    javax.persistence.PersistenceException
    javax.persistence.PersistenceException: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:252)
    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
    at org.morgade.jpaquerytool.core.EntityFinder.<init>(EntityFinder.java:33)
    at org.morgade.jpaquerytool.gui.tasks.CreateEntityFinderTask.doInBackground(CreateEntityFinderTask.java:47)
    at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:70)
    at org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:79)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:212)
    ... 12 more
    Provider named oracle.toplink.essentials.PersistenceProvider threw unexpected exception at create EntityManagerFactory:
    oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Local Exception Stack:
    Exception [TOPLINK-30005] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: sun.misc.Launcher$AppClassLoader@11b86e7
    Internal Exception: Exception [TOPLINK-30004] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while processing persistence.xml from URL: file:/E:/projects/wn/wn-ejb/dist/wn-ejb.jar
    Internal Exception:
    (1. cvc-complex-type.2.4.a: Invalid content was found starting with element 'persistence'. One of '{"http://java.sun.com/xml/ns/persistence" ersistence-unit}' is expected.)
    (2. XML document structures must start and end within the same entity.)
    at oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:143)
    at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:169)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
    at org.morgade.jpaquerytool.core.EntityFinder.<init>(EntityFinder.java:33)
    at org.morgade.jpaquerytool.gui.tasks.CreateEntityFinderTask.doInBackground(CreateEntityFinderTask.java:47)
    at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: Exception [TOPLINK-30004] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while processing persistence.xml from URL: file:/E:/projects/wn/wn-ejb/dist/wn-ejb.jar
    Internal Exception:
    (1. cvc-complex-type.2.4.a: Invalid content was found starting with element 'persistence'. One of '{"http://java.sun.com/xml/ns/persistence" ersistence-unit}' is expected.)
    (2. XML document structures must start and end within the same entity.)
    at oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionProcessingPersistenceXML(PersistenceUnitLoadingException.java:134)
    at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:161)
    at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceArchive(PersistenceUnitProcessor.java:99)
    at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.getPersistenceUnits(PersistenceUnitProcessor.java:89)
    at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:236)
    at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:255)
    at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:155)
    ... 11 more
    Caused by:
    (1. cvc-complex-type.2.4.a: Invalid content was found starting with element 'persistence'. One of '{"http://java.sun.com/xml/ns/persistence" ersistence-unit}' is expected.)
    (2. XML document structures must start and end within the same entity.)
    at oracle.toplink.essentials.internal.ejb.cmp3.xml.parser.XMLExceptionHandler.error(XMLExceptionHandler.java:52)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:151)
    ... 16 more
    Provider named oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider threw unexpected exception at create EntityManagerFactory:
    oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Local Exception Stack:
    Exception [TOPLINK-30005] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: sun.misc.Launcher$AppClassLoader@11b86e7
    Internal Exception: Exception [TOPLINK-30004] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while processing persistence.xml from URL: file:/E:/projects/wn/wn-ejb/dist/wn-ejb.jar
    Internal Exception:
    (1. cvc-complex-type.2.4.a: Invalid content was found starting with element 'persistence'. One of '{"http://java.sun.com/xml/ns/persistence" ersistence-unit}' is expected.)
    (2. XML document structures must start and end within the same entity.)
    at oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:143)
    at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:169)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
    at org.morgade.jpaquerytool.core.EntityFinder.<init>(EntityFinder.java:33)
    at org.morgade.jpaquerytool.gui.tasks.CreateEntityFinderTask.doInBackground(CreateEntityFinderTask.java:47)
    at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: Exception [TOPLINK-30004] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while processing persistence.xml from URL: file:/E:/projects/wn/wn-ejb/dist/wn-ejb.jar
    Internal Exception:
    (1. cvc-complex-type.2.4.a: Invalid content was found starting with element 'persistence'. One of '{"http://java.sun.com/xml/ns/persistence" ersistence-unit}' is expected.)
    (2. XML document structures must start and end within the same entity.)
    at oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionProcessingPersistenceXML(PersistenceUnitLoadingException.java:134)
    at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:161)
    at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceArchive(PersistenceUnitProcessor.java:99)
    at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.getPersistenceUnits(PersistenceUnitProcessor.java:89)
    at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:236)
    at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:255)
    at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:155)
    ... 11 more
    Caused by:
    (1. cvc-complex-type.2.4.a: Invalid content was found starting with element 'persistence'. One of '{"http://java.sun.com/xml/ns/persistence" ersistence-unit}' is expected.)
    (2. XML document structures must start and end within the same entity.)
    All this for all my persistance units!
    If you know cause of this problem please help me, or
    provide other JPQL or JPA query tool.
    More Thanks

    I changed my unit to
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
    <persistence-unit name="wn-ejbPU">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>java:/MySQL</jta-data-source>
    <properties>
    <property name="hibernate.archive.autodetection" value="class, hbm"/>
    <property name="hibernate.show_sql" value="true"/>
    <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>
    <property name="hibernate.connection.password" value="root"/>
    <property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/wet"/>
    <property name="hibernate.connection.username" value="root"/>
    <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
    <property name="hibernate.c3p0.min_size" value="5"/>
    <property name="hibernate.c3p0.max_size" value="20"/>
    <property name="hibernate.c3p0.timeout" value="300"/>
    <property name="hibernate.c3p0.max_statements" value="50"/>
    <property name="hibernate.c3p0.idle_test_period" value="3000"/>
    <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
    <property name="hibernate.hbm2ddl.auto" value="none"/>
    </properties>
    </persistence-unit>
    </persistence>
    but now I have
    Message Stack:
    No Persistence provider for EntityManager named wn-ejbPU: Provider named org.hibernate.ejb.HibernatePersistence threw unexpected exception at create EntityManagerFactory:
    javax.persistence.PersistenceException
    javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource
         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)
         at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
         at org.morgade.jpaquerytool.core.EntityFinder.<init>(EntityFinder.java:33)
         at org.morgade.jpaquerytool.gui.tasks.CreateEntityFinderTask.doInBackground(CreateEntityFinderTask.java:47)
         at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.hibernate.HibernateException: Could not find datasource
         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
         at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
         ... 12 more
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
         ... 18 more

  • .JSP page is not running webcenter portal Application

    Hi,
    I have created .jsp page in my webcenter portal application.
    When I run that page it is giving, error 404- Not found exception.
    Please help me how to run jsp page in webcenter app, it that need any extra configurations?
    Thanks
    Deepthi

    See this tutorial: http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10273/toc.htm
    Try to follow the instructions thoroughly - you might have missed something important.

  • BW query not working in portal

    Hello Experts,
    We have this issue when we have a BW query which is running well in RSRT but the query is not working in Portal.
    The error message we have is
    User when running the report is getting the error message “Error in File SMT-0454 - Contribution Analysis (Cx) :   Error in formula  Running Total Condition Formula: 'HierarchyLevel (GroupingLevel ({YPAXXM01_YPAXXM01_QC001.[YGLSUBBRD                     GSK1CXBRNDCATH]-NodeId})) = 1' This field name is not known..”
    Explored the possibilties , Could this be issue with BW query.
    We have this query getting fed to BO's. Please advise.
    Thanks,
    Santhosh

    Hi Santhosh,
    Error... This field name is not known, check your formulas in query, there might be some changes happenened with the characteristics used in formula.
    Check the formula by going up to base level, you might removed some field ex: YGLSUBBRD from your query. Repair it appropriately.
    Hope helps - Kumar

  • MS Query will not return results after modification

    Using an ORACLE OBDC link, a msquery will work fine when first set up, but will fail to work when modified.  The query can be reset up with the modified criteria and work fine, however, all links have to be changed to the new table.  Other queries
    will work fine with multiple modifications.  We link to the BANNER database system tables. (when you try to query now, it is as if the query does not run any longer. Results which normally take up to 3 minutes to return, are returned immediately as no
    information)

    Hi,
    Do you get the error message when you Microsoft query fail to work? Which Excel and Oracle version are you using?
    Please try the below workaround to check if it is helpful:
    1. Update the Oracle ODBC drive
    2. Turn Off the Enable Background Refresh Setting
    http://support.microsoft.com/kb/168702/en-us
    Then, we also may be try to use OLEBD instand of the ODBC?
    http://blog.mclaughlinsoftware.com/microsoft-excel/how-to-query-oracle-from-excel-2007/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support

  • Query running on sql commands prompt not running on report region

    Hi All,
    Facing a weird issue now. I have written a report query which is running absolutely fine in sql command prompt but when i trying to run this as a report it is just processing and the report is not loading. What could be the reason behing this?
    Thanks in Advance
    Regards

    Hi,
    With no other information about the problem is hard to know what's happening. If you could at least provide us with the query then I think it would be easier for us to help you.
    Regards,
    Sergio

  • Adhoc Query data not getting displayed on Portal

    Hi,
    I have a problem with custom Adhoc query data not getting displayed on the portal.
    It was getting displayed initially but after a user made some changes to the query its not getting displayed.
    The query is displaying data perfectly on R/3 but on portal ..Its giving the message no data found.
    Can anyone help me on this.
    Also if anyone can tell me how do i debug an Adhoc query from potal.
    Is there any tool to debug an Abap program from portal.
    I dont want to use trace,
    Thanks
    GT
    Message was edited by: GT

    Hi GT
    find out the EXACT query u want to launch if it's display
    in BW buisness explorer then change the iview property
    for that query in portal . right click on iview
    BEx Web Application Query String -> assign correct query
    regards,
    kaushal

  • Query not running in report builder 3.0

    hi, i can run my query in mgmt studio (version 2008R2) and within the query designer of report builder 3.0 but it will not run from report builder. i get a generic error message of "an error has occurred during report processing. (rsProcessingAborted)".
    the query uses report parameters and is written with dynamic sql (using a pass-through to oracle). any ideas why the query doesn't execute in report builder ? thanks a bunch,

    Hi KanataPablo,
    According to your description, it seems that you are using linked server to pass value to oracle. Seeing that the query is worked well in Management Studio, you may have the permission to connect to oracle (In this scenario, make sure the users to run the
    query in SSMS and Report Builder are the same user). So this issue can be caused by the user’s permission to connect to report server, the credential of data source and the dynamic query.
    We can add the current user as a Login, then click Properties and navigate to User Mappings page, enable ReportServer and ReportServerTempDB options.
    We can try to type user name and password, and enable “Use as Windows credentials” as the credential used to connect to data source.
    Try with dynamic query:
    ="Select column1, column2 From tableName where ID IN (" + JOIN(Parameters!param1.value, ",") + ")"
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Lookup Field with a Lookup Query on Process Form in OIM 11gR2

    Does anyone know how to render a field on a process form so that when modifying the field for the resource a "Search and Select" window appears and allows the user to search for the value based on the lookup query defined for the field in Design Cons

  • How to kill old jobs

    Hi all, I'm having problems with my 10.2.0.3 Enterprise Oracle version to kill some old jobs. These were datapump jobs. I've all these jobs when I query the dba_datapump_jobs: OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE ATTACHED_SESSIONS SYSTEM EXPO

  • Abt tables n views?

    tables n views r evaluated for buffering,wat determines wheather a table or view may b buffer? 1.the amount of data in table and how it is accessed 2.size of buffer 3.accuracy of data required 4.tablespace assignment

  • 6300 Contacts cannot be changed after update to fi...

    Hi, I updated the firmware and since then I cannot change an existing contact. Has anybody else experienced that problem? Best, schottide

  • E90 Bluetooth-problem

    After updating the communicator software to the latest version (400.34.93; RA6) and installing the "Nokia Ovi Suite" on my computer (MS Windows 7), I have to stop and start my communicators Bluetooth almost every day when it has to couple with one of