Logging TopLink exceptions
Starting WebLogic Server with the -Dtoplink.log.level=INFO
option writes too much information to the WebLogic Server 7.0 log for a production enironment.
Is it possible to get TopLink (9.0.3.5) to log exceptions to the WebLogic Server log without starting WebLogic Server with the -Dtoplink.log.level=INFO option?
Thanks.
Thanks Michael.
-Dtoplink.log.level=ERROR (and -Dtoplink.log.level=WARNING) both seem to work.
I was just going on what is said in the TopLink 9.0.3 message logging documentation that says "Possible values include INFO (default), NONE and DEBUG" (for me this is in C:\TopLink9.0.3\doc\b10065\entity_b.htm). I guess the key word is "include", meaning that there could be other options. When I tried using other options, like -Dtoplink.log.level=WARN, that TopLink obviously does not recognise then as you would expect the INFO option is used.
Do you (or anybody) know where the full set of supported -Dtoplink.log.level options are documented in the TopLink documentation.
Thanks for your help.
David
Similar Messages
-
Logging just exceptions and 'critical' TopLink info to the log
I'm trying to just log exceptions and other 'critical' info that occur within TopLink to the log rather than getting lots of SQL statements, unit of work info etc.
I'm running TopLink 9.0.3.5 in WebLogic Server 7.0 (SP4) using container managed persistence for Entity Beans.
If I startup WebLogic with the toplink.log.level=INFO option then I get SQL statements, unit of work info, JTS registration info as well as any exceptions that are logged.
If I leave the logging like this my WebLogic log will likely be huge and performance degraded from writing a lot of info that will never be used.
If I startup WebLogic with the toplink.log.level=NONE option then I don't get any log statements, not even exception info (although obviously clients still get the exception stack). I need to get the exceptions and 'critical' TopLink info in the WebLogic log because I cannot rely on getting the information from client logs.
In the TopLink for WebLogic 2.5.1 product the default logging behaviour was to log only exceptions and other 'critical' info to the log.
Is there a way to configure TopLink 9.0.3 so that only exceptions and any other 'critical' TopLink information is written to the log (and SQL statements, unit of work info and JTS registration info is not written).
Thanks.You don't mention which version of 10g you have but there is a bug in all versions 10.1.2.0.2 and newer in that usernames are no longer being inserted in the Apache log files when portal pages are viewed. It was somewhat hit or miss before, but good enough to get a feeling of what was being used Now, it does not even provide that. Bug number reference from Metalink is 5638057. It is shown as "Closed -- not feasible to fix", but will be addressed in 11.0
I am experimenting with getting this data a couple of ways. One, if you happen to use WebTrends, you can manually set the authenticated users field to whatever you'd like so I am using the API's to retrieve the username and the user company (organization) and concatenating them together.
The other option I am considering is a procedure call in the footer of each page that automatically updates a new table with the session id, username, page, timestamp, and whatever other information you may want each time the page is visited. This table can then be dumped to a data file if desired or left in the database and analyzed using a tool like Discoverer.
Rgds/Mark M. -
Toplink Exception in BPEL process
Hi All,
We get the attached error while running a BPEL process which uses a DBAdapter (which uses Toplink under the covers). Can you provide any pointers on why this exception might be happening.
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433.
at
oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:310)
at
oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:174)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:512)
at oracle.tip.adapter.db.DBManagedConnection.getSession(DBManagedConnection.java:208)
at oracle.tip.adapter.db.transaction.DBCciLocalTransaction.getSession(DBCciLocalTransaction.java:149)
at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:143)
at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:528)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:164)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:458)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:120)
at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3868)
at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:2228)
at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:145)
at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:116)
at
IActivityManagerLocalBean_StatelessSessionBeanWrapper52.expireActivity(IActivityManagerLocalBean_StatelessSessionBeanWrapper52.java:645)
at
com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:43)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:568)
Caused by: Exception [TOPLINK-4002] (OracleAS TopLink - 10g
(9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:221)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:105)
at oracle.toplink.sessions.DatabaseLogin.connect(DatabaseLogin.java:218)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:398)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:423)
at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:90)
at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:114)
at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:447)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:531)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:648)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:329)
... 26 more
Caused by: java.sql.SQLException: invalid arguments in call
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Compiled
Code))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:205)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:160)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:100)
... 35 more
<2007-05-22 12:47:15,075> <ERROR> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Rolling back JCA LocalTransaction
<2007-05-22 12:47:15,075> <DEBUG> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Marking this exception as Retriable
<2007-05-22 12:47:15,076> <DEBUG> <default.collaxa.cube.ws>
<WSIFInvocationHandler::invoke> invoke failed
org.collaxa.thirdparty.apache.wsif.WSIFException:
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - WSIF JCA Execute of operation 'ReceiveRequest' failed due
to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
; nested exception is:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need
to configure the connection settings in the deployment descriptor
(i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
and restart the server. Caused by Exception [TOPLINK-4002]
(OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433.
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:570)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:120)
at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3868)
at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:2228)
at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:145)
at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:116)
at
IActivityManagerLocalBean_StatelessSessionBeanWrapper52.expireActivity(IActivityManagerLocalBean_StatelessSessionBeanWrapper52.java:645)
at
com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:43)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:568)
Caused by: ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need
to configure the connection settings in the deployment descriptor
(i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
and restart the server. Caused by Exception [TOPLINK-4002]
(OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433.
at
oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:310)
at
oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:174)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:512)
at oracle.tip.adapter.db.DBManagedConnection.getSession(DBManagedConnection.java:208)
at oracle.tip.adapter.db.transaction.DBCciLocalTransaction.getSession(DBCciLocalTransaction.java:149)
at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:143)
at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:528)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:164)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:458)
... 20 more
Caused by: Exception [TOPLINK-4002] (OracleAS TopLink - 10g
(9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:221)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:105)
at oracle.toplink.sessions.DatabaseLogin.connect(DatabaseLogin.java:218)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:398)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:423)
at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:90)
at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:114)
at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:447)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:531)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:648)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:329)
... 26 more
Caused by: java.sql.SQLException: invalid arguments in call
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Compiled
Code))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:205)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:160)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:100)
... 35 more
<2007-05-22 12:47:15,082> <DEBUG> <default.collaxa.cube.ws>
<WSIFInvocationHandler::invoke> Fault happened:
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - WSIF JCA Execute of operation 'ReceiveRequest' failed due
to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
; nested exception is:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need
to configure the connection settings in the deployment descriptor
(i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
and restart the server. Caused by Exception [TOPLINK-4002]
(OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433.
<2007-05-22 12:47:16,119> <DEBUG> <default.collaxa.cube.ws>
<WSInvocationManager::invoke> operation: ReceiveRequest,
partnerLink: <partnerLink name="DBReceiveRequest"
partnerLinkType="{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest_plt">
<myRole name="null">
<ServiceName>null</ServiceName>
<PortType>null</PortType>
<Address>null</Address>
</myRole>
<partnerRole name="ReceiveRequest_role">
<ServiceName>{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest</ServiceName>
<PortType>{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest_ptt</PortType>
<Address>null</Address>
</partnerRole>
<conversationId>bpel://localhost/default/BPEL_XXP4UHRADRV~1.0/601-BpInv1-BpSeq2.6-1</conversationId>
<properties>{}</properties>
</partnerLink>
<2007-05-22 12:47:16,120> <DEBUG> <default.collaxa.cube.ws>
<WSInvocationManager::invoke> def is
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
<2007-05-22 12:47:16,120> <DEBUG> <default.collaxa.cube.ws>
<WSIFInvocationHandler::invoke> opName=ReceiveRequest,
parnterLink=<partnerLink name="DBReceiveRequest"
partnerLinkType="{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest_plt">
<myRole name="null">
<ServiceName>null</ServiceName>
<PortType>null</PortType>
<Address>null</Address>
</myRole>
<partnerRole name="ReceiveRequest_role">
<ServiceName>{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest</ServiceName>
<PortType>{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest_ptt</PortType>
<Address>null</Address>
</partnerRole>
<conversationId>bpel://localhost/default/BPEL_XXP4UHRADRV~1.0/601-BpInv1-BpSeq2.6-1</conversationId>
<properties>{}</properties>
</partnerLink>
<2007-05-22 12:47:16,120> <DEBUG> <default.collaxa.cube.ws>
<WSIFInvocationHandler::doShortCut> Parner Property optShortCut
<2007-05-22 12:47:16,126> <INFO> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Using JCA Connection Pool - max size = <unbounded>
<2007-05-22 12:47:16,127> <DEBUG> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Looking up Resource Adapter JDNI location 'eis/DB/APPS'
<2007-05-22 12:47:16,127> <DEBUG> <default.collaxa.cube.ws>
<AdapterFramework::Outbound> Instantiating outbound JCA
interactionSpec oracle.tip.adapter.db.DBStoredProcedureInteractionSpec
<2007-05-22 12:47:16,127> <DEBUG> <default.collaxa.cube.ws>
<AdapterFramework::Outbound> Populating outbound JCA interactionSpec
oracle.tip.adapter.db.DBStoredProcedureInteractionSpec with
properties: {ProcedureName=DEQ_REQ_MSG, PackageName=XXP4U_HRADRV_BPEL_PKG,
SchemaName=APPS}
<2007-05-22 12:47:16,139> <DEBUG> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - No XMLRecord headers provided
<2007-05-22 12:47:16,139> <DEBUG> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Starting JCA LocalTransaction
<2007-05-22 12:47:16,139> <DEBUG> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Invoking JCA outbound Interaction
<2007-05-22 12:47:16,154> <DEBUG> <default.collaxa.cube.ws>
<Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
createServerSession> create a new ServerSession
<2007-05-22 12:47:16,155> <DEBUG> <default.collaxa.cube.ws>
<Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
createServerSession> The platform class name was specified as:
oracle.toplink.internal.databaseaccess.Oracle9Platform
<2007-05-22 12:47:16,156> <DEBUG> <default.collaxa.cube.ws>
<Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
createServerSession> Using an app server connection pool. DataSource name is jdbc/OracleHRAppsDataSourceDS
<2007-05-22 12:47:16,158> <DEBUG> <default.collaxa.cube.ws>
<Database Adapter::Outbound> <oracle.tip.adapter.db.TopLinkLogger
log> TopLink, version: OracleAS TopLink - 10g (9.0.4.5) (Build
040930)
<2007-05-22 12:47:16,159> <DEBUG> <default.collaxa.cube.ws>
<Database Adapter::Outbound> <oracle.tip.adapter.db.TopLinkLogger
log> connecting session: Not named
<2007-05-22 12:47:16,159> <DEBUG> <default.collaxa.cube.ws>
<Database Adapter::Outbound> <oracle.tip.adapter.db.TopLinkLogger
log> connecting(DatabaseLogin(
platform=>Oracle9Platform
datasource name=>jdbc/OracleHRAppsDataSourceDS
<2007-05-22 12:47:16,161> <ERROR> <default.collaxa.cube.ws>
<Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
acquireClientSession> unable to build the TopLink Session
<2007-05-22 12:47:16,162> <DEBUG> <default.collaxa.cube.ws>
<Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
acquireClientSession>
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433
<2007-05-22 12:47:16,165> <ERROR> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Could not invoke operation 'ReceiveRequest' against the
'Database Adapter' due to:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need
to configure the connection settings in the deployment descriptor
(i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
and restart the server. Caused by Exception [TOPLINK-4002]
(OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433.
at
oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:310)
at
oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:174)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:512)
at oracle.tip.adapter.db.DBManagedConnection.getSession(DBManagedConnection.java:208)
at oracle.tip.adapter.db.transaction.DBCciLocalTransaction.getSession(DBCciLocalTransaction.java:149)
at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:143)
at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:528)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:164)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:458)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:120)
at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3868)
at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:2228)
at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:145)
at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:116)
at
IActivityManagerLocalBean_StatelessSessionBeanWrapper52.expireActivity(IActivityManagerLocalBean_StatelessSessionBeanWrapper52.java:645)
at
com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:43)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:568)
Caused by: Exception [TOPLINK-4002] (OracleAS TopLink - 10g
(9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:221)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:105)
at oracle.toplink.sessions.DatabaseLogin.connect(DatabaseLogin.java:218)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:398)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:423)
at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:90)
at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:114)
at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:447)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:531)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:648)
at
oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:329)
... 26 more
Caused by: java.sql.SQLException: invalid arguments in call
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Compiled
Code))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:205)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:160)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:100)
... 35 more
<2007-05-22 12:47:16,165> <ERROR> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Rolling back JCA LocalTransaction
<2007-05-22 12:47:16,165> <DEBUG> <default.collaxa.cube.ws>
<AdapterFramework::Outbound>
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - Marking this exception as Retriable
<2007-05-22 12:47:16,165> <DEBUG> <default.collaxa.cube.ws>
<WSIFInvocationHandler::invoke> invoke failed
org.collaxa.thirdparty.apache.wsif.WSIFException:
file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
[ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
] - WSIF JCA Execute of operation 'ReceiveRequest' failed due
to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
; nested exception is:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need
to configure the connection settings in the deployment descriptor
(i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
and restart the server. Caused by Exception [TOPLINK-4002]
(OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433.
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:570)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:120)
at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3868)
at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:2228)
at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:145)
at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:116)
at
IActivityManagerLocalBean_StatelessSessionBeanWrapper52.expireActivity(IActivityManagerLocalBean_StatelessSessionBeanWrapper52.java:645)
at
com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:43)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:568)
Caused by: ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need
to configure the connection settings in the deployment descriptor
(i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
and restart the server. Caused by Exception [TOPLINK-4002]
(OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: invalid arguments
in call
Internal Exception: java.sql.SQLException: invalid arguments
in call
Error Code: 17433.It looks like you are not providing a username or password in your DataSource.
-
How to log the exception using Log action in Oracle Service Bus
Hi,
Whenever an exception is raised how to log the exception using Log action in oracle service bus.After logging where I have to find the logged message.It would be in the log file for the managed server which ran the request. If you are logging the message at a lower level than your app server, however, you won't see it. You should be logging the exception at Error level.
-
NULL in primary keys NOT logged to exceptions table
Problem: Inconsistent behavior when enabling constraints using the "EXCEPTIONS INTO" clause. RDBMS Version: 9.2.0.8.0 and 10.2.0.3.0
- NULL values in primary keys are NOT logged to exceptions table
- NOT NULL column constraints ARE logged to exceptions table
-- Demonstration
-- NULL values in primary keys NOT logged to exceptions table
TRUNCATE TABLE exceptions;
DROP TABLE t;
CREATE TABLE t ( x NUMBER );
INSERT INTO t VALUES ( NULL );
ALTER TABLE t
ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions );
SELECT * FROM exceptions; -- returns no rows
-- NOT NULL column constraints logged to exceptions table
TRUNCATE TABLE exceptions;
DROP TABLE t;
CREATE TABLE t ( x NUMBER );
INSERT INTO t VALUES ( NULL );
ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS );
SELECT * FROM exceptions; -- returns one row
I would have expected all constraint violations to be logged to exceptions. I was not able to find any documentation describing the behavior I describe above.
Can anyone tell me if this is the intended behavior and if so, where it is documented?
I would also appreciate it if others would confirm this behavior on their systems and say if it is what they expect.
Thanks.
- Doug
P.S. Apologies for the repost from an old thread, which someone else found objectionable.I should have posted the output. Here it is.
SQL>TRUNCATE TABLE exceptions;
Table truncated.
SQL>DROP TABLE t;
Table dropped.
SQL>CREATE TABLE t ( x NUMBER );
Table created.
SQL>INSERT INTO t VALUES ( NULL );
1 row created.
SQL>ALTER TABLE t ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions );
ALTER TABLE t ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions )
ERROR at line 1:
ORA-01449: column contains NULL values; cannot alter to NOT NULL
SQL>SELECT * FROM exceptions;
no rows selected
SQL>
SQL>TRUNCATE TABLE exceptions;
Table truncated.
SQL>DROP TABLE t;
Table dropped.
SQL>CREATE TABLE t ( x NUMBER );
Table created.
SQL>INSERT INTO t VALUES ( NULL );
1 row created.
SQL>ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS );
ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS )
ERROR at line 1:
ORA-02296: cannot enable (MYSCHEMA.) - null values found
SQL>SELECT * FROM exceptions;
ROW_ID OWNER TABLE_NAME CONSTRAINT
AAAkk5AAMAAAEByAAA MYSCHEMA T T
1 row selected.
As you can see, I get the expected error message. But I only end up with a record in the exceptions table for the NOT NULL column constraint, not for the null primary key value. -
Toplink Exception: caused by EXCEPTION [TOPLINK-125]
Hi,
Sorry i can't provide much info at the moment, but this has just been passed on from a colleague at work.
The following error has occurred now that we have temporarily set all descriptors to use noIdentityMap().
It does not happen when caching is switched on.
Jul 01, 2003 06:32:36 PM com.aon.ame.quotation.ejb.QuotationBean updateSectionQuotation
INFO: Toplink Exception: caused by EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)]):
EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)])
LOCAL EXCEPTION STACK:
EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)])
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at TOPLink.Public.Exceptions.TOPLinkException.<init>(Compiled Code)
at TOPLink.Public.Exceptions.ValidationException.<init>(Compiled Code)
at TOPLink.Public.Exceptions.DescriptorException.<init>(DescriptorException.java:176)
at TOPLink.Public.Exceptions.DescriptorException.<init>(DescriptorException.java:183)
at TOPLink.Public.Exceptions.DescriptorException.valueHolderInstantiationMismatch(DescriptorException.java:1363)
at TOPLink.Private.Indirection.BasicIndirectionPolicy.validateAttributeOfInstantiatedObject(Compiled Code)
at TOPLink.Public.Mappings.ForeignReferenceMapping.getAttributeValueFromObject(Compiled Code)
at TOPLink.Public.Mappings.ForeignReferenceMapping.buildClone(Compiled Code)
at TOPLink.Private.Descriptors.ObjectBuilder.populateAttributesForClone(Compiled Code)
at TOPLink.Public.PublicInterface.UnitOfWork.cloneAndRegisterObject(Compiled Code)
at TOPLink.Public.PublicInterface.UnitOfWork.checkExistence(Compiled Code)
at TOPLink.Public.PublicInterface.UnitOfWork.internalRegisterObject(Compiled Code)
at TOPLink.Public.PublicInterface.UnitOfWork.registerObject(Compiled Code)
at com.aon.ame.quotation.ejb.QuotationBean.updateSectionQuotation(Compiled Code)
at com.aon.ame.quotation.ejb.EJSRemoteQuotation.updateSectionQuotation(EJSRemoteQuotation.java:2418)
at com.aon.ame.quotation.ejb._Quotation_BaseStub.updateSectionQuotation(_Quotation_BaseStub.java:4146)
at com.aon.ame.quotation.ejb._Quotation_Stub.updateSectionQuotation(Compiled Code)
at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.doUpdateBrokerSpecialEndorsement(Compiled Code)
at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.doUpdateWording(ViewSpecialEndorsementsAction.java:551)
at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.amePerform(ViewSpecialEndorsementsAction.java:127)
at com.aon.ame.struts.action.AmeBaseAction.aonPerform(AmeBaseAction.java:48)
at com.aon.struts.action.BaseAction.perform(Compiled Code)
at org.apache.struts.action.ActionServlet.processActionPerform(Compiled Code)
at org.apache.struts.action.ActionServlet.process(Compiled Code)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled Code)
at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled Code)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled Code)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Compiled Code)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled Code)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(Compiled Code)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled Code)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Compiled Code)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled Code)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled Code)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Compiled Code)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled Code)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Compiled Code)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(Compiled Code)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(Compiled Code)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Jul 01, 2003 06:32:36 PM com.aon.struts.action.BaseAction perform
SEVERE: com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.aonPerform() threw an exception: RemoteException occurred in server thread; nested exception is:
com.ibm.ejs.container.UncheckedException: ; nested exception is:
EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
Can anyone shed any light on why this might have happened?
Many thanks.I don't see how caching is affected by this, but the exception is complaining that you have a relationship that uses indirection and have not instantiated the value holders.
I.e.,
Customer has 1-1 to Address, and you're using ValueHolderInterface for the type. Either in the constructor or in the declaration of the attribute, you need to init the value holder. You should do the same for 1-M's also (unless you're using transparent indirection) For example:
public class Customer {
String name;
String title;
ValueHolderInterface address = new ValueHolder();
ValueHolderInterface orders = new ValueHolder(new Vector()); -
Oracle.toplink.exceptions.QueryException
I get the following error when I attempt to create a table from my oject in the workbench:
Throwable Class Name:
oracle.toplink.exceptions.QueryException
Message:
when trying to generate a table from a class in the workbench i get the followin error:
Exception Description: The object [MWClassDescriptor[973268] (Address -> null)], of class [class oracle.toplink.workbench.model.desc.MWClassDescriptor], with identity hashcode (System.identityHashCode()) [9,908,840],
is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork,
but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly
registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
help debug where the error occurred. For more information, see the manual or FAQ.
Stack trace:
Local Exception Stack:
Exception [TOPLINK-6004] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 031022)): oracle.toplink.exceptions.QueryException
Exception Description: The object [MWClassDescriptor[973268] (Address -> null)], of class [class oracle.toplink.workbench.model.desc.MWClassDescriptor], with identity hashcode (System.identityHashCode()) [9,908,840],
is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork,
but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly
registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
help debug where the error occurred. For more information, see the manual or FAQ.
at oracle.toplink.exceptions.QueryException.backupCloneIsOriginalFromParent(QueryException.java:158)
at oracle.toplink.publicinterface.UnitOfWork.getBackupClone(UnitOfWork.java:1539)
at oracle.toplink.publicinterface.UnitOfWork.calculateChanges(UnitOfWork.java:425)
at oracle.toplink.publicinterface.UnitOfWork.getChanges(UnitOfWork.java:1595)
at oracle.toplink.workbench.ui.WorkbenchSession.saveProject(WorkbenchSession.java:680)
at oracle.toplink.workbench.ui.MainView.saveProject(MainView.java:1914)
at oracle.toplink.workbench.ui.MainView.saveSelectedProjects(MainView.java:1983)
at oracle.toplink.workbench.ui.MainView.generateTableDefinitionsForClasses(MainView.java:728)
at oracle.toplink.workbench.ui.MainView.generateTableDefinitionsForSelected(MainView.java:753)
at oracle.toplink.workbench.ui.action.ActionManager$86.actionPerformed(ActionManager.java:2055)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)Hello,
Without more information, I can't determine what the problem is. This exception's english wording is "Object comparisons can only use the equal() or notEqual() operators. Other comparisons must be done through query keys or direct attribute level comparisons.", and implies that the query expression is using a Like operator where atleast one side of the comparison is an entity instead of a string value. Entity/object comparisons are only supported with the equal or notEqual comparisons.
Best Regards,
Chris -
Hi ,
In asyncronous process , i am trying to connect database using DB adapter , i am getting this error . ( If i restart the server it is working for some time again same error getting)
file:/opt/oracle/product/10.1.3.1/OracleAS1/bpel/domains/usa/tmp/.bpel_MesaReclass_1.0_9bf2415563f0b0f620c92a46ef10d243.tmp/selectifibpelk.wsdl [ selectifibpelk_ptt::selectifibpelkSelect(selectifibpelkSelect_inparameters,IfibpelkCollection) ] - WSIF JCA Execute of operation 'selectifibpelkSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
; nested exception is:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by Exception [TOPLINK-0] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.IntegrityException
Descriptor Exceptions:
Exception [TOPLINK-48] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DescriptorException
Exception Description: Multiple writable mappings exist for the field [@version]. Only one may be defined as writable, all others must be specified read-only.
Mapping: oracle.toplink.ox.mappings.XMLTransformationMapping[null]
Descriptor: XMLDescriptor(oracle.toplink.sessions.Project --> [DatabaseTable(toplink:object-persistence)])
Runtime Exceptions:
java.lang.NullPointerException
java.lang.NullPointerException
Any one please provide solution
Regards
janardhan11622 this is the error where your connection pool and the data source for the connection pool might not be the same all you need to do is to create a connection pool and data source with same JNDI name and make use of that jndi name in your database adapter configuration as
eg: eis/db/*******(watever name u create for the connection pool)
this can solve your top link issue -
Oracle.toplink.exceptions.ConcurrencyException
Hi,
We encountered a ConcurrencyException while running our batch process.
- The have our minNumReadPoolsize = 5
- The have our maxNumReadPoolsize = 20
- read Pool is exclusive
and we run our batch with 4 threads.
Here is the stack trace.
Any ideas?
Thanks
com.fmrco.gett.dataaccess.DAException: Exception while doing a commit
at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:115)
at com.fmrco.compliance.cws.ipe.batch.IPETask.run(IPETask.java:159)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
at java.lang.Thread.run(Unknown Source)
Caused by: Exception [TOPLINK-2003] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.toplink.exceptions.ConcurrencyException
Exception Description: Wait failure on ClientSession.
Internal Exception: java.lang.InterruptedException
at oracle.toplink.exceptions.ConcurrencyException.waitFailureOnClientSession(ConcurrencyException.java:44)
at oracle.toplink.threetier.ConnectionPool.acquireConnection(ConnectionPool.java:72)
at oracle.toplink.threetier.ServerSession.acquireClientConnection(ServerSession.java:272)
at oracle.toplink.threetier.ClientSession.basicBeginTransaction(ClientSession.java:100)
at oracle.toplink.publicinterface.Session.beginTransaction(Session.java:448)
at oracle.toplink.publicinterface.UnitOfWork.beginTransaction(UnitOfWork.java:387)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1066)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1134)
at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:955)
at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:770)
at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:111)
... 3 more
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Unknown Source)
at oracle.toplink.threetier.ConnectionPool.acquireConnection(ConnectionPool.java:70)
... 12 more
20050512 05:22:19 EDT FATAL ipe.batch.IPETask [Thread-4] IPE Failed
com.fmrco.gett.dataaccess.DAException: Exception while doing a commit
at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:115)
at com.fmrco.compliance.cws.ipe.batch.IPETask.run(IPETask.java:159)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:258)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:559)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:724)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:778)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:639)
at oracle.toplink.publicinterface.UnitOfWork.executeCall(UnitOfWork.java:1397)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:134)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:115)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeNoSelectCall(CallQueryMechanism.java:167)
at oracle.toplink.internal.queryframework.CallQueryMechanism.updateObject(CallQueryMechanism.java:648)
at oracle.toplink.internal.queryframework.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:425)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1004)
at oracle.toplink.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:107)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:258)
at oracle.toplink.queryframework.WriteObjectQuery.execute(WriteObjectQuery.java:51)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:493)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1958)
at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2252)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1038)
at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:177)
at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3223)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1089)
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1134)
at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:955)
at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:770)
at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:111)The ConcurrencyException is occurring attempting to get a connection from the write-pool, not the read-pool. What size are you using for the write pool, ensure that it is large enough?
Could you include your entire session configuration or sessions.xml file.
Does the error only occur under heavy load, or does it start occurring after a certain point or after the null-pointer exception occurs?
The null-pointer exception occurring in the JDBC driver is also very odd; the driver should never be encountering a null-pointer. Are you using the correct JDBC driver version for your database version? -
Backupu0094and u0093Redo log backupu0094;Except operation are failed
I encounter a problem when i makeing backup,i ask for help.
<b>The situation is following:</b>os: windows 2003+sp2
SAP :NetWeaver 04S(BW7.0)
DB:ORACLE 10.2
Backup Software: VERITAS Backup Exec for Windows Servers 9.1
The problem which i encounter is following:
All are successful that use BRTOOLS operate OFFLINE BACKUP and OFFLINE BACKUP.
These operation are successful to use "DB13" Operate
Whole database online + redo log backup、Whole database online backupand Redo log backup;Except Whole database offline + redo log backup" and"Whole database offline backup" these two operation are failed
<b>successful AllOnl+Log</b> BRABCKUP Detail log for database BWD
Detailliertes Protokoll: bdvvpedp.anf
BR0051I BRBACKUP 7.00 (18)
BR0055I Start of database backup: bdvvpedp.anf 2007-08-03 13.32.37
BR0477I Oracle pfile D:\oracle\BWD\102\database\initBWD.ora created from spfile D:\oracle\BWD\102\database\spfileBWD.ora
BR0280I BRBACKUP time stamp: 2007-08-03 13.32.40
BR0319I Control file copy created: D:\oracle\BWD\sapbackup\CNTRLBWD.DBF 12664832
BR0101I Parameters
Name Value
oracle_sid BWD
oracle_home D:\oracle\BWD\102
oracle_profile D:\oracle\BWD\102\database\initBWD.ora
sapdata_home D:\oracle\BWD
sap_profile D:\oracle\BWD\102\database\initBWD.sap
backup_mode ALL
backup_type online
backup_dev_type util_file
util_par_file D:\usr\sap\BWD\SYS\exe\uc\NTI386\biparam.ini
system_info SAPServiceBWD KHBWDEV Windows 5.2 Build 3790 Service Pack 2 Intel
oracle_info BWD 10.2.0.2.0 8192 826 6112865 KHBWDEV UTF8 UTF8
sap_info 700 SAPSR3 BWD TEMPLICENSE R3_ORA INITIAL
make_info NTintel OCI_10201_SHARE Oct 27 2006
command_line brbackup -u / -jid ALLOG20070803133227 -c force -t online -m all -p initBWD.sap -a -c force -p initBWD.sap -cds
BR0116I ARCHIVE LOG LIST before backup for database instance BWD
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination C:\oracle\BWD\oraarch\BWDarch
Archive format ARC%S_%R.%T
Oldest online log sequence 823
Next log sequence to archive 826
Current log sequence 826 SCN: 6112865
Database block size 8192 Thread: 1
Current system change number 6123378 ResetId: 628786982
BR0118I Tablespaces and data files
Tablespace TS-Status F-Status File Size Id. Device Link Type MaxSize IncrSize BlkSize
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_1\SR3.DATA1 2243960832 4 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_2\SR3.DATA2 2327846912 5 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_3\SR3.DATA3 2243960832 6 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_4\SR3.DATA4 2243960832 7 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_5\SR3.DATA5 2243960832 16 3 NOLINK FILE 3145728000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_1\SR3700.DATA1 3795853312 8 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_2\SR3700.DATA2 3942653952 9 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_3\SR3700.DATA3 3732938752 10 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_4\SR3700.DATA4 3670024192 11 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_5\SR3700.DATA5 3670024192 17 3 NOLINK FILE 4194304000 20971520 8192
PSAPSR3DB ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA4\SR3DB_1\SR3DB.DATA1 2097160192 13 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3DB ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA4\SR3DB_2\SR3DB.DATA2 2097160192 14 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3DB ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA4\SR3DB_3\SR3DB.DATA3 1048584192 15 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3USR ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA4\SR3USR_1\SR3USR.DATA1 20979712 12 3 NOLINK FILE 10485760000 20971520 8192
PSAPTEMP ONLINE# ONLINE+ D:\ORACLE\BWD\SAPDATA1\TEMP_1\TEMP.DATA1 1048584192 -1 3 NOLINK FILE 10485760000 20971520 8192
PSAPUNDO ONLINE- ONLINE+ D:\ORACLE\BWD\SAPDATA1\UNDO_1\UNDO.DATA1 8115986432 2 3 NOLINK FILE 10485760000 20971520 8192
SYSAUX ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA1\SYSAUX_1\SYSAUX.DATA1 209723392 3 3 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ D:\ORACLE\BWD\SAPDATA1\SYSTEM_1\SYSTEM.DATA1 524296192 1 3 NOLINK FILE 10485760000 20971520 8192
BR0119I Redo log files
File Size Group Device Status Link Type
D:\ORACLE\BWD\ORIGLOGA\LOG_G11M1.DBF 52429312 1 3 INUSE NOLINK FILE
C:\ORACLE\BWD\MIRRLOGA\LOG_G11M2.DBF 52429312 1 2 INUSE NOLINK FILE
D:\ORACLE\BWD\ORIGLOGB\LOG_G12M1.DBF 52429312 2 3 INUSE NOLINK FILE
C:\ORACLE\BWD\MIRRLOGB\LOG_G12M2.DBF 52429312 2 2 INUSE NOLINK FILE
D:\ORACLE\BWD\ORIGLOGA\LOG_G13M1.DBF 52429312 3 3 INUSE NOLINK FILE
C:\ORACLE\BWD\MIRRLOGA\LOG_G13M2.DBF 52429312 3 2 INUSE NOLINK FILE
D:\ORACLE\BWD\ORIGLOGB\LOG_G14M1.DBF 52429312 4 3 INUSE NOLINK FILE
C:\ORACLE\BWD\MIRRLOGB\LOG_G14M2.DBF 52429312 4 2 INUSE NOLINK FILE
BR0120I Control files
File Size Id. Device Link Type
D:\oracle\BWD\origlogA\cntrl\cntlrBWD.dbf 12664832 0 3 NOLINK FILE
D:\oracle\BWD\origlogB\cntrl\cntrlBWD.dbf 12664832 0 3 NOLINK FILE
D:\oracle\BWD\sapdata1\cntrl\cntrlBWD.dbf 12664832 0 3 NOLINK FILE
BR0616I Tablespaces in table TSORA for SAP owner SAPSR3:
PSAPSR3, PSAPSR3700, PSAPSR3USR
BR0280I BRBACKUP time stamp: 2007-08-03 13.32.40
BR0057I Backup of database: BWD
BR0058I BRBACKUP action ID: bdvvpedp
BR0059I BRBACKUP function ID: anf
BR0110I Backup mode: ALL
BR0077I Database file for backup: D:\oracle\BWD\sapbackup\CNTRLBWD.DBF
BR0061I 18 files found for backup, total size 42192.211 MB
BR0143I Backup type: online
BR0130I Backup device type: util_file
BR0109I Files will be saved by backup utility
BR0289I BRARCHIVE will be started at the end of processing
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0280I BRBACKUP time stamp: 2007-08-03 13.32.41
BR0315I 'Alter database begin backup' successful
BR0280I BRBACKUP time stamp: 2007-08-03 13.32.41
BR0229I Calling backup utility with function 'backup'...
BR0280I BRBACKUP time stamp: 2007-08-03 13.34.10
#FILE..... D:\oracle\BWD\sapbackup\CNTRLBWD.DBF
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 13.34.29
#FILE..... D:\ORACLE\BWD\SAPDATA1\SYSAUX_1\SYSAUX.DATA1
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 13.35.13
#FILE..... D:\ORACLE\BWD\SAPDATA1\SYSTEM_1\SYSTEM.DATA1
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 13.46.48
#FILE..... D:\ORACLE\BWD\SAPDATA1\UNDO_1\UNDO.DATA1
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 13.49.58
#FILE..... D:\ORACLE\BWD\SAPDATA2\SR3_1\SR3.DATA1
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 13.53.15
#FILE..... D:\ORACLE\BWD\SAPDATA2\SR3_2\SR3.DATA2
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 13.56.26
#FILE..... D:\ORACLE\BWD\SAPDATA2\SR3_3\SR3.DATA3
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 13.59.36
#FILE..... D:\ORACLE\BWD\SAPDATA2\SR3_4\SR3.DATA4
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.02.46
#FILE..... D:\ORACLE\BWD\SAPDATA2\SR3_5\SR3.DATA5
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.08.08
#FILE..... D:\ORACLE\BWD\SAPDATA3\SR3700_1\SR3700.DATA1
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.13.42
#FILE..... D:\ORACLE\BWD\SAPDATA3\SR3700_2\SR3700.DATA2
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.18.59
#FILE..... D:\ORACLE\BWD\SAPDATA3\SR3700_3\SR3700.DATA3
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.24.10
#FILE..... D:\ORACLE\BWD\SAPDATA3\SR3700_4\SR3700.DATA4
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.29.21
#FILE..... D:\ORACLE\BWD\SAPDATA3\SR3700_5\SR3700.DATA5
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.32.18
#FILE..... D:\ORACLE\BWD\SAPDATA4\SR3DB_1\SR3DB.DATA1
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.35.16
#FILE..... D:\ORACLE\BWD\SAPDATA4\SR3DB_2\SR3DB.DATA2
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.36.45
#FILE..... D:\ORACLE\BWD\SAPDATA4\SR3DB_3\SR3DB.DATA3
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.36.47
#FILE..... D:\ORACLE\BWD\SAPDATA4\SR3USR_1\SR3USR.DATA1
#SAVED.... 1186119250
BR0280I BRBACKUP time stamp: 2007-08-03 14.55.51
BR0232I 18 of 18 files saved by backup utility
BR0230I Backup utility called successfully
BR0280I BRBACKUP time stamp: 2007-08-03 14.55.56
BR0317I 'Alter database end backup' successful
BR0280I BRBACKUP time stamp: 2007-08-03 14.55.56
BR0340I Switching to next online redo log file for database instance BWD ...
BR0321I Switch to next online redo log file for database instance BWD successful
BR0117I ARCHIVE LOG LIST after backup for database instance BWD
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination C:\oracle\BWD\oraarch\BWDarch
Archive format ARC%S_%R.%T
Oldest online log sequence 824
Next log sequence to archive 827
Current log sequence 827 SCN: 6126274
Database block size 8192 Thread: 1
Current system change number 6126276 ResetId: 628786982
BR0018I Waiting for the next offline redo log file...
BR0280I BRBACKUP time stamp: 2007-08-03 14.56.02
BR0229I Calling backup utility with function 'backup'...
BR0280I BRBACKUP time stamp: 2007-08-03 14.57.29
#PFLOG.... D:\oracle\BWD\102\database\initBWD.ora
#SAVED.... 1186124248
BR0280I BRBACKUP time stamp: 2007-08-03 14.57.29
#PFLOG.... D:\oracle\BWD\102\database\initBWD.sap
#SAVED.... 1186124248
BR0280I BRBACKUP time stamp: 2007-08-03 14.57.30
#PFLOG.... D:\oracle\BWD\102\database\spfileBWD.ora
#SAVED.... 1186124248
BR0280I BRBACKUP time stamp: 2007-08-03 14.57.30
#PFLOG.... D:\oracle\BWD\sapbackup\backBWD.log
#SAVED.... 1186124248
BR0280I BRBACKUP time stamp: 2007-08-03 14.57.31
#PFLOG.... D:\oracle\BWD\sapbackup\bdvvpedp.anf
#SAVED.... 1186124248
BR0280I BRBACKUP time stamp: 2007-08-03 14.57.31
#PFLOG.... D:\oracle\BWD\sapreorg\spaceBWD.log
#SAVED.... 1186124248
BR0280I BRBACKUP time stamp: 2007-08-03 14.57.31
#PFLOG.... D:\oracle\BWD\sapreorg\strucBWD.log
#SAVED.... 1186124248
BR0280I BRBACKUP time stamp: 2007-08-03 14.57.33
#PFLOG.... D:\usr\sap\BWD\SYS\exe\uc\NTI386\biparam.ini
#SAVED.... 1186124248
BR0280I BRBACKUP time stamp: 2007-08-03 15.01.28
BR0232I 8 of 8 files saved by backup utility
BR0230I Backup utility called successfully
BR0056I End of database backup: bdvvpedp.anf 2007-08-03 15.01.28
BR0280I BRBACKUP time stamp: 2007-08-03 15.01.28
BR0052I BRBACKUP completed successfully
BR0280I BRBACKUP time stamp: 2007-08-03 15.01.28
BR0291I BRARCHIVE will be started with options '-U -jid ALLOG20070803133227 -d util_file -c force -p initBWD.sap -cds'
BR0280I BRBACKUP time stamp: 2007-08-03 15.15.55
BR0292I Execution of BRARCHIVE finished with return code 0
Failed AllOff+Log
BRABCKUP Detail log for database BWD
Detailliertes Protokoll: bdvvvghm.aff
BR0051I BRBACKUP 7.00 (18)
BR0055I Start of database backup: bdvvvghm.aff 2007-08-04 19.14.26
BR0477I Oracle pfile D:\oracle\BWD\102\database\initBWD.ora created from spfile D:\oracle\BWD\102\database\spfileBWD.ora
BR0101I Parameters
Name Value
oracle_sid BWD
oracle_home D:\oracle\BWD\102
oracle_profile D:\oracle\BWD\102\database\initBWD.ora
sapdata_home D:\oracle\BWD
sap_profile D:\oracle\BWD\102\database\initBWD.sap
backup_mode ALL
backup_type offline_force
backup_dev_type util_file
util_par_file D:\usr\sap\BWD\SYS\exe\uc\NTI386\biparam.ini
system_info SAPServiceBWD KHBWDEV Windows 5.2 Build 3790 Service Pack 2 Intel
oracle_info BWD 10.2.0.2.0 8192 829 6191434 KHBWDEV UTF8 UTF8
sap_info 700 SAPSR3 BWD TEMPLICENSE R3_ORA INITIAL
make_info NTintel OCI_10201_SHARE Oct 27 2006
command_line brbackup -u / -jid ALGOF20070804191417 -c force -t offline_force -m all -p initBWD.sap -a -c force -p initBWD.sap -cds
BR0116I ARCHIVE LOG LIST before backup for database instance BWD
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination C:\oracle\BWD\oraarch\BWDarch
Archive format ARC%S_%R.%T
Oldest online log sequence 826
Next log sequence to archive 829
Current log sequence 829 SCN: 6191434
Database block size 8192 Thread: 1
Current system change number 6215407 ResetId: 628786982
BR0118I Tablespaces and data files
Tablespace TS-Status F-Status File Size Id. Device Link Type MaxSize IncrSize BlkSize
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_1\SR3.DATA1 2243960832 4 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_2\SR3.DATA2 2327846912 5 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_3\SR3.DATA3 2243960832 6 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_4\SR3.DATA4 2243960832 7 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA2\SR3_5\SR3.DATA5 2243960832 16 3 NOLINK FILE 3145728000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_1\SR3700.DATA1 3795853312 8 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_2\SR3700.DATA2 3942653952 9 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_3\SR3700.DATA3 3732938752 10 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_4\SR3700.DATA4 3670024192 11 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA3\SR3700_5\SR3700.DATA5 3670024192 17 3 NOLINK FILE 4194304000 20971520 8192
PSAPSR3DB ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA4\SR3DB_1\SR3DB.DATA1 2097160192 13 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3DB ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA4\SR3DB_2\SR3DB.DATA2 2097160192 14 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3DB ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA4\SR3DB_3\SR3DB.DATA3 1048584192 15 3 NOLINK FILE 10485760000 20971520 8192
PSAPSR3USR ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA4\SR3USR_1\SR3USR.DATA1 20979712 12 3 NOLINK FILE 10485760000 20971520 8192
PSAPTEMP ONLINE# ONLINE+ D:\ORACLE\BWD\SAPDATA1\TEMP_1\TEMP.DATA1 1048584192 -1 3 NOLINK FILE 10485760000 20971520 8192
PSAPUNDO ONLINE- ONLINE+ D:\ORACLE\BWD\SAPDATA1\UNDO_1\UNDO.DATA1 8115986432 2 3 NOLINK FILE 10485760000 20971520 8192
SYSAUX ONLINE* ONLINE+ D:\ORACLE\BWD\SAPDATA1\SYSAUX_1\SYSAUX.DATA1 209723392 3 3 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ D:\ORACLE\BWD\SAPDATA1\SYSTEM_1\SYSTEM.DATA1 524296192 1 3 NOLINK FILE 10485760000 20971520 8192
BR0119I Redo log files
File Size Group Device Status Link Type
D:\ORACLE\BWD\ORIGLOGA\LOG_G11M1.DBF 52429312 1 3 INUSE NOLINK FILE
C:\ORACLE\BWD\MIRRLOGA\LOG_G11M2.DBF 52429312 1 2 INUSE NOLINK FILE
D:\ORACLE\BWD\ORIGLOGB\LOG_G12M1.DBF 52429312 2 3 INUSE NOLINK FILE
C:\ORACLE\BWD\MIRRLOGB\LOG_G12M2.DBF 52429312 2 2 INUSE NOLINK FILE
D:\ORACLE\BWD\ORIGLOGA\LOG_G13M1.DBF 52429312 3 3 INUSE NOLINK FILE
C:\ORACLE\BWD\MIRRLOGA\LOG_G13M2.DBF 52429312 3 2 INUSE NOLINK FILE
D:\ORACLE\BWD\ORIGLOGB\LOG_G14M1.DBF 52429312 4 3 INUSE NOLINK FILE
C:\ORACLE\BWD\MIRRLOGB\LOG_G14M2.DBF 52429312 4 2 INUSE NOLINK FILE
BR0120I Control files
File Size Id. Device Link Type
D:\oracle\BWD\origlogA\cntrl\cntlrBWD.dbf 12664832 0 3 NOLINK FILE
D:\oracle\BWD\origlogB\cntrl\cntrlBWD.dbf 12664832 0 3 NOLINK FILE
D:\oracle\BWD\sapdata1\cntrl\cntrlBWD.dbf 12664832 0 3 NOLINK FILE
BR0616I Tablespaces in table TSORA for SAP owner SAPSR3:
PSAPSR3, PSAPSR3700, PSAPSR3USRThanks, I'm actually on 12 and facing the same issue. did you replace your executables as well?
cheers
kev -
TopLink Exception(TOPLINK-6075)
Warning: Unhandled Exception thrown: class oracle.toplink.exceptions.QueryException
[TopLink 警告]: 2009.11.20 03:25:53.917--ClientSession(8035327)--异常状况 [TOPLINK-6075] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.QueryException
异常状况说明: 对象比较仅能使用 equal() 或 notEqual() 运算子. 其它比较则必须透过查询索引键或直接属性层次比较完成.
表示式: [
Relation operator LIKE
Query Key coordinaid
Base model.ACoordinator
Constant D%]
查询: ReadAllQuery(model.ACoordinator)Hello,
Without more information, I can't determine what the problem is. This exception's english wording is "Object comparisons can only use the equal() or notEqual() operators. Other comparisons must be done through query keys or direct attribute level comparisons.", and implies that the query expression is using a Like operator where atleast one side of the comparison is an entity instead of a string value. Entity/object comparisons are only supported with the equal or notEqual comparisons.
Best Regards,
Chris -
Hi,
I am working on a project where we extend an application built by a third party vendor. I've spent hours trying to determine the cause of some exceptions. The vendor transforms exceptions thrown by the application server or Oracle into their own exceptions. In this process they tend to drop the original cause or message and replace it by a somewhat vague "Database problem probably due to RI violation." not mentioning what constraint caused it. After a long debugging session I managed to figure it out.
I was wondering if I could somehow log all exceptions thrown in the application. I was thinking of some AOP kind of way. Since I don't have the code of the core product classes, I would have to add something at runtime? I believe AspectJ is out of the question since I cannot recompile the vendors code. Spring AOP is out of the question, because I believe it can only add extra behaviour to beans in the application context. We don't use spring at all, so no beans available.
Is there any other way to get to the hidden exceptions or should I just forget about this? I'm going to try to solve some part with jdbc logging first.
Thanks for any input.garava wrote:
I guess if you don't have the code with you, there is no point in exploring the exceptions. Basically they have already catched them.There actually is a point in exploring them: If Oracle throws an exception "Unique constraint YOUR_UNIQUE_CONSTRAINT violated." and all you see is "There was an exception", then there is a good point in getting that exception information. It could be some parameter that you pass to the system that might cause this problem. The way I did it now was telling the eclipse debugger to break at every exception. I honestly hadn't expected to see that application throw so many internal exceptions!
georgemc wrote:
You could slip your own JDBC driver in between the app and the real JDBC driver, give you a bit more insight into what's going on. Write some classes that implement the basic JDBC interfaces, do some logging or whatever, then pass the calls on to your "real" JDBC driver classes. There's at least one open-source project around that already does this, but I can't remember the name of it off the top of me headThanks George, I might do that if I get enough time for it. I found [this article|http://www.rgagnon.com/javadetails/java-0411.html] where they set a logWriter on a DriverManager. This might be enough to capture the jdbc exceptions. -
Is there a way to log all exceptions, including unhandled exceptions? What I want to do is have the exception log run on all or our client workstations. When an unhandled exception occurs (Murphy's Law), I want to be able to go view the client applications exception log and see what new an interesting bugs our user's have found.
You can catch "unhandled" exceptions as well and do what you want with them.
Things such as NullPointerException fall under RuntimeException. If you catch that, you can log it as you see fit.
Is that what you're asking? -
Scenario:
Creating an entity bean from a session bean
Error message:
javax.ejb.CreateException: EXCEPTION [EJB - 10001]: Exception creating bean of type [com.x.y.z.OrderBean].
[EXCEPTION [TOPLINK-7009] (TopLink (WLS CMP) - 9.0.3.3 (Build Patch for 2992647)): oracle.toplink.exceptions.ValidationException
EXCEPTION DESCRIPTION:
Missing descriptor for [class java.math.BigDecimal]. Verify that the descriptor has been properly registered with the Session.]at oracle.toplink.internal.ejb.cmp.EJBExceptionFactory.createException(Unknown Source)Errors like "Missing descriptor for [class java.math.BigDecimal]" happen when you accidentally put a primitive wrapper where you have a Relationship mapping. For example, if you had a 1-M mapping and somehow put a BigDecimal in the collection, or accidentally mapped a BigDecimal as a 1-1 when really it should be a Direct-to-field, etc.
- Don -
When I am adding a new object to the existing Toplink map and while creating Java objects from existing tables, I am getting the following exception and Java object creation process is stuck and I have to exit the Jdeveloper by terminating the process. Is this bug or any issue with Toplink map, I mean is the TopLink map got corrupted? If so, is there any solution to fix Toplink map. I will higly appreciate if someone respond quickly.
Thanks in Advance
java.lang.NullPointerException
at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1102)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:269)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:206)
at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
at java.lang.Thread.run(Thread.java:595)
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
at java.util.HashMap$EntryIterator.next(HashMap.java:829)
at java.util.HashMap$EntryIterator.next(HashMap.java:827)
at oracle.ideimpl.controls.SwitchablePanel.getTabPageForComponent(SwitchablePanel.java:556)
at oracle.ideimpl.controls.FlatTabbedWindow.getTabPageForComponent(FlatTabbedWindow.java:304)
at oracle.ideimpl.log.TabbedPage.getTabPageForLogPage(TabbedPage.java:238)
at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:100)
at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1102)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:269)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:206)
at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
at java.lang.Thread.run(Thread.java:595)Hi,
My web application configured on jdeveloper, jsf, toplink has already a data base configured, i am trying to connect to another database which leads to multiple data bases through session broker. But i am not using session manager to acquire session rather using Session factory which takes Environment.getTopLinkSessionName() to locate session. I am getting below exception when deployed.
Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:317)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CSFacade_LocalProxy_59gcb4h.findAcctHouseholdClaims(Unknown Source)
at com.allstate.amc.view.delegates.AMCLookups.findAcctHouseholdClaims(AMCLookups.java:495)
at com.allstate.amc.view.backing.MyMembership.getClaims(MyMembership.java:113)
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)
Maybe you are looking for
-
Open T-code on double click of field in table maintenance
Hi Gurus, I have one scenario, I have to show a transaction on double click event on a field of Table Maintence. Please guide me in this . Is there is any event in Table Maintenance Events to capture double_click of a field. Regards, Sowmen
-
IPhoto keeps on generating photos in "modified" folder
Hi, I'm really frustrated with how iPhoto duplicates edited photos. Therefore, I don't really do any editing in iPhoto anymore. However, the "modified" folder still has copies of photos I never edited. I select those photos in iPhoto and choose "reve
-
Videos from any source on any browser buffers then stops.
Every time I watch a video, whether it be from Youtube, Facebook, Google, etc. the video would load up to a certain point, then stop buffering. This affects all browsers such as Chrome, IE, etc. The problem is NOT my Internet connection, because I ca
-
JDBC connection for SQL Server 2000
How to connect SQL Server 2000 from java? If i can get any sites where i can get examples also fine. Thanks in advance Praveen.
-
I think creative should increase the file size limit on the zen xtra (and possibly other zen's). I have 5GB free space and receive an error message when I try to back up a 2GB file in Nomad Explorer! It would be better for creative players to support