Bad SQL in 2.3.1 with n*m collection

Hi guys,
This bug comes from an example in my book. The Library example is one of the JDO Learning Tools
that I am providing that allows the user to enter queries interactively. The bug arises in an
example of its use presented in the book. Abe will receive the code with Chapter 8, coming soon.
Basically, Volunteer has a 1 to 1 relation with Borrower. A Borrower has a 1 to M relation with
Book. Book has a N to M relation with Category. Or in object terms, a Volunteer is always a
Borrower, but a Borrower is not always a Volunteer. A Book can be borrowed by one Borrower. A
Borrower can borrow from 0 to M books. A Book can be in the books collection of any number of
Category objects, and a Category can be in the categories collection of any number of Book objects.
Here is the JDO metadata:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "jdo.dtd">
<jdo>
<package name="com.ysoft.jdo.book.library">
<class name="Borrower" identity-type="datastore" >
<field name="oidString" persistence-modifier="none" />
<field name="books" >
<collection element-type="com.ysoft.jdo.book.library.Book" />
<extension vendor-name="kodo" key="inverse" value="borrower"/>
</field>
</class>
<class name="Book" identity-type="datastore" >
<field name="oidString" persistence-modifier="none" />
<field name="borrower" />
<field name="categories" >
<collection element-type="com.ysoft.jdo.book.library.Category" />
<extension vendor-name="kodo" key="inverse" value="books"/>
</field>
</class>
<class name="Category" identity-type="datastore" >
<field name="oidString" persistence-modifier="none" />
<field name="books" >
<collection element-type="com.ysoft.jdo.book.library.Book" />
<extension vendor-name="kodo" key="inverse" value="categories"/>
</field>
</class>
<class name="Volunteer" identity-type="datastore" >
<field name="oidString" persistence-modifier="none" />
</class>
</package>
</jdo>
Here is the example as presented in the book, this is quoting output from the JDORI.
-- begin quote --
To find all the books that are in categories that interest Harry, use the Book extent, and define
the query variables:
Book b; Category c;
Then use the query string:
categories.contains(c) && (c.books.contains(b) && b.borrower.name == "Harry")
Your answer for the default object population should be:
Found 1 objects in the results
book [OID: 102-16] "Gone to Work" checked out: Mon Aug 26 08:23:10 EDT 2002
-- end quote --
Here is the SQL that KODO produces. It finds many (or all?) books instead of 1.
SELECT DISTINCT
t0.JDOIDX,
t0.JDOCLASSX,
t0.JDOLOCKX,
t0.BORROWERX,
t0.CHECKOUTX,
t0.TITLEX
FROM BOOKX t0, BOOKX t5, BOOKX t6,
BOOK_CATEGORIESX t1, BOOK_CATEGORIESX t4,
BORROWERX t7, CATEGORYX t2, CATEGORYX t3
WHERE (t7.NAMEX = 'Harry'
AND t0.JDOIDX = t1.JDOIDX
AND t1.CATEGORIESX = t2.JDOIDX
AND t3.JDOIDX = t4.CATEGORIESX
AND t4.JDOIDX = t5.JDOIDX
AND t6.BORROWERX = t7.JDOIDX)
Here is the modified version that gets the job done:
SELECT
t0.JDOIDX,
t0.JDOCLASSX,
t0.JDOLOCKX,
t0.BORROWERX,
t0.CHECKOUTX,
t0.TITLEX
FROM BOOKX t0,
BOOK_CATEGORIESX t1,
CATEGORYX t2,
BORROWERX t3
WHERE (t3.NAMEX = 'Harry'
AND t0.JDOIDX = t1.JDOIDX
AND t1.CATEGORIESX = t2.JDOIDX
AND t0.BORROWERX = t3.JDOIDX)
David Ezzio

