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?

Similar Messages

  • 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.

  • Error: The report source could not be retrieved from the state object.

    I have been trying to create a report in a JSF page. The relevant parts are below:
    Inside the JSP page, this is the code:
                  <jsp:useBean id="MyBean" class="com.nm.facade.rto.POJOViewerBean" scope="session" />
                    <jsp:setProperty name="MyBean" property="reportLocation" value="Report1.rpt" />
                   <v:reportPageViewer reportSource="#{MyBean.reportSource}"
                                           displayToolbarPrintButton="true"
                                           printMode="ActiveX"
                                           zoomPercentage="100"
                                           displayToolbarExportButton="true"
                                           displayToolbarRefreshButton="true"
                                           viewerName="My Viewer"
                   ></v:reportPageViewer>
    In the backing bean, this is the relevant code:
        public Object getReportSource() throws ReportSDKException
            if (propertiesChanged || reportSource == null)
                propertiesChanged = false;
                if (reportLocation == null)
                    throw new RuntimeException("The reportLocation property must be set before a report source is retrieved");
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.setReportAppServer(ReportClientDocument.inprocConnectionString);
                rcd.open(reportLocation, 0);
                DatabaseController dbc = rcd.getDatabaseController();
                //Create the POJO collection and populate it with data
                ReportData[] data =
                  new ReportData("B.B.", "King", 6, new Date(25, 9, 16)),
                    new ReportData("Muddy", "Waters", 7, new Date(15, 4, 4)),
                    new ReportData("John Lee", "Hooker", 8, new Date(16, 8, 16)),
                    new ReportData("Otis", "Rush", 9, new Date(34, 4, 29)),
                    new ReportData("Buddy", "Guy", 10, new Date(36, 7, 30))
                //Create the result set from the collection of POJOs
                POJOResultSetFactory factory = new POJOResultSetFactory(ReportData.class);
                factory.setVerbose(true);
                POJOResultSet results = factory.createResultSet(data);
                ResultSetMetaData metaData = results.getMetaData();
                //Set the resultset as the report datasource
                      //Get the table name from the 'Set Datasource Location' dialog in the Crystal Reports designer
                String reportTable = "getReportDataDataSource";
                dbc.setDataSource(results, reportTable, reportTable);       
                IReportSource reportSource = rcd.getReportSource();
                if (reportSource == null)
                    throw new RuntimeException("Unable to get a report source.");
            return reportSource;
    In the CRConfig.xml, this is what is there:
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>
        <reportlocation>../reports</reportlocation>
        <timeout>0</timeout>
        <ExternalFunctionLibraryClassNames>
             <classname></classname>
        </ExternalFunctionLibraryClassNames>
    </CrystalReportEngine-configuration>
    The report template 'Report1.rpt' is packaged under WEB-INF/reports in the war file.
    When I try to generate the report by accessing the JSF page, I am getting an error: "The report source could not be retrieved from the state object. "
    I am not sure what is wrong. Can someone help me in resolving this issue?
    Edited by: renshai on Jul 9, 2009 3:21 AM

    My formatting gets lost and the message looks unintelligible. After some experimentation, I found that if the message exceeds some length, the formatting is removed. Since I couldn't find any way to delete this post, I made another post with the same subject. Please ignore this post and help me to find a solution for the problem posted in the other thread with the same subject. Thanks in advance.

  • RFC Send could not be resolved against SAP system because its metadata could not be obtained...EXCEPTION FU_NOT_FOUND RAISED

    Hello,
    I am getting the following error in sending IDOC to SAP via WCF-SAP adapter in BizTalk Server 2009. I have the SOAP header in the adapter mentioned below. Also, wondering what is the convension for Action URL? Is it always "http://Microsoft.LobServices.Sap/2007/03/Rfc/"
    + Operation name mentioned in the Orchestration? I would appreciate if anyone could help me resolve this error.
    The adapter failed to transmit message going to send port "SendReceive_PO_IDOC_TO_SAP" with URL "sap://CLIENT=111;LANG=EN;@a/123.456.789.101/00?GWHOST=123.456.789.101&GWSERV=sapgw00&ListenerProgramId=ABCDEF111&RfcSdkTrace=False&AbapDebug=False".
    It will be retransmitted after the retry interval specified for this Send Port. Details:"Microsoft.ServiceModel.Channels.Common.MetadataException: RFC Send could not be resolved against SAP system because its metadata could not be obtained. ---> Microsoft.Adapters.SAP.RFCException:
    Details: ErrorCode=RFC_EXCEPTION. ErrorGroup=RFC_ERROR_APPLICATION_EXCEPTION. SapErrorMessage=EXCEPTION FU_NOT_FOUND RAISED.  AdapterErrorMessage=An error occurred while determining the function interface of the RFC Send.
       at Microsoft.Adapters.SAP.RFCException.HelperThrow(Int32 retCode, String additionalErrorMessage)
       at Microsoft.Adapters.SAP.RfcClientConnection.GetRfcFunctionInterface(String rfcName)
       at Microsoft.Adapters.SAP.InternalRfcMetadata..ctor(String originalRfcName, SAPConnection sapConnection)
       at Microsoft.Adapters.SAP.SAPMetadataContract.ResolveOperationMetadata(String operationId, TimeSpan timeout, TypeMetadataCollection& extraTypeMetadataResolved)
       at Microsoft.ServiceModel.Channels.Common.Design.MetadataCache.GetOperationMetadata(String uniqueId, Guid clientId, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.MetadataLookup.GetOperationDefinition(String operationId, TimeSpan timeout)
       at Microsoft.Adapters.SAP.SapFunctionMetadata.ResolveOperationMetadataUsingSdk(String absoluteName, String displayName, String funcName, String operationNamespace, SAPConnection sapConnection, Boolean isTrfc, MetadataLookup metadataLookup, TimeoutHelper
    timeoutHelper)
       --- End of inner exception stack trace ---
    Server stack trace: 
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    SOAP Header:
    <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Operation Name="Send" Action="http://Microsoft.LobServices.Sap/2007/03/Rfc/Send" />
    </BtsActionMapping>
    Thanks,
    Tarun

    Hello Morten,
    The Send is actually just the name of the operation in Orchestration and it does not exist in SAP. Hence, do I really need to have the SOAP header in WCF-SAP adapter or can I send the IDOC without any SOAP header info? When I try to send without
    SOAP header I get the following error. Can you help me resolve this?
    The adapter failed to transmit message going to send port "SendReceive_PO_IDOC_TO_SAP" with URL "sap://CLIENT=111;LANG=EN;@a/123.456.789.101/00?GWHOST=123.456.789.101&GWSERV=sapgw00&ListenerProgramId=ABCDEF111&RfcSdkTrace=False&AbapDebug=False". It
    will be retransmitted after the retry interval specified for this Send Port.  Details:"System.ArgumentNullException: Value cannot be null.
    Parameter name: key
       at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.CreateChannelFactory[TChannel](IBaseMessage bizTalkMessage)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.InitializeValues(IBaseMessage message)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2..ctor(IBaseMessage message, WcfTransmitter`2 transmitter)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfTransmitter`2.GetClientFromCache(String spid, IBaseMessage message)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfAsyncBatch`2.BatchWorker(List`1 messages)".
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Thanks,
    Tarun

  • Error message "Quantity could not be converted from GA to"

    Error message "Quantity could not be converted from GA to" gets displayed when i update any condition value/type ZMET in VA02 transaction.
    Where we need to maintain "Alternative unit of measure for the material"
    Plz do the needful. Points rewarded
    Regards,
    Sathish

    Dear Sathish
    Go to material master, select "Additional Data" tab.  There select "Units of measure" and maintain the alternative unit of measure and save.  Now retry.
    thanks
    G. Lakshmipathi

  • Error: ORA-16796: one or more properties could not be imported from the dat

    DGMGRL> CREATE CONFIGURATION prod as
    PRIMARY DATABASE IS prod
    CONNECT IDENTIFIER IS prod;Configuration "prod" created with primary database "prod"
    DGMGRL> ADD DATABASE standby as
    CONNECT IDENTIFIER IS standby
    MAINTAINED AS PHYSICAL;Error: ORA-16796: one or more properties could not be imported from the database
    Failed.
    DGMGRL> ADD DATABASE standby as
    CONNECT IDENTIFIER IS standby
    MAINTAINED AS PHYSICAL;Error: ORA-16796: one or more properties could not be imported from the database
    Failed.
    can any one help me out , i am not sure what could be the problem.
    i checked the listner and tnsnames every thing looks good, if u want me to post any thing else plz do let me know
    thanks
    firdous

    16796, 0000, "one or more properties could not be imported from the database"
    // *Cause:  The broker was unable to import property values for the database
    //          being added to the broker configuration. This error indicates:
    //          - The Oracle Net service name specified in DGMGRL CREATE
    //            CONFIGURATION or ADD DATABASE command was not one that provides
    //            access to the database being added.
    //          - There were no instances running for the database being added.
    // *Action: Remove the database from the configuration using the REMOVE
    //          CONFIGURATION or REMOVE DATABASE command. Make sure that the
    //          database to be added has at least one instance running and that the
    //          Oracle Net service name provides access to the running instance.
    //          Also check the broker log file for additional information.
    //          Then, reissue the CREATE CONFIGURATION or ADD DATABASE command.

  • Error: System.Management.Automation.RemoteException: Federation information could not be received from the external organization.

    Greetings.
    I'm getting 2 errors and 1 warning in the Hybrid Configuration object:
    INFO : Session=Tenant Cmdlet=Get-FederationInformation -DomainName 'SanJuanCiudadPatria.com' -BypassAdditionalDomainValidation: $true START
    ERROR : System.Management.Automation.RemoteException: Federation information could not be received from the external organization.
    INFO : Session=Tenant Cmdlet=Get-FederationInformation FINISH Time=2620.7003ms
    INFO : Session=Tenant Cmdlet=Get-FederationInformation -DomainName 'SanJuanCiudadPatria.com' -BypassAdditionalDomainValidation: $true START
    ERROR : System.Management.Automation.RemoteException: Federation information could not be received from the external organization.
    INFO : Session=OnPrem Cmdlet=Get-OrganizationConfig START
    INFO : Session=OnPrem Cmdlet=Get-OrganizationConfig FINISH Time=203.229ms
    WARNING : Office 365 was unable to communicate with your on-premises Autodiscover endpoint.  This is typically due to incorrect DNS or firewall configuration.  The Office 365 tenant is currently configured to use the following URL for Autodiscover
    queries from the Office 365 tenant to the on-premises organization - https://autodiscover.SanJuanCiudadPatria.com/autodiscover/autodiscover.svc/WSSecurity. See the following article for further information: http://go.microsoft.com/fwlink/p/?LinkId=275838
    Any help would be greatly appreciated.
    Hello World.

    Hello,
    If the IIS configuration is missing the svc-Integrated handler mapping, the issue may occur. Please try to refer to the following KB to check if the issue can be solved.
    http://support.microsoft.com/kb/2626696
    Please check if there is A record for autodiscover on public DNS server or DNS SRV record.
    Additional blog for your reference.
    http://blogs.technet.com/b/mikehall/archive/2013/08/21/office-365-insight-into-the-hybrid-configuration-wizard-part-2.aspx
    Cara Chen
    TechNet Community Support

  • 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.

  • Cant open itunes. Get error message CMBlockBufferCopyDataBytes could not be located in the dynamic link library CoreMedia.dll. Anyone know how to fix that?

    Cant open itunes. Get error message CMBlockBufferCopyDataBytes could not be located in the dynamic link library CoreMedia.dll. Anyone know how to fix that?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    The error hints at a similar pattern to those discussed in the first and third boxes of the user tip, suggesting that you've got an outdated .dll file that needs replacing. You should find CoreMedia.dll in the one of the following folders:
         C:\Program Files\Common Files\Apple\Mobile Device Support
         C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    Delete it and then repair Apple Mobile Device Support from the Programs and Features control panel. If that doesn't work go for the full tear down and rebuild.
    tt2

  • 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?

  • 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

  • I just used stellar phoenix mac data recovery and it seemed to work but now my files won't open.  Even though they are "jpeg, mov" files the error message is  could not be opened. The movie's file format isn't recognized. "  Any help or are they corrupted

    I just used stellar phoenix mac data recovery and it seemed to work but now my files won't open.  Even though they are "jpeg, mov" files, the error message is  "could not be opened". The movie's file format isn't recognized. "  Any help or are they corrupted?

    Sounds to me like the file is probably corrupt. If you had hard drive corruption or damage, that could easily result in recovered files not being fully intact. If you were trying to recover accidentally deleted files, it's possible they might have been partially overwritten before recovering. There are never any guarantees with file recovery.
    Without more information on the circumstances that led you to try recovery, it's hard to give advice on what to try from here. You could always try another file recovery tool, like Data Rescue 3. Just be sure you're taking appropriate precautions when doing recovery. See Recovering deleted files.

  • 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();

  • 2 errors: "Your iPhone could not be activated because the activation server is temporarily unavailable" and the sim says "searching" while iTunes says there is "No Sim installed" - but of course, there is! Any help please??

    2 errors: "Your iPhone could not be activated because the activation server is temporarily unavailable" and the sim says "searching" while iTunes says there is "No Sim installed" - but of course, there is! Any help please??

    Hi Peter,
    Thank you for the note - I have seen similar replies on other posting errors and I see how that could make sense. The thing is, my iPhone is not jailbroken - it is from an authorized distributor. However, when I told them about the "no service" problem on the sim, they were unable to assist. Then my phone messaged that an itunes restore was required - so I did that, several times, to the error message now noted on my post. I wonder if there is some other way to over-write this message? Thanks very much.

  • I set up a playlist in itunes and when i tried to sync it to my iphone i get an error message "itunes could not copy "x" to the iphone "x" because a timeout error occured.  Using itunes 10.5.2.11 and Windows Vista 64

    I set up a playlist in itunes and when I try so sync it to my iphone, I get an error message "itunes could not copy "x" to the iphone "x" because a timeout error occurred.  Using itunes 10.5.2.11 and Windows Vista 64.  Any help?  Thanks in advance!

    I have the same question and the only reply I've found on the forum was "change the USB hub", which HASN'T worked. So I am accepting new suggestions. Tks!

Maybe you are looking for