Exception in Oracle 10g
I've got problems with the following code:
OPEN Gr_Obj_Cur;
LOOP
BEGIN
FETCH Gr_Obj_Cur INTO Gr_Obj_Rec;
EXIT WHEN Gr_Obj_Cur%NOTFOUND;
INSERT INTO ADM.Current_Official_Obj#
(Owner, Name, Obj_Type, Priv)
VALUES (Gr_Obj_Rec.Owner, Gr_Obj_Rec.Name, Gr_Obj_Rec.Obj_Type, 'SELECT');
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
END LOOP;
CLOSE Gr_Obj_Cur;
It iterates aproximately 2000 times. And since I've a unique index built for the Current_Official_Obj# in almost half of cases the insert throws an exception. The latter(throwing an exception) executes pretty long (50sec. for the whole loop).
I tried to run this code In Oracle 9 - and the most surprising is that it works in 0.5sec.
What is the reason for such a strange behavior in Oracle10? Can the exceptions be logged? Is this option tunable? If so then how to turn it off?
Thanx in advance, Aidar
Not sure what you are trying to achieve here. The code itself does not make sense. Why use an explicit cursor fetch loop when the exact same results can be achieved by an implicit cursor running a 'INSERT INTO .. SELECT ... FROM ..'?
Why supress all exceptions, without handling them? I fail to grasp why this would want to be done.
As for comparing 9i with 10G - this will only be valid if the 2 hardware platforms are exactly the same and the data volumes (and number of exceptions raised) are also the same. Even then there can be differences due to PIO vs LIO ratios between the two instances. Etc.
Similar Messages
-
Metadata exception in Oracle 10g
Hi,
I am getting the following error when executing the following piece of code:
ResultSetMetaData rsmd = pstmt.getMetaData();
rs = pstmt.executeQuery();
the error is:
[1/20/10 5:43:46:479 CST] 0000001e SystemErr R java.sql.SQLException: statement handle not executed: getMetaData
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at oracle.jdbc.driver.OracleResultSetImpl.getMetaData(OracleResultSetImpl.java:135)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at oracle.jdbc.driver.OraclePreparedStatement.getMetaData(OraclePreparedStatement.java:4049)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.getMetaData(WSJdbcPreparedStatement.java:790)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.cisco.emco.swnpi.elib.service.Elibserver.getAdminMaster(Elibserver.java:7246)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.cisco.emco.swnpi.elib.gui.AM_Edit.process(AM_Edit.java:215)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.cisco.emco.swnpi.elib.src.elib.run(elib.java:468)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.cisco.emco.core.servlet.BaseServlet.doPost(BaseServlet.java:157)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.cisco.emco.core.servlet.BaseServlet.doGet(BaseServlet.java:172)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.cisco.emco.swnpi.elib.src.elib.doGet(elib.java:564)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:591)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
[1/20/10 5:43:46:480 CST] 0000001e SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
[1/20/10 5:43:46:481 CST] 0000001e SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
But, if I interchange the code and first call the execute and then retrun the metadata it works fine. Also, the same piece of code works fine in Oracle 9i, but is failing in 10g. Is it specific to oracle upgrade issue, or WAS 6.1 issue. I have also upgraded for 5.1 to 6
Please help me to resolve this ASAPMeta data is based on an actual database access. It doesn't exist until you interact with the database.
Also, the same piece of code works fine in Oracle 9i, but is failing in 10g. I doubt that. -
Exception after switching to Oracle 10g
I have a working application running on weblogic server 9.1. The server has
a DataSource pointing to an Oracle 9i instance (i am using the Oracle Thin
XA driver).
Now I tried to connect to an identical database schema running in Oracle 10g
(with the same driver). Now weblogic throws errors while deploying the
application:
The problem seems to be with an cmp entity bean for the table G_ZM_FAB which
is a synonym to a view in another schema. I have no problem accessing
G_ZM_FAB with any database tool or with sqlplus. Only weblogic gives
errors. Another entity bean pointing to a similar table works perfectly
(the second entity bean has bean managed persistence).
Do you have any idea where the problem might be? I have tried other drivers
with no success (they give other errors). When I make G_ZM_FAB a normal
table with the same structure and content, everyting works fine.
Here is the server log with the exception that is thrown:
=== SNIP ===
JAVA Memory arguments: -Xmx1536m -Xgc:parallel -d64
WLS Start Mode=Production
CLASSPATH=:/opt/bea/patch_weblogic910/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/bea/jrockit150/lib/tools.jar:/opt/bea/weblogic91/server/lib/weblogic_sp.jar:/opt/bea/weblogic91/server/lib/weblogic.jar:/opt/bea/weblogic91/server/lib/webservices.jar::/opt/bea/weblogic91/common/eval/pointbase/lib/pbclient51.jar:/opt/bea/weblogic91/server/lib/xqrl.jar::/opt/bea/weblogic91/integration/lib/util.jar:
PATH=/opt/bea/weblogic91/server/bin:/opt/bea/jrockit150/jre/bin:/opt/bea/jrockit150/bin:/opt/bea/user_projects/domains/Systemtest8010/bin:/opt/bea/user_projects/domains/Systemtest8010/runtime/bin:/opt/bea/user_projects/domains/Systemtest8010:/opt/ora10g/bin:/opt/bea/weblogic91/common/bin:/opt/bea/weblogic91/server/bin:/opt/sfw/bin:/usr/local/bin:/usr/bin::/usr/openwin/bin:/usr/local/kde/bin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
BEA JRockit(R) (build
R27.1.0-109-73164-1.5.0_08-20061129-1427-solaris-sparcv9, compiled mode)
Starting WLS with line:
/opt/bea/jrockit150/bin/java -jrockit -Xmx1536m -Xgc:parallel -d64 -Dpython.cachedir=/opt/bea/user_projects/domains/Systemtest8010/wlstTemp -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Dpegasus.serverTyp=test -Dpegasus.application.description="Systemtestumgebung
1" -da -Dplatform.home=/opt/bea/weblogic91 -Dwls.home=/opt/bea/weblogic91/server -Dwli.home=/opt/bea/weblogic91/integration -Dweblogic.management.discover=true -Dweblogic.ProductionModeEnabled=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/bea/patch_weblogic910/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=xxxxxxxx -Dweblogic.Name=Pegasus -Djava.security.policy=/opt/bea/weblogic91/server/lib/weblogic.policy
weblogic.Server
<28.08.2007 8.33 Uhr CEST> <Info> <WebLogicServer> <BEA-000377> <Starting
WebLogic Server with BEA JRockit(R) Version
R27.1.0-109-73164-1.5.0_08-20061129-1427-solaris-sparcv9 from BEA Systems,
Inc.>
<28.08.2007 8.33 Uhr CEST> <Info> <Management> <BEA-141107> <Version:
WebLogic Server 9.1 Mon Dec 12 19:26:33 EST 2005 689178 >
<28.08.2007 8.33 Uhr CEST> <Info> <WebLogicServer> <BEA-000215> <Loaded
License : /opt/bea/license.bea>
<28.08.2007 8.33 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<28.08.2007 8.33 Uhr CEST> <Info> <WorkManager> <BEA-002900> <Initializing
self-tuning thread pool>
<28.08.2007 8.33 Uhr CEST> <Notice> <Log Management> <BEA-170019> <The
server log
file /pegasus_test/Systemtest8010/servers/Pegasus/logs/Pegasus.log is
opened. All server side log events will be written to this file.>
<28.08.2007 8.34 Uhr CEST> <Notice> <Security> <BEA-090082> <Security
initializing using security realm myrealm.>
<28.08.2007 8.34 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STANDBY>
<28.08.2007 8.34 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<28.08.2007 9.14 Uhr CEST> <Error> <JDBC> <BEA-001112> <Test "SELECT 1 FROM
DUAL" set up for pool "pegasus" failed with
exception: "javax.transaction.xa.XAException".>
<28.08.2007 9.14 Uhr CEST> <Error> <JTA> <BEA-110412>
<Xid=BEA1-015D84121B5A4CC38D9
(35424095),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
since begin=41,seconds left=82,activeThread=Thread[[ACTIVE]
ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)',5,Pooled
Threads],XAServerResourceInfo[pegasus]=(ServerResourceInfo[pegasus]=(state=committed,assigned=Pegasus),xar=pegasus,re-Registered
=
false),SCInfo[Systemtest8010+Pegasus]=(state=committed),properties=({}),local
properties=({weblogic.jdbc.jta.pegasus=[ No XAConnection is attached to
this
TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=Pegasus+10.32.193.47:8010+Systemtest8010+t3+,
XAResources={WLStore_Systemtest8010_FileStore-0,
pegasus2},NonXAResources={})],CoordinatorURL=Pegasus+10.32.193.47:8010+Systemtest8010+t3+)
completed heuristically: (pegasus, HeuristicHazard, ()) >
<28.08.2007 9.14 Uhr CEST> <Error> <Deployer> <BEA-149231> <Unable to set
the activation state to true for the application 'Pegasus-Application'.
weblogic.application.ModuleException: Exception activating module:
EJBModule(deploy/DEBTMR-G-EJB.jar)
Unable to deploy EJB: G_ZM_FAB from deploy/DEBTMR-G-EJB.jar:
[EJB:011007]Unable to create EJB Persistence Manager.
javax.transaction.HeuristicMixedException: (pegasus, HeuristicHazard, ())
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:297)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:271)
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:298)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
at
weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1292)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:405)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
at
weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:422)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
Truncated. see log file for complete stacktrace
[EJB:011007]Unable to create EJB Persistence Manager.
javax.transaction.HeuristicMixedException: (pegasus, HeuristicHazard, ())
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:297)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:271)
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:298)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
at
weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1292)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:405)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
at
weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
NestedException Message is :(pegasus, HeuristicHazard, ())
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:311)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
Truncated. see log file for complete stacktrace
=== SNIP ===
Greetings,
ChristianChristian Schmolzi wrote:
I have a working application running on weblogic server 9.1. The server has
a DataSource pointing to an Oracle 9i instance (i am using the Oracle Thin
XA driver).
Now I tried to connect to an identical database schema running in Oracle 10g
(with the same driver). Now weblogic throws errors while deploying the
application:
The problem seems to be with an cmp entity bean for the table G_ZM_FAB which
is a synonym to a view in another schema. I have no problem accessing
G_ZM_FAB with any database tool or with sqlplus. Only weblogic gives
errors. Another entity bean pointing to a similar table works perfectly
(the second entity bean has bean managed persistence).
Do you have any idea where the problem might be? I have tried other drivers
with no success (they give other errors). When I make G_ZM_FAB a normal
table with the same structure and content, everyting works fine.Odd. Well, we can assume that the issue is a difference in the
JDBC-access behavior of the two DBMS versions. I would start by
updating the ojdbc14.jar in your WLS's server\lib directory. Download
and try Oracle's latest driver, and let me know if that solves it.
Joe
>
Here is the server log with the exception that is thrown:
=== SNIP ===
JAVA Memory arguments: -Xmx1536m -Xgc:parallel -d64
WLS Start Mode=Production
CLASSPATH=:/opt/bea/patch_weblogic910/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/bea/jrockit150/lib/tools.jar:/opt/bea/weblogic91/server/lib/weblogic_sp.jar:/opt/bea/weblogic91/server/lib/weblogic.jar:/opt/bea/weblogic91/server/lib/webservices.jar::/opt/bea/weblogic91/common/eval/pointbase/lib/pbclient51.jar:/opt/bea/weblogic91/server/lib/xqrl.jar::/opt/bea/weblogic91/integration/lib/util.jar:
PATH=/opt/bea/weblogic91/server/bin:/opt/bea/jrockit150/jre/bin:/opt/bea/jrockit150/bin:/opt/bea/user_projects/domains/Systemtest8010/bin:/opt/bea/user_projects/domains/Systemtest8010/runtime/bin:/opt/bea/user_projects/domains/Systemtest8010:/opt/ora10g/bin:/opt/bea/weblogic91/common/bin:/opt/bea/weblogic91/server/bin:/opt/sfw/bin:/usr/local/bin:/usr/bin::/usr/openwin/bin:/usr/local/kde/bin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
BEA JRockit(R) (build
R27.1.0-109-73164-1.5.0_08-20061129-1427-solaris-sparcv9, compiled mode)
Starting WLS with line:
/opt/bea/jrockit150/bin/java -jrockit -Xmx1536m -Xgc:parallel -d64 -Dpython.cachedir=/opt/bea/user_projects/domains/Systemtest8010/wlstTemp -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Dpegasus.serverTyp=test -Dpegasus.application.description="Systemtestumgebung
1" -da -Dplatform.home=/opt/bea/weblogic91 -Dwls.home=/opt/bea/weblogic91/server -Dwli.home=/opt/bea/weblogic91/integration -Dweblogic.management.discover=true -Dweblogic.ProductionModeEnabled=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/bea/patch_weblogic910/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=xxxxxxxx -Dweblogic.Name=Pegasus -Djava.security.policy=/opt/bea/weblogic91/server/lib/weblogic.policy
weblogic.Server
<28.08.2007 8.33 Uhr CEST> <Info> <WebLogicServer> <BEA-000377> <Starting
WebLogic Server with BEA JRockit(R) Version
R27.1.0-109-73164-1.5.0_08-20061129-1427-solaris-sparcv9 from BEA Systems,
Inc.>
<28.08.2007 8.33 Uhr CEST> <Info> <Management> <BEA-141107> <Version:
WebLogic Server 9.1 Mon Dec 12 19:26:33 EST 2005 689178 >
<28.08.2007 8.33 Uhr CEST> <Info> <WebLogicServer> <BEA-000215> <Loaded
License : /opt/bea/license.bea>
<28.08.2007 8.33 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<28.08.2007 8.33 Uhr CEST> <Info> <WorkManager> <BEA-002900> <Initializing
self-tuning thread pool>
<28.08.2007 8.33 Uhr CEST> <Notice> <Log Management> <BEA-170019> <The
server log
file /pegasus_test/Systemtest8010/servers/Pegasus/logs/Pegasus.log is
opened. All server side log events will be written to this file.>
<28.08.2007 8.34 Uhr CEST> <Notice> <Security> <BEA-090082> <Security
initializing using security realm myrealm.>
<28.08.2007 8.34 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STANDBY>
<28.08.2007 8.34 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<28.08.2007 9.14 Uhr CEST> <Error> <JDBC> <BEA-001112> <Test "SELECT 1 FROM
DUAL" set up for pool "pegasus" failed with
exception: "javax.transaction.xa.XAException".>
<28.08.2007 9.14 Uhr CEST> <Error> <JTA> <BEA-110412>
<Xid=BEA1-015D84121B5A4CC38D9
(35424095),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
since begin=41,seconds left=82,activeThread=Thread[[ACTIVE]
ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)',5,Pooled
Threads],XAServerResourceInfo[pegasus]=(ServerResourceInfo[pegasus]=(state=committed,assigned=Pegasus),xar=pegasus,re-Registered
=
false),SCInfo[Systemtest8010+Pegasus]=(state=committed),properties=({}),local
properties=({weblogic.jdbc.jta.pegasus=[ No XAConnection is attached to
this
TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=Pegasus+10.32.193.47:8010+Systemtest8010+t3+,
XAResources={WLStore_Systemtest8010_FileStore-0,
pegasus2},NonXAResources={})],CoordinatorURL=Pegasus+10.32.193.47:8010+Systemtest8010+t3+)
completed heuristically: (pegasus, HeuristicHazard, ()) >
<28.08.2007 9.14 Uhr CEST> <Error> <Deployer> <BEA-149231> <Unable to set
the activation state to true for the application 'Pegasus-Application'.
weblogic.application.ModuleException: Exception activating module:
EJBModule(deploy/DEBTMR-G-EJB.jar)
Unable to deploy EJB: G_ZM_FAB from deploy/DEBTMR-G-EJB.jar:
[EJB:011007]Unable to create EJB Persistence Manager.
javax.transaction.HeuristicMixedException: (pegasus, HeuristicHazard, ())
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:297)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:271)
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:298)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
at
weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1292)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:405)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
at
weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:422)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
Truncated. see log file for complete stacktrace
[EJB:011007]Unable to create EJB Persistence Manager.
javax.transaction.HeuristicMixedException: (pegasus, HeuristicHazard, ())
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:297)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:271)
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:298)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
at
weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1292)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:405)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
at
weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
NestedException Message is :(pegasus, HeuristicHazard, ())
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:311)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
Truncated. see log file for complete stacktrace
=== SNIP ===
Greetings,
Christian -
Cannot get Oracle 10g to start on a G5. Floating point exception
After a very painful 10g (EE) installation process i.e fixing all the following:
1) Created the missing /opt directory
2) Installation of XCode 1.2
3) Fixing the root.sh file
4) Downloaded the crstl file provided by Ron
5) Copied /etc/oratab/oratab to /etc/oratab
I tried bringing up the Oracle 10g instance by logging onto Sql*Plus as sysdba and running
startup nomount pfile ='/Users/oracle/admin/db01/scripts/init.ora''. The instance comes up for a few socunds and crashes. This is what i get in the alert.log
==========================================================
Sat Jul 17 11:40:08 2004
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
KCCDEBUG_LEVEL = 0
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
Dynamic strands is set to TRUE
Running with 2 shared and 18 private strand(s). Zero-copy redo is FALSE
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 10.1.0.3.0.
System parameters with non-default values:
processes = 150
sga_target = 146800640
control_files = /Users/oracle/oradata/db01/control01.ctl, /Users/oracle/oradata/db01/control02.ctl, /Users/oracle/oradata/db01/control03.ctl
db_block_size = 8192
compatible = 10.1.0.2.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = /Users/oracle/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=db01XDB)
job_queue_processes = 10
background_dump_dest = /Users/oracle/admin/db01/bdump
user_dump_dest = /Users/oracle/admin/db01/udump
core_dump_dest = /Users/oracle/admin/db01/cdump
db_name = db01
open_cursors = 300
pga_aggregate_target = 16777216
PMON started with pid=2, OS id=4037
MMAN started with pid=3, OS id=4039
DBW0 started with pid=4, OS id=4041
LGWR started with pid=5, OS id=4043
CKPT started with pid=6, OS id=4045
SMON started with pid=7, OS id=4047
RECO started with pid=8, OS id=4049
Sat Jul 17 11:40:16 2004
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
CJQ0 started with pid=9, OS id=4051
Sat Jul 17 11:40:16 2004
starting up 1 shared server(s) ...
Sat Jul 17 11:40:18 2004
Errors in file /Users/oracle/admin/db01/bdump/db01_ckpt_4045.trc:
ORA-07445: exception encountered: core dump [semop+8] [SIGFPE] [Invalid floating point operation] [0xA0004CE4] [] []
Sat Jul 17 11:40:19 2004
Errors in file /Users/oracle/admin/db01/bdump/db01_mman_4039.trc:
ORA-07445: exception encountered: core dump [semop+8] [SIGFPE] [Invalid floating point operation] [0x41EDB3C] [] []
Sat Jul 17 11:40:21 2004
Errors in file /Users/oracle/admin/db01/bdump/db01_pmon_4037.trc:
ORA-00822: MMAN process terminated with error
Sat Jul 17 11:40:21 2004
PMON: terminating instance due to error 822
Instance terminated by PMON, pid = 4037
==========================================================
Any idea on what needs to be done to fix this error. I remember that i had the very same issue with the Oracle 9i R2 Developers release.
Any help will be greatly appreciated.After a very painful 10g (EE) installation process
i.e fixing all the following:<snip>
Sat Jul 17 11:40:19 2004
Errors in file
/Users/oracle/admin/db01/bdump/db01_mman_4039.trc:
ORA-07445: exception encountered: core dump [semop+8]
[SIGFPE] [Invalid floating point operation]
[0x41EDB3C] [] []
Sat Jul 17 11:40:21 2004
Errors in file
/Users/oracle/admin/db01/bdump/db01_pmon_4037.trc:
ORA-00822: MMAN process terminated with error
Sat Jul 17 11:40:21 2004
PMON: terminating instance due to error 822
Instance terminated by PMON, pid = 4037==============================================> Any idea on what needs to be done to fix this error.
I remember that i had the very same issue with the
Oracle 9i R2 Developers release.
Any help will be greatly appreciated.You mentioned the 9ir2 release. Do you still have any reference to the 9ir2 software in your environment ? With a little luck you have, and in that case it not so hard to find a solution ...
Ronald.
http://homepage.mac.com/ik_zelf/oracle -
Hi All,
We are using a JMS adapter as partner link in a BPEL process to produce messages to JMS Queue.
We are getting an error while producing a message to a JMS Queue.
The error comes for 1 or 2 instances among 5 to10 intsances. (all these instances ran with in 1 or 2 seconds).
We are using Oracle 10G SOA suite.
This error is getting in the Production environment.
The error is as follows (took error from server log).
Failed to handle dispatch message ... exception ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{summary=file:/sw/appaia/product/SOA/bpel/domains/default/tmp/.bpel_CurrencyExchangeListEbizJMSProducer_1.0_4ec528ec93a8a6ff0278fab9701dcc71.tmp/CurrencyExchangeListEbizJMSProducerV1.wsdl [ Produce_Message_ptt::Produce_Message(OutputParameters) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: Adapter Framework unable to create outbound JCA connection.
file:/sw/appaia/product/SOA/bpel/domains/default/tmp/.bpel_CurrencyExchangeListEbizJMSProducer_1.0_4ec528ec93a8a6ff0278fab9701dcc71.tmp/CurrencyExchangeListEbizJMSProducerV1.wsdl [ Produce_Message_ptt::Produce_Message(OutputParameters) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: oracle.j2ee.connector.proxy.ProxyInterceptException: javax.resource.ResourceException: RollbackException: Transaction has been marked for rollback: null [Caused by: RollbackException: Transaction has been marked for rollback: null]
; nested exception is:
ORABPEL-12511
Adapter Framework unable to create outbound JCA connection.
I tried the below JMS tunings with differnt combination, but no improvement.
<property name="useJCAConnectionPool">true</property>
<property name="maxSizeJCAConnectionPool">500</property>
<property name="retryMaxCount">10</property>
<property name="retryInterval">60</property>
Please let me know if any other logs or any other information is required.
Thanks,
Pershadsorry, I forgot the below things which I tried to tune the JMS.
<property name="retryMaxCount">10</property>
<property name="retryInterval">60</property>
<property name="useJCAConnectionPool">true</property>
<property name="maxSizeJCAConnectionPool">500</property>
Thanks. -
How to find exception occured while using LOGON function in oracle 10g
Hi,
I am using LOGON function to login with a different user name in oracle 10g forms.
LOGON ( User, Pass@tns, FALSE)
The third parameter is passed as 'FALSE' to avoid the login screen to be opened. If any of the other parameter ( User Name, Password, TNS) is passed wrong, connection is not established but no exception is occurred. The value for 'FORM_FAILURE' is set to 'TRUE'.
What i need is the ORA error for connection failure. The error message related to user name/password (ORA-01017) or connection identifier (ORA-12155).
How i can get this error code if connection is failed. Is there any other way to login in oracle forms other than 'LOGON'.
HabibHabib Ahmad wrote:
Hi,
I am using LOGON function to login with a different user name in oracle 10g forms.
LOGON ( User, Pass@tns, FALSE)
The third parameter is passed as 'FALSE' to avoid the login screen to be opened. If any of the other parameter ( User Name, Password, TNS) is passed wrong, connection is not established but no exception is occurred. The value for 'FORM_FAILURE' is set to 'TRUE'.
What i need is the ORA error for connection failure. The error message related to user name/password (ORA-01017) or connection identifier (ORA-12155).
How i can get this error code if connection is failed. Is there any other way to login in oracle forms other than 'LOGON'.As salamu alikum, Habib
If you pass FALSE in login you can't catch anything. Want to catch the error ?
Then change
LOGON ( User, Pass@tns, FALSE)
to
LOGON ( User, Pass@tns, TRUE) Now Create On-Error trigger at form level
and try the following code
if error_code=01017 then
message('invalid user name or password');
message('invalid user name or password');
raise form_trigger_failure;
elsif error_code=12154 or error_code=1215 then
message('invalid connection string');
message('invalid connection string');
raise form_trigger_failure;
end if;Hopes this helps
If someone's response is helpful or correct, please mark it accordingly. -
Oracle 10g instal on linux exception unsatisfied link erro
I am trying to instal oracle 10g on redhat linux am getting an error like this how to solve this
[oracle@localhost ~]$ pwd
/home/oracle
[oracle@localhost ~]$ ../database/runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-07-10_01-53-31PM. Please wait ...[oracle@localhost ~]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-07-10_01-53-31PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
[oracle@localhost ~]$according to mr Ivan Kartik at his blog http://ivan.kartik.sk/oracle/install_ora10gR2_redhat.html
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-07-07_09-40-45AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred.. java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-07-07_09-40-45AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
Solution: RH 3, WB 3, Centos 3 - Install the XFree86-libs-4.3.0-81.EL.i386.rpm and dependent packages.
RH 4, WB 4, Centos 4 - Install the xorg-x11-deprecated-libs-6.8.2-1.EL.13.6.i386.rpm package.
RH 5, OEL 5, Centos 5 - Install the libXp-1.0.0-8.1.el5.i386.rpm package.
I've tried to follow this suggestion and work nice.
thanks -
Exception after switching weblogic 10 To oracle 10g
Hi Folks
I have switched weblogic from 10.0 to oracle 10g ( 10.3 ), I got following exception on deploying the project, while in earlier weblogic 10.0 version, it was working fine.
Nov 19, 2010 4:12:07 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Nov 19, 2010 4:12:10 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/bea10_3/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException
com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/bea10_3/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastExceptionHi Folks
I have switched weblogic from 10.0 to oracle 10g ( 10.3 ), I got following exception on deploying the project, while in earlier weblogic 10.0 version, it was working fine.
Nov 19, 2010 4:12:07 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Nov 19, 2010 4:12:10 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/bea10_3/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException
com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/bea10_3/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException -
Occi GetString causing a exception with ntdll.dll oracle 10g and MS 2005
hi,
I am getting an exception with using Visual Studio 2005(VC++8) and occi.h 10g client.
When I run the release version I get an exception in ntdll.dll.
The problem is in the getString(). The field in the oracle table is defined as a varchar2(300).
I am new to oracle occi and need a solution because we cannot migrate to another version of the database.
These are the solutions I have tried:
download patches for MS Visual studio
download patched for oracle 10g client
Check that the charset it correct for std:string
I see that others have had the same problem but no one has a solution. If anyone has a solution please email me because I have searched for days!
Thanks
SherylAloha
Thank you for your response, I am new to posting, occi and C++. Can I send you the files.
Sorry didnt read this reply until today.
The email is [email protected].
This environment:
1> windows xp
2> MS Studio 5 VC++8
3> OCCI 10.2.0.3.0 (patch 13)libraries for Microsoft Visual C++ 8
4> I am using the Instant Client
5> I am using /MD Multithreaded DLL
6> Charset is oracle::occi::Environment::createEnvironment ("US7ASCII","AL16UTF16",Environment::DEFAULT);
7> We running the application in release mode and getting this error with a bad memory reference on getString().
I am getting a memory reference error on the getString(4).
This is the code that is causing the error
try
string istmt ="SELECT FILE_ID,FILES.FTYP_ID,LTRIM(RTRIM(FILEPATH)),LTRIM(RTRIM(FILENAME)),TITLE FROM FILES,FILE_TYPES WHERE FILE_TYPES.EXTN = 'img'AND file_types.ftyp_id = files.ftyp_id AND FILES.HDR_SCAN_DATE IS NULL ORDER BY FILEPATH, FILENAME ";
ResultSet * set = db->select(istmt);
if (set == NULL)
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"No file to process occured in : %s ", methodName.c_str());
return;
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"Did select in : %s ", methodName.c_str());
while (set->next())
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"Doing a set next in : %s ", methodName.c_str());
if (set->isNull(1) || set->isNull(2) || set->isNull(4) || set->isNull(3))
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"a value is null continue in : %s ", methodName.c_str());
continue;
try {
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"About to get string 3 in : %s ", methodName.c_str());
std::string test(set->getString(3));
fname.assign(test);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"File name: %s in : %s ",fname.c_str(), methodName.c_str());
} catch (exception ex9) {
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Exception in get string msg: occured in : %s ",ex9.what(), methodName.c_str());
continue;
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"getting int 1 in : %s ", methodName.c_str());
fid = set->getInt(1);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"getting string 4 in : %s ", methodName.c_str());
fn.assign(set->getString(4));
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"after getting string 4 in : %s ", methodName.c_str());
//dont append a slash if not need
size_t pos = fname.find_last_of("\\");
if(pos != fname.length()-1)
fname.append("\\");
fname.append(fn);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"adding %s to map in : %s ",fname.c_str(), methodName.c_str());
fnames.insert (std::pair<unsigned int,std::string>(fid,fname));
// int ftype = set->getInt(2);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"got fid:%d, fname:%s fn: %s to map in : %s ",fid,fname.c_str(),fn.c_str(), methodName.c_str());
catch (SQLException ex)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Sql Exception code: %d message: %s occured in : %s ",ex.getErrorCode(),ex.getMessage().c_str(), methodName.c_str());
db->exceptionHandler("SELECT PARAMS",ex.getErrorCode(),ex.getMessage());
throw;
catch (exception ex3)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Exception occured message: %sin : %s ", ex3.what(),methodName.c_str());
db->exceptionHandler("SELECT PARAMS",1,ex3.what());
throw;
catch (...) {
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Error occured in : %s ", methodName.c_str());
This is the code for the select in occi
/* Select statement for oracle occi*/
void * OraDb::select(std::string& sqlStr,std::map<std::string,VALUES,classcomp> & val) {
string methodName = "OraDb::select";
ResultSet *selectRset;
try {
this->stmt->setSQL(sqlStr);
this->bind(val);
selectRset = this->stmt->executeQuery ();
oracle::occi::Statement::Status res = this->stmt->status();
while(res != oracle::occi::Statement::RESULT_SET_AVAILABLE) {
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"the results set isnt ready");
res = this->stmt->status();
catch (SQLException ex)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Sql Error in %s code: %d Message:%s",methodName.c_str(),ex.getErrorCode(),ex.getMessage().c_str());
//Add error to error log
this->exceptionHandler(methodName,ex.getErrorCode(),ex.getMessage());
throw;
catch (exception ex3)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Error in %s Message:%s",methodName.c_str(),ex3.what());
this->exceptionHandler(methodName,1,ex3.what());
//Add error to errorlog
throw;
return selectRset;
This is the logs I get
ParamsTb::selectImgParams
in method OraDb::select this is the statement:SELECT FILE_ID,FILES.FTYP_ID,LTRIM(RTRIM(FILEPATH)),LTRIM(RTRIM(FILENAME)),TITLE FROM FILES,FILE_TYPES WHERE FILE_TYPES.EXTN = 'img'AND file_types.ftyp_id = files.ftyp_id AND FILES.HDR_SCAN_DATE IS NULL
Did select in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\\foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
got fid:4766408, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\\foeHeaderAirplane.img fn: foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\\foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
got fid:4778728, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\\foeHeaderAirplane.img fn: foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\\netwlan5.img to map in : FilesTb::selectImgFiles
got fid:4873869, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\\netwlan5.img fn: netwlan5.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\rwolfshagen\c\Resp-C4\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
I dumped a few things from last night’s Dr. Watson run, shown below, which may help:
manifest.txt
Server=watson.microsoft.com
UI LCID=1033
Flags=1672016
Brand=WINDOWS
TitleName=ImgHeaderLoader.exe
DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId
ErrorText=This error occurred on 6/25/2009 at 1:47:02 AM.
HeaderText=ImgHeaderLoader.exe encountered a problem and needed to close.
Stage1URL=/StageOne/ImgHeaderLoader_exe/0_0_0_0/ntdll_dll/5_2_3790_4455/0002b67d.htm
Stage2URL=/dw/stagetwo.asp?szAppName=ImgHeaderLoader.exe&szAppVer=0.0.0.0&szModName=ntdll.dll&szModVer=5.2.3790.4455&offset=0002b67d
DataFiles=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\ImgHeaderLoader.exe.mdmp|C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\appcompat.txt
Heap=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\ImgHeaderLoader.exe.hdmp
ErrorSubPath=ImgHeaderLoader.exe\0.0.0.0\ntdll.dll\5.2.3790.4455\0002b67d
DirectoryDelete=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00
appcompat.txt
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="ImgHeaderLoader.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="common.dll" SIZE="6656" CHECKSUM="0xA0D33EDD" MODULE_TYPE="WIN32" PE_CHECKSUM="0x8ADC" LINKER_VERSION="0x0" LINK_DATE="06/25/2009 00:44:47" UPTO_LINK_DATE="06/25/2009 00:44:47" />
<MATCHING_FILE NAME="FileLoader.exe" SIZE="65536" CHECKSUM="0x15C68C49" MODULE_TYPE="WIN32" PE_CHECKSUM="0x16CC5" LINKER_VERSION="0x0" LINK_DATE="06/23/2009 02:29:33" UPTO_LINK_DATE="06/23/2009 02:29:33" />
<MATCHING_FILE NAME="FileLoaderOriginal.exe" SIZE="65536" CHECKSUM="0x6672AE23" MODULE_TYPE="WIN32" PE_CHECKSUM="0x17E45" LINKER_VERSION="0x0" LINK_DATE="06/20/2009 03:34:40" UPTO_LINK_DATE="06/20/2009 03:34:40" />
<MATCHING_FILE NAME="ImgHeaderLoader.exe" SIZE="118784" CHECKSUM="0xBA94D6AE" MODULE_TYPE="WIN32" PE_CHECKSUM="0x20F4B" LINKER_VERSION="0x0" LINK_DATE="06/24/2009 22:42:49" UPTO_LINK_DATE="06/24/2009 22:42:49" />
<MATCHING_FILE NAME="x.exe" SIZE="65536" CHECKSUM="0x66982AE3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x103FD" LINKER_VERSION="0x0" LINK_DATE="06/18/2009 23:55:27" UPTO_LINK_DATE="06/18/2009 23:55:27" />
</EXE>
<EXE NAME="ntdll.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="ntdll.dll" SIZE="774144" CHECKSUM="0x74ACB78F" BIN_FILE_VERSION="5.2.3790.4455" BIN_PRODUCT_VERSION="5.2.3790.4455" PRODUCT_VERSION="5.2.3790.4455" FILE_DESCRIPTION="NT Layer DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.2.3790.4455 (srv03_sp2_gdr.090203-1205)" ORIGINAL_FILENAME="ntdll.dll" INTERNAL_NAME="ntdll.dll" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xC2B9D" LINKER_VERSION="0x50002" UPTO_BIN_FILE_VERSION="5.2.3790.4455" UPTO_BIN_PRODUCT_VERSION="5.2.3790.4455" LINK_DATE="02/09/2009 11:02:56" UPTO_LINK_DATE="02/09/2009 11:02:56" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1038336" CHECKSUM="0x7EFD9E0D" BIN_FILE_VERSION="5.2.3790.4480" BIN_PRODUCT_VERSION="5.2.3790.4480" PRODUCT_VERSION="5.2.3790.4480" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.2.3790.4480 (srv03_sp2_gdr.090321-1244)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x101B44" LINKER_VERSION="0x50002" UPTO_BIN_FILE_VERSION="5.2.3790.4480" UPTO_BIN_PRODUCT_VERSION="5.2.3790.4480" LINK_DATE="03/21/2009 17:08:26" UPTO_LINK_DATE="03/21/2009 17:08:26" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>
THANKS!!!!! -
Unsupport feature SQL exception ---JDK1.4 and oracle 10g driver
here there,
I got the unsupport feature SQLexeption, does anybody have any idea? JDK1.4 and oracle 10g driver should fully support JDBC 3.0. Am I right ?
Thank you very much
Avni
here is my snippet code,
Connection con = DriverManager.getConnection(url, user, password);
DatabaseMetaData data = con.getMetaData();
int jdbcVersion = data.getJDBCMajorVersion();
and here is the exception,
java.sql.SQLException: Unsupported feature
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java:690)
at oracle.jdbc.OracleDatabaseMetaData.getJDBCMajorVersion(OracleDatabaseMetaData.java:4061)
at com.sbc.jdbc.ConnectionVersion.<init>(ConnectionVersion.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:44)
at java.lang.reflect.Constructor.newInstance(Constructor.java:315)
at org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeansLauncher.main(JavaBeansLauncher.java:93)Avni,
Works for me with Oracle 10g database, "ojdbc14.jar" JDBC driver (latest version -- 10.2.0.1.0 -- downloaded from OTN) and JDK 1.4.2_07:
conn = ods.getConnection(); // Using 'OracleDataSource'
DatabaseMetaData dbmd = conn.getMetaData();
System.out.println("JDBC Major Version: " + dbmd.getJDBCMajorVersion());Above code prints out:
JDBC Major Version: 10Good Luck,
Avi. -
Oracle 10g to 11g Upgrade - Oracle Clusterware problem
Oracle10g RAC (2 Nodes) RHEL 4 64bit
Hi All,
I have began the procedure for upgrading Oracle Clusterware to 11g. However, during the install OUI was giving me certain error messages like it couldn't transfer the OUI installlogs to node 2. Well, I kept pushing through the install and after I ran the last rootupgrade script on node 2 it gave me the following error:
Checking the existence of nodeapps on this node
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Creating '/crs/home/install/paramfile.crs' with data used for CRS configuration
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Failed to retrieve VIP details
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Failed to retrieve VIP details
Setting CRS configuration values in /crs/home/install/paramfile.crs
So I ignored the error for the time being and after that I checked the status of crs and it gave me the following:
[oracle@vtl-rac2 crsd]$ crsstatus
HA Resource Target State
ora.VMRACDEV.VMRACDEV1.inst ONLINE ONLINE on vtl-rac1
ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ons ONLINE OFFLINE
ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.ons ONLINE OFFLINE
ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
So i tried to bring it back up by doing a crs_stop -all and crs_start -all and it gave me the following error:
vtl-rac1 : CRS-1019: Resource ora.vtl-rac2.ons (application) cannot run on vtl-rac1
Start of `ora.vtl-rac1.ons` on member `vtl-rac1` failed.
vtl-rac2 : CRS-1019: Resource ora.vtl-rac1.ons (application) cannot run on vtl-rac2
CRS-0223: Resource 'ora.VMRACDEV.db' has placement error.
CRS-0215: Could not start resource 'ora.vtl-rac1.ons'.
CRS-0215: Could not start resource 'ora.vtl-rac2.ons'.
I am thinking that all of this is caused by the various issues I had with the install. If I am incorrect, then please let me know. If it is true, I would like to know if there are any 11g docs on how to clean up a failed clusterware upgrade. Any advice would be greatly appreciated on any of the situations I am having.
Thank youHi Chandra,
Did CVU report any problems before the upgrade?No, there were no errors reported by CVU before the upgrade.
I don't there is note out there for cleaning 11g CRS
install...and I think can very use the 10g CRS note -
239998.1.Yeah I might have to go that way.
I have both the 11g CRS install and upgrade from 10g
to 11CRS at
http://chandradba.blogspot.com/2007/08/oracle-11g-rac-
install-on-red-hat-50.html
and
http://chandradba.blogspot.com/2008/02/oracle-10g-crs-
upgrade-to-11g-crs.html
see if it helps.Yup, your guide is very simple, clear and error proof :) That's how mine when pretty much except right around 75% I started getting these strange errors of files not being able to be transferred to node 2. Anyways, it shouldn't be a problem as none of those errors were configuration related...or else I would have a messed up cluster.
Well, I actually rebooted both machines and now the whole CRS stack is up!! So I guess I am ok. We'll just have to wait and see.
Thanks for your help Chandra...I always appreciate it. -
Oracle 10g on Ubuntu 8.04
I tried to install Oracle 10g on Ubuntu 8.04 followed the steps on this page http://kdevendr.wordpress.com/2009/01/21/installing-oracle-10g-on-linux-mint-and-ubuntu.
When i type sqlplus “/as sysdba”, it said ORA-12547: TNS : lost contact. When i tried to access http://vic4ever-laptop:5560/isqlplus, it didn't work.
Plz help! Thanks.I've found these two files and what I'm supposed to do ?
These are some errors from the installs...log
INFO: Detecting the IP.....:127.0.1.1
INFO: RunTime Error
INFO: Actual Result: :java.lang.NullPointerException:Exception/Error Occurred
Check complete. The overall result of this check is: Not executed <<<<
INFO: --------------------------------------------------------------------------------
INFO: Prerequisite checks completed : Sat Apr 11 14:36:27 ICT 2009
WARNING: Some recommended prerequisite checks have failed. You might get errors during installation. Do you want to proceed?
INFO: User Selected: Yes/OK
INFO: make: *** [opt/oracle/product/10.2.0/rdbms/lib/oracle] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'ioracle' of makefile '/opt/oracle/product/10.2.0/rdbms/lib/ins_rdbms.mk'. See '/opt/oracle/oraInventory/logs/installActions2009-04-11_02-35-06PM.log' for details.
Exception Severity: 1
INFO: The output of this make operation is also available at: '/opt/oracle/product/10.2.0/install/make.log'
INFO: make: *** [liborasdkbase] Error 1
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl ihsodbc' of makefile '/opt/oracle/product/10.2.0/rdbms/lib/ins_rdbms.mk'. See '/opt/oracle/oraInventory/logs/installActions2009-04-11_02-35-06PM.log' for details.
From make.log
make: *** [opt/oracle/product/10.2.0/rdbms/lib/oracle] Error 1
/usr/bin/make -f ins_net_client.mk nnfgt.o mkldflags client_sharedlib ORACLE_HOME =/opt/oracle/product/10.2.0/rm -f nnfgt.*
make: *** [liborasdkbase] Error 1
/usr/bin/make -f ins_rdbms.mk all_no_orcl ihsodbc ORACLE_HOME=/opt/oracle/product/10.2.0/chmod 755 /opt/oracle/product/10.2.0/bin
rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /opt/oracle/product/10.2.0/rdbms/lib/ksms.s /opt/oracle/product/10.2.0/rdbms/lib/ksms.o
make: *** [liborasdkbase] Error 1
/usr/bin/make -f ins_rdbms.mk ipc_udp/rm -f /opt/oracle/product/10.2.0/lib/libskgxp10.so
cp /opt/oracle/product/10.2.0/lib//libskgxpu.so /opt/oracle/product/10.2.0/lib/libskgxp10.so
/usr/bin/make -f ins_emdb.mk collector ORACLE_HOME=/opt/oracle/product/10.2.0/make -f /opt/oracle/product/10.2.0/sysman/lib/ins_emdb.mk relink_exe EXENAME=nmccollector -
Error while Oracle 10g Installation suse linux
Hi,
All i am facing issue while installing Oracle 10g release 2 on open suse.
All test are getting passed but getting a error reltated to ip address as follows.
INFO: Checking DetectIfDHCPAssignedIP
This is a prerequisite condition to test whether the primary IP address of the system is DHCP-assiged or static.
INFO: Detecting the IP.....:10.31.215.64
INFO: Checking the network interface display name.... :eth0
INFO: Checking the network reference name..... :eth0
INFO: Checking the platform .......46
INFO: Checking the LINUX vendor .... :SuSE
INFO: Check complete. The overall result of this check is: Not executed <<<<
Also while installing getting error as,
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public
IP addresses. However, the primary network interface on the system should be
configured with a static IP address in order for the Oracle Software to function
properly. See the Installation Guide for more details on installing the software
on systems configured with DHCP.
Please help me to resolve issue.
BR,
Rajesh
Edited by: Rajesh.Rathod on Dec 20, 2010 12:52 AMHi,
I tried to follow each step of oracle documentation but network configuration requirement is failing.
please find following log.
Checking operating system requirements ...
Expected result: One of redhat-3,redhat-4,SuSE-9
Actual Result: SuSE-9
Check complete. The overall result of this check is: Passed
=======================================================================
Checking operating system package requirements ...
Checking for make-3.79; found make-3.81-128.14. Passed
Checking for binutils-2.14; found binutils-2.19.51-10.26.4. Passed
Checking for gcc-3.2; found gcc-4.4-4.2. Passed
Checking for libaio-0.3.96; found libaio-0.3.104-144.2. Passed
Check complete. The overall result of this check is: Passed
=======================================================================
Checking kernel parameters
Checking for semmsl=250; found semmsl=1250. Passed
Checking for semmns=32000; found semmns=32000. Passed
Checking for semopm=100; found semopm=100. Passed
Checking for semmni=128; found semmni=256. Passed
Checking for shmmax=536870912; found shmmax=3294967296. Passed
Checking for shmmni=4096; found shmmni=4096. Passed
Checking for shmall=2097152; found shmall=2097152. Passed
Checking for file-max=65536; found file-max=131072. Passed
Checking for VERSION=2.6.5-7.201; found VERSION=2.6.31.5-0.1-desktop. Passed
Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=1024 - 65000. Passed
Checking for rmem_default=262144; found rmem_default=4194304. Passed
Checking for rmem_max=262144; found rmem_max=4194304. Passed
Checking for wmem_default=262144; found wmem_default=262144. Passed
Checking for wmem_max=262144; found wmem_max=262144. Passed
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Recommended glibc version
Expected result: ATLEAST=2.3.3-98.28
Actual Result: 2.10.1-10.4
Check complete. The overall result of this check is: Passed
=======================================================================
Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 5460MB
Check complete. The overall result of this check is: Passed
=======================================================================
Checking available swap space requirements ...
Expected result: 5460MB
Actual Result: 10244MB
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Network Configuration requirements ...
Actual Result: :java.lang.NullPointerException:Exception/Error Occurred
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
=======================================================================
Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed
=======================================================================
Checking for proper system clean-up....
Check complete. The overall result of this check is: Passed
=======================================================================
Checking for Oracle Home incompatibilities ....
Actual Result: NEW_HOME
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Network Configuration requirements ...
Actual Result: :java.lang.NullPointerException:Exception/Error Occurred
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
=======================================================================
Please suggest how to resolve. -
Problem in Loading Data from SQL Server 2000 to Oracle 10g
Hi All,
I am a university student and using ODI for my final project on real-time data warehousing. I am trying to load data from MS SQL Server 2000 into Oracle 10g target table. Everything goes fine until I execute the interface for the initial load. When I choose the CKM Oracle(Create unique index on the I$ table) km, the following step fails:
21 - Integration - Prj_Dim_RegionInterface - Create Unique Index on flow table
Where Prj_Dim_Region is the name of my target table in Oracle.
The error message is:
955 : 42000 : java.sql.SQLException: ORA-00955: name is already used by an existing object
java.sql.SQLException: ORA-00955: name is already used by an existing object
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
I am using a surrogate key column in my target table alongwith the natural key. The natural key is populated by the primary key of my source table, but for the surrogate key, I have created a sequence in my oracle schema where the target table exists and have used the following code for mapping:
<%=snpRef.getObjectName( "L" , "SQ_PRJ_DIM_REGION" , "D" )%>.nextval
I have chosen to execute this code on target.
Among my attempts to solve this problem was to set Create Index option of the CKM Oracle(Create Index for the I$ Table) to No so that it wont create any index on the flow table. I also tried to use the simple CKM Oracle km . Both solutions allowed the interface to execute successfully without any errors, but the data was not loaded into the target table.
When I right-click on the Prj_Dim_Region data store and choose Data, it shows empty. Pressing the SQL button in this data store shows a dialog box " New Query" where I see this query:
select * from NOVELTYFURNITUREDW.PRJ_DIM_REGION
But when i press OK to run it, I get this error message:
java.lang.IllegalArgumentException: Row index out of range
at javax.swing.JTable.boundRow(Unknown Source)
at javax.swing.JTable.setRowSelectionInterval(Unknown Source)
at com.borland.dbswing.JdbTable.accessChange(JdbTable.java:2959)
at com.borland.dx.dataset.AccessEvent.dispatch(Unknown Source)
at com.borland.jb.util.EventMulticaster.dispatch(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.a(Unknown Source)
at com.borland.dx.dataset.DataSet.open(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.executeQuery(Unknown Source)
at com.sunopsis.graphical.frame.a.cg.actionPerformed(cg.java)
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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.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)
I do not understand what the problem is and wasting days to figure it out. Any help will be highly appreciated as my deadline is too close for this project.
Thank you so much in advance.
NeelHi Cezar,
Can u plz help me with this scenario?
I have one Oracle data model with 19 source tables and one SQL Server data model with 10 target tables. I have created 10 interfaces which use JournalizedDataOnly on one of the tables in the interface; e.g in interface for DimCustomer target table, I have 2 tables, namely Customer and Address, but the journalizing filter appear only on Customer table and this option is disabled for Address automatically.
Now I want to create a package using OdiWaitForLog event detection. Is it possible to put all these 10 interfaces in just one package to populate the target tables? It works fine when I have only one interface and I use the name of one table in the interface for Table Name parameter of OdiWaitForLogData event, but when I try a comma seperated list of table names[Customer, Address] this error happens
java.sql.SQLException: ORA-00942: table or view does not exist
and if I use this method <%=odiRef.getObjectName("L","model_code","logical_schema","D")%>, I get this error
"-CDC_SET_NAME=Exception getObjectName("L", "model_code", "logical_schema", "D") : SnpLSchema.getLSchemaByName : SnpLschema does not exist" "
Please let me know how to make it work?
Do I need to create separate data models each including only those tables which appear in their corresponding interface and package? Or do I need to create multiple packages each with only one journalized interface to populate only one target table?
Thank you for your time in advance.
Regards,
Neel -
Cannot get ODBC data source to talk to Oracle 10g for Windows
Problem description
I recently installed Oracle 10g on my laptop computer, which is running Windows 7. Everything went smoothly except for one crucial item: The ODBC data source I added keeps returning this error when I click the "Test Connection" button:
Testing Connection
Unable to connect
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed.
I was using the following ODBC driver
Oracle in OraDb10g_home1 (TNS Service Name = ORCL and User ID = scott)
This type of error happened, in one form or another for the three other Oracle drivers I have on my machine
Microsoft ODBC for Oracle
WinSQL Oracle
WinSQL Oracle Wire Protocol
These services are currently running (status = Started)
OractDBConsoleorcl
OracleMTSRecoveryService
OracleOraDb10g_home1iSQL*Plus
OracleOraDb10g_home1TNSListener
OracleServiceORCL
(NOTE: I entered the foregoing information by hand, since I was not able to copy-and-paste it. So be aware that there is a small possibility of a minor typo in case you plan to cut-and-paste it.)
If requested, I can provide the contents of these files
tnsnames.ora
sqlnet.ora
listener.ora
Other installations on the same computer
ODAC (ADO data provider for Oracle)
SQL Server 2009 Express
.NET 4
Visual Studio 2010
Any help would be greatly appreciated!OK, I went ahead and upgraded to Windows 7 Professional and I STILL get the same error messages when trying to get the Oracle ODBC driver to talk to Oracle 10g. Here are some screen shots that show what happened:
1) Select ODBC driver: http://yfrog.com/f3driverselectionp
2) Configure driver: http://yfrog.com/ccoracleodbcfororaclep
3) Test connection: http://yfrog.com/1goracleodbcfororacletestp
I also get the following error when I try to run SQL*Plus from the line command, even with no parameters:
C:\Users\Bruce>sqlplus
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
Any suggestions as to how I might to go about diagnosing (and fixing) this problem?
Thanks,
Bruce
Maybe you are looking for
-
URGENT - Running Webstart manually (with java.exe)
Hi, A couple of months ago, someone from SUN gave me a (very long) command line to start java web start using java -cp etc... At that time, I needed to be able to CTRL-C javaws to get a stack trace location of where JWS was stuck. Well I need that co
-
Hi Friends, I have one doubt , in Performance of a ABAP program. Which one gives good performance in Select Statement Open Cusor.. Select ... Close cusor OR Select ..Package Size <n> If anybody having the Idea please let me know . With Thanx. Elan
-
Problem in printing continuous invoices
Hi, WA_LISTHEADER-TYP = 'S'. WA_LISTHEADER-KEY = TEXT-029. IF NOT S_VBELN-HIGH IS INITIAL. CONCATENATE S_VBELN-LOW TEXT-030 S_VBELN-HIGH INTO WA_LISTHEADER-INFO+24 SEPARATED BY ''. ELSE. WA_LISTHEADER-INFO = P_PLANT. ENDIF. APPEND WA_
-
I have a Verizon landline and on one of my phones (a corded phone) I always hear news reports in the background. How do I stop this? Thank you.
-
How does GPS in iPhone 4 & 4S work?
I am an AT&T 2GB data connection subscriber and will be cross-province touring in Quebec, Canada. I am debating on whether to get a portable GPS receiver or use my iPhone to get directions and map layout. Does the iPhone GPS require data connection t