Exception while querying ExalogicOptimizationsEnabled Attribute

Recently switched from JDeveloper 11.1.1.6.0 RC2 on Windows to the same on Linux. Now, after opening our App, the "Messages - Log" console in JDeveloper displays this warning multiple times:
WARNING: Exception while querying ExalogicOptimizationsEnabled Attribute
Dec 8, 2011 9:17:21 AM oracle.adf.share.ADFContext isHighPerformanceEnvEnabled
I end up seeing this many, many times in the course of a development session. I'd like to find and solve the problem. Anyone know where to look?

Hi John,
Thanks for your reply. Other than a lack of Google search results, I don't have any indication this error is unique to unreleased versions. This forum is used by Oracle employees as well as the public, so isn't it worth asking to cover the bases?
- Mark

Similar Messages

  • Exception while defining value attribute/View configuration issue

    Hello,
    I am facing an issue in view configuration. I have added value attributes to an existing context node in component BT116IT_SRVO, GenricItem view, BTADMINI context node. Now after adding the atrribute an exception is triggering as
    "Cannot display view BT116IT_SRVO/GenericItem of UI Component BT116IT_SRVO
    An exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_BSP_WD_MIXED_NODE is not compatible, for the purposes of assignment, with target type \CLASS=CL_CRM_BOL_ENTITY 
    Method:  CL_CRM_UIU_BT_ITEMEOV_CN=>GET_QUANTITY 
    Source Text Row:  25 ".
    I have checked  source code of mentioned class, reference of CL_BSP_WD_MIXED_NODE class is coming after adding value attribute .
    Exception is triggering at statement: lr_entity ?= current. => In current ref of CL_BSP_WD_MIXED_NODE class is coming while lr_entity is type ref to cl_crm_bol_entity.
    I would really appriciate your reply on this as how can I avoid this exception? Do I need to redfine this method?
    Moreover the value attributes that I have added does not appear in Available Fields in View Configuration. Could you help me out in how can I make these fields available in configuration?
    Appriciate your replies on same.
    Regards,
    Rashmi

    The problem is solved.
    Thanks
    -Rashmi

  • Invalid Attribute value Exception while adding Timestamp Attribute value

    Good Day friends,
    I'm using IBM Directory Server 4.1 LDAP to maintain the Online User Registeration for a Web Application. I need to store the Timestamp at the time user registers, so that another java application of mine can delete non-active users within specific amount of time. But when i provide a value for "createTimestamp" attribute in LDAP using Java sql class object Timestamp, it gives me a exception of InvalidAttributeValueException. I tried inserting the entry with String, but without success. What is the type or format for createTimestamp Attribute? How i can bind a time or date object to this object? Any Help or Suggestions will be highly appreciated. Thanks in Advance. Cheers..!!
    The source code is as follows:
    public void createUserProfile(String afname, String alname, String aemail, String apassword) {
              String fname, lname, email, password;
              fname = afname;
              lname = alname;
              email = aemail;
              password = apassword;
              Date regDate = new Date();
              //java.sql.Time tsObj = new java.sql.Time(regDate.getTime());
              Timestamp tsObj = new Timestamp(regDate.getTime());
              String strTS = tsObj.toString();
              System.out.println("Created Date: "+tsObj);
              try {
                   InitialDirContext ctx = new InitialDirContext(prop);
                   BasicAttribute objClasses = new BasicAttribute("objectclass");
                   objClasses.add("inetOrgPerson");
                   BasicAttributes attrs = new BasicAttributes();
                   attrs.put(objClasses);
                   attrs.put("givenName", fname);
                   attrs.put("sn", lname);
                   attrs.put("mail", email);
                   attrs.put("userPassword", password);
                   attrs.put("createTimestamp", tsObj);
                   ctx.createSubcontext("cn="+fname+",ou=Dept,o=InterComp", attrs);
                   ctx.close();
                   } catch (Exception e) {
                   System.out.println("Error : " + e.getMessage());
                   e.printStackTrace();
    The Error is as follows:
    Error : Malformed 'createTimestamp' attribute value
    javax.naming.directory.InvalidAttributeValueException: Malformed 'createTimestamp' attribute value; remaining name 'cn=arun15382,ou=Dept,o=InterComp'
         at com.sun.jndi.ldap.LdapClient.encodeAttribute(LdapClient.java:964)
         at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1012)
         at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:648)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:323)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:253)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:241)
         at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:180)

    I've the same problem with lastModifiedTime:
    java.sql.Timestamp cal = new java.sql.Timestamp(System.currentTimeMillis());
    myAttrs.put(new BasicAttribute("lastModifiedTime", cal));
    this results in:
    javax.naming.directory.InvalidAttributeValueException: Malformed 'lastModifiedTime' attribute value; remaining name 'uid=tester,ou=people,dc=...'
         at com.sun.jndi.ldap.LdapClient.encodeAttribute(LdapClient.java:1041)
         at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1089)
    Have you fixed it?

  • Error while querying workflow message attributes for task

    Can some one please help me with this error?
    I get this error when I submit a task in worklist app. I have figure out that it is causing due to one payload in the table in the task. If remove that payload I am able to submit the task.
    Error while querying workflow message attributes for task a99d1cf3-5e91-4c4a-8660-aeae91bfbec0 with version 5.
    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services.
    oracle.jbo.JboException: Error while querying workflow message attributes.
    Error while querying workflow message attributes for task a99d1cf3-5e91-4c4a-8660-aeae91bfbec0 with version 5.
    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services.
         at oracle.bpel.services.datacontrol.XSDDataControl.invokeOperation(XSDDataControl.java:460)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2144)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)

    Can anybody help me on this?
    I did some google but I get this only which is not much helpful.
    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10113/chapter_bpm_messages.htm

  • Query is not defined Exception while Executing Finders

    Hi,
    We have used Toplink 2.5.1 & weblogic 5.1 for a year. All works great. Recently we are upgrading to Weblogic 7.01 and toplink 903. Inorder to make previous finder methods work, I created a Class DescriptorManager add a lot static methods each for one entitybean. In Mapping Workbench, I did:
    .Select Advanced Properties > After Load from the menu for the bean.
    .Enable the amendment method for the descriptor by specifying the class and name of the static method.
    The code which in the DescriptorManager.java is:
    public static void addDescriptorFinders(Descriptor descriptor)
         * Enumeration findDescriptorByServiceType(BigInteger stypeId)
    ReadAllQuery query1 = new ReadAllQuery();
    query1.setName("findDescriptorsBySrvcTypeId");
    query1.addArgument("lStypeId");
    query1.setReferenceClass(MeDescriptorBean.class);
    ExpressionBuilder builder = new ExpressionBuilder();
    query1.setSelectionCriteria(builder.get("serviceType").equal(builder.getParameter("lStypeId")));
    descriptor.getQueryManager().addQuery("findDescriptorsBySrvcTypeId", query1);
    In Here is MeDescriptorHome:
    public interface MeDescriptorHome extends EJBHome {
         public MeDescriptor findByPrimaryKey(MeDescriptorPK key) throws FinderException,RemoteException;
    public MeDescriptor findByGroupId( BigInteger groupId) throws FinderException, RemoteException;
         public MeDescriptor findOneByQuery(ReadObjectQuery query, Vector args) throws FinderException,RemoteException;
         public Collection findDescriptorsBySrvcTypeId(BigInteger serviceType) throws FinderException,RemoteException;
    I write a test client, which call
    findByPrimaryKey
    findOneByQuery
    findByGroupId
    findDescriptorsBySrvcTypeId
    The first two works.( which are toplink reserved query), the other two do not work. Can someone help me please? Thanks a lot!
    Here is the error message I got:
    Error during finders:
    javax.ejb.FinderException: EXCEPTION [EJB - 10005]: Cannot find bean using finder: [findDescriptorsBySrvcTypeId]. [EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
    EXCEPTION DESCRIPTION: Query is not defined.]
    server stacktrace is:
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
    EXCEPTION DESCRIPTION: Query is not defined.
    at oracle.toplink.exceptions.QueryException.queryNotDefined(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.FinderManager.executeFinder(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.FinderManager.findMany(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.wls.WlsBeanManager.collectionFinder(Unknown Source)
    at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:560)
    at com.mslv.sla.dao.metric.MeDescriptorBean_onqudj_HomeImpl.findDescriptorsBySrvcTypeId(MeDescriptorBean_onqudj_HomeImpl.java:157)
    at com.mslv.sla.dao.metric.MeDescriptorBean_onqudj_HomeImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    javax.ejb.FinderException: EXCEPTION [EJB - 10005]: Cannot find bean using finder: [findDescriptorsBySrvcTypeId]. [EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException

    You are on the right track for sure. You should make sure that the <ejb-ql> node in you ejb-jar.xml file is empty, and that the arguments for the finder are specified correctly.
    Next, I would make sure that the descriptor is, in fact, being amended. Maybe just throw a debug line into the descriptor amendment method for your MeDescriptorBean and make sure it is being called after you re-start the server.
    JIM
    Hi,
    We have used Toplink 2.5.1 & weblogic 5.1 for a year. All works great. Recently we are upgrading to Weblogic 7.01 and toplink 903. Inorder to make previous finder methods work, I created a Class DescriptorManager add a lot static methods each for one entitybean. In Mapping Workbench, I did:
    .Select Advanced Properties > After Load from the menu for the bean.
    .Enable the amendment method for the descriptor by specifying the class and name of the static method.
    The code which in the DescriptorManager.java is:
    public static void addDescriptorFinders(Descriptor descriptor)
         * Enumeration findDescriptorByServiceType(BigInteger stypeId)
    ReadAllQuery query1 = new ReadAllQuery();
    query1.setName("findDescriptorsBySrvcTypeId");
    query1.addArgument("lStypeId");
    query1.setReferenceClass(MeDescriptorBean.class);
    ExpressionBuilder builder = new ExpressionBuilder();
    query1.setSelectionCriteria(builder.get("serviceType").equal(builder.getParameter("lStypeId")));
    descriptor.getQueryManager().addQuery("findDescriptorsBySrvcTypeId", query1);
    In Here is MeDescriptorHome:
    public interface MeDescriptorHome extends EJBHome {
         public MeDescriptor findByPrimaryKey(MeDescriptorPK key) throws FinderException,RemoteException;
    public MeDescriptor findByGroupId( BigInteger groupId) throws FinderException, RemoteException;
         public MeDescriptor findOneByQuery(ReadObjectQuery query, Vector args) throws FinderException,RemoteException;
         public Collection findDescriptorsBySrvcTypeId(BigInteger serviceType) throws FinderException,RemoteException;
    I write a test client, which call
    findByPrimaryKey
    findOneByQuery
    findByGroupId
    findDescriptorsBySrvcTypeId
    The first two works.( which are toplink reserved query), the other two do not work. Can someone help me please? Thanks a lot!
    Here is the error message I got:
    Error during finders:
    javax.ejb.FinderException: EXCEPTION [EJB - 10005]: Cannot find bean using finder: [findDescriptorsBySrvcTypeId]. [EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
    EXCEPTION DESCRIPTION: Query is not defined.]
    server stacktrace is:
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
    EXCEPTION DESCRIPTION: Query is not defined.
    at oracle.toplink.exceptions.QueryException.queryNotDefined(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.FinderManager.executeFinder(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.FinderManager.findMany(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.wls.WlsBeanManager.collectionFinder(Unknown Source)
    at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:560)
    at com.mslv.sla.dao.metric.MeDescriptorBean_onqudj_HomeImpl.findDescriptorsBySrvcTypeId(MeDescriptorBean_onqudj_HomeImpl.java:157)
    at com.mslv.sla.dao.metric.MeDescriptorBean_onqudj_HomeImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    javax.ejb.FinderException: EXCEPTION [EJB - 10005]: Cannot find bean using finder: [findDescriptorsBySrvcTypeId]. [EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException

  • Using Ant task wlserver/wlconfig: Received exception while creating connection for pool.

    Hi,
    I am using ant tasks wlserver and wlconfig to configure my weblogic server. while creating a connection pool as shown below
    <target name="jdbcinfo">
    <wlconfig password="weblogic"
    username="weblogic"
    url="${url}"
    <query domain="mydomain" type="Server"
    name="myserver" property="serverbean"
    />
    <create type="JDBCConnectionPool"
    name="jdbcpoolA"
    property="jdbcPoolProp">
    <set value="false"
    attribute="ShrinkingEnabled"
    <set value
    attribute="
    <set value="${serverbean}"
    attribute="Targets"/>
    The JDBCConnectionPool is created as long as I don't specified the attribute "Targets"
    Once I add the target I get the following error
    <JDBC> <BEA-001129> <Received exception while creating connection for pool "poolname" invalid arguments in call>
    Please any help will be greatly appreciated.
    Thanks

    In your applicaion module configurations check if you are using 'JDBC URL' or 'JDBC DataSource'. You should use JDBC DataSource. Then make sure that your deployment descriptor (menu 'Application->Application Properties->Deployment) has the 'Auto Generate ...' checkbox set.
    Timo

  • Exception while dequeuing message

    Hi,
    I am getting an error sayin
    "Exception while dequeuing message : Dequeue error in AQ object, ORA-25215: user_
    data type and queue type do not match"
    What will be the problem?Please help me with solution.
    Thanks in advance

    This is the link i am following for enqueuing the message into a queue table, its happening successfully.
    http://www.oratechinfo.co.uk/aq.html
    I can see the message i enqueued in the queue table with the following query at the scheduled time.
    select user_data from queue_table;
    Below is the C++ code to dequeue the msg.In DequeueObject() function on this particular line "msgid = oaq.Dequeue();"
    the control moves to console which not proceeding further.I am wondering what went wrong.
    //This is a simple program showing how to call oo4o api from a mulithreaded application.
    //Note that every thread has its own OStartup() and OShutdown() routines.
    // PROJECT SETTINGS : Under C/C++ option, make sure the project options is /MT for release
    // or /MTd for debug(NOT /ML or /MLd).
    #include "windows.h"
    #include "stdio.h"
    #include <iostream>
    #include <process.h>          
    #include <oracl.h>
    using namespace std;
    OSession osess ;
    int DequeueRaw();
    int DequeueObject();
    int main(int argc, char **argv)
         int retVal = 0;
         OStartup(OSTARTUP_MULTITHREADED);
         // create session object for each thread. This gives maximum
         // concurrency to the thread execution. This is also useful when OO4O
         // error reported on session object for one thread cannot be seen by
         // another thread.
         try
              osess.Open();
              if ( ! osess.IsOpen() )
                   cout << "Session not opened: Error: " << osess.GetErrorText() << endl;
                   osess.Close();
                   OShutdown();
                   return -1;
         //     retVal = DequeueRaw();
              retVal = DequeueObject();
         catch(OException oerr)
              cout << "Exception while dequeuing message : " << oerr.GetErrorText() << endl;
              retVal = -1;
         return retVal;
    // This function dequeues a message of default type(string of characters)
    // from the raw_msg_queue.
    // Gets the message priority after dequeuing
    // Checks if any message with correlation like 'AQ' is available on the queue.
    int DequeueRaw()
         ODatabase odb;
         OAQ oaq;
         OAQMsg oaqmsg;
         OValue msg;
         const char *msgid = 0;
         odb.Open(osess, "MICROSOFT", "OMNIPOS", "OMNIPOS");
         if ( ! odb.IsOpen() )
              cout << "Database not opened: " << odb.GetErrorText() << endl;
              odb.Close();
              return(-1);
         // Open the 'raw_msg_queue'
         oaq.Open(odb,"example_queue");
         if( !oaq.IsOpen())
              cout << "AQ not opened: " << oaq.GetErrorText() << endl;
              return(-1);
         // Get an instance of the default message(of RAW type)
         oaqmsg.Open(oaq);
         if( !oaqmsg.IsOpen() )
              cout << "AQMsg not opened: " << oaqmsg.GetErrorText() << endl;
              return(-1);
         // Dequeue a message
         //msgid = oaq.Dequeue();
         //if (msgid )
         //     // Retrieve the message attributes
         //     oaqmsg.GetValue(&msg);
         //     const char *msgval = msg;
         //     cout << "Message '" << msgval <<
         //          "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
         // Dequeue message with correlation like "AQ"
         oaq.SetCorrelate("%AQ%");
         oaq.SetDequeueMode(3);
         msgid = oaq.Dequeue();
         if (msgid )
              // Retrieve the message attributes
              char msgval[101];
              long len = oaqmsg.GetValue(msgval,100);
              msgval[len] = '\0';
              cout << "Message '" << msgval <<
                   "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
         // Close all of the objects
         oaqmsg.Close();
         oaq.Close();
         odb.Close();
         return 0;
    // This function dequeues a message of user-defined type MESSAGE_TYPE
    // from the msg_queue.
    // Gets the message priority after dequeuing
    // Checks if any message with correlation like 'SCOTT' is available on the queue.
    int DequeueObject()
         ODatabase odb;
         OAQ oaq;
         OAQMsg oaqmsg;
         const char *msgid = 0;
         OValue msg;
         char subject[255];
         char text[255];
         odb.Open(osess, "MICROSOFT", "OMNIPOS", "OMNIPOS");
         if ( ! odb.IsOpen() )
              cout << "Database not opened: " << odb.GetErrorText() << endl;
              odb.Close();
              return(-1);
         // Open the 'msg_queue'
         oaq.Open(odb,"example_queue");
         if( !oaq.IsOpen())
              cout << "AQ not opened: " << oaq.GetErrorText() << endl;
              return(-1);
         // Get an instance of the udt MESSAGE_TYPE (check out schema for details)
         oaqmsg.Open(oaq,1,"MESSAGE_TYPE");
         if( !oaqmsg.IsOpen() )
              cout << "AQMsg not opened: " << oaqmsg.GetErrorText() << endl;
              return(-1);
         // Dequeue message with correlation like "SCOTT"
         oaq.SetCorrelate("%OMNIPOS%");
         oaq.SetDequeueMode(3);
         msgid = oaq.Dequeue();
         if (msgid )
              // Retrieve the message attributes
              // Get the subject,text attributes of the message
              OObject msgval;
              oaqmsg.GetValue(&msgval);
              msgval.GetAttrValue("subject", subject,255);     
              msgval.GetAttrValue("text", text,255);
              cout << "Message '" << (subject ? subject :"") << "' & Body : '" << text <<
                   "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
              msgval.Close();
         msgid = 0;
         oaq.SetNavigation(1);
         oaq.SetCorrelate("");
         // Dequeue a message
         msgid = oaq.Dequeue();
         if (msgid )
              // Retrieve the message attributes
              OObject msgval;
              oaqmsg.GetValue(&msg);
              msgval = msg;          
              // Get the subject,text attributes of the message
              msgval.GetAttrValue("subject", subject,255);     
              msgval.GetAttrValue("text", text,255);
              cout << "Message '" << (subject ? subject :"") << "' & Body : '" << text <<
                   "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
              msgval.Close();
         // Close all of the objects
         msgid = NULL;
         msg.Clear();
         oaqmsg.Close();
         oaq.Close();
         odb.Close();
         return 0;
    }

  • Exception while using unit of work commit

    Hi,
    I have using this code to create a object
    KbAdAlerts alert = new KbAdAlerts();
    alert.setAlertId(kmData.getAlertId());
    alert.setAlertDesc(kmData.getOutcome());
    alert.setAlertLastRevisionDate(KmUtils.convertReviewDate(kmData.getReviewDate()));
    alert.setAlertType(kmData.getAlertType());
    System.out.println("Alert Object :" + alert);
    KbAdAlerts alertClone = (KbAdAlerts) uow.registerObject(alert);
    System.out.println("Clone Alert:" + alertClone);
    uow.printRegisteredObjects();
    uow.commit();
    I am getting exception while using uow.commit(). I have gone into alert object and everything seems to be fine.
    Could you help me in this issue.
    Thanks,
    Ashish
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01400: cannot insert NULL into ("AD_OWNER"."KB_AD_ALERTS"."ALERT_ID")
    Error Code: 1400
    Call:insert into kb_ad_alerts(alert_id, alert_desc, alert_type, alert_last_revision_date)
    values
    (NULL, NULL, NULL, NULL)
    Query:InsertObjectQuery(oracle.ccr.admin.model.KbAdAlerts@6108)
         at oracle.toplink.exceptions.TopLinkException.<init>(TopLinkException.java:46)
         at oracle.toplink.exceptions.DatabaseException.<init>(DatabaseException.java:50)
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:658)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:707)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:496)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:442)
         at oracle.toplink.publicinterface.UnitOfWork.executeCall(UnitOfWork.java:1603)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:238)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObject(DatabaseQueryMechanism.java:355)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:433)
         at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:60)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:622)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:586)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:479)
         at oracle.toplink.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:110)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:259)
         at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:603)
         at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:519)
         at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:100)
         at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:72)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2532)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:981)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:938)
         at oracle.toplink.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:240)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:161)
         at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3123)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1242)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1330)
         at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1097)
         at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:865)
         at oracle.ccr.admin.model.FeedbackServices.writeFeedback(FeedbackServices.java:116)
         at oracle.ccr.admin.view.AlertDetails.updateTables(AlertDetails.java:834)
         at oracle.ccr.admin.view.AlertDetails.commandButton1_action(AlertDetails.java:822)
         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:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
         at oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:94)
         at oracle.adf.view.faces.component.UIXTable.broadcast(UIXTable.java:205)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    I am having a similar problem that results in this stack trace. The funny thing is that it occurs after a session.logout/login and re-read of the object I'm trying to update. The other thing is that if I remove objects from the transaction it just happens somewhere else - on a different object/descriptor. I am attempting to upgrade from 9.03 runtime to the 10.0.3.1 builder/runtime. I am connecting to a Sybase 12.5 db.
    Any ideas on this one?
    Thanks,
    Bret
    This is the sql that is found in the DatasourceCallQueryMechanism. We are not using any custom SQL.
    SQLCall(INSERT INTO Invoice (id, description, billingAddress, customerNote, invoiceNumber, startDate, stopDate, sentDate, commitDate, customerId, dueDate) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?))
    java.lang.NullPointerException
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:213)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:156)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:170)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:426)
         at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:65)
         at oracle.toplink.queryframework.InsertObjectQuery.executeCommitWithChangeSet(InsertObjectQuery.java:75)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:251)
         at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
         at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:542)
         at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:100)
         at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:72)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2578)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:988)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:945)
         at oracle.toplink.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:243)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:218)
         at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:174)
         at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3177)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1282)
         at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1370)
         at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1137)
         at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:905)
         at com.tbs.database.DBBroker.mergeSingleObject(DBBroker.java:288)
         at com.tbs.database.DBBroker.merge(DBBroker.java:235)
         at com.tbs.database.DBBrokerSetInvoker.merge(DBBrokerSetInvoker.java:73)
         at com.tbs.database.TbsDataSource.merge(TbsDataSource.java:353)
    /////////////////////////////////

  • ERROR while querying ACM driver's information

    I am using following scheme to transmit sound over network:
    file -> input datasource -> processor -> output datasource -> RTPManager -> network
    File from which i am transmitting is temporary. I am create this file before transmit and delete it after.
    1. Application starts
    2. I am perform transmit first time - everything fine, but in std otput i see message "ERROR while querying ACM driver's information".
    3. I am perform transmit second time - everything fine, but file that i am created for transmitting stays locked by JMF for about 20 minutes.
    4. Any transmit after "ERROR while querying ACM driver's information" locks input file for about 15-20 minutes.
    Any suggestions will be appreciated.
    Thanks for advance!

    I can't download your code RAR, so can you just post the code you're using to handle the shutdown? (and please use the code tags)Thanks for anwser. There is entire test code i wrote (code with "mutex" variable is not nessesary, i wrote it just for clearer output):
    import javax.media.*;
    import javax.media.format.AudioFormat;
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.DataSource;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.File;
    import java.nio.channels.FileChannel;
    public class Test {
        public static void main(String[] args) {
            File sourceFile = new File("1.wav");
            for (int i = 0; i < 3; i++) {
                System.out.format("Try number %d\n", i);
                File tempFile;
                try {
                    tempFile = File.createTempFile("TestTemp", ".wav");
                } catch (IOException e) {
                    System.err.format("Cannot create temporary file %s \n", e);
                    return;
                if (!copyFile(sourceFile, tempFile)) {
                    return;
                DataSource ds;
                try {
                    ds = javax.media.Manager.createDataSource(new MediaLocator("file:" + tempFile.getPath()));
                } catch (Exception e) {
                    System.err.format("Cannot create datasource %s \n", e);
                    return;
                Format[] formats = new Format[1];
                formats[0] = new AudioFormat(AudioFormat.ULAW_RTP, 8000, 8, 1);
                ProcessorModel prm = new ProcessorModel(ds, formats, new ContentDescriptor(ContentDescriptor.RAW_RTP));
                Processor processor;
                try {
                    processor = Manager.createRealizedProcessor(prm);
                } catch (Exception e) {
                    System.err.format("Cannot create processor %s \n", e);
                    return;
                processor.close();
                Object mutex = new Object();
                synchronized (mutex) {
                    try {
                        mutex.wait(1000);
                    } catch (InterruptedException e) {
                        System.err.format("Thread interrupted, try number " + i + "\n");
                        return;
                if (!tempFile.delete()) {
                    System.err.format("Cannot delete temporary file, try number " + i + "\n");
                System.out.format("Try end number %d\n", i);
        public static boolean copyFile(File sourceFile, File destFile) {
            FileChannel source = null;
            FileChannel destination = null;
            try {
                source = new FileInputStream(sourceFile).getChannel();
                destination = new FileOutputStream(destFile).getChannel();
                destination.transferFrom(source, 0, source.size());
            } catch (Exception e) {
                System.err.format("Error while copying files %s \n", e);
                return false;
            finally {
                if (source != null) {
                    try {
                        source.close();
                    } catch (IOException e) {
                        System.err.format("Error while trying close source file %s \n", e);
                if (destination != null) {
                    try {
                        destination.close();
                    } catch (IOException e) {
                        System.err.format("Error while trying close destination file %s \n", e);
            return true;
    }I have figured out that if i continue to try deleting files used by processor (that already closed) while program is running, files will be deleted after ~15 minutes. I have figured out this while testing my main application. This test app also may be modified to reproduce this behaviour. If you want, i can submit a modified test code to reproduce this behaviour.
    If JMF is maintaining a file lock, then I assume you've improperly shutdown the processor / datasink...About resource deallocation. First, there is no datasink i have been created manually (may be jmf create it internally, but i dont think so). In my test application i've been created only input datasource and processor. I have tried deallocate datasource also, but this is dont have any effect. In JMF reference we can see this description of method Processor.close():
    "Releases all resources and cease all activity."
    I think this is enough to call Processor.close() to deallocate input file, is that right?

  • Exception while creating a Template in Web Channel B2B

    Hi,
    We have deployed Web channel B2B solution in Netweaver 7.3.  All Our SCA versions are 7.33.
    In standard application I am getting below exception while trying to create Order Template.   It seems that this exception related to the new Java Persistence management EJB layer.  I have found one SAP Note 0001791501.  But, SCA's which we deployed are already in higher version(7.33) than the advised in the note.
    In custom application also we are getting same exception even though we have maintained the correct dependencies
    SAP-SHRJAV ->crm/isa/basketdb and SAP-SHRWEB -> crm/isa/web/b2b and SAP-SHRWEB -> crm/tc/web/core to the custom application.
    Order creation is working fine.
    Any clues or SAP Notes will be greatly appreciated.   We have raised this issue to SAP, but I am posting here to get quick response if anyone got similar issue.
    javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component: sap.com/crm~b2b, CRM-ISA-BBS) Exception raised from invocation of public long com.sap.isa.backend.db.dao.jpa.ejb.impl.ObjectIdJPAService.getNextObjectIdValue() method on bean instance [email protected]2 for bean sap.com/crm~b2b*annotation|sap.com~crm~isa~basketdb~assembly.jar*annotation|ObjectIdJPAService in application sap.com/crm~b2b.; nested exception is: javax.persistence.PersistenceException: cannot set the primitive field >>version<< in entity of class >>com.sap.isa.backend.db.dao.jpa.entity.superclass.ObjectIdParent<< to null.
    javax.persistence.PersistenceException: cannot set the primitive field >>version<< in entity of class >>com.sap.isa.backend.db.dao.jpa.entity.superclass.ObjectIdParent<< to null.
    at com.sap.engine.services.orpersistence.reflect.PrimitiveFieldValueAccessor.set(PrimitiveFieldValueAccessor.java:28)
    at com.sap.engine.services.orpersistence.core.StoreManager.fillSingleFields(StoreManager.java:2484)
    at com.sap.engine.services.orpersistence.core.StoreManager.fillNonRelationshipFields(StoreManager.java:2470)
    at com.sap.engine.services.orpersistence.core.StoreManager.fillFields(StoreManager.java:2415)
    at com.sap.engine.services.orpersistence.core.StoreManager.resultSetRow2Object(StoreManager.java:2133)
    at com.sap.engine.services.orpersistence.core.StoreManager.loadOrRefreshFromDB(StoreManager.java:271)
    at com.sap.engine.services.orpersistence.core.StoreManager.loadEntityOrRefreshExisting(StoreManager.java:193)
    at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.loadEntityFromConnection(PersistenceContextImpl.java:307)
    at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.loadEntity(PersistenceContextImpl.java:320)
    at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.find0(PersistenceContextImpl.java:239)
    at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.find(PersistenceContextImpl.java:220)
    at com.sap.engine.services.orpersistence.core.MonitoredPersistenceContextImpl.find(MonitoredPersistenceContextImpl.java:217)
    at com.sap.engine.services.orpersistence.entitymanager.EntityManagerImpl.find(EntityManagerImpl.java:140)
    at com.sap.engine.services.orpersistence.entitymanager.EntityManagerHandleImpl.find(EntityManagerHandleImpl.java:43)
    at com.sap.engine.services.orpersistence.container.EntityManagerProxy.find(EntityManagerProxy.java:81)
    at com.sap.isa.backend.db.dao.jpa.ejb.impl.ObjectIdJPAService.getNextObjectIdValue(ObjectIdJPAService.java:107)
    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 com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at com.sun.proxy.$Proxy1028.getNextObjectIdValue(Unknown Source)
    at com.sap.isa.backend.db.dao.jpa.ObjectIdJPA.getNextObjectId(ObjectIdJPA.java:49)
    at com.sap.isa.backend.db.order.ObjectIdDB.getNextDocumentId(ObjectIdDB.java:36)
    at com.sap.isa.backend.db.SalesDocumentDB.createInBackend(SalesDocumentDB.java:874)
    at com.sap.isa.backend.db.order.OrderTemplateDB.createInBackend(OrderTemplateDB.java:54)
    at com.sap.isa.businessobject.SalesDocument.init(SalesDocument.java:1830)
    at com.sap.isa.isacore.action.ordertemplate.CreateOrderTemplateAction.isaPerform(CreateOrderTemplateAction.java:115)
    at com.sap.isa.isacore.action.IsaCoreBaseAction.isaPerform(IsaCoreBaseAction.java:378)
    at com.sap.isa.isacore.action.IsaCoreBaseAction.isaPerform(IsaCoreBaseAction.java:418)
    at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:344)
    at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:375)
    at com.sap.isa.core.BaseAction.execute(BaseAction.java:213)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:772)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:461)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at com.sap.isa.core.ActionServlet.process(ActionServlet.java:252)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component: sap.com/crm~b2b, CRM-ISA-BBS) Exception raised from invocation of public long com.sap.isa.backend.db.dao.jpa.ejb.impl.ObjectIdJPAService.getNextObjectIdValue() method on bean instance [email protected]2 for bean sap.com/crm~b2b*annotation|sap.com~crm~isa~basketdb~assembly.jar*annotation|ObjectIdJPAService in application sap.com/crm~b2b.; nested exception is: javax.persistence.PersistenceException: cannot set the primitive field >>version<< in entity of class >>com.sap.isa.backend.db.dao.jpa.entity.superclass.ObjectIdParent<< to null.
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:82)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at com.sun.proxy.$Proxy1028.getNextObjectIdValue(Unknown Source)
    at com.sap.isa.backend.db.dao.jpa.ObjectIdJPA.getNextObjectId(ObjectIdJPA.java:49)
    at com.sap.isa.backend.db.order.ObjectIdDB.getNextDocumentId(ObjectIdDB.java:36)
    at com.sap.isa.backend.db.SalesDocumentDB.createInBackend(SalesDocumentDB.java:874)
    at com.sap.isa.backend.db.order.OrderTemplateDB.createInBackend(OrderTemplateDB.java:54)
    at com.sap.isa.businessobject.SalesDocument.init(SalesDocument.java:1830)
    at com.sap.isa.isacore.action.ordertemplate.CreateOrderTemplateAction.isaPerform(CreateOrderTemplateAction.java:115)
    at com.sap.isa.isacore.action.IsaCoreBaseAction.isaPerform(IsaCoreBaseAction.java:378)
    at com.sap.isa.isacore.action.IsaCoreBaseAction.isaPerform(IsaCoreBaseAction.java:418)
    at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:344)
    at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:375)
    at com.sap.isa.core.BaseAction.execute(BaseAction.java:213)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:772)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:461)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at com.sap.isa.core.ActionServlet.process(ActionServlet.java:252)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: javax.persistence.PersistenceException: cannot set the primitive field >>version<< in entity of class >>com.sap.isa.backend.db.dao.jpa.entity.superclass.ObjectIdParent<< to null.
    at com.sap.engine.services.orpersistence.reflect.PrimitiveFieldValueAccessor.set(PrimitiveFieldValueAccessor.java:28)
    at com.sap.engine.services.orpersistence.core.StoreManager.fillSingleFields(StoreManager.java:2484)
    at com.sap.engine.services.orpersistence.core.StoreManager.fillNonRelationshipFields(StoreManager.java:2470)
    at com.sap.engine.services.orpersistence.core.StoreManager.fillFields(StoreManager.java:2415)
    at com.sap.engine.services.orpersistence.core.StoreManager.resultSetRow2Object(StoreManager.java:2133)
    at com.sap.engine.services.orpersistence.core.StoreManager.loadOrRefreshFromDB(StoreManager.java:271)
    at com.sap.engine.services.orpersistence.core.StoreManager.loadEntityOrRefreshExisting(StoreManager.java:193)
    at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.loadEntityFromConnection(PersistenceContextImpl.java:307)
    at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.loadEntity(PersistenceContextImpl.java:320)
    at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.find0(PersistenceContextImpl.java:239)
    at com.sap.engine.services.orpersistence.core.PersistenceContextImpl.find(PersistenceContextImpl.java:220)
    at com.sap.engine.services.orpersistence.core.MonitoredPersistenceContextImpl.find(MonitoredPersistenceContextImpl.java:217)
    at com.sap.engine.services.orpersistence.entitymanager.EntityManagerImpl.find(EntityManagerImpl.java:140)
    at com.sap.engine.services.orpersistence.entitymanager.EntityManagerHandleImpl.find(EntityManagerHandleImpl.java:43)
    at com.sap.engine.services.orpersistence.container.EntityManagerProxy.find(EntityManagerProxy.java:81)
    at com.sap.isa.backend.db.dao.jpa.ejb.impl.ObjectIdJPAService.getNextObjectIdValue(ObjectIdJPAService.java:107)
    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 com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    ... 79 more

    Hello Kiran,
    To fix this issue execute the following SQL query against your J2EE engines database
    Update CRM_ISA_OBJECTID set VERSION=0 where PRIMARYKEYCOL=0
    Best regards,
    Boulat

  • Unexpected exception while enlisting XAConnection

    Hi. I am getting the following error when executing getHibernateTemplate().findByNamedParam(...):
              org.springframework.jdbc.UncategorizedSQLException : Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 33 seconds
              BEA1-000114394FEB
              at weblogic.jdbc.jta.DataSource.enlist(DataSource.jav a:1420)
              at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlis t(DataSource.java:1332)
              at weblogic.jdbc.jta.DataSource.getConnection(DataSou rce.java:440)
              at weblogic.jdbc.jta.DataSource.connect(DataSource.ja va:396)
              at weblogic.jdbc.common.internal.RmiDataSource.getCon nection(RmiDataSource.java:359)
              at org.springframework.orm.hibernate3.LocalDataSource ConnectionProvider.getConnection(LocalDataSourceCo nnectionProvider.java:81)
              at org.hibernate.jdbc.ConnectionManager.openConnectio n(ConnectionManager.java:423)
              at org.hibernate.jdbc.ConnectionManager.getConnection (ConnectionManager.java:144)
              at org.hibernate.jdbc.AbstractBatcher.prepareQuerySta tement(AbstractBatcher.java:139)
              at org.hibernate.loader.Loader.prepareQueryStatement( Loader.java:1547)
              at org.hibernate.loader.Loader.doQuery(Loader.java:67 3)
              at org.hibernate.loader.Loader.doQueryAndInitializeNo nLazyCollections(Loader.java:236)
              at org.hibernate.loader.Loader.doList(Loader.java:222 0)
              at org.hibernate.loader.Loader.listIgnoreQueryCache(L oader.java:2104)
              at org.hibernate.loader.Loader.list(Loader.java:2099)
              at org.hibernate.loader.hql.QueryLoader.list(QueryLoa der.java:378)
              at org.hibernate.hql.ast.QueryTranslatorImpl.list(Que ryTranslatorImpl.java:338)
              at org.hibernate.engine.query.HQLQueryPlan.performLis t(HQLQueryPlan.java:172)
              at org.hibernate.impl.SessionImpl.list(SessionImpl.ja va:1121)
              at org.hibernate.impl.QueryImpl.list(QueryImpl.java:7 9)
              at org.springframework.orm.hibernate3.HibernateTempla te$30.doInHibernate(HibernateTemplate.java:875)
              at org.springframework.orm.hibernate3.HibernateTempla te.execute(HibernateTemplate.java:372)
              at org.springframework.orm.hibernate3.HibernateTempla te.findByNamedParam(HibernateTemplate.java:866)
              at uk.xxx.xxx.xxx.Impl.getRereference(Impl.java:208)

    It means what it says, that whatever this user invoke is
              doing, it took longer than the transaction timeout limit
              before getting to this point, so the transaction was marked
              for rollback already, and the application code is being
              denied their request for a DBMS connection.
              Joe

  • ORABPEL-9708 Error while querying workflow task WFTask. Caused by:ORA-00936

    Hi,
    I am trying to integrate my Primavera p6 web version8.0 with the BPM setup 11.1.1.3 . The BPM is setup fine.
    But when I integrated with primavera p6 and on load of workflows portlet of p6 web where the BPM tasks are listed, I am getting following exception in BPM console:
    Error while querying workflow task WFTask.
    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
    ORABPEL-9708
    Error while querying workflow task WFTask .
    Error while querying workflow task WFTask.
    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
    at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2181)
    at oracle.bpel.services.workflow.repos.driver.PersistencyService.getWFTask(PersistencyService.java:907)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.queryTasks(TaskQueryService.java:751)
    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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy220.queryTasks(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.queryTasks(TaskQueryServiceBean.java:120)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.queryTasks(TaskQueryService_oz1ipg_EOImpl.java:1019)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:95)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:201)
    at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallableStatement.java:864)
    at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCallableStatement.java:948)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1335)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
    at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2153)
    at oracle.bpel.services.workflow.repos.driver.PersistencyService.getWFTask(PersistencyService.java:907)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.queryTasks(TaskQueryService.java:751)
    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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy220.queryTasks(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.queryTasks(TaskQueryServiceBean.java:120)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.queryTasks(TaskQueryService_oz1ipg_EOImpl.java:1019)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Could anybody please help me out in resolving the issue?
    Thanks and Regards,
    Krish

    I have the same problem with P6 R8 integration with BPM 11g (running on WL 10.3.5.0). Any sugestions how to solve this?

  • Exception while calling ADS Inappropriate WSIL Invalid Response Code: (401)

    Hi Experts,
    Our ADS configuration was done on XCE a long time back and even reader credentials were installed and everything is working fine.
    Couple of days back, we enabled SSL configuration on the system. Even got the certificates signed by CA and HTTPS is also working without any problems.
    Then, problems are happening when we configured WebService SSL connection for ADS following the steps from
    http://help.sap.com/saphelp_nwce72/helpdata/en/90/71d273fa724cc9bb644ab00405e6f8/content.htm and also the SAP How to guide from: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d02262d8-7814-2c10-5c97-d855d38e9923?quicklink=index&overridelayout=true.
    Among other steps, I have created a View in Key Storage called "ADSCerts" and created an entry "ADSUser" as per the document, generated CSR request, imported CSR response and also the CA's root certificate.
    I exported the ADSUser-cert certificate from here and imported into Identity Management for the User ADSUser under its Certificates tab.
    Also updated SecureConfigPort_Document (in Destination Template Management under SOA Administration) security settings to X.509 Client Certificate and in Details, I have chosen the View ADSCerts and entry ADSUser.
    Even after all the steps as per the document and the help.sap.com link provided above, when I try to test this through a test URL
    (https://host:https-port/webdynpro/resources/company.com/test~wd/TestAdobeApp) that our developers have given me for this, I get a (401)
    Unauthorized error:
    500 Internal Server Error is returned for HTTP request
    [https://host:https-port/webdynpro/resources/company.com/test~wd/TestAdobeApp]
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException:
    Exception while calling ADS; Inappropriate WSIL; configure the
    destination path
    correctly./ncom.sap.esi.esp.service.server.query.discovery.ExtendedServiceException:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested
    URL was:"Connect to https://host:https-port/inspection.wsil/"
    I have checked the security log file and it shows:
    LOGIN.FAILED
    User: N/A
    IP Address: 192.165.90.102
    Authentication Stack: sap.com/tcesiesp~wsil*inspection.wsil
    Also, ran Security Troubleshooting Wizard from NWA and reproduced the problem while collecting these traces. There were some entries like:
    Login failed!
    [EXCEPTION]
    java.security.PrivilegedActionException:
    com.sap.engine.services.security.exceptions.BaseLoginException: Cannot
    authenticate the user.
    Caused by: com.sap.security.core.server.jaas.DetailedLoginException:
    Received no SAP Authentication Assertion Ticket.
    Received no SAPLogonTicket. Authentication stack:
    [sap.com/tcesiesp~wsil*inspection.wsil].
    Any idea how I can solve this? Anybody got this error?
    Thanks,
    Shitij

    Opened an OSS message with SAP and they told me that the certificates being generated from NWA are in a different format from what is accepted in user store.
    So, generated new certificates from OS level using sapgenpse and now it worked.

  • Oracle 10g JDev IDE 9.0.5.2 Null Pointer Exception while debugging

    Hi,
    In windows XP m/c, I am facing following Null Pointer
    Exception while debugging basic Java application through
    10g JDev 9.0.5.2, and it failed in debugging that application...
    May I know, How to get it out of this problem..., am
    suspecting Is it related to any of my windows XP configuration?
    Here's the stack trace shown in the 10g JDev console while
    debugging simple java application..,
    java.lang.NullPointerException
    at javax.swing.border.EmptyBorder.<init>(EmptyBorder.java:54)
    at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRendere
    r.getTableCellRendererComponent(WindowsTableHeaderUI.java:63)
    at oracle.jdevimpl.runner.debug.ThreadsPanel$3.getTableCellRendererCompo
    nent(ThreadsPanel.java:306)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(BasicTabl
    eHeaderUI.java:394)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(BasicTableH
    eaderUI.java:428)
    at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(BasicTable
    HeaderUI.java:454)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(BasicTable
    HeaderUI.java:485)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
    at oracle.jdevimpl.runner.debug.ThreadsPanel.threadsPanelSettingsChanged
    (ThreadsPanel.java:538)
    at oracle.jdevimpl.runner.debug.ThreadsWindow$AllThreadsPanel.threadsWin
    dowSettingsChanged(ThreadsWindow.java:408)
    at oracle.jdevimpl.runner.debug.ThreadsWindow.threadsWindowSettingsChang
    ed(ThreadsWindow.java:138)
    at oracle.jdevimpl.runner.debug.ThreadsWindow.<init>(ThreadsWindow.java:
    112)
    at oracle.jdevimpl.runner.debug.JDebugger.getThreadsWindow(JDebugger.jav
    a:3048)
    at oracle.jdevimpl.runner.debug.DebuggingProcess.selected(DebuggingProce
    ss.java:565)
    at oracle.ideimpl.runner.RunManager.viewSelectionChanged(RunManager.java
    :467)
    at oracle.ide.addin.AbstractView.fireViewSelectionChanged(AbstractView.j
    ava:484)
    at oracle.ideri.navigator.DefaultNavigatorWindow.fireViewSelectionChange
    d(DefaultNavigatorWindow.java:791)
    at oracle.ideri.navigator.DefaultNavigatorWindow$3.viewSelectionChanged(
    DefaultNavigatorWindow.java:1218)
    at oracle.ide.addin.AbstractView.fireViewSelectionChanged(AbstractView.j
    ava:484)
    at oracle.ideimpl.explorer.BaseTreeExplorer.actionPerformed(BaseTreeExpl
    orer.java:2077)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh

    John,
    You mentioned "I closed the IDE so that the TopLink project would pick up the changes..."
    1. We need to find out why you needed to close the IDE? Was TopLink mapping editor not picking up your changes?
    2. I am sure you did not modified .java outside of Jdev, but in case if you did, let me know.
    3. After removing a superclass attribute, did you save all changes?
    4. We tried various combinations, but were unable to reproduce the project reopen issue that you mentioned was fixed by changing the ClassDescriptor.xml. It would be extremely helpful if you could either send us (anuj dot k dot jain at oracle dot com) a project that can reproduce this issue, or outline the exact steps.

  • RemoteMartException exception while saving generated Excel file

    I am getting RemoteMartException exception while saving generated Excel report in our production system. We are using Brio query and classes in sqrib package to create an excel file.
    We did NOT make any changes in the application code recently, suddenly this problem started coming, We also observed that only limited number of users are affected. For other no issues.
    Is there any change in directory properties such as “owner” would result in this behavior? How to find out the location of user directories where the reports are getting stored?
    ####<Apr 23, 2008 1:28:28 PM EDT> <Error> <AvisInteractive> <e2psavcinweb01> <AIProdSvr01> <Thread-23> <<anonymous>> <> <000000> <QueryRunner
    com.oneanswer.avisinteractive.exceptions.AvisInteractiveException: Failed to save file to user directory
         at com.oneanswer.avisinteractive.dod.queryrun.QueryRunner.saveExcelToUserDirectory(QueryRunner.java:279)
         at com.oneanswer.avisinteractive.dod.queryrun.QueryRunner.run(QueryRunner.java:169)
         at com.oneanswer.avisinteractive.threads.ThreadPool$WorkerThread.run(ThreadPool.java:174)
    Caused by: com.sqribe.rm.ReportMartException: 1000095
         at com.sqribe.rm.SessionImpl.submit(Unknown Source)
         at com.sqribe.rm.ReportMartEntityImpl.update(Unknown Source)
         at com.sqribe.rm.VersionedObjectImpl.update(Unknown Source)
         at com.oneanswer.utils.hpsutils.HPSCategoryHelper.saveFileToCategory(HPSCategoryHelper.java:115)
         at com.oneanswer.avisinteractive.dod.queryrun.QueryRunner.saveExcelToUserDirectory(QueryRunner.java:266)
         ... 2 more
    >

    Ensure that you have not opened any excel file or text file with similar name.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Ibook will not boot up

    Hello This is my first post, I am excited to have help from so many gurus. I have an iBook that turns on, but stays on the welcome screen with the dail spinning. Nothing happens after that, and the system will just stay like that for hours. Any ideas

  • Deleted importain things on disk.. trouble powering up.. HELP?

    HI i have a15 inch powerbook and my disk was getting full so i started to delte items i though where uneeded.. turns out i deleted stuff in the system folder that were importain now it just keeps trying to power up then shutss its self down and keeps

  • Connecting HP Pavillon dv7 to Dish network Service

    I recently purchased a HP pavilon dv7 with a built in TV tuner. I have cable tv through DISH network and I m struggling to get my laptop connected with my DISH cable service. I have tried the analog TV antena that came with the laptop and I m able to

  • Internet Load Balancing - Routing Issue

    Dear all, good day... in our ministry we are going to contract with 2 ISPs to provide us with the internet service (one of them will be the main line 16 MB, and the other line will be working as a backup line). Now, here is my question, is there any

  • Best way to change iProc default for Internal vs External Source

    We are using iProc for items that are available both from external suppliers and internal warehouses. Unfortunately, our sourcing rules are set up such that the source defaults to external even if the item is available internally. We cannot set up ou