Exception [TOPLINK-4002] : A lock could not be obtained within the time req

Hi,
i am using Toplink bundled with Netbeans 5.5.1.
I have 2 projects : one with common objects and one with business objects. When a business session bean calls a common session bean in order to create and persist a common object used in business part, we have the following errors :
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: A lock could not be obtained within the time requested
Error Code: -1
Call: SELECT ID FROM IMAGESOWNER WHERE (ID = ?)
bind => [2]
Query: DoesExistQuery()
at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:304)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:551)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
at oracle.toplink.essentials.threetier.ServerSession.executeCall(ServerSession.java:465)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:213)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:199)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.selectRowForDoesExist(DatasourceCallQueryMechanism.java:642)
at oracle.toplink.essentials.queryframework.DoesExistQuery.executeDatabaseQuery(DoesExistQuery.java:243)
at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:609)
at oracle.toplink.essentials.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:536)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2219)
at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:937)
at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:894)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.checkForUnregisteredExistingObject(UnitOfWorkImpl.java:516)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork$1.iterate(RepeatableWriteUnitOfWork.java:123)
at oracle.toplink.essentials.internal.descriptors.DescriptorIterator.internalIterateReferenceObject(DescriptorIterator.java:174)
at oracle.toplink.essentials.internal.descriptors.DescriptorIterator.iterateReferenceObjectForMapping(DescriptorIterator.java:281)
at oracle.toplink.essentials.mappings.ObjectReferenceMapping.iterateOnRealAttributeValue(ObjectReferenceMapping.java:254)
at oracle.toplink.essentials.internal.indirection.IndirectionPolicy.iterateOnAttributeValue(IndirectionPolicy.java:207)
at oracle.toplink.essentials.mappings.ForeignReferenceMapping.iterate(ForeignReferenceMapping.java:571)
at oracle.toplink.essentials.internal.descriptors.ObjectBuilder.iterate(ObjectBuilder.java:2061)
at oracle.toplink.essentials.internal.descriptors.DescriptorIterator.iterateReferenceObjects(DescriptorIterator.java:296)
at oracle.toplink.essentials.internal.descriptors.DescriptorIterator.startIterationOn(DescriptorIterator.java:469)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.discoverUnregisteredNewObjects(RepeatableWriteUnitOfWork.java:145)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.discoverAllUnregisteredNewObjects(UnitOfWorkImpl.java:1278)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.assignSequenceNumbers(UnitOfWorkImpl.java:368)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.collectAndPrepareObjectsForCommit(UnitOfWorkImpl.java:707)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1098)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.issueSQLbeforeCompletion(UnitOfWorkImpl.java:2429)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.issueSQLbeforeCompletion(RepeatableWriteUnitOfWork.java:186)
at oracle.toplink.essentials.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:116)
at oracle.toplink.essentials.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:76)
at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:406)
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:358)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3736)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3515)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1305)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1267)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:197)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:104)
at $Proxy190.createAMember(Unknown Source)
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.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:204)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:123)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:196)
at ppcobjectssessionbeans.__PpcMemberSessionRemote_Remote_DynamicStub.createAMember(__PpcMemberSessionRemote_Remote_DynamicStub.java)
at ppcobjectssessionbeans._PpcMemberSessionRemote_Wrapper.createAMember(ppcobjectssessionbeans._PpcMemberSessionRemote_Wrapper.java)
at polyplastoclub.admin.addMember_action(admin.java:630)
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.el.parser.AstValue.invoke(AstValue.java:174)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:284)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
at javax.faces.component.UICommand.broadcast(UICommand.java:383)
at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
Caused by: java.sql.SQLException: A lock could not be obtained within the time requested
at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
at org.apache.derby.client.am.ResultSet.next(Unknown Source)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:502)
... 97 more
Caused by: org.apache.derby.client.am.SqlException: A lock could not be obtained within the time requested
at org.apache.derby.client.am.ResultSet.completeSqlca(Unknown Source)
at org.apache.derby.client.net.NetResultSetReply.parseFetchError(Unknown Source)
at org.apache.derby.client.net.NetResultSetReply.parseCNTQRYreply(Unknown Source)
at org.apache.derby.client.net.NetResultSetReply.readFetch(Unknown Source)
at org.apache.derby.client.net.ResultSetReply.readFetch(Unknown Source)
at org.apache.derby.client.net.NetResultSet.readFetch_(Unknown Source)
at org.apache.derby.client.am.ResultSet.flowFetch(Unknown Source)
at org.apache.derby.client.net.NetCursor.getMoreData_(Unknown Source)
at org.apache.derby.client.am.Cursor.stepNext(Unknown Source)
at org.apache.derby.client.am.Cursor.next(Unknown Source)
at org.apache.derby.client.am.ResultSet.nextX(Unknown Source)
... 99 more
If i persist the common object in business part, i have no problem : is it a toplink limit or there is something to do ?
Best regards
H. Deslandes

