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?
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 AMHi 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 -
When I deploy the cube which is sitting on my PC (local) the following 4 errors come up:
Error 1 The datasource , 'AdventureWorksDW', contains an ImpersonationMode that that is not supported for processing operations. 0 0
Error 2 Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Adventure Works DW', Name of 'AdventureWorksDW'. 0 0
Error 3 Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Customer', Name of 'Customer' was being processed. 0 0
Error 4 Errors in the OLAP storage engine: An error occurred while the 'Customer Alternate Key' attribute of the 'Customer' dimension from the 'Analysis Services Tutorial' database was being processed. 0 0Sorry hit the wrong button there. That is not entire solution and setting it to default would work when using a single box and not in a distributed application solution. If you are creating the analysis database manually or using the wizard then you can
set the impersonation to your heart content as long as the right permission has been set on the analysis server.
In my case I was using MS Project Server 2010 to create the database in the OLAP configuration section. The situation is that the underlying build script has been configured to use the default setting which is the SQL Service account and this account does
not have permission in Project Server I believe.
Changing the account to match the Project service account allowed for a successful build \ creation of the database. My verdict is that this is a bug in Project Server because it needs to include the option to choose impersonation when creating the Database
this way it will not use the default which led to my error in the first place. I do not think there is a one fix for all in relations to this problem it is an environment by environment issue and should be resolved as such. But the idea around fixing it is
if you are using the SQL Analysis server service account as the account creating the database and cubes then default or service account is fine. If you are using a custom account then set that custom account in the impersonation details after you have granted
it SQL analysis administrator role. You can remove that role after the DB is created and harden it by creating a role with administrative permissions.
Hope this helps. -
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. DeslandesHi,
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. -
I thought I would restore my iphone so I backed it up and everything it backed up fine.
It will put the firmware on the phone fine it also syncs but it come up and says warring it didn’t sync the number of apps. Then I press ok then I get this.
iTunes could not sync information to the iphone because a connection could not be established to the iphone
When I re plug in the I phone in it shows it the data synced but it’s all other
It’s just a 8 gig I phone
I up dated to windows 7 so I thought that was it so I tried it with windows xp the same thing happened
And the newest I tunes would a older I tunes workI thought some screen shots may help
The first one is at it syncs you can see at the bottom the apps are green and the other is yellow like it should be.
this one is after it syncs and the frist Warning notice the other now
warn #2
warn #3
and the i phone -
HT1386 connection could not be established to the iphone
Hi
I have a problem when I sync my phone. a message show "itunes could not sync information to the iphone because connection could not be established to the iphone" Please help.I am also getting this error with two iPad 2s and an iPhone 5. All are on iOS 6.0.1 and this is with iTunes 11 on a Windows 7 PC. I also have an iPhone 4 that does not seem to have an issue that I can tell. When I plug in the iPhone 5 and one of the iPads, it will start to to sync and right at the end I get that message. It will, however, still continue to sync the device after the error message pops up. With the one iPad, which is rarely connected to computer, it will find the iPad via wifi when iTunes is opened, but I will get that message when it is performing its initial sync.
While I kept having sync issues when using iTunes 10.7, this is a new issue for me. I was also getting a lot of warnings that the iPhone or iPad could not be synced because the connection was lost even though the iPad and iPhone were connected via USB cable. In those cases, the sync would just abort. I have not gotten that error though in two days. At the time to resolve that issue, I needed to disconnect the USB cable, reset the iPhone/iPad, and then reconnect the USB cable.
I really wish Apple would figure out these sync issues.
- Merg -
This is a new problem for an IPod Touch I have had for a year. The IPod is hooked up by cable and appears in ITunes. I can examine all the content on the IPOD and I can click "sync". It goes through to Step 7 and then the error messages occur. First "a session could not be started with the IPod" and when that dialogue box is closed, the message "a connection could not be established to the IPod."
Maybe:
Sync Session Failed to Start iTouch iOS5: Apple Support Communities
iphone could not be synced sync session failed to start...: Apple Support Communities -
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 ShedgeHi 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 -
Itunes could not sync because a connection could not be established to the Iphone
I have been trying to sync my 4s and I keep getting "Itunes could not sync because a connection could not be established to the Iphone"
I am also getting this error with two iPad 2s and an iPhone 5. All are on iOS 6.0.1 and this is with iTunes 11 on a Windows 7 PC. I also have an iPhone 4 that does not seem to have an issue that I can tell. When I plug in the iPhone 5 and one of the iPads, it will start to to sync and right at the end I get that message. It will, however, still continue to sync the device after the error message pops up. With the one iPad, which is rarely connected to computer, it will find the iPad via wifi when iTunes is opened, but I will get that message when it is performing its initial sync.
While I kept having sync issues when using iTunes 10.7, this is a new issue for me. I was also getting a lot of warnings that the iPhone or iPad could not be synced because the connection was lost even though the iPad and iPhone were connected via USB cable. In those cases, the sync would just abort. I have not gotten that error though in two days. At the time to resolve that issue, I needed to disconnect the USB cable, reset the iPhone/iPad, and then reconnect the USB cable.
I really wish Apple would figure out these sync issues.
- Merg -
ORA-20100: AppDomain could not be created for the specified security level
We recently updated our development environment to Visual Studio 2010. We have previously deployed (with success) .Net stored procedures from Visual Studio 2005 to our Oracle 10gR2 database. I am currently trying to configure a local instance (called local) of Oracle 10gR2 database to test deployment of .Net stored procedures to Oracle 10gR2 via Visual studio 2010 and ODT version 11.2.0.1.2. I have built the demo from the ode developer guide and gotten as far as deploying it but executing the stored procedures from VS 2010 or SQL*Plus produces the following error...
ORA-20100: AppDomain could not be created for the specified security level
ORA-06512: at "SYS.DBMS_CLR", line 152
ORA-06512: at "SCOTT.GETDEPTNO", line 7
Here is what I have done.
(Server)
1. Installed oracle 10gR2 with ODE.Net
2. Installed Oracle 10gR2 patch set 22
3. Installed ODE upgrade from Oracle Developer Tools for Visual Studio .NET with Oracle 10g Release 2 ODAC 10.2.0.2.21
(Client)
4. Installed Oracle Developer Tools for Visual Studio .NET with Oracle 10g Release 2 ODAC 10.2.0.2.21 (In new client home).
5. Installed patch set 22 on 10g client home.
6. Installed Oracle 11g Release 2 ODAC 11.2.0.1.2 with Oracle Developer Tools for Visual Studio(in new 11g client home, only for VS 2010)
I have made some minor changes (GAC) etc. per the following threads...
ODE.NET 11.1.0.7.20 on 10g Database?!
Re: Error: System.TypeInitializationException
The database appears to be fully functional via TOAD - SQL plus etc. I can't find much on this error but it appears Oracle needs some permissions to launch an ASP.Net application that it does not have. Any help would be GREATLY appreciated, don't hesitate to ask for additional details.The KB article is almost what we have apart from theitalic underlined
part
Consider the following scenario:
You use a domain administrator account to log on to a computer that is running Windows 7 or Windows Server 2008 R2.
You use the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in to connect to a domain controller.
You open the Properties dialog box of a user account.
The user account has sole access to a shared folder path that cannot be accessed by the administrator account.
You set the Remote Desktop Services Home Folderattribute to the shared folder path.
NoteThis attribute is located on the
Remote Desktop Services Profiletab.
You click Apply or OK.
In this scenario, you receive the following error message:
The home folder could not be created because: The network name cannot be found.
Note If you click Apply or OK again, no error message is returned. However, the setting is not saved.
I think the important bit is
The user account has sole access to a shared folder path that cannot be accessed by the administrator account.
We manually create the shares on our NAS and then just want to enter the path in the profile tab, I suppose the question is how to we stop it trying to create the shares ? -
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 - 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
ENDCheck, 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. -
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 lotPost 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? -
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,
mattThis 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. -
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
LiLi556035 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();
Maybe you are looking for
-
Any solutions on how to delete the "ghost songs" ? P.S I deleted all the songs from itunes and restored from backup but that did nothing
-
MIRO Down Payment for PUrchase order ********* Exist
Dear all, I have made PO with three line items in that third line item i have done the down payment. i have made GRN and done Invoice for all the three line items. My question user is again doing the miro for the same particular po. Now system throwi
-
How to create interactive pdf for Ipad using InDesign CS6
Hi I created a Magazine layout using InDesign CS6 and wanted it to be viewed on native Ipad reader (but not as apps). I put interactivity features like page navigations and hyperlinks and converted it to interactive pdf. The problem was the links an
-
APP-PAY-51119: Error was encountered when processing Element Type US_TAX_VE
Hi., Getiing Error while running the quickpay request. Application :11.5.10.2 Database :10.2.0.5 OS : HP UX Error HR_51118_HRPROC_ERR_OCC_ON_ASG ASGNO 179279 APP-PAY-51118: Error was encountered when processing assignment 179279 HR_51119_HRPROC_ERR_O
-
Item Renderers Preview and JavaScript Generator wizard
Hi all, there are 2 feature I can't seem to get my hand on on the latest Beta release of FB3 (Beta 3): Item Renderers Preview and JavaScript Generator wizard. Can anyone elaborate on how to get these started? how can I check'em out? are they in the B