David,
This has been fixed internally, and will be available in 2.3.3 (hopefully
along with a fix to your other issue).
-Patrick
In article <[email protected]>, David Ezzio wrote:
Hi guys,
This bug continues to exist in 2.3.2
David Ezzio
David Ezzio wrote:
Hi guys,
This bug comes from an example in my book. The Library example is one of the JDO Learning Tools
that I am providing that allows the user to enter queries interactively. The bug arises in an
example of its use presented in the book. Abe will receive the code with Chapter 8, coming soon.
Basically, Volunteer has a 1 to 1 relation with Borrower. A Borrower has a 1 to M relation with
Book. Book has a N to M relation with Category. Or in object terms, a Volunteer is always a
Borrower, but a Borrower is not always a Volunteer. A Book can be borrowed by one Borrower. A
Borrower can borrow from 0 to M books. A Book can be in the books collection of any number of
Category objects, and a Category can be in the categories collection of any number of Book objects.
Here is the JDO metadata:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "jdo.dtd">
<jdo>
<package name="com.ysoft.jdo.book.library">
<class name="Borrower" identity-type="datastore" >
<field name="oidString" persistence-modifier="none" />
<field name="books" >
<collection element-type="com.ysoft.jdo.book.library.Book" />
<extension vendor-name="kodo" key="inverse" value="borrower"/>
</field>
</class>
<class name="Book" identity-type="datastore" >
<field name="oidString" persistence-modifier="none" />
<field name="borrower" />
<field name="categories" >
<collection element-type="com.ysoft.jdo.book.library.Category" />
<extension vendor-name="kodo" key="inverse" value="books"/>
</field>
</class>
<class name="Category" identity-type="datastore" >
<field name="oidString" persistence-modifier="none" />
<field name="books" >
<collection element-type="com.ysoft.jdo.book.library.Book" />
<extension vendor-name="kodo" key="inverse" value="categories"/>
</field>
</class>
<class name="Volunteer" identity-type="datastore" >
<field name="oidString" persistence-modifier="none" />
</class>
</package>
</jdo>
Here is the example as presented in the book, this is quoting output from the JDORI.
-- begin quote --
To find all the books that are in categories that interest Harry, use the Book extent, and define
the query variables:
Book b; Category c;
Then use the query string:
categories.contains(c) && (c.books.contains(b) && b.borrower.name == "Harry")
Your answer for the default object population should be:
Found 1 objects in the results
book [OID: 102-16] "Gone to Work" checked out: Mon Aug 26 08:23:10 EDT 2002
-- end quote --
Here is the SQL that KODO produces. It finds many (or all?) books instead of 1.
SELECT DISTINCT
t0.JDOIDX,
t0.JDOCLASSX,
t0.JDOLOCKX,
t0.BORROWERX,
t0.CHECKOUTX,
t0.TITLEX
FROM BOOKX t0, BOOKX t5, BOOKX t6,
BOOK_CATEGORIESX t1, BOOK_CATEGORIESX t4,
BORROWERX t7, CATEGORYX t2, CATEGORYX t3
WHERE (t7.NAMEX = 'Harry'
AND t0.JDOIDX = t1.JDOIDX
AND t1.CATEGORIESX = t2.JDOIDX
AND t3.JDOIDX = t4.CATEGORIESX
AND t4.JDOIDX = t5.JDOIDX
AND t6.BORROWERX = t7.JDOIDX)
Here is the modified version that gets the job done:
SELECT
t0.JDOIDX,
t0.JDOCLASSX,
t0.JDOLOCKX,
t0.BORROWERX,
t0.CHECKOUTX,
t0.TITLEX
FROM BOOKX t0,
BOOK_CATEGORIESX t1,
CATEGORYX t2,
BORROWERX t3
WHERE (t3.NAMEX = 'Harry'
AND t0.JDOIDX = t1.JDOIDX
AND t1.CATEGORIESX = t2.JDOIDX
AND t0.BORROWERX = t3.JDOIDX)
David Ezzio
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com