Hi,
I am getting same error code but with different error details.
Whenever my BPEL process is idle for a long time and then if I execute the BPEL process, it gives me an error from db adapter as shown here:
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="code">
<code>17002
</code>
</part>
-<part name="summary">
<summary>
file:/oracle/product/Oracle_SOA_10.1.3/bpel/domains/default/tmp/.bpel_IHCloseTaskResponse_1.0_aaa6a3e5c7a3340eff9954dbeaf1e374.tmp/InsertIHCloseDB.wsdl [ InsertIHCloseDB_ptt::write(IhCloseMainCollection) ] - WSIF JCA Execute of operation 'write' failed due to: DBWriteInteractionSpec Execute Failed Exception.
write failed. Descriptor name: [InsertIHCloseDB.IhCloseMain]. [Caused by: Io exception: Broken pipe]
; nested exception is:
     ORABPEL-11616
DBWriteInteractionSpec Execute Failed Exception.
write failed. Descriptor name: [InsertIHCloseDB.IhCloseMain]. [Caused by: Io exception: Broken pipe]
Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Io exception: Broken pipeError Code: 17002
Call:SELECT TIH_REFERENCE_NUMBER FROM IH_CLOSE_MAIN WHERE (TIH_REFERENCE_NUMBER = ?)
     bind => [IH1107100305]
Query:DoesExistQuery().
</summary>
</part>
-<part name="detail">
<detail>
Internal Exception: java.sql.SQLException: Io exception: Broken pipeError Code: 17002
Call:SELECT TIH_REFERENCE_NUMBER FROM IH_CLOSE_MAIN WHERE (TIH_REFERENCE_NUMBER = ?)
     bind => [IH1107100305]
Query:DoesExistQuery()
</detail>
</part>
</remoteFault>
Can any body help me to sort out this problem, please?
Many thanks in advance.

