Oracle Java Compiler 11g - JVM ERROR
Hi Jdev Team,
I have an issue to report,
Sometimes when run a project and navigate through the pages, i get the following error message:
Oracle Java Compiler 11g
Unable to create an instance of the Java Virtual Machine
Located at path:
H:\jdevstudio1111\jdk\jre\bin\client\jvm.dll
The only way to solve this is delete the settings of the Jdev and the Jdev from the PC, and install again, with the associated waste of time as consecuence. Please you can give a light to resolve this issue? Thanks
Well i correct what i just said.
The problem doesn´t fix, with the erase of the jdev program folder or settings folder in windows user docs and settings. What else i can do!?, out of ideas in here.
Regards,
Leo
Message was edited by:
LCJ
Solution (workaround):
Re: ADF table and filtering
Pedja
Similar Messages
-
Hi everyone,
I just wanted to create a new Project Build-Script as I stumbled upon this Checkbox (for auto-generating my Script):
"use oracle java compiler for javac task"
Can anybody tell me where I find a list of features this compiler provides in comparison to my normal compiler. (I tried JDev, Google and here...)
Are there any profits with using ADF / Business Components?
Hay.Hay,
If you are using JDev 10g - you need to use OCJ to get some of the profiling aspects; less of a reason to use OJC in 11g.
John -
Oracle Java proc ORA-04045: errors during recompilation/revalidation
hi,
I have Oracle Java stored proc called MERGE_ENTITY_AND_EVENT invoked by a trigger. It was working fine for a couple of weeks. Today it throws this generic exception. I'm not sure what changed.
Caused by: java.sql.SQLSyntaxErrorException: ORA-04045: errors during recompilation/revalidation of TLMDEV./3ba8073b_Log4JLogger
ORA-06512: at "MERGE_ENTITY_AND_EVENT", line 1
ORA-06512: at "QUOTE_TRIGGER", line 49
1. What is the root cause of this exception ?
2. Whats the solution ?
If you dont know 1 or 2, how would you go about debugging this problem ?
Thanks in advance.The most likely cause is that something has caused the class TLMDEV./3ba8073b_Log4JLogger to become invalid and implicit invalidation does not succeed in making it valid. In general a class must be valid in order to be run and an attempt to run an invalid class (such as because your trigger calls it) will cause an attempt to validate it and if that attempt fails an ORA-04045 can be the result. Validation of a class amounts to iterating over the set of names referenced by the class and looking for a valid class by that name, perhaps recursively attempting to validate if an invalid class by that name is found. So validation of a class may amount to an attempt to validate several classes at once. If any of them fail to be validatable, which occurs if there is no class for a given referenced name then most if not all of the classes in the set being validated and certainly the top level one will fail to validate. So if things are working correctly, the ultimate reason for the ORA-04045 will prove to be that some name referenced by TLMDEV./3ba8073b_Log4JLogger or recursived by something it references will be a name for which there is no class in the database (or more precisely in the search path used which is typically the current schema followed by PUBLIC, but could be different if some of the classes involved have had explicit resolver specifications given for them). The thing to do to try to start determining what class is missing is to do the query
select owner||'.'||name||' : '||text from all_errors where type like 'JAVA%';
The first thing to look at are lines for TLMDEV./3ba8073b_Log4JLogger. These will probably show text which contains either ORA-29534 identifying a referenced class that exists but could not be recursively valid, or ORA-29521 identifying names for which there is no class. The latter are the ultimately interesting ones since the former will end up being recursively caused by them. So look at the ORA-29521s and then try to determine either why the class is missing and how to restore it or which it is now referenced when it wasn't before (which would happen if some class was changed to reference it or something that references it, recursively). -
Error in compilation - Bug in the Oracle Java Compiler ? (10.1.3)
I've the following situation :
I've a class wich extends ViewObjectImpl,named ClViewObjectImpl, and another class, named RbViewObjectImpl wich extends ClViewObjectImpl.
My classes have only a constructor with no parameters .
Compiling with standard Oracle complier I get the following error
Error: method $init$() in class oracle.jbo.server.RbViewObjectImpl cannot override method $init$() in class oracle.jbo.server.ClViewObjectImpl with weaker access privileges, was
Compiling with javacc it compiles.
Is it an bug ?
Is there any workaround ?
Tks
TullioRepost
-
Oracle enterprise manager 11g - Internal Error has occurred. Check the log
Hi.
It used to work to fine before, but since yesterday, I am getting this error after logging on to the em site -> https://hostname:1158/em
SQL> SELECT * from v$version
2 ;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
emagent.trc
2012-05-11 09:31:09,025 Thread-233563904 ERROR http: snmehl_allocateListenerPort: failed to create socket: Address family not supported by protocol (error =
97)
2012-05-11 09:31:09,027 Thread-233563904 WARN http: nmehl_connect_internal: connect failed to ( servername.domainname:1158): Address family not supported by pro
tocol (error = 97)
2012-05-11 09:31:09,027 Thread-233563904 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https:// servername.domainname:1158/em/upload/: retStatus=-1
2012-05-11 09:31:09,027 Thread-233563904 WARN command: Job Subsystem Timeout set at 600 seconds
2012-05-11 09:31:09,029 Thread-233563904 WARN upload: Upload manager has no Failure script: disabled
2012-05-11 09:31:09,037 Thread-233563904 WARN metadata: Metric VirtualHosts does not have any data columns
2012-05-11 09:31:09,095 Thread-233563904 WARN metadata: Metric hung_system_traces does not have any data columns
2012-05-11 09:31:09,174 Thread-108107520 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,174 Thread-101807872 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,174 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,174 Thread-98658048 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,174 Thread-101807872 WARN TargetManager: Query returned 0 rows (only one expected) for the dynamic property from_cluster
2012-05-11 09:31:09,175 Thread-101807872 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,178 Thread-101807872 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,178 Thread-101807872 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,210 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,211 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,211 Thread-101807872 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,211 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,215 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,215 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,216 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,216 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,217 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,256 Thread-101807872 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,274 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,337 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,349 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,351 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,353 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,354 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,355 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,359 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,359 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,415 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,418 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,419 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,501 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,501 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,597 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,690 Thread-104957696 ERROR : (nmecmgr.c,3230):Memory 0x0 encountered, expect struct_id=11011
2012-05-11 09:31:09,799 Thread-233563904 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_pe
r_subscriber
2012-05-11 09:31:09,801 Thread-233563904 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_pe
r_subscriber
2012-05-11 09:31:09,835 Thread-233563904 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_pe
r_subscriber
2012-05-11 09:31:09,841 Thread-101807872 WARN http: nmehl_connect_internal: connect failed to ( servername.domainname:1158): Address family not supported by pro
tocol (error = 97)
2012-05-11 09:31:09,841 Thread-101807872 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https:// servername.domainname:1158/em/upload/: retStatus=-1
2012-05-11 09:31:09,843 Thread-101807872 WARN http: nmehl_connect_internal: connect failed to ( servername.domainname:1158): Address family not supported by pro
tocol (error = 97)
2012-05-11 09:31:09,843 Thread-101807872 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https:// servername.domainname:1158/em/upload/: retStatus=-1
2012-05-11 09:31:10,029 Thread-124647168 WARN http: nmehl_connect_internal: connect failed to ( servername.domainname:1158): Address family not supported by pro
tocol (error = 97)
2012-05-11 09:31:10,029 Thread-124647168 ERROR command: nmejcn: failed http connection to https:// servername.domainname:1158/em/upload/: retStatus=-1
2012-05-11 09:31:12,031 Thread-124647168 WARN http: nmehl_connect_internal: connect failed to ( servername.domainname:1158): Address family not supported by pro
tocol (error = 97)
2012-05-11 09:31:12,031 Thread-124647168 ERROR command: nmejcn: failed http connection to https:// servername.domainname:1158/em/upload/: retStatus=-1
2012-05-11 09:31:16,033 Thread-124647168 WARN http: nmehl_connect_internal: connect failed to ( servername.domainname:1158): Address family not supported by pro
tocol (error = 97)
2012-05-11 09:31:16,033 Thread-124647168 ERROR command: nmejcn: failed http connection to https:// servername.domainname:1158/em/upload/: retStatus=-1
2012-05-11 09:31:24,035 Thread-124647168 WARN http: nmehl_connect_internal: connect failed to ( servername.domainname:1158): Address family not supported by pro
tocol (error = 97)
2012-05-11 09:31:24,035 Thread-124647168 ERROR command: nmejcn: failed http connection to https:// servername.domainname:1158/em/upload/: retStatus=-1
Can anyone tell me what may be going on? Yesterday I had configured channel bonding for network interfaces. Did firmware update on RAID adapter and updated linux packages including kernel. Going to old kernel didn't help. I tried restarting processes, that also didn't help.Aerosmith wrote:
http://hostname:1158/em shows a ? on the webpage.
However,
https://hostname:1158/em , does get redirected to https://hostname:1158/em/console/logon/logon where it asks me fore crdentials.
* User Name
* Password
Connect As Normal/SYSDBA
I login using sys and its password, and "I get Internal Error has occurred. Check the log file for details" Database | Help | Logout and OK button.This is what I see in emoms.trc
2012-05-11 09:42:29,294 [XMLLoader0 00000000004.xml] WARN jdbc.ConnectionCache _getConnection.352 - Closed Connection: OraclePooledConnection.getConnection() - SQLException Ocurred:Invalid or Stale Connection found in the Connection Cache
java.sql.SQLException: Closed Connection: OraclePooledConnection.getConnection() - SQLException Ocurred:Invalid or Stale Connection found in the Connection Cache
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.pool.OraclePooledConnection.getConnection(OraclePooledConnection.java:467)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:508)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:544)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:480)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:336)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getSystemConnection(ConnectionService.java:1383)
at oracle.sysman.emdrep.dbjava.loader.XMLLoaderContext.getConnection(XMLLoaderContext.java:997)
at oracle.sysman.emdrep.dbjava.loader.XMLLoaderContext.loadFromStream(XMLLoaderContext.java:1812)
at oracle.sysman.emdrep.dbjava.loader.XMLLoader.LoadFile(XMLLoader.java:578)
at oracle.sysman.emdrep.dbjava.loader.XMLLoader.LoadFiles(XMLLoader.java:669)
at oracle.sysman.emdrep.dbjava.loader.XMLLoader.run(XMLLoader.java:1316)
at java.lang.Thread.run(Thread.java:595)
2012-05-11 09:42:29,294 [XMLLoader0 00000000004.xml] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17008; Cleaning up cache and retrying
2012-05-11 09:42:29,406 [XMLLoader0 00000000010.xml] ERROR eml.XMLLoader LoadFiles.696 - Error while processing 00000000010.xml:
java.sql.SQLException: ORA-20101: Metric PhysAddress for target type netapp_filer not configured
ORA-06512: at "SYSMAN.ECM_CT", line 718
ORA-06512: at line 1
ORA-06512: at "SYSMAN.EMD_LOADER", line 4931
ORA-06512: at line 1
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:472)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:422)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1089)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:200)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1029)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1347)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3556)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3727)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:8130)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1209)
at oracle.sysman.util.jdbc.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:173)
at oracle.sysman.util.jdbc.CallableStatementWrapper.execute(CallableStatementWrapper.java:135)
at oracle.sysman.emdrep.dbjava.loader.XMLDocumentSplitter.postLoadProc(XMLDocumentSplitter.java:1709)
at oracle.sysman.emdrep.dbjava.loader.XMLDocumentSplitter.endElement(XMLDocumentSplitter.java:1009)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1318)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
at oracle.sysman.emdrep.dbjava.loader.XMLDocumentSplitter.split(XMLDocumentSplitter.java:477)
at oracle.sysman.emdrep.dbjava.loader.XMLLoaderContext.loadFromStream(XMLLoaderContext.java:1824)
at oracle.sysman.emdrep.dbjava.loader.XMLLoader.LoadFile(XMLLoader.java:578)
at oracle.sysman.emdrep.dbjava.loader.XMLLoader.LoadFiles(XMLLoader.java:669)
at oracle.sysman.emdrep.dbjava.loader.XMLLoader.run(XMLLoader.java:1316)
at java.lang.Thread.run(Thread.java:595)
2012-05-11 09:42:37,681 [JobWorker 5792:Thread-24] ERROR em.linux_provision getHardwareInterface_Name_MacAddress.173 - SQLException:ProvisionDeviceDetailsDAO:getHardwareInterface_Name_MacAddress: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []
2012-05-11 09:42:37,682 [JobWorker 5792:Thread-24] ERROR em.linux_provision_jobs doProvision.135 - UpdateProvisioningStatusCommand:HardwareException: error is
oracle.sysman.emgc.provision.hardware.HardwareException
at oracle.sysman.emgc.provision.impl.hardware.dao.ProvisionDeviceDetailsDAO.getHardwareInterface_Name_MacAddress(ProvisionDeviceDetailsDAO.java:175)
at oracle.sysman.emgc.provision.impl.hardware.HardwareMgrImpl.getDeviceDetails(HardwareMgrImpl.java:309)
at oracle.sysman.emgc.provision.impl.hardware.HardwareMgrImpl.getOrCreateHardwareServer(HardwareMgrImpl.java:346)
at oracle.sysman.emgc.provision.jobs.commands.UpdateProvisioningStatusCommand.doProvision(UpdateProvisioningStatusCommand.java:131)
at oracle.sysman.emgc.provision.jobs.commands.UpdateProvisioningStatusCommand.executeProvisioningCommand(UpdateProvisioningStatusCommand.java:372)
at oracle.sysman.emgc.provision.jobs.commands.AbstractProvisioningCommand.executeCommand(AbstractProvisioningCommand.java:141)
at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:830)
at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:713)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
Caused by: java.sql.SQLException: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:472)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:422)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1089)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:204)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:861)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:945)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1303)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3556)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3608)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1341)
at oracle.sysman.util.jdbc.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:211)
at oracle.sysman.emgc.provision.impl.hardware.dao.ProvisionDeviceDetailsDAO.getHardwareInterface_Name_MacAddress(ProvisionDeviceDetailsDAO.java:146)
... 8 more
2012-05-11 09:42:37,683 [JobWorker 5792:Thread-24] ERROR em.linux_provision_jobs executeCommand.172 - Got SQLException in executeCommand
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:4483)
at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:129)
at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:129)
at oracle.sysman.emgc.provision.jobs.commands.AbstractProvisioningCommand.executeCommand(AbstractProvisioningCommand.java:150)
at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:830)
at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:713)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
2012-05-11 09:42:37,683 [JobWorker 5792:Thread-24] ERROR em.linux_provision_jobs executeCommand.179 - Got SQLException in executeCommand
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:4483)
at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:129)
at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:129)
at oracle.sysman.emgc.provision.jobs.commands.AbstractProvisioningCommand.executeCommand(AbstractProvisioningCommand.java:175)
at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:830)
at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:713)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
2012-05-11 09:42:37,684 [JobWorker 5792:Thread-24] WARN jdbc.ConnectionCache _getConnection.352 - Closed Connection: OraclePooledConnection.getConnection() - SQLException Ocurred:Invalid or Stale Connection found in the Connection Cache
java.sql.SQLException: Closed Connection: OraclePooledConnection.getConnection() - SQLException Ocurred:Invalid or Stale Connection found in the Connection Cache
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.pool.OraclePooledConnection.getConnection(OraclePooledConnection.java:467)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:508)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:544)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:480)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:336)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnectionWait(ConnectionService.java:1231)
at oracle.sysman.emdrep.jobs.JobWorker.getPrivateConnectionWait(Dispatcher.java:316)
at oracle.sysman.emdrep.jobs.JobWorker.updateStepStatus(Dispatcher.java:987)
at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:894)
at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:713)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
2012-05-11 09:42:37,685 [JobWorker 5792:Thread-24] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17008; Cleaning up cache and retrying
2012-05-11 09:49:19,583 [EMUI_09_49_19_/console/database/instance/sitemap] ERROR db.featureUsage logFeatureUsage.136 - java.sql.SQLException: ORA-01873: the leading precision of the interval is too small
ORA-06512: at "DBSNMP.MGMT_UPDATE_DB_FEATURE_LOG", line 13
ORA-06512: at line 1
java.sql.SQLException: ORA-01873: the leading precision of the interval is too small
ORA-06512: at "DBSNMP.MGMT_UPDATE_DB_FEATURE_LOG", line 13
ORA-06512: at line 1
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:77)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:472)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:422)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1089)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:200)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1029)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1347)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3556)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3727)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:8130)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1209)
at oracle.sysman.util.jdbc.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:173)
at oracle.sysman.util.jdbc.CallableStatementWrapper.execute(CallableStatementWrapper.java:135)
at oracle.sysman.db.adm.util.FeatureUsageUtils.logFeatureUsage(FeatureUsageUtils.java:127)
at oracle.sysman.db.adm.util.FeatureUsageUtils.logFeatureUsage(FeatureUsageUtils.java:93)
at oracle.sysman.db.adm.util.FeatureUsageUtils.logFeatureUsage(FeatureUsageUtils.java:73)
at oracle.sysman.db.adm.inst.SitemapController.logFeatureUsageHomePage(SitemapController.java:6393)
at oracle.sysman.db.adm.inst.SitemapController.onDoLoad(SitemapController.java:3058)
at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1306)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:235)
at oracle.sysman.db.adm.BaseController.handleRequest(BaseController.java:1238)
at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:139)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:787)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:343)
at oracle.sysman.eml.app.Console.doGet(Console.java:319)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:208)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
2012-05-11 09:49:20,513 [EMUI_09_49_19_/console/database/instance/sitemap] ERROR inv.EcmInvSW createTopLevelInvTable.850 - ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []
ORA-06512: at "SYSMAN.ECM_INV", line 563
ORA-06512: at line 1
java.sql.SQLException: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []
ORA-06512: at "SYSMAN.ECM_INV", line 563
ORA-06512: at line 1
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:472)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:422)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1089)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:200)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1029)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1347)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3556)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3727)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:8130)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1209)
at oracle.sysman.util.jdbc.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:173)
at oracle.sysman.util.jdbc.CallableStatementWrapper.execute(CallableStatementWrapper.java:135)
at oracle.sysman.eml.ecm.inv.EcmInvSW.createTopLevelInvTable(EcmInvSW.java:831)
at oracle.sysman.eml.ecm.inv.EcmInvSW.createInventoryTable(EcmInvSW.java:419)
at oracle.sysman.eml.ecm.inv.EcmInvBean.createInventoryTable(EcmInvBean.java:1449)
at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1405)
at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1391)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:235)
at oracle.sysman.db.adm.BaseController.handleRequest(BaseController.java:1238)
at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:139)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:787)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:343)
at oracle.sysman.eml.app.Console.doGet(Console.java:319)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:208)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
2012-05-11 09:49:20,521 [EMUI_09_49_19_/console/database/instance/sitemap] ERROR svlt.PageHandler handleRequest.639 - java.lang.NullPointerException
java.lang.NullPointerException
at oracle.sysman.emSDK.license.LicenseUtil.isTargetLicensedForPacks(LicenseUtil.java:1648)
at oracle.sysman.emo.smap.DBInstance.isDiagPackEnabled(DBInstance.java:2954)
at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1544)
at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1391)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:235)
at oracle.sysman.db.adm.BaseController.handleRequest(BaseController.java:1238)
at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:139)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:787)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:343)
at oracle.sysman.eml.app.Console.doGet(Console.java:319)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:208)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
2012-05-11 09:50:19,162 [MetricCollector:HOMETAB_THREAD600:60] WARN jdbc.ConnectionCache _getConnection.352 - Closed Connection: OraclePooledConnection.getConnection() - SQLException Ocurred:Invalid or Stale Connection found in the Connection Cache
java.sql.SQLException: Closed Connection: OraclePooledConnection.getConnection() - SQLException Ocurred:Invalid or Stale Connection found in the Connection Cache
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.pool.OraclePooledConnection.getConnection(OraclePooledConnection.java:467)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:508)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:544)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:480)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:336)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1138)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1172)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:135)
at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:416)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:605)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:325)
at java.lang.Thread.run(Thread.java:595)
2012-05-11 09:50:19,162 [MetricCollector:HOMETAB_THREAD600:60] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17008; Cleaning up cache and retrying -
Bug in Oracle Java Compiler???
Hello!
I think I found a bug in OJC. Take a look in these files:
------ File MyInterface1.java -------
public interface MyInterface1
public void aMethod1();
public void aMethod2();
------ File MyInterface2.java -------
public interface MyInterface2 extends MyInterface1
public void aMethod1(String s1);
public void aMethod2(String s2);
------ File MyAbstractClass.java -------
abstract public class MyAbstractClass implements MyInterface2
public void aMethod1()
------ File MyImplClass.java -------
public class MyImplClass extends MyAbstractClass
public void aMethod2()
public void aMethod1(String s)
When compiling these files, the following error should be found:
"javac MyImplClass.java
MyImplClass.java:1: MyImplClass should be declared abstract; it does not define
aMethod2(java.lang.String) in MyAbstractClass
public class MyImplClass extends MyAbstractClass
^
1 error"
This is the error found by javac (J2SE 1.3), as expected.
But when I compile using OJC 9.0.2.579 (JDeveloper 9.0.2.829) no error is found, and the compiler generates MyImplClass.class. This should not happen!!!
Even if I implement aMethod2(String s) in MyImplClass, how can I trust that OJC is generating the bytecode, so that the method invocation is occuring correctly during runtime?
I have a component library based on class hierarchy like the one in the example, and I would not like to modify it because of this possible bug in OJC.
Thanks
Gleber/Daniel/AugustoGleber,
As per current plans the 903 release is expected to be on OTN in the next 5-7 weeks. Feel free to ping me at [email protected] if this bug is preventing you from moving forward. I'll try to resolve your issue with a workaround.
Regards,
Arun -
BUG: Oracle Java Compiler bug with anonymous inner classes in constructor
The following code compiles and runs just fine using 1.4.2_07, 1.5.0_07 and 1.6.0_beta2 when compiling and running from the command-line.
It does not run when compiling from JDeveloper 10.1.3.36.73 (which uses the ojc.jar).
When compiled from JDeveloper, the JRE (both the embedded one or the external 1.5.0_07 one) reports the following error:
java.lang.VerifyError: (class: com/ids/arithmeticexpr/Scanner, method: <init> signature: (Ljava/io/Reader;)V) Expecting to find object/array on
stack
Here's the code:
/** lexical analyzer for arithmetic expressions.
Fixes the lookahead problem for TT_EOL.
public class Scanner extends StreamTokenizer
/** kludge: pushes an anonymous Reader which inserts
a space after each newline.
public Scanner( Reader r )
super( new FilterReader( new BufferedReader( r ) )
protected boolean addSpace; // kludge to add space after \n
public int read() throws IOException
int ch = addSpace ? ' ' : in.read();
addSpace = ch == '\n';
return ch;
public static void main( String[] args )
Scanner scanner = new Scanner( new StringReader("1+2") ); // !!!
Removing the (implicit) reference to 'this' in the call to super() by passing an instance of a static inner class 'Kludge' instead of the anonymous subclass of FilterReader fixes the error. The code will then run even when compiled with ojc. There seems to be a bug in ojc concerning references to the partially constructed object (a bug which which is not present in the reference compilers.)
-- SebastianThanks Sebastian, I filed a bug for OJC, and I'll look at the Javac bug. Either way, OJC should either give an error or create correct code.
Keimpe Bronkhorst
JDev Team -
Oracle/java timestamp data type error.. please help
Im having trouble with a SQL query of mine. Im trying to get a timestamp using JDBC from an oracle database however i get the following error:
java.sql.SQLException: ORA-00932: inconsistent datatypes: expected %s got %s
Now when i put the java.util.timestamp into the DB it appears to change.
When I printout the value of the timestamp in my console it prints the following:
07-06-26 17:28:09.414
When i check the value from SQL PLUS it gives me this value
07-06-26 17:28:09,000000
Does anyone have any idea why this happens? and more importantly how I can retrieve the timestamp again.
Im using BEA workshop which means i dont have any means of manipulating the data before presenting to the frontend.
The database is Oracle 9.2.0.1user582245,
Please provide the following:
1. Entire error message and stack trace you are getting.
2. Part of your code where the error occurs.
3. JDK version you are using.
4. Oracle data-type of the problematic column.
Good Luck,
Avi. -
Oracle Fusion Middleware 11g - Reports Errors
Dear All,
when I try to send report for prints then I recieved this error.
REP-57054: In-Process Job terminated: The report generated successfully but distribution to destination failed.
REP-50159:The report generated Successfully but distribution to destination failed.
REP-50151: Destination ID Currency failed with error An error occured while sending the file to the printer :HPofficejetpro7700Series- Cannot run program "C\Orcale\Middleware\asinst_5\Config\reports\bin\rwlpr":
create process error=2, The system cannot fine the file specified.
kindly advise me.
Thanks & regards,
IrfanHello,
Copy rwlpr.exe from Oracle_Home\bin to Oracle_Instance\config\reports\bin
Regards -
EJB on Oracle Java Cloud Service
Hi, I am new to the world of Java, EJB, Weblogic Server.
Steps that I have carried out -
1. I have implemented a HelloBean, HelloHome, HelloObject - objective is just to print "Hello" through one of the bean's biz method.
2. I created class files for the above 3 java programs.
3. I have created a JAR file of 3 javas programs, its' class, along with the required META-INF/ejb-jar.xml.
4. Now, when I tried to deploy this JAR file in Oracle Java Cloud service, I got errors stating that RemoteException is not allowed, EJBObject is not allowed. So, I changed everything to local removing RemoteException reference, changing EJBObject to EJBLocalObject.
Now, the questions -
a] Reference to point (4), why should I have it as LOCAL? Is it because the client is excepted to be in the same heap of the Cloud?
b] I deployed the JAR file in cloud, but when I checked the logs, it was looking for WAR file. I understand that WAR will have access points that will inturn use the JAR that I created.
c] Reference to point (5), how do I invoke the biz method now?
Thanks,
JI get this below message when I try to follow the Application URL when I opt for "Test Application" of the above in Oracle Java Cloud Service.
Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
This is in reference to the last question raised above. -
Java Compiler gives "Runtime" Exception, hahaha
What wrong with it. Some Java compiler versions give error, others may not but I am not sure what is the maximum no. of dimensions a java array can take. The compiler, while compiling, threw an exception and requested to report the bug at java site,, haha
String [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] myArray;
Regards,
Tayra Keya Banay Ga KaaliaYes, you are right. It throws an Stack Overflow exception, but... WILL EVER SOMEONE NEED AN ARRAY THAT LONG?. Maybe the developer make their languages to some "reasonable" limits.
CLOPHER. -
Oracle forms --11g installation error
Hi All,
Configuration:
Oracle Database: 10.2.0.5
Oracle forms to be installed Version: 11.1.2.0.0
OS version: Windows 7, 64 Bit
JDK version:
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
I was installing oracle forms and encountered below error in "Installation Location" Phase:
1) INST-07407: Unable to detect machine platform or JVM bits
2) INST-07248: Specified Web logic home is not a valid Location
3) INST-07282: Specified Middleware home location does not exists
Appreciate Help.
Regards,
SKHi SK
This error is related to the wrong version of JDK u r using & the sequence u apply to install the Forms, Reports and Discoverer 11.1.1.2.0
java version "1.7.0_03" is not supported always it's not smart to always used the latest version of a software each has a compatable version related to each other.
pls uninstalled java version "1.7.0_03" (reason : for the wrong version used) & Oracle WebLogic Server 10.3.2(reason : for the wrong sequence used in installation)
Then installed the following jdk (a support version!)as a first step:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
2.*re-installed Oracle WebLogic Server 10.3.2*
3. Finally, installed Oracle Portal, Forms, Reports and Discoverer 11.1.1.2.0
Pls read the following... Tips and Tricks
you may also need to read Quick Tips for Installing Forms 11g R2...
For more information ,if you have access to MyOracleSupport, you should access ...
note:854117.1 which shows the steps with nice clear screenshots.
If you want to see a video of the install steps then check out ...
note:1088873.1
To configure SSO with 11g you should go to
note:852352.1
and for maintenance information go to
note:1073776.1
Hope this helps...
Regards,
Amatu Allah -
Oracle Java Environment Error - Not enough java classes defined ?
I'm using 11gR1, and recently ran into a problem with Java Stored Procedures.
It was working fine last week, and then this week at runtime I started getting an error:
Error in Oracle java environment: ops1 - java.lang.Exception: Not enough java classes defined in the database. Java Stored Procedures are not installed properly.
I checked both the SYS schema and my user schema's Java classes. Neither had any invalid classes. For my user schema, the number of java classes seems right. For the SYS schema, I haven't figured out how to get past the 2000 rows fetch limit, so it will max out at 2000 - none of which are invalid.
I cleared out my user schema and re-loaded its classes, and they all compiled/validated fine.
A google search found no help...
TIA
Update (results of class count query):
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select count (*) from dba_objects where object_type like '%JAVA%';
COUNT(*)
28895
Edited by: GDub on Aug 18, 2010 2:37 PMI'm using 11gR1, and recently ran into a problem with Java Stored Procedures.
It was working fine last week, and then this week at runtime I started getting an error:
Error in Oracle java environment: ops1 - java.lang.Exception: Not enough java classes defined in the database. Java Stored Procedures are not installed properly.
I checked both the SYS schema and my user schema's Java classes. Neither had any invalid classes. For my user schema, the number of java classes seems right. For the SYS schema, I haven't figured out how to get past the 2000 rows fetch limit, so it will max out at 2000 - none of which are invalid.
I cleared out my user schema and re-loaded its classes, and they all compiled/validated fine.
A google search found no help...
TIA
Update (results of class count query):
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select count (*) from dba_objects where object_type like '%JAVA%';
COUNT(*)
28895
Edited by: GDub on Aug 18, 2010 2:37 PM -
How to compile Oracle java strored procedure in Putty
I have created a java strored procedure , which would be invoked by oracle function.
This java stored procedure is get compiled via SQL plus. While compiling by the use of putty , it shows lots of compilation error .
How to compile Oracle java strored procedure in Putty??You'll need to add the j2ee.jar to your classpath. Usually you'll have to add some jars from your app server to your classpath as well.
For example (using weblogic):
javac -classpath c:\java\j2ee\j2ee1.3.1\lib\j2ee.jar;c:\tools\appserver\weblogic\wl7.1\lib\weblogic.jar
HelloServlet.java -
Error while accessing Oracle Virtual Directory 11g client view.
Hi everyone,
I'm a beginner in Oracle IDAM suite 11g.
I'm facing an issue while configuring LDAP adapter in Oracle Virtual Directory.
LDAP adapter is configured for ODSEE instances. Currently I've configured two instances.
For these adapters, the entries from ODSEE instances are getting populated under Adapter browser but under Client View while expanding the root we're getting the following error:
LDAPException: malformedRequest (2) Protocol Error LDAPException: Server Message: Protocol Error
In the diagnostic.log file I'm getting the following error:
[2012-02-28T11:38:55.255+05:30] [octetstring] [ERROR] [OVD-60335] [com.octetstring.vde.dsmlv2.ImportExportVDE] [tid: 20] [ecid: 0000JMcs_zPEWNppSO1Fic1FHBss000083,0] Failure in getting LDAP 1.[[
com.octetstring.vde.util.DirectoryException: LDAP Error 2 : localhost:1489
at com.octetstring.vde.backend.jndi.BackendJNDI.getInternalConnection(BackendJNDI.java:1023)
at com.octetstring.vde.backend.jndi.BackendJNDI.getConnection(BackendJNDI.java:920)
at com.octetstring.vde.backend.jndi.ConnectionHandle.getHolder(ConnectionHandle.java:382)
at com.octetstring.vde.backend.jndi.ConnectionHandle.search(ConnectionHandle.java:233)
at com.octetstring.vde.backend.jndi.JNDIEntrySet.initialize(JNDIEntrySet.java:203)
at com.octetstring.vde.backend.jndi.BackendJNDI.get(BackendJNDI.java:723)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:297)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.monitorSearch(MonitorPerformance.java:506)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.get(MonitorPerformance.java:444)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.PluginChain.runGet(PluginChain.java:234)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:489)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:427)
at com.octetstring.vde.backend.AdapterServiceInterface.getByAdapter(AdapterServiceInterface.java:649)
at com.octetstring.vde.backend.AdapterServiceInterface.get(AdapterServiceInterface.java:514)
at com.octetstring.vde.backend.BackendHandler.get(BackendHandler.java:592)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:289)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.monitorSearch(MonitorPerformance.java:506)
at com.octetstring.vde.chain.plugins.performance.MonitorPerformance.get(MonitorPerformance.java:450)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.plugins.AclCheckerPlugin.get(AclCheckerPlugin.java:398)
at com.octetstring.vde.chain.Chain.nextGet(Chain.java:308)
at com.octetstring.vde.chain.PluginChain.runGet(PluginChain.java:234)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:489)
at com.octetstring.vde.chain.PluginManager.runGet(PluginManager.java:427)
at com.octetstring.vde.chain.GlobalServicesInterface.runGet(GlobalServicesInterface.java:207)
at com.octetstring.vde.dsmlv2.ImportExportVDE.doGet(ImportExportVDE.java:428)
at com.octetstring.vde.dsmlv2.ImportExportVDE.process(ImportExportVDE.java:171)
at com.octetstring.vde.dsmlv2.DsmlService.doPost(DsmlService.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
at com.octetstring.vde.admin.AuthFilter.doFilter(AuthFilter.java:259)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
at com.octetstring.webgateway.filters.DOSFilter.doFilter(DOSFilter.java:67)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:526)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
Caused by: javax.naming.CommunicationException: localhost:1489 [Root exception is java.lang.NullPointerException]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:207)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.createCtx(JNDIConnectionPool.java:422)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.create(JNDIConnectionPool.java:453)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.getLdapContext(JNDIConnectionPool.java:276)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.checkOutContext(JNDIConnectionPool.java:167)
at com.octetstring.vde.backend.jndi.BackendJNDI.getInternalConnection(BackendJNDI.java:1009)
... 48 more
Caused by: java.lang.NullPointerException
at com.octetstring.vde.backend.jndi.OvdJndiWorkerCoordinator.register(OvdJndiWorkerCoordinator.java:100)
at com.octetstring.vde.backend.jndi.OvdJndiSocket.getInputStream(OvdJndiSocket.java:95)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:190)
... 65 more
Kindly help me resolving this issue.Did you ever fixed or resolved the issue ? If yes, could you please share the reason for issue ?
Getting following errors in OVD logs :-
[ERROR] [OVD-60335] [com.octetstring.vde.dsmlv2.ImportExportVDE] [tid: 25] [ecid: 0000J_Gc3Qu0ZrqawLicMG1G6Pz^00000J,0] Failure in getting LDAP 1.[[
com.octetstring.vde.util.DirectoryException: LDAP Error 32 : No Such Object
[OVD-40066] [com.octetstring.vde.backend.jndi.ConnectionHandle] [tid: 25] [ecid: 0000J_Gc3Qu0ZrqawLicMG1G6Pz^00000J,0] Remote Server Failure:l120814vaps2013:21389.[[
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=int,ou=people,dc=domain,dc=com',dc=com'
Maybe you are looking for
-
Functionality of Checkbox in ALV Grid Report
Hi Experts, I created a ALV grid report with the checkbox as my first coloum and other fields as shown below. Initially, my ALV report displays as below. It is working fine till here. checkbox customer material quantity UOM
-
I can usually print through the schools wifi using my laptop. Can i do the same using the iPad air? and if so how? Ive tried using the airprinter but it wouldnt load any printers. Usually I need to setup the printer through settings in my macbook. Ca
-
InterMedia JSP photo album demo not working
I have set up the following: Oracle9i database 9.0.1.3.0 and an iAS 1.0.2.2.1 application server, both on solaris. I have applied patch 1725012 to my iAS. I followed the instructions in the README.txt and copied the following files from my 9i databas
-
Commit work in the customer exit
Hi , Iam getting this dump in my system. Exception condition "DUMP_STATUS_INCONSYSTENCY_FRE" raised. As per this dump one note is there saying you should not use commit work in user exit or customer exit . But i need to update the table at that poin
-
SAP Best Practices baseline package for France on dvd
Hello guys Can someone tell me what's the material number of the dvd documentation of SAP Best practicse baseline package for France and how to ordre it. I did not find it on sap shop and I cannot download it due to the quality of the internet connex