Similar Messages

  • Bad SQL from 2.3.4 (and 2.3.2)

    Hi guys,
    In the Maine Lighthouse Rental app for my book, there are a total of 48 Rental records. To start
    with, all rentals are available. Mary reserves one rental. Subsequently a search for all of Mary's
    reservations and all available records, returns 95 rental references in the result collection
    instead of 48. The problem arises from bad sql generated by Kodo 2.3.2 and 2.3.4.
    This particular query can be fixed in two ways, but I'm not sure about the general mapping issues.
    One, SELECT DISTINCT will fix it. Two, dropping the CUSTOMERX table from the query and changing the
    first AND clause from:
    WHERE (((t1.JDOIDX = 1351 AND t0.CUSTOMERX = t1.JDOIDX)
    OR (t0.CUSTOMERX IS NULL))
    to
    WHERE (t0.CUSTOMERX = 1351
    OR t0.CUSTOMERX IS NULL)
    Code and generated SQL are below.
    Hope this helps.
    David Ezzio
    ---- query setup -------------
    // set up query for customer's rentals and available rentals
    Extent extent = pm.getExtent(Rental.class, false);
    queryCustomerAndAvailableRentals = pm.newQuery(extent, "customer == c || customer == null");
    queryCustomerAndAvailableRentals.declareParameters("Customer c");
    queryCustomerAndAvailableRentals.setOrdering("week.startDate ascending, lighthouse.name ascending");
    ----- generated SQL -------
    [ C:1923370; S:1238221; T:700575; D:10/22/02 3:48 PM ]
    SELECT
    t0.JDOIDX,
    t0.JDOCLASSX,
    t0.JDOLOCKX,
    t0.CUSTOMERX,
    t0.LIGHTHOUSEX,
    t0.PRICEX,
    t0.WEEKX,
    t2.STARTDATEX,
    t3.NAMEX
    FROM
    CUSTOMERX t1,
    LIGHTHOUSEX t3,
    RENTALX t0,
    WEEKX t2
    WHERE (((t1.JDOIDX = 1351 AND t0.CUSTOMERX = t1.JDOIDX)
    OR (t0.CUSTOMERX IS NULL))
    AND t0.LIGHTHOUSEX = t3.JDOIDX
    AND t0.WEEKX = t2.JDOIDX)
    ORDER BY
    t2.STARTDATEX ASC,
    t3.NAMEX ASC

    SQL*Net 2.3.4 was shipped along 8.0 products:
    * SQL*Plus
    * ORACLE NET8 PRODUCTS
    * ORACLE NETWORKING PRODUCTS (SQL*NET 2.3.4)
    * ORACLE 8 JDBC DRIVERS
    This is not supported to connect against a 10g database. The last valid combination was 8.0.6 vs 9.2.0
    ~ Madrid.

  • OBIEE consistently producing very very bad SQL

    Hi,
    We need some advice, or would like to know if people have had similar experiences. Here is our issue.
    Users running reports and filtering data in presentation layer of OBIEE are seeing the OBIEE generate the SQL and sends it to the database.
    This SQL which is auto generated by the OBIEE server is extremely costly. We are not whu OBIEE produces such bad sql - anyone have same problem?
    When we look at explains, we see that most costly operations are when HASH operations are used. This is consistent throughout all OBIEE generated SQL.
    As the SQL is of ad hock nature we do not use SPB's etc.
    We are puzzled and are not sure where to start w.r.t troubleshooting.
    Please help.

    Dear guru.
    Let me know what's may be wrong ?
    My post is closely related to bad SQL thread.
    Shortly speaking, I'd like to discuss multiple star problem.
    So, Oracle Business Intelligence 11.1.1.6.0
    I have three fact table A,B,C joined to common link table D ( look as dimension in Administrator )
    A and B have inner join with D, while C has left outer join to D ( actually outer join defined only in BMM cause don't see how set outer join on physical layer for C ).
    The matter is in generated SQL query which is broken, i.e. can't be compiled in Oracle DB.
    Let me give broken piece of generated SQL.
    As you can see, the subquery has reference to table T69242 in WHERE, but no such table in FROM section:
    SACOMMON821644 AS
    (SELECT
    /*+ MATERIALIZE */
    DISTINCT T68993.NAME AS c1,
    T69266.DISTRICT2 AS c2,
    CASE
    WHEN T68993.DEPARTMENTID IN
    (SELECT D1.c1 AS c1 FROM SASUBWITH820608 D1
    THEN 1
    ELSE 0
    END AS c3,
    CASE
    WHEN T69266.OKATO_KOD IN
    (SELECT D1.c1 AS c1
    FROM SASUBWITH820633 D1
    THEN 1
    ELSE 0
    END AS c4,
    T68993.DEPARTMENTID AS c5,
    T69266.OKATO_KOD AS c6,
    T68993.PARENT AS c7,
    T69266.PARENT_OKATO_KOD AS c8
    FROM BI_MSK_DISTRICTS_STAT_HIER T69233
    MOS_DISTRICTS_STAT T69266
    BI_DEPARTMENTS_MFC T68993
    BI_MFC_HIER T69068
    DEP_OPERATORS_CNT T69220
    INCIDENTS T69648
    MOS_DISTRICT_POPULATION T69410
    WHERE ( T69233.MEMBER_KEY = T69410.OKATO_KOD
    AND T68993.DEPARTMENTID = T69068.ANCESTOR_KEY
    AND T69068.MEMBER_KEY = T69220.DEPARTMENTID
    AND T69220.DEPARTMENTID = T69242.DEPARTMENTID*
    AND T69233.ANCESTOR_KEY = T69266.OKATO_KOD
    AND T69242.OKATO_KOD* = T69410.OKATO_KOD
    AND T68993.DEPARTMENTID IN
    (SELECT D1.c1 AS c1 FROM SASUBWITH820658 D1
    AND T69266.OKATO_KOD IN
    (SELECT D1.c1 AS c1 FROM SASUBWITH820683 D1
    Meanwhile in aggregation subquery of that generated SQL we have requred table
    SACOMMON821667 AS
    (SELECT
    /*+ MATERIALIZE */
    TRUNC(SUM( DISTINCT T69220.OPER_TOTAL)) AS c9,
    T68993.DEPARTMENTID AS c10,
    T68993.PARENT AS c11,
    T69266.OKATO_KOD AS c12,
    T69266.PARENT_OKATO_KOD AS c13,
    SUM( DISTINCT T69410.POPUL_SIZE) AS c14,
    SUM(T69648.TOTAL / NULLIF( T69242.OKATO_COUNT, 0)) AS c15
    FROM BI_MSK_DISTRICTS_STAT_HIER T69233
    MOS_DISTRICTS_STAT T69266
    BI_DEPARTMENTS_MFC T68993
    BI_MFC_HIER T69068
    DEP_OPERATORS_CNT T69220
    MFC_ADDRESSOKATO T69242*
    LEFT OUTER JOIN INCIDENTS T69648
    ON T69242.DEPARTMENTID = T69648.DEPARTMENTIDFROM,
    MOS_DISTRICT_POPULATION T69410
    WHERE ( T69242.OKATO_KOD = T69410.OKATO_KOD
    AND T69233.ANCESTOR_KEY = T69266.OKATO_KOD
    AND T69233.MEMBER_KEY = T69410.OKATO_KOD
    AND T69220.DEPARTMENTID = T69242.DEPARTMENTID
    AND T68993.DEPARTMENTID = T69068.ANCESTOR_KEY
    AND T69068.MEMBER_KEY = T69220.DEPARTMENTID
    AND T68993.DEPARTMENTID IN
    (SELECT D1.c1 AS c1 FROM SASUBWITH820658 D1
    AND T69266.OKATO_KOD IN
    (SELECT D1.c1 AS c1 FROM SASUBWITH820683 D1
    GROUP BY T68993.DEPARTMENTID,
    T68993.PARENT,
    T69266.OKATO_KOD,
    T69266.PARENT_OKATO_KOD
    And it's time to show Consistency Check results in Administrator.
    There is no errors, but
    WARNINGS:
    Business Model Сводная таблица:
    [39008] Logical dimension table A_MFC_ADDRESSOKATO has a source A_MFC_ADDRESSOKATO that does not join to any fact source.
    [39020] Logical table source "Сводная таблица"."FCT Incidents"."A_Incidents": No path has been found to link all tables. There is no link between the set ( 'A_DEP_OPERATORS_CNT', 'A_MFC_ADDRESSOKATO', 'A_MOS_DISTRICT_POPULATION' ) and the set ( 'A_Incidents' ).
    [39020] Logical table source "Сводная таблица"."A_DEP_OPERATORS_CNT"."A_DEP_OPERATORS_CNT ": No path has been found to link all tables. There is no link between the set ( ) and the set ( ).
    [39020] Logical table source "Сводная таблица"."A_MOS_DISTRICT_POPULATION"."A_MOS_DISTRICT_POPULATION": No path has been found to link all tables. There is no link between the set ( ) and the set ( ).
    I wonder, how that link can be realized, when fact tables already have joins to common dim A_MFC_ADDRESSOKATO.
    Should I create Logical Dimmension for A_MFC_ADDRESSOKATO while it is actually bridge table in terms of 10G ?
    Besides, as we can see from query, A B and C have its own dims.
    So, finally as a result in Answers we have
    ORA-00904: "T69242"."OKATO_KOD": invalid identifier at OCI call OCIStmtExecute
    It should be mentioned that error is appeared only when I put measure from A_Incidents (C alias) on analys in Answers, till that all worked correctly, i.e. A,B joined successfully to D
    and SQL query gave desired result.
    Any suggestion on issue are greately appreciated.
    Sorry for unformatted SQL, still don't know how to do it.
    Sorry for the post as reply cause I don't see how create new thread.
    Hope, my explanation was clear.

  • HashMap err --- Sql Exception - bad sql (pls see code)

    Hi
    //Query A
    ResultSet resultSet = statement.executeQuery("select sno,rank from school");
    BufferedWriter writeout = new BufferedWriter(new FileWriter(EDU, false));
    while(resultSet.next()){
                        sno = resultSet.getString(1);
                        rank= resultSet.getString(2);
                        if("25".equals(rank)) {
    // When the rank value is 25 , i want the hashA  to have a key value pair in it , with value as 25 .
                            hashA.put(resultSet.getString(1),resultSet.getString(2));          /// ?? Sometimes the hashA  contains key but for that key the  value it contains is null
    //Query B
    resultSet = statement.executeQuery("select busno , driverno from License");
                   BufferedWriter writeFlat = new BufferedWriter(new FileWriter(OUT, false));
                   while(resultSet.next()){
                       busno = resultSet.getString(1);
                   driverno = resultSet.getString(2);
                   String rankOfB;
                   rankOfB = hashA.get(resultSet.getString(1));                         // SO when i want to get the value it is giving an error SQL Exception - bad Sql  . How to make this code work ,
                   System.out.println("The value of Rank is : "+rankOfB);             // and when i get a value which is null from hashA , it is giving an error ... PLS HELP
                   writeFlat.close();
                   resultSet.close();
              }catch (ClassNotFoundException classNotFound) {
                   System.out.println("Driver not Found"+classNotFound.getMessage());
              } catch (SQLException sqlException) {
                   System.out.println("SQL Exception - bad sql");
                   System.out.println(sqlException.getMessage());
              } catch (IOException e) {
                   e.printStackTrace();
                        Thank U in advance ...

    you cannot read a column twice within the same row
    this is the part form javadoc
    The ResultSet interface provides getter methods (getBoolean, getLong, and so on) for retrieving column values from the current row. Values can be retrieved using either the index number of the column or the name of the column. In general, using the column index will be more efficient. Columns are numbered from 1. For maximum portability, result set columns within each row should be read in left-to-right order, and each column should be read only once.
    rankOfB = hashA.get(resultSet.getString(1));
    use busno instead of resultSet.getString(1)
    Edited by: whitenight541 on Dec 29, 2008 8:13 AM

  • Sql Exception on Testing Configuration with SQL Server JDBC driver for XA

    I have a requirement of analyzing the behavior of SQL Server JDBC data sources for XA transactions in our application.We have been using Non-XA drivers for both Oracle and SQL Server as we had no requirement for transactions spanning across multiple databases in past.I have setup and tested the XA driver for Oracle (Oracle Driver (Thin XA) for Instance Connections 9.0.1,9.2.0,10,11) in Weblogic 11g and its working perfectly for transactions spanning across two databases.No when I am trying to configure weblogic 11g R1 for Sql server JDBC driver to support XA transactions with driver details as follows,
    Server:Weblogic 11g R1
    Driver Type: MS Sql Server
    Database Driver :Oracle's MS SQL Server Driver(Type 4 XA) Version:7.0,2000,2005)
    Database:SQL Server 2005(Single Instance)
    and try to create a new data source and select "Test Configuration" and following error is thrown ,
    <Mar 17, 2011 4:49:49 PM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error java.sql.SQLException: [OWLS][SQLServer JDBC Driver][SQLServer]xa_open (0) returns -3
    at weblogic.jdbc.sqlserverbase.BaseExceptions40.createAppropriateSQLExceptionInstance(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseExceptions40.createSQLException(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
    at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseStatement.commonTransitionToState(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseStatement.postImplExecute(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BasePreparedStatement.postImplExecute(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseStatement.commonExecute(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseStatement.executeUpdateInternal(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BasePreparedStatement.executeUpdate(Unknown Source)
    at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown Source)
    at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown Source)
    at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.open(Unknown Source)
    at weblogic.jdbcx.sqlserverbase.BaseXAConnection.init(Unknown Source)
    at weblogic.jdbcx.sqlserverbase.BaseXAConnection40.init(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseClassCreatorForJDBC40.createXaConnection(Unknown Source)
    at weblogic.jdbcx.sqlserverbase.BaseXADataSource.getXAConnection(Unknown Source)
    at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:550)
    at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:450)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
    at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
    at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
    at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)
    at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
    at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
    at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I followed the instruction in weblogic jdbc drivers guide to configure the JTA Transactions to support XA on SQL Server machine and weblogic server which included,
    1.Copying sqljdbc.dll copied to SQL_Server_Root/bin directory from WL_HOME\server\lib.
    2.Copied instjdbc.sql to sql server machine and executed the script with following output,
    Changed database context to 'master'.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_open', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_open2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_close', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_close2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_start', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_start2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_end', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_end2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_prepare', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_prepare2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_commit', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_commit2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_rollback', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_rollback2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_forget', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_forget2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_recover', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_recover2', because it does not exist or you do not have permission.
    creating JDBC XA procedures
    instxa.sql completed successfully.
    3.Verified that MSDTC service is running on both SQL Server and weblogic machines with XA Transaction enabled and DTC option enabled for both inbound and outbound connections.
    4.Copied sqljdbc.jar (version 3.0 downloaded from msdn portal) to "C:\Oracle\Middleware\wlserver_10.3\server\ext\jdbc\sqlserver" directory and updated weblogic_classpth variable in commEnv.cmd file.
    set WEBLOGIC_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%BEA_HOME%\utils\config\10.3\config-launch.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%FEATURES_DIR%\weblogic.server.modules_10.3.2.0.jar;%WL_HOME%\server\lib\webservices.jar;%ANT_HOME%/lib/ant-all.jar;%ANT_CONTRIB%/lib/ant-contrib.jar;C:\Oracle\Middleware\wlserver_10.3\server\ext\jdbc\sqlserver\server\ext\jdbc\sqlserver\sqljdbc.jar
    Can some one please provide some input on whats causing this and any other steps needs to be followed to implement XA support using SQL Server JDBC driver.

    You seem to have done everything correctly and diligently. I would ask that you open
    an official support case.

  • SQL Server 2008 R2 Express with SP2: 'SQLEXPRESS'-instance installation fails while any other instance name installation succeeds.

    We supply our software package that also includes the unattended installation (with /QS and so on) of SQL Server R2 Express (with SP2).
    The setup works good in about 99.9% cases, but one customer complained that after the "successful SQL Sever installation (at least, it looked so!) he could not open the supplied database getting some strange error messages...
    After some months of trial-n-error attempts we are now able to reproduce the problems this custumer had. But we cannot find the reason of the problem.
    So the test computer is a virtual machine with Windows 7 + sp1 32-bit.
    Among the programs/tools installed on this machine there were (in the following order):
    SQL Server 2008 Express - the default SQLEXPRESS instance
    SSMS
    VS 2010 Pro (German)
    SQL Server 2008 Express R2 (with SP 1 or SP2 - ?) - the default SQLEXPRESS instance
    Then some of them were uninstalled in the following order:
    SQL Server 2008 Express
    SSMS
    SQL Server 2008 Express R2 
    Now we tried to install (in normal mode with UI) the SQL Server 2008 Express R2 with SP2.
    When we chose the default SQLEXPRESS instance - it failed with the following info:
    Configuration status: Failed: see details below
    Configuration error code: 0x7FCCE689
    Configuration error description: External component has thrown an exception.
    and the Detail.txt file contained the following:
    2015-01-20 10:44:09 Slp: External component has thrown an exception.
    2015-01-20 10:44:09 Slp: The configuration failure category of current exception is ConfigurationValidationFailure
    2015-01-20 10:44:09 Slp: Configuration action failed for feature SQL_Engine_Core_Inst during timing Validation and scenario Validation.
    2015-01-20 10:44:09 Slp: System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
    2015-01-20 10:44:09 Slp: at SSisDefaultInstance(UInt16* , Int32* )
    2015-01-20 10:44:09 Slp: at Microsoft.SqlServer.Configuration.SniServer.NLRegSWrapper.NLregSNativeMethod Wrapper.SSIsDefaultInstanceName(String sInstanceName, Boolean& pfIsDefaultInstance)
    2015-01-20 10:44:09 Slp: Exception: System.Runtime.InteropServices.SEHException.
    2015-01-20 10:44:09 Slp: Source: Microsoft.SqlServer.Configuration.SniServerConfigExt.
    2015-01-20 10:44:09 Slp: Message: External component has thrown an exception..
    2015-01-20 10:44:09 Slp: Watson Bucket 1 Original Parameter Values
    2015-01-20 10:44:09 Slp: Parameter 0 : SQL Server 2008 R2@RTM@
    2015-01-20 10:44:09 Slp: Parameter 1 : SSisDefaultInstance
    2015-01-20 10:44:09 Slp: Parameter 2 : SSisDefaultInstance
    2015-01-20 10:44:09 Slp: Parameter 3 : System.Runtime.InteropServices.SEHException@-2147467259
    2015-01-20 10:44:09 Slp: Parameter 4 : System.Runtime.InteropServices.SEHException@-2147467259
    2015-01-20 10:44:09 Slp: Parameter 5 : SniServerConfigAction_Install_atValidation
    2015-01-20 10:44:09 Slp: Parameter 6 : INSTALL@VALIDATION@SQL_ENGINE_CORE_INST
    When we chose some other instance name then the installation has completed successfully.
    So the questions are:
    What could be the reason of the problem (and only for SQLEXPRESS instance that was earlier installed and then uninstalled)? I will provide the complete Detail.txt file if needed. 
    How could we check (if we could) the conditions so some name would be allowed as an instance name for SQL Server installer to success?
    With the best regards,
    Victor
    Victor Nijegorodov

    Thank you Lydia!
    Unfortunately the simple check the registry
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL does /did not work in our case since there is no any instance
    name there,
    However there seem to be some "rudiments" under
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and/or HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
    So I will now try to check the subkeys of these two keys as it was mentioned by Xiao-Min Tan. 
    Best regards,
    Victor Nijegorodov
    Victor Nijegorodov

  • How to connect sql server 2008 r2 sp2 with vs2013 ultimate?

    how to connect sql server 2008 r2 sp2 with visual studio 2013 ultimate?

    Hi Shahzad,
    >>how to connect sql server 2008 r2 sp2 with visual studio 2013 ultimate?
    Based on your issue, if you wan to connect the sql server 2008 r2 sp2 from VS2013 IDE. I suggest you can try the Ammar and darnold924's suggestion to check your issue.
    In addition, I suggest you can also refer the following steps to connect the sql server 2008 r2 sp2 with visual studio 2013 ultimate.
    Step1: I suggest you can go to VIEW->SQL Server Object Explorer->Right click SQL Server->Add SQL Server.
    Step2: After you connect the SQL Server 2008 r2 sp2 fine, I suggest you can go to VIEW->Server Explorer-> right click the Data Connection->Add Connection.
    And then you can create the connect string in the Add Connection dialog box.
    Hope it help you!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Advance features available in sql server 2008 R2 compared with SQL 2008 SP2

    Hi,
    Can some one brief me the advance features available in sql server 2008 R2 compared with SQL Server 2008 SP2.
    I am planning to upgrade my existing sql server 2008 SP2 to sql server 2008 R2, before that i need the advantages to proceed , if the advantages are not suite to my requirements then i will drop out this option.
    Please give me the detailed reply for my analysis
    hemadri

    Hi Hemadribabu,
    There are some new features in SQL Server 2008 Service Pack 2(SP2), including SQL Server utility, Data-tier Application (DAC), Reporting Services in SharePoint Integrated mode and partitioning improvement. Features are supported by the different editions
    of SQL Server 2008 R2. For example, the Report Builder 3.0, PowerPivot for excel are available on the SQL Server Datacenter and SQL Server 2008 R2 Parallel Data Warehouse, they can assist you creating business intelligence documents. Here are the Top
     new features in SQL Server 2008 R2, including 
    Report Builder 3.0, SQL Server 2008 R2 Datacenter, SQL Server 2008 R2 Parallel Data Warehouse, 
    StreamInsight, Master Data Services and so on.
    For more information about SQL Server 2008R2 and SQL Server 2008 SP2, you can review the following articles.
    http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).ASPX
    https://social.technet.microsoft.com/wiki/contents/articles/1486.microsoft-sql-server-2008-sp2-release-notes.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to Use SQL Query having IN Clause With DB Adapter

    Hi,
    I am using 11.1.1.5 want to find out how to Use SQL Query having IN Clause With DB Adapter. I want to pass the IN values dynamically. Any ideas.
    Thanks

    invoke a stored procedure, it's safer than trying to put together an arbitrary SQL statement in the JCA adapter

  • For the last 2 days whenever I try to upload photos from my iPhoto page to facebook I get an error message: Bad Image There was a problem with the image file.  I haven't knowingly changed any settings on iPhoto or facebook. Can anyone help, please ?

    I need help with uploading photos from iPhoto to facebook. I could do it till 2 days ago. Now any new photo I try to upload gives me an error message:
    Bad Image
    There was a problem with the image file. 
    Please help.

    Can you drag it to the Desktop?

  • SQL operations are not allowed with no global transaction by default for X

    Hi All,
    I am getting the above mentioned error.
    java.sql.SQLException: SQL operations are not allowed with no global transaction by default for XA drivers. If the XA driver supports performing SQL operations with no global transaction, explicitly allow it by setting "SupportsLocalTransaction" JDBC connection pool property to true. In this case, a
    lso remember to complete the local transaction before using the connection again for global transaction, else a XAER_OUTSIDE XAException may result. To complete a local transaction, you can either set auto commit to true or call Connection.commit() or Connection.rollback().
    I am developing a web application. I have jsp, servlets, JDBC classes.
    I am using DataSource and Connection pools.
    I am on WLS 8.1 sp3 and Oracle 10.1.
    Part of My Config file looks as follows:
    <JDBCConnectionPool DriverName="weblogic.jdbcx.oracle.OracleDataSource" KeepLogicalConnOpenOnRelease="true" KeepXAConnTillTxComplete="false" Name="AUMDataSource" NeedTxCtxOnClose="false" NewXAConnForCommit="false" Password="{3DES}AKRkWgdzXN8WrXSRtSvJ6g==" Properties="user=pibsrmgr;portNumber=1521;SID=pibsrdod;serverName=pibsrdod.dtu.mlam.ml.com" RollbackLocalTxUponConnClose="true" SupportsLocalTransaction="false" Targets="myserver" TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:bea:oracle://pibsrdod.dtu.mlam.ml.com:1521" XAEndOnlyOnce="false" />
    <JDBCTxDataSource EnableTwoPhaseCommit="true" JNDIName="jdbc/AUMDataSource" Name="AUMDataSource" PoolName="AUMDataSource" Targets="myserver" />
    Any help will be appreciated.
    Thanks
    ---Radhe

    Hi,
    Regarding Transactions , the following link can helpful to you .
    Regards,
    Prasanna Yalam

  • Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?

    I'm new to Oracle. I have installed Oracle SQL Developer 3.0.04 and Java 1.7. When I run Oracle SQL Developer, I will get the window Running this product is supported with minimum Java version of 1.6.0_04 and a maximum version less than 1.7. This product will not be supported....
    Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?
    I have already downloaded Java 1.6 but don't know whether I need to uninstall Java 1.7 first. If don't need to uninstall Java 1.7, how can I set Oracle SQL Developer to run with Java 1.6?
    Thanks for any help.
    Edited by: 881656 on Aug 25, 2011 11:22 AM

    Hi,
    One prior post discussing the use of Java 7 is:
    SQL Developer 3.0  and Java SE 7?
    There is no need to uninstall any Java version (except if you have disk space constraints) and no problem switching between Java versions. This may be controlled in the sqldeveloper.conf file in your ...\sqldeveloper\sqldeveloper\bin directory via the SetJavaHome line. For example:
    #SetJavaHome ../../jdk
    SetJavaHome C:/Program Files/Java/jdk1.6.0_26
    #SetJavaHome C:/Program Files/Java/jdk1.7.0Regards,
    Gary Graham
    SQL Developer Team

  • Can SQL Developer Data Modeler work with OBIEE?

    Can SQL Developer Data Modeler work with OBIEE? Can we export the data model from the Data Modeler and import it into OBIEE? Or export the OBIEE metadata to the Data Modeler for Data Model defining?

    no
    Philip

  • SQL Server VSS Writer terminated with service-specific error 2147549183 (0x8000FFFF)

    Hi Team,
    SQL VSS Writer service terminated with service-specific error,
    find SC query results, please advice wat;s the issue. Kindly note this service running fine for long time and suddenly stopped.
    SERVICE_NAME: SQLWriter
            TYPE               : 10  WIN32_OWN_PROCESS
            STATE              : 1  STOPPED
                                    (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN))
    WIN32_EXIT_CODE    : 1066  (0x42a)
            SERVICE_EXIT_CODE  : -2147418113  (0x8000ffff)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0
    Regards,
    Karthik
    Thanks & Regards, Karthikeyan

    this is part of a log error for example:
    24 Info 2011/09/26 23:00 [Start SQL VSS Comman]
    (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
    25 Info 2011/09/26 23:00 [Start SQL VSS Comman] WIN32_EXIT_CODE : 0 (0x0)
    26 Info 2011/09/26 23:00 [Start SQL VSS Comman] SERVICE_EXIT_CODE : 0 (0x0)
    27 Info 2011/09/26 23:00 [Start SQL VSS Comman] CHECKPOINT : 0x0
    28 Info 2011/09/26 23:00 [Start SQL VSS Comman] WAIT_HINT : 0x7d0
    29 Info 2011/09/26 23:00 [Start SQL VSS Comman] PID : 15532
    30 Info 2011/09/26 23:00 [Start SQL VSS Comman] FLAGS :
    31 Info 2011/09/26 23:00 Klaar met uitvoeren post-opdrachten
    32 Error 2011/09/26 23:00 The writer vetoed the shadow copy creation process during the
    backup preparation state. (VSS_WS_FAILED_AT_PREPARE_BACKUP)
    33 Info 2011/09/26 23:00 Verwijderen tijdelijk bestand C:\Users\serveradmin\.temp\
    1313680495583
    34 Error 2011/09/26 23:00 Backup voltooid met fout(en)
    This is what I look for usually from this log: 
    32 Error 2011/09/26 23:00 The writer vetoed the shadow copy creation process during the
    backup preparation state. (VSS_WS_FAILED_AT_PREPARE_BACKUP)
    Just post all the log messages if you can.
    [Personal Site] [Blog] [Facebook]

  • User exit  or BADI to validate service request value with PO value

    Dear gurus,
    Is there any userexit or BADI to validate service request value with PO value. Please help me regarding this.
    Thanks in advance

    Hi,
    Please check these enhancements (SMOD) for user exits available of transaction ML81N.
    SRV_FRM  - SRV: Formula calculation (obsolete since 4.0A!)             
    SRVSEL   - Service selection from non-SAP systems                      
    SRVREL   - Changes to comm. structure for release of entry sheet       
    SRVQUOT  - Service export/import for inquiry/quotations                
    SRVPOWEB - Purchase order for service entry in Web                     
    SRVMSTLV - Conversion of data during importing of standard service cat.
    SRVMAIL1 - Processing of mail before generation of sheet               
    SRVLIMIT - Limit check                                                 
    SRVKNTTP - Setting the account assgnmt category when reading in, if "U"
    SRVEUSCR - User screen on entry sheet tabstrip                         
    SRVESSR  - Set entry sheet header data                                 
    SRVESLL  - Service line checks                                         
    SRVESKN  - Set account assignment in service line                      
    SRVESI   - Data conversion entry sheet interface                       
    SRVENTRY - Unplanned part of entry sheet (obsolete since Rel. 3.1G)    
    SRVEDIT  - Service list control maintenance/display)                  
    SRVDET    - User screen on tab strip of service detail screen           
    INTERFAC  - Interface for data transfer                      
    Regards,
    Ferry Lianto

Maybe you are looking for

  • What is the equivalence of @Aggregate_Aware function in BO in OBIEE 11g?

    Hi All, I have a requirement in my project regarding aggregration function. Actually it deals with convertion of BO Reports to OBIEE Reports. In BO Universe i have function called @Aggregate_Aware the actual syntax of this function is as below: @Aggr

  • Want: Adobe Reader with Firefox but not with Safari

    I've been using Firefox as my primary browser for awhile, but still use Safari at times. I use Adobe Reader to display PDFs within Firefox, and it is currently also used by Safari. I'd like to take advantage of Safari's new ability to natively displa

  • Mouse Too Sensitive in Fullscreen Apps

    Normally on the XFCE4 desktop my mouse is perfect (using Synaptics driver on my Lenovo Ideapad S205) but if I open any fullscreen apps such as ScummVM, the mouse suddenly becomes incredibly sensitive and moves far too fast (and quite inaccurately too

  • Is there a block select feature in the CVI editor?

    I'm a CVI newbie and am becoming familiar with the environment.  One thing I haven't found yet is a block select feature.  Can anyone help me out on this?  I'm looking for something functionally similar to, say, Alt-drag in MS Word. Thanks. Solved! G

  • Waiting For Bridge CS6 when selecting MiniBridge in Photoshop (win)

    Mini-Bridge does not load any files.  (Windows 7) All I get is the dreaded "Waiting for Bridge CS6..." message where the image thumbnails should be. Yes, yes... I did open Bridge CS6 manually and it works fine.