Similar Messages

  • SQL Exception: A lock could not be obtained within the time requested

    Hi Friends,
    In one of my processes there is an automatic activity which reads some records from an excel sheet and loads them in a separated array of objects and then for each object in the array it creates a copy using Split-N. There are about 2000 records read which takes about 3 minutes to process in Fuego Studio. But, when it comes to process Split-N activity, it takes pretty long time... keeps processing the for loop for about 15 mins and then I get SQL Exception: SQL Exception: A lock could not be obtained within the time requested (Details below). In the meantime it processes close to 950 records.
    In order to resolve it I tried increasing timeout interval in Server Preferences to 2400 secs changig default 1200 secs but no results.
    To my utter surprise none of the logMessages get logged until Split-N activity completes.
    Can somebody please put more light on this and suggest if I'm doing something wrong?
    FYI, I'm posting my Split-N code and the SQL exception details.
    EXCEPTION
    =========
    Problems updating the BAM database. Reason:Unable to connect to the database.
    Caused by: A lock could not be obtained within the time requested
    fuego.analyzer.UpdaterRuntimeException: Unable to connect to the database.
         at fuego.analyzer.UpdaterRuntimeException.cannotConnecToDatabase(UpdaterRuntimeException.java:80)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:494)
         at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:273)
         at fuego.analyzer.UpdaterRunner.runUpdater(UpdaterRunner.java:176)
         at fuego.server.service.BAMRunnerService.runUpdater(BAMRunnerService.java:62)
         at fuego.server.execution.BAMUpdater.execute(BAMUpdater.java:33)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:290)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:465)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:543)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:216)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:116)
         at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:56)
         at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
         at fuego.server.execution.ToDoItem.executeAutomaticWork(ToDoItem.java:265)
         at fuego.server.execution.ToDoItem.run(ToDoItem.java:536)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:752)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:732)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:138)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:130)
         at fuego.fengine.ToDoQueueThread$PrincipalWrapper.processBatch(ToDoQueueThread.java:429)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:816)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:395)
    Caused by: SQL Exception: A lock could not be obtained within the time requested
         at com.ibm.db2cs.m.j.generateCsSQLException(Unknown Source)
         at com.ibm.db2cs.m.b.wrapInSQLException(Unknown Source)
         at com.ibm.db2cs.m.b.handleException(Unknown Source)
         at com.ibm.db2cs.m.d.handleException(Unknown Source)
         at com.ibm.db2cs.m.t.handleException(Unknown Source)
         at com.ibm.db2cs.m.s.closeOnTransactionError(Unknown Source)
         at com.ibm.db2cs.m.s.movePosition(Unknown Source)
         at com.ibm.db2cs.m.s.next(Unknown Source)
         at fuego.jdbc.FaultTolerantResultSet.next(FaultTolerantResultSet.java:553)
         at fuego.analyzer.Updater.loadInstanceInfoValues(Updater.java:1039)
         at fuego.analyzer.Updater.loadInstanceInfoValues(Updater.java:988)
         at fuego.analyzer.Updater.loadInstanceInfo(Updater.java:982)
         at fuego.analyzer.Updater.synchronize(Updater.java:252)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:480)
         ... 20 moreSplit-N Code
    ==========
    for (int i = 0; i <= (eventList.events.count() - 1); i++) {
        copy = clone(this);
        logMessage("INSTANCE(" + (i + 1) + ") CLONED: " + copy.currEvent.text_data, severity : DEBUG);
        copy.currEvent = eventList.events.event;
    logMessage("Event(" + (i + 1) + ") Assigned.", severity : DEBUG);
    copy.eventList = null;
    logMessage("EventList(" + (i + 1) + ") set to null.", severity : DEBUG);
    copy.description = (copy.currEvent.text_data + "(" + copy.currEvent.login_name + ")").strip(len : 200);
    logMessage("EVENT(" + (i + 1) + ") COPIED: " + copy.currEvent.text_data, severity : DEBUG);
    Any help in this regard would be highly appreciated.
    Regards,
    Manoj
    =============================================
    [url http://www.economicalwebsites.com]Cheap Web Hosting by EconomicalWebsites.com
    =============================================
    Edited by goelmk at 12/05/2007 8:14 AM

    Hi Friends,
    In one of my processes there is an automatic activity which reads some records from an excel sheet and loads them in a separated array of objects and then for each object in the array it creates a copy using Split-N. There are about 2000 records read which takes about 3 minutes to process in Fuego Studio. But, when it comes to process Split-N activity, it takes pretty long time... keeps processing the for loop for about 15 mins and then I get SQL Exception: SQL Exception: A lock could not be obtained within the time requested (Details below). In the meantime it processes close to 950 records.
    In order to resolve it I tried increasing timeout interval in Server Preferences to 2400 secs changig default 1200 secs but no results.
    To my utter surprise none of the logMessages get logged until Split-N activity completes.
    Can somebody please put more light on this and suggest if I'm doing something wrong?
    FYI, I'm posting my Split-N code and the SQL exception details.
    EXCEPTION
    =========
    Problems updating the BAM database. Reason:Unable to connect to the database.
    Caused by: A lock could not be obtained within the time requested
    fuego.analyzer.UpdaterRuntimeException: Unable to connect to the database.
         at fuego.analyzer.UpdaterRuntimeException.cannotConnecToDatabase(UpdaterRuntimeException.java:80)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:494)
         at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:273)
         at fuego.analyzer.UpdaterRunner.runUpdater(UpdaterRunner.java:176)
         at fuego.server.service.BAMRunnerService.runUpdater(BAMRunnerService.java:62)
         at fuego.server.execution.BAMUpdater.execute(BAMUpdater.java:33)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:290)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:465)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:543)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:216)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:116)
         at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:56)
         at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
         at fuego.server.execution.ToDoItem.executeAutomaticWork(ToDoItem.java:265)
         at fuego.server.execution.ToDoItem.run(ToDoItem.java:536)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:752)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:732)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:138)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:130)
         at fuego.fengine.ToDoQueueThread$PrincipalWrapper.processBatch(ToDoQueueThread.java:429)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:816)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:395)
    Caused by: SQL Exception: A lock could not be obtained within the time requested
         at com.ibm.db2cs.m.j.generateCsSQLException(Unknown Source)
         at com.ibm.db2cs.m.b.wrapInSQLException(Unknown Source)
         at com.ibm.db2cs.m.b.handleException(Unknown Source)
         at com.ibm.db2cs.m.d.handleException(Unknown Source)
         at com.ibm.db2cs.m.t.handleException(Unknown Source)
         at com.ibm.db2cs.m.s.closeOnTransactionError(Unknown Source)
         at com.ibm.db2cs.m.s.movePosition(Unknown Source)
         at com.ibm.db2cs.m.s.next(Unknown Source)
         at fuego.jdbc.FaultTolerantResultSet.next(FaultTolerantResultSet.java:553)
         at fuego.analyzer.Updater.loadInstanceInfoValues(Updater.java:1039)
         at fuego.analyzer.Updater.loadInstanceInfoValues(Updater.java:988)
         at fuego.analyzer.Updater.loadInstanceInfo(Updater.java:982)
         at fuego.analyzer.Updater.synchronize(Updater.java:252)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:480)
         ... 20 moreSplit-N Code
    ==========
    for (int i = 0; i <= (eventList.events.count() - 1); i++) {
        copy = clone(this);
        logMessage("INSTANCE(" + (i + 1) + ") CLONED: " + copy.currEvent.text_data, severity : DEBUG);
        copy.currEvent = eventList.events.event;
    logMessage("Event(" + (i + 1) + ") Assigned.", severity : DEBUG);
    copy.eventList = null;
    logMessage("EventList(" + (i + 1) + ") set to null.", severity : DEBUG);
    copy.description = (copy.currEvent.text_data + "(" + copy.currEvent.login_name + ")").strip(len : 200);
    logMessage("EVENT(" + (i + 1) + ") COPIED: " + copy.currEvent.text_data, severity : DEBUG);
    Any help in this regard would be highly appreciated.
    Regards,
    Manoj
    =============================================
    [url http://www.economicalwebsites.com]Cheap Web Hosting by EconomicalWebsites.com
    =============================================
    Edited by goelmk at 12/05/2007 8:14 AM

  • Help with exception: A connection could not be obtained in the specified login time of 5 seconds

    Hi Kodo gurus,
    I run into following problem:
    Since I start to use JDOQL queries, the system I am developing start to
    throw Exception saying:
    javax.jdo.JDODataStoreException:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
    [SQL=SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.booldefaultval,
    t0.datatype, t0.name, t0.strdefaultval FROM PROPERTYDEFX t0 WHERE
    t0.name = 'learningMode1']
    [PRE=SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.booldefaultval,
    t0.datatype, t0.name, t0.strdefaultval FROM PROPERTYDEFX t0 WHERE
    t0.name = ?]
    A connection could not be obtained in the specified login time of 5
    seconds. [code=0;state=null]
    NestedThrowables:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
    [SQL=SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.booldefaultval,
    t0.datatype, t0.name, t0.strdefaultval FROM PROPERTYDEFX t0 WHERE
    t0.name = 'learningMode1']
    [PRE=SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.booldefaultval,
    t0.datatype, t0.name, t0.strdefaultval FROM PROPERTYDEFX t0 WHERE
    t0.name = ?]
    A connection could not be obtained in the specified login time of 5 seconds.
         at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExceptions.java:23)
         at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:732)
         at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.executeQuery(JDBCQuery.java:93)
         at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:792)
         at
    com.solarmetric.kodo.query.QueryImpl.executeWithArray(QueryImpl.java:668)
         at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:609)
    It seems it always happens when we are doing a query. I had the
    "javax.jdo.option.MaxPool=20" and for postgresql I have "max_connections
    = 80", the action I am doing at that time is quite simple (and the
    system is just freshly started) and I would not expect it is using more
    than 2 connections since there is only one read and one write going on.
    Do you guys have any clue how could this happen? do I miss something
    obvious? and how are the connections managed for the query?
    thanks a lot!
    Tao

    Hi, Steve,
    Sorry I am late on the responding - was distracted by some other stuff -
    here is the stack trace I got:
    // STATCK TRACE
    //###############################################################javax.jdo.JDODataStoreException:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
    [SQL=SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.booldefaultval,
    t0.datatype, t0.name, t0.strdefaultval FROM PROPERTYDEFX t0 WHERE
    t0.name = 'learningMode3']
    [PRE=SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.booldefaultval,
    t0.datatype, t0.name, t0.strdefaultval FROM PROPERTYDEFX t0 WHERE
    t0.name = ?]
    A connection could not be obtained in the specified login time of 5
    seconds. [code=0;state=null]
    NestedThrowables:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
    [SQL=SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.booldefaultval,
    t0.datatype, t0.name, t0.strdefaultval FROM PROPERTYDEFX t0 WHERE
    t0.name = 'learningMode3']
    [PRE=SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.booldefaultval,
    t0.datatype, t0.name, t0.strdefaultval FROM PROPERTYDEFX t0 WHERE
    t0.name = ?]
    A connection could not be obtained in the specified login time of 5 seconds.
    at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExceptions.java:23)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:732)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.executeQuery(JDBCQuery.java:93)
    at
    com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:792)
    at
    com.solarmetric.kodo.query.QueryImpl.executeWithArray(QueryImpl.java:668)
    at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:609)
    at
    com.cloverworxs.impl.as.profile.PropertyHelperImpl.findPropertyDefByName(PropertyHelperImpl.java:37)
    at
    com.cloverworxs.impl.as.profile.ProfileBase.getStringProperty(ProfileBase.java:103)
    at
    com.cloverworxs.app.struts.handler.ProfileHelper.getLearningModes(ProfileHelper.java:177)
    at
    com.cloverworxs.app.struts.handler.KuarkHandler.handleTree(KuarkHandler.java:106)
    at
    com.cloverworxs.app.struts.handler.MovableKuarkHandler.handleTree(MovableKuarkHandler.java:89)
    at
    com.cloverworxs.app.struts.handler.RecorderKuarkHandler.handle(RecorderKuarkHandler.java:111)
    at
    com.cloverworxs.app.struts.action.RecorderController.detail(RecorderController.java:251)
    at
    com.cloverworxs.app.struts.action.AbstractModelAction.execute(AbstractModelAction.java:118)
    at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at
    com.cloverworxs.app.struts.RequestProcessor.process(RequestProcessor.java:44)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
    at
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at
    org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
    at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
    at
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
    at java.lang.Thread.run(Thread.java:536)
    NestedThrowablesStackTrace:
    java.sql.SQLException: A connection could not be obtained in the
    specified login time of 5 seconds.
    at
    com.solarmetric.datasource.DataSourceImpl$AbstractPool.timeout(DataSourceImpl.java:615)
    at
    com.solarmetric.datasource.DataSourceImpl$AbstractPool.getConnection(DataSourceImpl.java:589)
    at
    com.solarmetric.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:326)
    at
    com.solarmetric.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:319)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection(DataSourceConnector.java:51)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnectionFromFactory(SQLExecutionManagerImpl.java:183)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:142)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.prepareStatementInternal(SQLExecutionManagerImpl.java:807)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedQueryInternal(SQLExecutionManagerImpl.java:761)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQueryInternal(SQLExecutionManagerImpl.java:691)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:372)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:356)
    at
    com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.selectPrimaryMappings(ClassMapping.java:1221)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:707)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.executeQuery(JDBCQuery.java:93)
    at
    com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:792)
    at
    com.solarmetric.kodo.query.QueryImpl.executeWithArray(QueryImpl.java:668)
    at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:609)
    at
    com.cloverworxs.impl.as.profile.PropertyHelperImpl.findPropertyDefByName(PropertyHelperImpl.java:37)
    at
    com.cloverworxs.impl.as.profile.ProfileBase.getStringProperty(ProfileBase.java:103)
    at
    com.cloverworxs.app.struts.handler.ProfileHelper.getLearningModes(ProfileHelper.java:177)
    at
    com.cloverworxs.app.struts.handler.KuarkHandler.handleTree(KuarkHandler.java:106)
    at
    com.cloverworxs.app.struts.handler.MovableKuarkHandler.handleTree(MovableKuarkHandler.java:89)
    at
    com.cloverworxs.app.struts.handler.RecorderKuarkHandler.handle(RecorderKuarkHandler.java:111)
    at
    com.cloverworxs.app.struts.action.RecorderController.detail(RecorderController.java:251)
    at
    com.cloverworxs.app.struts.action.AbstractModelAction.execute(AbstractModelAction.java:118)
    at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    And following is the code of "findPropertyDefByName" method:
    // SOURCE CODE
    public PropertyDef findPropertyDefByName(String propertyName) {
    Extent propertyExtent = pm.getExtent(PropertyDef.class, true);
    String filter = "name == propertyName";
    Query q = pm.newQuery(propertyExtent, filter);
    q.declareParameters("java.lang.String propertyName");
    Collection c = (Collection) q.execute(propertyName);
    int size = c.size();
    if (size == 0) {
    return null;
    if (size > 1) {
    // bad exception type
    if (logger.isWarnEnabled()) {
    Iterator iter = c.iterator();
    while (iter.hasNext()) {
    Object obj = iter.next();
    logger.warn("result=" + obj);
    throw new RuntimeException(
    "Assertion of Uniqueness of propertyName failed");
    PropertyDef pdef = (PropertyDef) c.iterator().next();
    q.closeAll();
    propertyExtent.closeAll();
    return pdef;
    The transaction is started and committed outside of this call.
    Hope this helps you understanding my problem, and Thanks a lot!
    cheers,
    Tao
    Steve Kim wrote:
    Can you post or send me a test case or the applicable portion of the code?

  • Error: Page Metadata could not be obtained from the Portal database.

    Hi,
    Maybe some one can help me with this.
    After my installation (oas portal 10.1.4) I changed my URL in portal and sso.
    modplsql : http://<webserver>:<port>/pls/portal/htp.p?cbuf=test --> its working fine. I got test
    Parallel Page Engine (PPE) : http://<webserver>:<port>/portal/page --> its working fine. I got PPE is working.
    http://login.hostname:port/oiddas --> It`s working fine
    http://login.hostname:port/sso --> It`s working fine
    http://hostname:port/portal/page/portal/TOPLEVELSITE --> It's not working I got in firefox Error: Page Metadata could not be obtained from the Portal database. In explorer i got HTTP 500 error.
    I checked my application.log and I got this:
    **portal: id=45342345678,1 ContentFetcher Unexpected Exception Request Failed:oracle.webdb.dispatcher.DispatcherException: I/O Error dispatching request name=content-fetcher19 label=pageMeta url=http://<webserver>:port/portal/pls/portal/!PORTAL.wwpob_page.show/TOPLEVELSITE time=1ms timeout=60000ms process=Dispatching**
    Maybe some one can help me to solve this threat.
    Thank you.

    C@rlitos wrote:Edited by: C@rlitos on Sep 30, 2009 6:14 PM
    Hi!!
    To register the url in portal I used this doc 434795.1 - 558634.1 from metalink.
    http://download-west.oracle.com/docs/cd/B14099_17/core.1012/b13998/variants.htm#CBDBDJHD
    I verified and i got this:
    LSNR_TOKEN
    SITE_TOKEN
    SITE_ID
    LS_LOGIN_URL
    URLCOOKIE_VERSION
    ENCRYPTION_KEY
    ENCRYPTION_MASK_PRE
    ENCRYPTION_MASK_POST
    U
    oldurl.com:7781
    XY776FQWDCY4EFF
    8AC54EFF
    http://oldurl.com:7780/pls/orasso/orasso.wwsso_app_admin.ls_login
    v1.2
    2FWERFW768767866
    6B4DEERWF87W87897E89WRF897W3FC9
    F0FEC6AREW76786WEFWER76F8968695
    N
    newurl.com
    1RG8IYA4F9D2E30A
    F9D2E233A
    http://newurl.com/pls/orasso/orasso.wwsso_app_admin.ls_login
    v1.2
    B32852345661513F0
    1A5DTR546EYEYEHEHSVSGFB44C
    A33RTWERGERGERGREFWERF8
    N
    I havent create new token values.
    Edited by: C@rlitos on Sep 30, 2009 6:14 PMHave you configured your Infra with a new hostname on a different port ?
    Unless, you had installed your OAS with custom ports, and have not used the default ports for the components, your lsnr_token for the newurl has a problem. orasso and sso should be configured at 7777, and by default they configure at that port. That means that your newURL should be pointing to http://newurl.com:7777/pls/orasso/orasso.wwsso_app_admin.ls_login for the ls_login_url.
    This might have happened due to some error in registering your portal with the SSO. Have you used custom ports for your installations?
    Additionally, did you configure your newurl on port 80?

  • Error submitting tasks: Operation could not be completed within the specified time

    I've created a Batch Application and I'm having an issue running a job.  Its suppose to synchronize 2 azure blob containers.
    In my JobSplitter, I compare 2 azure blob containers and find the files in the first container that need to be copied over to the second one.  Just figuring out which files to copy over can take about 5 to 6 minutes the first time this is run depending
    on the number of files that need to get copied over.
    Once we have the files that need to be copied, we group them into sets and create a task for each set.
    The exe that the TaskProcessor runs doesn't do anything just yet. All it does is write the arguments sent to it into a file. Nothing major.
    On the last run, about 900 tasks were created. Four of the tasks completed successfully. I can download the output files for them just fine. The next 4 tasks failed with an error.
    Looking in the JobLogs, I see this:
    The job orchestrator finished
    Failed to process job ac8dd4a3-d882-4ec1-847d-48844fa3e1f4: Error submitting tasks: Operation could not be completed
    within the specified time. RequestId:27eab612-c8ce-4e4b-8dfb-00e7024c71ec Time:2015-01-29T00:37:03.5943898Z
    Has anyone seen this before?
    Thanks,
    matt

    This error is usually a transient error, typically related to an internal storage timeout.  We're working on a fix for it.
    In the meantime, if you go into the Batch Apps portal, select the failed job and click Reprocess in the command bar, Batch Apps should re-run the failed tasks and the not-run tasks.  (Note that the tasks that already succeeded will not be re-run, and
    we will not re-run the job splitter to create new tasks.)
    Please let us know if you continue to see this problem or if reprocessing the job doesn't work for you.

  • Error - Exclusive access could not be obtained because the database is in use

    I am actually trying to make a script (in Sql Server 2008) to restore one database from one backup file. I made the following code and I am getting an error -
    Msg 3101, Level 16, State 1, Line 3
    Exclusive access could not be obtained because
    the database is in use.
    Msg 3013, Level 16, State 1, Line 3
    RESTORE DATABASE is terminating abnormally.
    How do I fix this problem ?
    IF DB_ID('AdventureWorksDW') IS NOT NULL
    BEGIN
    RESTORE DATABASE [AdventureWorksDW]
    FILE = N'AdventureWorksDW_Data'
    FROM
    DISK = N'C:\Program Files\Microsoft SQL Server\
    MSSQL10_50.SS2008\MSSQL\Backup\AdventureWorksDW.bak'
    WITH FILE = 1,
    MOVE N'AdventureWorksDW_Data'
    TO N'C:\Program Files\Microsoft SQL Server\
    MSSQL10_50.SS2008\MSSQL\DATA\AdventureWorksDW.mdf',
    MOVE N'AdventureWorksDW_Log'
    TO N'C:\Program Files\Microsoft SQL Server\
    MSSQL10_50.SS2008\MSSQL\DATA\AdventureWorksDW_0.LDF',
    NOUNLOAD, STATS = 10
    END

    Check, if there are existing connections to the database you are restoring by following command
    select spid from sys.sysprocesses where dbid = db_id('AdventureWorksDW')
    if you see any existing connections then kill them by issuing KILL command Syntax for kill is
    KILL <SPID>
    once you see there are no more connections then 
    Use mastergoIF DB_ID('AdventureWorksDW') IS NOT NULL
    BEGIN
    RESTORE DATABASE [AdventureWorksDW]
    FILE = N'AdventureWorksDW_Data'
    FROM
    DISK = N'C:\Program Files\Microsoft SQL Server\
    MSSQL10_50.SS2008\MSSQL\Backup\AdventureWorksDW.bak'
    WITH FILE = 1,
    MOVE N'AdventureWorksDW_Data'
    TO N'C:\Program Files\Microsoft SQL Server\
    MSSQL10_50.SS2008\MSSQL\DATA\AdventureWorksDW.mdf',
    MOVE N'AdventureWorksDW_Log'
    TO N'C:\Program Files\Microsoft SQL Server\
    MSSQL10_50.SS2008\MSSQL\DATA\AdventureWorksDW_0.LDF',
    NOUNLOAD, STATS = 10
    END
    Mark as answer, if it works.

  • He instance with number 4 on host could not be started within the specified timeout.

    Hi,
    We are upgrading our BW Java from 7.0 to 7.4 SPS 07 and are in now in Execution Phase.
    Java system is not getting started.
    An error has occurred during the execution of the Start Java step.
    Could not start SAP instance with number 4. The instance with number 4 on host <hostname> could not be started within the specified timeout.
    In error logs
    Jul 8, 2014 11:31:16 AM [Error ]: Start of instances exceeded the timeout of 7200s.
    Jul 8, 2014 11:31:16 AM [Warning]: The instance could not be started. Will retry after a pause of 15 seconds.
    Jul 8, 2014 11:31:31 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.util.diag.DiagException: Could not start SAP instance with number 4.
    The instance with number 4 on host <hostname> could not be started within the specified timeout.
    Can you please help
    Thanks & Regards
    Amit Shedge

    Hi Amit,
    Please check if the instance exists in the system instance list with number 4 and <hostname>.
    sapcontrol -nr 04 -function GetSystemInstanceList
    If so, add SAPLOCALHOST and SAPLOCALHOSTFULL parameters to the following Java and SCS instance parameter files.
    Java instance parameter file: /SUM/sdt/<SID>/SYS/profile/<SID>_JC04_<hostname>
    SCS instance parameter file: /SUM/sdt/<SID>/SYS/profile/<SID>_SCSXX_<hostname>
    After adding the parameters, restart the sapstartsrv services for both of the above instances:
    sapcontrol -nr 04 -function RestartService
    sapcontrol -nr XX -function RestartService
    Repeat the failed step.
    BR,
    Alper Somuncu

  • Error Message : Object could not be scheduled within the specified time interval

    Post Author: mohamed elkashef
    CA Forum: Publishing
    Dear All when i try to run event for daily reports it sometimes take generation status failed with this error  message : Object could not be scheduled within the specified time interval so  i need to know the reason of failure and how can i fix  this error  thanks a lot 

    Post Author: nvnaresh
    CA Forum: Publishing
    Dear jsanzone,
    I'm facing the same error even when the server time out is more than the query execution time of the report.By server time out I assume connection time out of WebI report server which I have set to 180 min.But the actual query takes maximum of 5 min.
    We are using BO XIR2+SP2.
    I scheduled a webI report to get saved in Excel format to an Unmanaged disk location upon a File Event.
    We have 3 such reports to be scheduled on the same event.
    Expected frequency of File Event getting fired in a day is twice.Scheduling frequency I have set it as every one hour with the file event.
    This usually should work fine.
    But frequently 1 or 2 of the above 3 instances are getting failed with the following error "Object could not be scheduled with in specified time interval " after being in Running state for few hours(8). Amazingly this is not happening every time. May be once or twice in a week.This works fine after I restart the BO services and the same thing repeats after 3 or 4 days.
    Do I need to increase any server parameters?
    Why is this happening randomly?  

  • Exclusive access could not be obtained because the database is in use

    Hi
    I am trying to use sql server 2005 management stodio to restore a database. But I got this error message:
    Exclusive access could not be obtained because the database is in use
    Anyone know how to solve this problem?
    Thanks
    Li

     Li556035 wrote:
    Hi
    I am trying to use sql server 2005 management stodio to restore a database. But I got this error message:
    Exclusive access could not be obtained because the database is in use
    Anyone know how to solve this problem?
    Thanks
    Li
    If you don not have any process running on your pc that uses your database like Enterprise Manager or any other third party application, use
    SqlConnection.ClearAllPools();
     in C# code before restoring. Like the following code:
    Code Snippet
    public void BackupAndRestore(string Query)
         SqlConnection.ClearAllPools();
    SqlConnection connection = new     SqlConnection(ConfigurationManager.AppSettings["ConnectToMasterDB"]);
         SqlDataAdapter da = new SqlDataAdapter();
         da.SelectCommand = new SqlCommand();
         da.SelectCommand.Connection = connection;
         da.SelectCommand.CommandText = Query;
         da.SelectCommand.ExecuteNonQuery();

  • ERROR : Object could not be scheduled within the specified time interval

    I have the next error Object could not be scheduled within the specified time interval.
    When i schedule a report to be refreshed and the moment come when the report have to be refresh appear the error.
    i check the error in the following path in the CMC
    HOME> FOLDERS > USER FOLDERS > ... > "REPORT FOLDER"  Instance Properties
    Why i get this error?
    Anyone can give me a good solution to solve this error?
    Thanks!!!

    Hi Ed,
    The above error message is appearing due to the reason, when a large number of requests are scheduled to start at the same time, this may exceed the Maximum Number of Simultanius Requests that the deployment can support.
    To resolve this error message, increase the end time on the scheduled instance. To increase the end time, use the following steps:
    1. In the Infoview, browse to the desired report and click 'History'.
    2. Find the desired scheduled instance and click 'Reschedule'.
    3. Under the 'When' section, increase the end time for the scheduled instance.
    Upon completing these steps, the error message no longer appears.
    Hope it will help in resolving the error.
    Regards,
    Ritesh Nayyar

  • We bought a reconditioned IMac and time capsule,about a month ago the hard drive died and only left our files on the capsule which could not be retrieved from the time capsule so it got stored as a file on the operating system

    Our IMac's hard drive died and we thought great we bought a time capsule to back up the immages and files,except when we had the hard drive replaced the time capsule did not recognize the newer opperating system and would not reboot the files back,so the apple store tech loaded them into a file folder and loaded them to the main screen and erased the time capsule,the problem now is how to load this file back permenantly and watch video's that are stored,when in I Photo when I try to view video content I get a message stating that I may need to download more software to support this format.

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • 'BISystemUser' was authenticated but could not be located within the Ident

    Hi All,
    Getting above error after server restarts....
    Not able to login to Analytics page but EM and WLS console logins are fine...
    please help!

    Had to configure/remove some entries from LDAP file..

  • A Crystal Reports job failed because a free license could not be obtained i

    We have an enterprise application installed at a clients site where they have 10 CITRIX clients connecting to 5 APPLICATION servers (the servers are being load balanced). The application allows users to generate reports. The reports are generated on the APPLICATION servers. We have written some queued components which allow up to 5 reports to be generated at the same time. We have crystal reports XI installed on the APPLICATION servers. Currently we get the following error when users attempt to generate reports:
    A Crystal Reports job failed because a free license could not be obtained in the time allocated
    However if you change the queued components to only generate 1 report at any given time we do not get the error.
    Any ideas on what could be causing this?
    Thanks in advance.
    Raman.

    duplicate - please do not post multiple times

  • Crystal Report failed because a free license could not be obtained

    My question is about Crystal Report Standard (v. 10) and Crystal Report Professional (v.10)
    Trying to print labels on from my application using Crystal Report Standard Edition (v. 10) and I am getting the follow error.  And it doesnu2019t print any more.
    "Crystal Reports job fauile because a free license coukd not be obtained in the time allocated.  More licenses can be purchased direct from Crystal Decissions or thorough the Crystal Decisions Online Store"
    If a run the same application on another server using Crystal Report Professional Edition (v. 10) and get this error, but the print after few seconds.
    "A Crystal Reports job was delayed 2 seconds waiting for a free RDC runtime concurrente license to become available.  More licencses can be purchased direct from Crystal Decisions or through the Crystal Decisions Online Store"
    Is this happening because Standard / Professional differences?.  It is any way to workaround on the standard edition and made print again with out reboot server.  How many users can print at the same time?
    Thanks for your help.

    Hello Monica,
    In your earlier posts you said the RDC was referenced in one of the licensing warning messages.  The licensing warnings you've listed here would normally be seen in a Crystal Reports .NET application, not an RDC application.  I don't see any details about your application though.  More details about the actual application would be helpful.  What type of application is it? Which Crystal component are you using?  Which IDE did you use to create your application?  How did you deploy the application?  What type of keycode did you use to deploy?   Is a full version of Crystal Reports also installed along with the runtime application?  Also, please confirm whether or not this is a web or windows application.
    Since these are CR.NET licensing warnings I'll address the errors and warnings related to the CR.NET object model.
    Crystal Reports 10 Standard edition and Professional edition are not a development level products.  These types of keycodes would not normally allow a runtime application to operate.  You'd normally see the warning messages if you were using either a CR10 Developer, or CR10 Advanced Developer keycode when deploying a CR.NET application.
    The CR.NET runtime licensing model has 3 Concurrent Processing Licenses (CPLs).  This number can not be changed.  CR10 Developer edition does not include queuing in it's licensing model, so when the 4th request comes in if the 3 CPLs are in use then the 4th request will fail with the "free license could not be obtained" error message.
    CR10 Advanced Developer edition includes queuing in it's licensing model, so when the 4th request comes in if the 3 CPLs are in use then the 4th request will queue and test to find a free license every 2 seconds for approximately 2 minutes.  In this case you'll see warning messages in the event viewer.
    The 3 CPLs can not be increased - they're a fixed limit based on the number of CPUs on a particular web server.  If you use a web garden or web farm and use load balancing then the number of CPLs increases as the number of CPUs increases.  It's 3 CPLs per CPU.
    There is no way to force the licenses to be freed up.  This is handled by the CR.NET report engine.  When the engine is finished using the license it is freed up automatically.
    The Report Designer Component (RDC) does have a 5 seat model in CR10, but it does not follow the same queuing model seen with the CR.NET component.
    Once you post more information about your application, and the Crystal Reports runtime component you're really using we can see if the above information applies or not.
    Sincerely,
    Dan Kelleher

  • Exception [TOPLINK-4002]

    Hi,I have no idea,help.thanks
    javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.RemoteException: null; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b40-rc (03/20/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException: Error Code: 0
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.RemoteException: null; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b40-rc (03/20/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException:Connection refused: connect。
    Error Code: 0
         at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:191)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:176)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:123)
         at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:196)
         at org.acrowise.RCP.__SessionEJB_Remote_DynamicStub.getEmail(__SessionEJB_Remote_DynamicStub.java)
         at org.acrowise.RCP._SessionEJB_Wrapper.getEmail(org.acrowise.RCP._SessionEJB_Wrapper.java)
         at org.acrowise.client.testClient.main(testClient.java:21)
    Caused by: java.rmi.RemoteException: null; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b40-rc (03/20/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException: Connection refused: connect。
    Error Code: 0
         at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:237)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1337)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1267)
         at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:197)
         at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:104)
         at $Proxy82.getEmail(Unknown Source)
         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.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:125)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:658)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:198)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1821)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1681)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1063)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:179)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:781)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:538)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2542)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:502)
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b40-rc (03/20/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException: Connection refused: connect。
    Error Code: 0
         at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:290)
         at oracle.toplink.essentials.jndi.JNDIConnector.connect(JNDIConnector.java:135)
         at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:170)
         at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:537)
         at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:212)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:111)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:84)
         at com.sun.enterprise.util.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:335)
         at com.sun.enterprise.util.EntityManagerWrapper.createNamedQuery(EntityManagerWrapper.java:733)
         at org.acrowise.RCP.SessionEJBBean.getEmail(SessionEJBBean.java:98)
         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.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1055)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:163)
         at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2846)
         at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3930)
         at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:190)
         ... 17 more
    Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException: Connection refused: connect。
         at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:102)
         at oracle.toplink.essentials.jndi.JNDIConnector.connect(JNDIConnector.java:130)
         ... 36 more
    javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.RemoteException: null; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b40-rc (03/20/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException Connection refused: connect。
    Error Code: 0
         at org.acrowise.RCP._SessionEJB_Wrapper.getEmail(org.acrowise.RCP._SessionEJB_Wrapper.java)
         at org.acrowise.client.testClient.main(testClient.java:21)

    TopLink Essentials is attempting to connect to a data source within your container and failing. Does the data source name provided in your persistence.xml match what is configured in the container?
    Doug

Maybe you are looking for