Unable to commit a transaction Using Oracle
Hi all,
I have created a JDBC System using the following link.
http://help.sap.com/saphelp_nw04/helpdata/en/ab/082484173ae045ab8dad8a41d33da3/frameset.htm
The JDBC Datasource is working absolutely fine , in my database actually autocommit is off , so i need to commit a transaction explicity , when i try using connection.commit() , it gives me the following eroor
Commit not possible , xadatasource.
Can any one provide the reason for this , and what is the alternative for the Same.
Points will be rewarded for helpful answers
Regards
Sara
Hi Sara,
Are you using XADatasource ?I think it is an issue (http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources)with that
try using this
DataSource Type :-ConnectionPoolDataSource
ClassName:-oracle.jdbc.pool.OracleConnectionPoolDataSource
just restart the service and use it in your code.
Thanks
Pankaj
Similar Messages
-
How to commit a transaction in Oracle Workflow
Hi All,
Oracle says there should not be any commit in Oracle WF .It is the responsbility of the calling program to Call Commit.
I have the following Requirement:-
I want to insert a record in one of the custom table, when a record is saved in one of the Oracle Apps Form( for e.g. insert a record in the custome table when user creates PO.)
What I have done is :-
1) Added a subscription to one of the seeded events that is raised when user saves a record in the Oracle apps.
2) Designed a Custom Function, that is called when the above subscription is triggered off.
3)The above custom function inserts a record in the custom table.
Q ) where to write a Commit ( as this custom function is called from the WF and WF says, dont put commit in the WF,it should be called by the callling program)
Can also you explain me , when user presses the Save button on the Oracle standard form--> that calls the Oracle API to create a record in the DB and commit , ---> then the event is raised and trigger offs all the subscriptions where does it commit then?
ThanksHi,
The commit should be done by the form, or whatever raises the business event.
The API fires the event in the same transaction (unless the subscription is deferred), and then the commit is issued. This commits the transaction, and all actions of the event subscription.
If the subscription is deferred, then the concurrent request which processes the subscription will issue the commit on completion.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://thoughts.workflowfaq.com ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
Unable to create new user using Oracle Database vault
Hi,
can somebody help me to autorize user other then SYS user (e.g. system) to CREATE new and ALTER users when my database is secured by Oracle database vault with default installation settings;
ThanksReading the DV docs would be a great place to start.
Consider, for a moment, that if the normal privileges provided to SYS using DV worked the same as they do in a regular database you wouldn't have a data vault you'd have a regular database.
After you read the docs log on and try the following:
SELECT username
FROM dba_users
WHERE username LIKE 'DV%';Aha! -
Test Database Connection "Unable to connect to DB" using Oracle 10g Express
DB is up and running fine pls help
Connection test failed.
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:745)
com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
...After installing the JDBC driver and selecting the test configuration i am getting the below erro:
Connection test failed.
Message icon - Error Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:745)
com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
The Steps i followed to install the JDBC Driver are mentioned below:
1. JDBC Data Source Properties:
Name: testSample
JNDI Name: abc.xyz.testSample
Database Type: Oracle
Database Driver: Oracle’s (Thin XA) for Instance
connections; Versions: ... 11
Database Name: orcl
Host Name: wls-sysadm
Port: 1521
Database User Name: weblogic
Password and Confirm Password: Welcome1
Before that i started the database from start menu
and both the services
ORACLE service XE
and ORACLELISTNERSERVICE is up and running fine.
C:\Users\satish>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-JUN-2013 10:18
:51
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 04-JUN-2013 09:35:25
Uptime 0 days 0 hr. 43 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SATISH-PC)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Can anyone pls help...urgent -
Unable to view the image in Oracle Mapbuilder
Hi,
I am unable to view the image using oracle mapviewer.
It stated that:
No spatial data to render...
INFO [oracle.sdovis.CacheMgr2] Spatial Data Cache opened. Region=SDOVIS_DATA.
INFO [oracle.sdovis.CacheMgr2] max_cache_size=32 MB.
INFO [oracle.sdovis.CacheMgr2] sub region sdovis_subreg_ias_spatial_jdbc:oracle:thin:@dbdev:1521:orcl created in cache.
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
INFO [oracle.sdovis.DBSRSCache] Loading SRS information from MDSYS.cs_srs (srid=8307).
DEBUG [oracle.sdovis.DBSRSCache] Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-8
FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
FINEST [oracle.sdovis.theme.grtp] Bands: Red - 1 Green - 1 Blue - 1
DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
Description:
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-10
FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
Description:
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-12
WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-14
FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: -Infinity,-Infinity,NaN,NaN
FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv
INFO [oracle.sdovis.CacheMgr2] Creating/replacing a geometry cache group: sdovis_subreg_ias_spatial_jdbc:oracle:thin:@dbdev:1521:orcl : NYP_IMAGES_IMAGE.SPATIALEXTENT_PDT_GEOM.
DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 16ms, total time loading 1 features: 78ms.
FINEST [oracle.sdovis.MapMaker] mbr of all themes: java.awt.geom.Rectangle2D$Double[x=-330.05,y=-206.35000000000002,w=3308.6025,h=2565.5175]
INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 78ms.
FINEST [oracle.sdovis.RE] xfm: 0.15474460805665913 0.0 0.0 -0.15474460805665913 185.0792593502091 365.0684501275084
DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 16ms
DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 31ms
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-16
WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
FINEST [oracle.sdovis.SRS] before adjusting: minX = -1196.0304250629722, maxX=3844.532925062972 minY=-206.3499999999999, maxY=2359.1675 w=5040.563350125944, h=2565.5175
FINEST [oracle.sdovis.SRS] After adjusting: minX = 0.0, maxX=360.0 minY=-90.0, maxY=90.0 w=5040.563350125944, h=2565.5175
WARN [oracle.sdovis.SRS] Resizing query window to be within valid bounds.
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-18
FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 0.0,-90.0,360.0,90.0
FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 859ms, total time loading 1 features: 859ms.
INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 859ms.
FINEST [oracle.sdovis.RE] xfm: 2.1666666666666665 0.0 0.0 -2.1666666666666665 0.0 198.5
DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 16ms
DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 16ms
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
FINEST [oracle.sdovis.SRS] before adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
FINEST [oracle.sdovis.SRS] After adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-20
FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 3.173803526448353,-90.0,356.82619647355165,90.0
FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 0ms, total time loading 1 features: 0ms.
INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 16ms.
FINEST [oracle.sdovis.RE] xfm: 2.2055555555555553 0.0 0.0 -2.2055555555555553 -6.99999999999992 198.50000000000003
DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 15ms
DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 31ms
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=GEORTHEME]
FINEST [oracle.sdovis.ThemeTable] key_column using default: ROWID
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-22
FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
FINEST [oracle.sdovis.theme.grtp] Bands: Red - 1 Green - 1 Blue - 1
DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
Description:
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-24
WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
FINEST [oracle.sdovis.SRS] before adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
FINEST [oracle.sdovis.SRS] After adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-26
FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 3.173803526448353,-90.0,356.82619647355165,90.0
FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 765ms, total time loading 1 features: 765ms.
INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 765ms.
FINEST [oracle.sdovis.RE] xfm: 2.2055555555555553 0.0 0.0 -2.2055555555555553 -6.99999999999992 198.50000000000003
DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 31ms
DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 125ms
INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=GEORTHEME]
DEBUG [oracle.sdovis.ThemeTable] Got SRID for base table NYP_IMAGES from data source cache
FINEST [oracle.sdovis.ThemeTable] key_column using default: ROWID
DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-28
FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
Description:
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
For the image i want to view, the data i got for the image that is being stored in the georaster object are:
IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
SDO_GEORASTER(20001, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003,
1), SDO_ORDINATE_ARRAY(-180, -90, -180, 1073, -180, 2237, 1320, 2237, 2821, 223
7, 2821, 1073, 2821, -90, 1320, -90, -180, -90)), 'NYP_IMAGES_RDT', 131, XMLTYPE
(<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
<objectI))
May i know whether the image is georeferenced?
If it is successfully georeference, why does it stated that no spatial data to render?
Regards,
EstherIMAGE_ID IMAGE_DESCRIPTION
IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
161 TIFF
SDO_GEORASTER(20001, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003,
1), SDO_ORDINATE_ARRAY(-180, -90, -180, 1073, -180, 2237, 1320, 2237, 2821, 223
7, 2821, 1073, 2821, -90, 1320, -90, -180, -90)), 'NYP_IMAGES_RDT', 131, XMLTYPE
(<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
<objectInfo>
<rasterType>20001</rasterType>
<isBlank>false</isBlank>
<defaultRed>1</defaultRed>
<defaultGreen>1</defaultGreen>
<defaultBlue>1</defaultBlue>
</objectInfo>
<rasterInfo>
<cellRepresentation>UNDEFINED</cellRepresentation>
<cellDepth>4BIT</cellDepth>
<totalDimensions>2</totalDimensions>
<dimensionSize type="ROW">
<size>2327</size>
</dimensionSize>
<dimensionSize type="COLUMN">
<size>3001</size>
</dimensionSize>
<ULTCoordinate>
<row>0</row>
<column>0</column>
</ULTCoordinate>
<blocking>
<type>REGULAR</type>
<totalRowBlocks>10</totalRowBlocks>
<totalColumnBlocks>12</totalColumnBlocks>
<rowBlockSize>256</rowBlockSize>
<columnBlockSize>256</columnBlockSize>
</blocking>
<interleaving>BIP</interleaving>
<pyramid>
<type>DECREASE</type>
<resampling>NN</resampling>
<maxLevel>3</maxLevel>
</pyramid>
<compression>
<type>NONE</type>
</compression>
</rasterInfo>
<spatialReferenceInfo>
<isReferenced>true</isReferenced>
<isRectified>true</isRectified>
<SRID>82394</SRID>
<spatialResolution dimensionType="X">
<resolution>28.5</resolution>
</spatialResolution>
<spatialResolution dimensionType="Y">
<resolution>28.5</resolution>
</spatialResolution>
<modelCoordinateLocation>UPPERLEFT</modelCoordinateLocation>
<modelType>FunctionalFitting</modelType>
<polynomialModel rowOff="0" columnOff="0" xOff="0" yOff="0" zOff="0" rowScal
e="1" columnScale="1" xScale="1" yScale="1" zScale="1">
<pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
<polynomialCoefficients>-479.9329824561403 0 0.03508771929824561</polyno
mialCoefficients>
</pPolynomial>
<qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
<polynomialCoefficients>1</polynomialCoefficients>
</qPolynomial>
<rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
<polynomialCoefficients>43256.28210526316 -0.03508771929824561 0</polyno
mialCoefficients>
</rPolynomial>
<sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
<polynomialCoefficients>1</polynomialCoefficients>
</sPolynomial>
</polynomialModel>
</spatialReferenceInfo>
<layerInfo>
<layerDimension>BAND</layerDimension>
<subLayer>
<layerNumber>1</layerNumber>
<layerDimensionOrdinate>0</layerDimensionOrdinate>
<layerID>subLayer1</layerID>
<colorMap>
<colors>
<cell value="0" blue="0" red="0" green="0" alpha="255"/>
<cell value="1" blue="20" red="20" green="20" alpha="255"/>
<cell value="2" blue="36" red="36" green="36" alpha="255"/>
<cell value="3" blue="48" red="48" green="48" alpha="255"/>
<cell value="4" blue="52" red="52" green="52" alpha="255"/>
<cell value="5" blue="72" red="72" green="72" alpha="255"/>
<cell value="6" blue="121" red="121" green="121" alpha="255"/>
<cell value="7" blue="133" red="133" green="133" alpha="255"/>
<cell value="8" blue="153" red="153" green="153" alpha="255"/>
<cell value="9" blue="178" red="178" green="178" alpha="255"/>
<cell value="10" blue="178" red="178" green="186" alpha="255"/>
<cell value="11" blue="186" red="186" green="186" alpha="255"/>
<cell value="12" blue="198" red="198" green="214" alpha="255"/>
<cell value="13" blue="230" red="230" green="234" alpha="255"/>
IMAGE_ID IMAGE_DESCRIPTION
IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
<cell value="14" blue="242" red="242" green="242" alpha="255"/>
<cell value="15" blue="255" red="255" green="255" alpha="255"/>
</colors>
</colorMap>
</subLayer>
</layerInfo>
</georasterMetadata>
Is this being georeferenced? -
Exception during commit of transaction in wli when using oracle database
I have configured oracle Database instead of pointbase in wli 9.2
While getting the response through callback in wli process (from Worklist console)this errror is coming "Exception occurred during commit of transaction ".
What should I do to remove this error??
Stack trace is
<Jan 6, 2007 5:19:59 PM CST> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transac
tion Xid=BEA1-012806F477B49C8F6264(7312912),Status=Rolled back. [Reason=weblogic.utils.NestedRuntime
Exception: Error in beforeCompletion],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=
0,seconds left=60,XAServerResourceInfo[WLStore_oracle1domain_cgJMSStore]=(ServerResourceInfo[WLStore
oracle1domaincgJMSStore]=(state=rolledback,assigned=AdminServer),xar=WLStore_oracle1domain_cgJMSSt
ore1269044,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(Ser
verResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=AdminServer),xar
=weblogic.jdbc.wrapper.JTSXAResourceImpl@14c0a31,re-Registered = false),SCInfo[oracle1domain+AdminSe
rver]=(state=rolledback),properties=({weblogic.jdbc=t3://199.81.36.226:7001}),local properties=({mod
ifiedListeners=[weblogic.ejb.container.internal.TxManager$TxListener@1442c7b], class com.bea.wli.bpm
.runtime.JpdContainer$TxnListener1168125300187=com.bea.wli.bpm.runtime.JpdContainer$TxnListener@1313
24d}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=AdminServer+199.8
1.36.226:7001+oracle1domain+t3+, XAResources={WLStore_oracle1domain_cgJMSStore, WLStore_oracle1domai
n_WseeFileStore, WLStore_oracle1domain__WLS_AdminServer, weblogic.jdbc.wrapper.JTSXAResourceImpl},No
nXAResources={})],CoordinatorURL=AdminServer+199.81.36.226:7001+oracle1domain+t3+): weblogic.transac
tion.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb.container.intern
al.TxManager$TxListener@1442c7b
Error in beforeCompletion
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java
:1782)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.
java:331)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:227
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:463)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4060)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3953)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4467)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
.>Did you get a solution to this problem ?I am seeing similar exceptions intermittently .
Thanks,
Meena. -
ORABPEL-00000 : Unable to commit transaction
Hi All,
We are using Oracle SOA Suite 10133, & I am trying to call an OA adaptor in one of our processes , & the Adaptor is returing the following error :
<summary>
file:/export/home/oracle/fmw/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_CreateClaimsAsync_1.0_cf08c997ca829ab8a1e5ad739d46bac8.tmp/CreateClaims.wsdl [ CreateClaims_ptt::CreateClaims(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CreateClaims' failed due to: Unable to commit transaction.
; nested exception is:
ORABPEL-00000
Unable to commit transaction.
</summary>
Any idea folks what could be the reason, because one of the parametes to the adaptor is commit which I a passing as T. I think this is one of a kind query cause I tried searching it on forum & couldnt find it. Any useful inputs on that would be highly appreciated.
Regards
VarunHi,
A good solution is you see at slide repository if your ESB project is updated.
Id don't you can to try cleanup this files and restart the OC4J container.
Afonso -
Unable to enlist in a distributed transaction (Windows7, Oracle 11G R1)
Hi,
I have a .Net application running on Windows 7 x64 using VisualStudio2008 and Oracle 11G R1 32bit client
In it I call a webservice calling another webservice, this requires to use oramts that interfaces with Microsoft DTC. However I'm getting the following error when calling the service method:
"Unable to enlist in a distributed transaction"
I have checked the following:
- Ora MTS is installed
- DTC is running, the security settings allow AX transactions (in fact I just allowed everything)
- Network services have the permission to access oracle dlls
- The registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI contains the following: "OracleXaLib"="xa80.dll" "OracleSqlLib"="SQLLib80.dll" "OracleOciLib"="oci.dll" (not sure if this is right)
What is it I'm doing wrong ? Does this version of Oracle work correctly on W7 ?
By the way it works fine on Windows XP !
I've spend quite some time trying to find a resolution..
Thanks!I think I answered my own question
It seems that MSDTC is not supported by Oracle 11G R1 on Windows x64 !
All Oracle Database components are supported on Windows x64 with the following exceptions:
•Oracle Services for Microsoft Transaction Server are not supported on Windows Vista. As a result, all Oracle Windows data access drivers on Windows Vista that use Oracle Services for Microsoft Transaction Server to enlist in Microsoft Distributed Transaction Coordinator (MSDTC) coordinated transactions cannot participate in those coordinated transactions. These data access drivers include Oracle Data Provider for .NET, Oracle Provider for OLE DB, Oracle Objects for OLE, and ODBC. Check OracleMetaLink for up to date information on Oracle Services for Microsoft Transaction Server certification with Windows Vista.
http://download.oracle.com/docs/cd/B28359_01/install.111/b32006/reqs.htm#CHDCEFIJ
Edited by: 845528 on 18 mars 2011 05:05 -
Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64
Hi Everyone,
I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
An error was encountered performing the required operation Got a minus one from read call .Vendor code 0
However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
My TNSNAMES .ora file is as follows:
ORACLE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORACLE)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
My Listener.ora file is as follows:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(GLOBAL_DBNAME = Oracle)
(ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
(SID_NAME = Oracle)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
ADR_BASE_LISTENER = D:\app
My Sqlnet.ora file is as follows:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
ORA 12537 : TNS Connection closed
Thanks for your patience and help in advance.
---PrashantHello Irian and Sue,
I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
Used parameter files:
D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
*)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
TNS-12537: TNS:connection closed
Thanks for your response to my initial post.Do u have any other methods to resolve this? -
Hi,
Requirement: Get Windows User Name using Oracle Web Forms 6i.
Tools Using: Windows NT, Oracle web forms 6i, Oracle 10g DB.
Description: I am using GetClientInfo JBean from otn.oracle.com, which gets windows user name, IP address and machine name. The demo I got from oracle web site uses Jinitiator version 1.1.7.18. While we are using the latest version Jinitiator 1.3.1.17. Due to this reason, I am unable to use Javakey which comes with older version but doesn't come with newer version, that's why I can't create the new JavaBean Java identity (PJC).
Please advise what to do. All environment variables are set everything is done, this is the only thing bothering me.
I went through the article 202768.1 from metalink, but on step 5, it gives an error keytool error: java.lang.Exception: Input not an X.509 Certificate.
Also, please let me know if there is any other workaround for this requirement.
Thanks & Best Regards,
MoHi,
Thanks for your kind reply. Actually there was a problem in creating a certificate, now it is okay with the same method. Certificate got imported on client and everything is ready.
Now, the problem is when I try to set Bean Area Implementation Class property with oracle.forms.demos.GetClientInfo, it gives an error FRM-13008 Cannot find JavaBean with name 'oracle.forms.demos.GetClientInfo'.
I went through the articles 1072329.6, 196824.1, and set ClassPath and Path variables with proper values. Also, I have copied jar file and signature file in forms60/java folder. I don't see any problems. Please let me know what I am doing wrong. My limitation is that I have to do all this in forms6i.
I searched forums on metalink and found out that someone installed Patch 15, and everything went okay for him. Do you think I should install Patch 15? if YES, how will I do it, I mean should I first uninstall my forms and then install patch15 or install the patch on my forms?
Thanks so much for your help.
Thanks & Best Regards,
Mo -
Oracle ADF: Cannot Commit Database Transaction
Hi All
I am trying to update oracle database using Oracle ADF from command line. The following is my code snippet
final String amName1 = "taxreturn.AM_Taxreturn";
final String connStr = "jdbc:oracle:thin:o9ias/[email protected]:1521:t1fdbo";
Hashtable env = new Hashtable(2);
env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
ApplicationModule appMod1 = null;
try {
javax.naming.Context ic = new InitialContext(env);
ApplicationModuleHome home1 = (ApplicationModuleHome)ic.lookup(amName1);
appMod1 = home1.create();
appMod1.getTransaction().connect(connStr);
} catch (Exception e) {
e.printStackTrace();
ViewObject t1xvVO = appMod1.createViewObject("t1xvVO", "taxreturn.T1XrefVView");
t1xvVO.setWhereClause("T1X_T1FU_USERID='" + "testlin2" + "' and T1X_T1_TAXYEAR='" + "2012" + "' and T1X_DELETED is null and T1X_INVOICE_T1_150 is null");
t1xvVO.executeQuery();
Row rowT1xv = null;
int count = 0;
while (t1xvVO.hasNext()) {
count++;
rowT1xv = t1xvVO.next();
System.out.println("Number of records: " + count);
t1xvVO.executeQuery();
if (t1xvVO.hasNext()) {
rowT1xv = t1xvVO.last();
System.out.println("First Name: " + rowT1xv.getAttribute("T1FirstName"));
System.out.println("T1xInvoiceT1150: Before: " + rowT1xv.getAttribute("T1xInvoiceT1150"));
rowT1xv.setAttribute("T1xInvoiceT1150", "250");
//appMod1.getTransaction().postChanges();
System.out.println("T1xInvoiceT1150: After: " + rowT1xv.getAttribute("T1xInvoiceT1150"));
System.out.println("Is Dirty: " + t1xvVO.getApplicationModule().getTransaction().isDirty());
try {
appMod1.getTransaction().commit();
System.out.println("Commit succeeded.");
} catch (oracle.jbo.JboException e) {
System.out.println("Commit failed. " + e);
I can see there are total 3 records retrieved. Then I execute query for the view object again and change the last record. But after the commit statement, the database is not update. What's wrong here? Thanks in advance
LeafRefer 6.4.9 How to Create a New Row for a View Object Instance
http://docs.oracle.com/cd/E37975_01/web.111240/e16182/bcqueryresults.htm#sm0094
The procedure to create an ApplicationModule and find View object is different than in the code snippet. Use the procedure in the link. -
Using Distributed Transaction with oracle 9i and VB
How to I get distributed transaction to work between a COM + object in VB and oracle using MSDAORA.1 driver? I keep getting the following error:
error number:
-2147168229
error description:
Cannot connect to the transaction manager or the transaction manager is unavailable.Oracle 9i works great with VB.NET. I would recommend you to use Oracle Data Provider .NET (ODP.NET) as a database driver
http://otn.oracle.com/tech/windows/odpnet/content.html
for better performance and get full advantage of Oracle 9i features.
Regards
Jagriti
OTN Team @IDC -
Can I Use Oracle DB 11g Express Edition with Atomikos Transactions.
Hi,
Any Help is appreciated.
Im able to use Oracle 11g Standard/Enterprise Edition with Atomikos for XA transactions.(XADMS).
My question is Can I Use Oracle DB 11g Express Edition with Atomikos for XA Transactions.
Thanks,
kensuserHi,
Thanks for the answer.What jdbc drivers should I use. Because still Im getting exception when using Oracle 11g XE.
But the same application runs with Oracle 11g Standard/Enterprise Edition.
Here is my Exception trace: Sorry, I'm a first time user, so pasting the exception as it is, will find out how to format the same, as use this forum. ant help is appreciated. Thanks in Advance
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UIToolAdminkit': Invocation of init method failed; nested exception is com.atomikos.datasource.ResourceException: XA resource 'EXXADBMS': resume for XID '3139322E3136382E35352E31382E746D30303030313030313937:3139322E3136382E35352E31382E746D31' raised -3: the XA resource detected an internal error
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:135)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:393)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1437)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: com.atomikos.datasource.ResourceException: XA resource 'EXXADBMS': resume for XID '3139322E3136382E35352E31382E746D30303030313030313937:3139322E3136382E35352E31382E746D31' raised -3: the XA resource detected an internal error
at com.atomikos.datasource.xa.XAResourceTransaction.resume(XAResourceTransaction.java:500)
at com.atomikos.datasource.xa.session.BranchEnlistedStateHandler.<init>(BranchEnlistedStateHandler.java:57)
at com.atomikos.datasource.xa.session.NotInBranchStateHandler.checkEnlistBeforeUse(NotInBranchStateHandler.java:66)
at com.atomikos.datasource.xa.session.TransactionContext.checkEnlistBeforeUse(TransactionContext.java:85)
at com.atomikos.datasource.xa.session.SessionHandleState.notifyBeforeUse(SessionHandleState.java:176)
at com.atomikos.jdbc.AtomikosConnectionProxy.enlist(AtomikosConnectionProxy.java:204)
at com.atomikos.jdbc.AtomikosConnectionProxy.invoke(AtomikosConnectionProxy.java:138)
at $Proxy13.prepareStatement(Unknown Source)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
at org.hibernate.loader.Loader.doQuery(Loader.java:696)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.doList(Loader.java:2228)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
at org.hibernate.loader.Loader.list(Loader.java:2120)
at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:935)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at org.springframework.orm.hibernate3.HibernateTemplate$30.doInHibernate(HibernateTemplate.java:921)
at org.springframework.orm.hibernate3.HibernateTemplate$30.doInHibernate(HibernateTemplate.java:1)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:912)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:904)
at com.kensho.common.UIbundlDAOImpl.findAll(UIbundlDAOImpl.java:13)
at com.kensho.common.UIbundlDAOImpl$$FastClassByCGLIB$$6f2db14b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
at com.kensho.common.UIbundlDAOImpl$$EnhancerByCGLIB$$8797972a.findAll(<generated>)
at com.kensho.common.UIToolKitAdminBBean.getAllBundleItems(UIToolKitAdminBBean.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)
... 29 more -
I am unable to load GRAPHIC files using the transaction SFP.
I am unable to load GRAPHIC files using the transaction SFP.
The error message says that there is no connection to the below given url.
http://<hostname:8000>/sap/bc/fp/
is it something like i have to activate this service in transaction sicf ?Try http://<hostname:8000>/sap/bc/fp/!
! at the end ..
Regards
Juan -
Unable to create Target for siebel 8.1.1 using Oracle Application Adapter
Hi,
I am unable to connect to siebel application using Oracle Application Adpater for weblogic server.Details are as follows
OS - Linux x86
Weblogic - 10.3.3
SOA - 11.1.1.3
Siebel - 8.1.1
When tried to create target following error is thrown
"Error getting targer[Siebel] - Invalid or incomplete string .(SBL- JCA - 00301)"
Can any body help me to resolve this issue.
Regards
Srinivas PusaHi,
There is definitely a table called HSP_LOCK in the planning applications repository, are you sure you are looking in the correct place.
Anyway there is also a utility (HspUnlockApp) in the \planning\bin directory that should unlock the app and will save you having to mess around with any tables, more details :- http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch04s02.html
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Ragitt01 fixed assets /function module
Hello Anybody knows maybe the FM which returns the same data like the module RAGITT01, I must read assets in my program but without logical DB logic so far I run this report in my program as BI, but it causes long performance. Is there any FM that si
-
I have an Indesign file that I need export into a PDF format to be access on a Smart Board. However, I have embedded a google map into the file using the folio overlays. What is the best way to export the file and still be able to actively use the ma
-
How to get same effects as I get in Photoshop?
Hi! I am trying to code a psd to html. My psd has vectors masks, Drop shadow and outer glow effect with few of the text and colured layers. How can I produce same effect in dreamivewer? Also I was unable to set opacity for my div in dreamviewer? If a
-
I ordered 7 Day menu planner app in error-how do I cancel it?
Just purchases HP OfficeJet 7600 Premium- I run OSX version 10.8.2
-
Hi friends. I've some problems when we generate PDF Files from the BI server, that run the PDFs in other ADS server. The error into the Visual Admin --> Services --> Destinations --> Aba Runtime --> HTTP and when I click in the RFC "save and test" I