SQL Error while trying to createMarkupDefinition
We upgraded wls portal schem from 8.1 to 10 and when we tried to deploy the app we had issues inserting the MarkupDefinition. Attached is the error. The error also complains that there might be Possible markup duplication of [MrkupDefinition] <appname>. Any help is appreciated
vax.ejb.EJBException: SQL Error while trying to createMarkupDefinition: SQL [insert into PF_MARKUP_DEFINITION ( MARKUP_DEFINITION_ID, MARKUP_NAME, MARKUP_TYP
WEBAPP_NAME, MARKUP_FILE) values (?,?,?,?,?)] database error code [1,400] SQL state [23000]. Possible markup duplication of [
rkupDefinition:
webAppName = km
type = LookAndFeel
name = bighornXHTMLLookAndFeel
file = /framework/markup/lookandfeel/bighorn-xhtml.laf
beginXml = <netuix:lookAndFeel skin="bighorn" skeleton="bighorn-xhtml" $(definitionLabel) $(definitionId) $(markupType) $(markupName)><netuix:titlebarButtonO
r><netuix:otherButtons/><netuix:namedButton name="float"/><netuix:namedButton name="edit"/><netuix:namedButton name="help"/><netuix:namedButton name="minimiz
/><netuix:namedButton name="maximized"/><netuix:namedButton name="delete"/></netuix:titlebarButtonOrder></netuix:lookAndFeel>
endXml = null
MarkupDefinitionId = null].; nested exception is: java.sql.SQLException: ORA-01400: cannot insert NULL into ("WLPDEV"."PF_MARKUP_DEFINITION"."BEGIN_XML")
at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionDelegate.createMarkupDefinition(MarkupDefinitionDelegate.java:812)
at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManagerImpl.createMarkupDefinition(MarkupDefinitionManagerImpl.java:161)
at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManager_twpn9c_EOImpl.createMarkupDefinition(MarkupDefinitionManager_twpn9c_EOIm
java:418)
at com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager.onNewFile(LookAndFeelFilePersistenceManager.java:170)
at com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager.createUpdateLookAndFeelDefinitions(LookAndFeelFilePersistenceManager.java:262)
at com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager.startupSync(LookAndFeelFilePersistenceManager.java:521)
at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$StartupSync.run(AbstractFilePersistenceManager.java:155)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSu
ct;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(Unknown Source)
at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup(AbstractFilePersistenceManager.java:97)
at com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager.onNewFiles(LookAndFeelFilePersistenceManager.java:103)
at com.bea.netuix.poller.FrameworkPoller.newFiles(FrameworkPoller.java:226)
at com.bea.netuix.poller.NetuixFilePoller.start(NetuixFilePoller.java:153)
at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:359)
at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:241)
at com.bea.netuix.servlets.manager.PortalServlet.access$100(PortalServlet.java:120)
at com.bea.netuix.servlets.manager.PortalServlet$ServletLifecycleListenerImpl.init(PortalServlet.java:1874)
at com.bea.netuix.util.ServletLifecycleListener.initOrReinitInternal(ServletLifecycleListener.java:131)
at com.bea.netuix.util.ServletLifecycleService.addServletLifecycleListener(ServletLifecycleService.java:251)
at com.bea.netuix.util.ServletLifecycleService.addServletLifecycleListener(ServletLifecycleService.java:182)
at com.bea.netuix.servlets.manager.PortalServlet.init(PortalServlet.java:229)
at com.bea.netuix.servlets.manager.PortalServlet.init(PortalServlet.java:209)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSu
ct;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
nested exception is:
javax.ejb.EJBException: SQL Error while trying to createMarkupDefinition: SQL [insert into PF_MARKUP_DEFINITION ( MARKUP_DEFINITION_ID, MARKUP_NAME, MA
P_TYPE, WEBAPP_NAME, MARKUP_FILE) values (?,?,?,?,?)] database error code [1,400] SQL state [23000]. Possible markup duplication of [
rkupDefinition:
webAppName = km
type = LookAndFeel
name = bighornXHTMLLookAndFeel
file = /framework/markup/lookandfeel/bighorn-xhtml.laf
beginXml = <netuix:lookAndFeel skin="bighorn" skeleton="bighorn-xhtml" $(definitionLabel) $(definitionId) $(markupType) $(markupName)><netuix:titlebarButtonO
r><netuix:otherButtons/><netuix:namedButton name="float"/><netuix:namedButton name="edit"/><netuix:namedButton name="help"/><netuix:namedButton name="minimiz
/><netuix:namedButton name="maximized"/><netuix:namedButton name="delete"/></netuix:titlebarButtonOrder></netuix:lookAndFeel>
endXml = null
MarkupDefinitionId = null].; nested exception is: java.sql.SQLException: ORA-01400: cannot insert NULL into ("WLPDEV"."PF_MARKUP_DEFINITION"."BEGIN_XML")
thrown while trying to do task [create] in class [com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager].
vax.transaction.TransactionRolledbackException: EJB Exception: : javax.ejb.EJBException: SQL Error while trying to createMarkupDefinition: SQL [insert into P
ARKUP_DEFINITION ( MARKUP_DEFINITION_ID, MARKUP_NAME, MARKUP_TYPE, WEBAPP_NAME, MARKUP_FILE) values (?,?,?,?,?)] database error code [1,400] SQL state [23000
Possible markup duplication of [
Hi,
Are you able to resolve ths problem? I am also getting the same problem when I upgraded wls portal schem from 8.1 to 10 and tried to deploy the app.
Any help is greatly appreciated.
Thanks
Similar Messages
-
Java.sql.SQLException: Error while trying to retrieve text for error ORA-24
Hi All,
Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
Thanks in anticipation.
Cheers,
Tapas
Environment
OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
Oracle � 8.1.6
Delaying 10 seconds before making a beuatpool pool connection.
Pool 1 (Type �3 )
weblogic.jdbc.connectionPool.beuatpool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=10,\
initialCapacity=10,\
maxCapacity=20,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=10,\
refreshMinutes=10,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxxx
Pool 2(Type �4)
weblogic.jdbc.connectionPool.thinPool=\
url=jdbc:oracle:thin:@xxx:1521:xxx,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=15,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxx:1521:xxx
allow=everyone
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:149)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
---------- LOGIN ERROR CODE: 24327
---------- LOGIN ERROR CODE: 24327
Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
ool "beuatpool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:172)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:182)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:125)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)Hi,
I guess you can try some of these:
- Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
- Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
- Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
- Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
- Try to access the DB user through some other client (for instance, SQLPlus*).
Hope this is of some help,
Freddy. -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
Hi,
I am getting the following error when i tried to connect to Oracle database from
a servlet. This exception is coming at the time of getting connection. And the
same code is working when i used in the standalone java program.
Oracle 8i database and WLS 6.0 are on the same UNIX machine.
---------attempting to connect ------
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Can any one help me out.
DurgaThe problem is solved after exprting the parameter ORACLE_SID=<database_name>
in Weblogic startup script.
thank u for the suggestions.
Durga
Joseph Weinstein <[email protected]> wrote:
>
>
Durga wrote:
Hi Joe,
I have checked the ORACLE_HOME parameter. There was a differnce. Ichanged to
/oracle/app/product/8.1.7
Now i am getting different exception. But still the standalone codeis working.
any clues why I am getting this exception. I will send the code andthe weblogic
properties file for reference if u need.Good. No, I don't need it. Now make sure the library path that the OS
uses to find
Oracle libraries, and our driver libraries etc., is in the same order
for the
server as for the shell that is successful on it's own. Make sure your
Oracle
client stuff is ahead of any weblogic libraries.
Joe
java.sql.SQLException: ORA-12547: TNS:lost contact
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java,Compiled
C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, CompiledCode)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
piled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
C
ode)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java,Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java,Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.getRuntimeName(ServletStubI
mpl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode)
Joseph Weinstein <[email protected]> wrote:
The environment for the server probably doesn't have the same ORACLE_HOME
setting as your shell when you succeed in a standalone.
Also, you should be using our connection pools, and you should avoid
making DriverManager calls in any multithreaded app such as WebLogic.
Joe
Durga wrote:
Hi,
I am getting the following error when i tried to connect to Oracledatabase from
a servlet. This exception is coming at the time of getting connection.And the
same code is working when i used in the standalone java program.
Oracle 8i database and WLS 6.0 are on the same UNIX machine.
---------attempting to connect ------
java.sql.SQLException: Error while trying to retrieve text for errorORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,
Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, CompiledC
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled
Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, CompiledC
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, CompiledCode
at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, CompiledCo
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Can any one help me out.
Durga -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-12
Hi,
I am getting the following error when i tried to connect to Oracle database from a servlet on HP-UX. I am using wls 6.0. And the same code is working when i used in the standalone java program.
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Can any one help me out.
DurgaThis is the text for ORA-12545, there is a problem in your NET8 somewhere.
http://technet.oracle.com/doc/network.815/a67440/ch11.htm#440586 -
Java.sql.sqlexception ora24344 error while trying to load Java class
Hi Guys,
I am getting "java.sql.sqlexception ora24344 error" while trying to load a java class using sql developer. Due to sensitivity of the code I am unable to post the code here but has anyone experienced a similar error before?
ThanksHi,
ora-24344 is known. It means it compiled but there are errors. Because you are not telling which version of Oracle you use, it is hard. Also you couldn't provide code will not make it easy. A common error is not having the right right on packages of SYS, such as UTL_* or DBMS_SYS_SQL. Can you maybe give the line of your code which produces the error?
Herald ten Dam
http://htendam.wordpress.com -
Error while trying to create tree using same EMP how to tutorial
Hi,
I get the following error while trying to create a sample tree similar to the one
posted in the how-tos web page.
The final query that creates the tree is also as follows
The Current Query shown in my apex window and the one on the howtos tutorial is as follows
select "EMPNO" id,
"MGR" pid,
"ENAME" name,
null link,
null a1,
null a2
from "RJOSEEMPCLUB"."EMP"
where DEPTNO = 1
The error is as follows
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
Debug:
1: begin
2: wwv_flow_wiz_confirm.create_tree (
3: p_flow_id => :FB_FLOW_ID,
4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
5: p_start_option => :F4000_P112_START_OPTION,
6: p_owner => :F4000_P112_OWNER,
7: p_table_name => :F4000_P112_TABLE,
8: p_id => :F4000_P112_ID,
9: p_pid => :F4000_P112_PID,
10: p_name => :F4000_P112_NAME,
11: p_link_option => :F4000_P112_LINK_OPTION,
12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
13: p_link_item => :F4000_P112_LINK_ITEM,
14: p_where => :F4000_P112_WHERE,
15: p_order_by => :F4000_P112_ORDER_BY,
16: p_page_id => :F4000_P112_PAGE_ID,
17: p_page_name => :F4000_P112_PAGE_NAME,
18: p_tab_set => :F4000_P112_TAB_SET,
19: p_tab_text => :F4000_P112_TAB_TEXT,
20: p_region_name => :F4000_P112_REGION_NAME,
21: p_tree_name => :F4000_P112_TREE_NAME,
22: p_tree_type => :F4000_P112_TREE_TYPE,
23: p_max_levels => :F4000_P112_MAX_LEVELS);
24: end;Hi Kart,
If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
Did you specify a root value for the tree?
Regards
Andy -
Error while trying to create a new company
Hey All
I found an error while trying to create a new company.
the Error like - No matching Records Found - [ODBC -2028]
This can generate only database but not any tables in that database.
Please help me.
Thanking you
Hepil DoshiHello,
I would prefer local language instead of US english.....
My tips.
1. DID you tried to Not apply the UDO/UDF things?
2. Do not log in to the database, start from
3. Please post the error message itself....
4. If you are running on MS SQL 2005 server (not express) , You can start SQL profiler, and monitor the New Database creation.... you will see in profielr where is the error message and which tables / data is missing.
If i know well,
When you create a new company, the SBO-COMMON database is used to deploy the new database....
If you get stock, reinstall your sbo-common from the last applyied patch..... (Detach SBO-common, move the files another directory, and start upgarder.exe).
Regards,
J. -
Error while trying to copy template from another application
Hi,
I am getting this error while trying to copy template from another application:
report error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
This report is located here:
Home-Application Builder-Application 150-Shared Components-Templates-Replace Templates
best regards,It is usually a permissions issue.. you have read but not write permission. Why it would suddenly change is one of those Apple Mysteries... but it happens.
Open the directory (folder) where your media files are.. and check the permissions.. see if you can fix them.
The problem is the folder on the TC might have lost your ownership and you might not be able to change it.. Apple do not provide anyway to regain permissions because you would need low level access to the TC firmware.
I would just as a matter of course reset the TC to factory and redo its setup.
Factory reset universal
Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
Do the setup via airport utility using different names.. short, no spaces and pure alphanumerics. Make sure passwords are also pure alphanumeric mixed case and numbers.. 8-20 characters is usually plenty.
Mount the disk in finder and see if you have the same issue.. I am not expecting a change.. but it is worth a try.
No luck you can copy your files off the TC.. wipe it .. and then copy them back.. no bad thing unless you already have a backup of your files at the moment. In which case you can just wipe the TC and copy the files now. -
Error while trying to register user to iFS 9.0.1
Hi ,
We are getting following error while trying to register user with our custom application. When I checked the forums it says the unique constraint might be the problem but I don't see any unique constraint violation in my exception trace. We are using 9.0.1 with 9.0.1 Database.
Here is the stack trace:
oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
java.sql.SQLException: ORA-00600: internal error code, arguments: [25012], [10], [0], [], [], [], [], []
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:184)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1768)
at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1380)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1868)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1787)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2377)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:427)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:492)
at oracle.ifs.server.S_LibrarySession.execute(S_LibrarySession.java:14319)
at oracle.ifs.server.S_LibraryObject.insertRow(S_LibraryObject.java:3251)
at oracle.ifs.server.S_LibraryObject.insertRows(S_LibraryObject.java:3150)
at oracle.ifs.server.OperationState.executeAtomicOperations(OperationState.java:487)
at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:2716)
at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:7922)
at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7963)
at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7945)
at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:7604)
at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:7901)
at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySession.java:5345)
at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:2973)
at oracle.ifs.adk.user.UserManager.createDirectoryUser(UserManager.java:1122)
at oracle.ifs.adk.user.UserManager.createUser(UserManager.java:987)
at com.cisco.as.ifs.management.fndUserManager.createUser(fndUserManager.java:131)
Thanks
Rajesh BasawaRajesh,
I was wondering did you manage to get this problem fixed we are having a similar problem when creating an iFS object; the following is the stack trace
oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
[Mon Jun 16 14:19:47 BST 2003] stderr: java.sql.SQLException: ORA-00600: internal error code, arguments: [25012], [5], [0], [], [], [], [], []
[Mon Jun 16 14:19:47 BST 2003] stderr:
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1759)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1371)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1852)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1771)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2361)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:487)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.S_LibrarySession.execute(S_LibrarySession.java:14319)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.S_LibraryObject.insertRow(S_LibraryObject.java:3251)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.S_LibraryObject.insertRows(S_LibraryObject.java:3150)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.OperationState.executeAtomicOperations(OperationState.java:487)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:2716)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:7922)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7963)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7945)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:7604)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:7901)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySession.java:5345)
[Mon Jun 16 14:19:47 BST 2003] stderr: at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:2973) -
Error while trying to install EBS 12.1.1
We are getting an error while trying to install EBS R12.1.1 on Linux x86_64 os(RHEL 5.2).We are getting the error at step 2 of 5 during database configuration stage 33% (65%) stage.The error is as given below,
RW-50004:Error code received when running external process.Check log files for details.Running Database Install Driver for TEST instance.
We checked the log files and in ApplyDB_****.log the error is
RW-50010 :script has returned an error: 1
How to fix these issues??
Regards,
RupdiptHi Taj,
I am getting these error messages consistently throughout the log file,
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : testerp
sDbDomain : eigl.com
sDbPort : 1521
sDbSid : TEST
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testerp.eigl.com:1521:TEST
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testerp.eigl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testerp.eigl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST.eigl.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testerp.eigl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST.eigl.com)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Wed Jul 22 17:47:10 IST 2009
The environment settings are as follows ...
ORACLE_HOME : /d01/oracle/TEST/db/tech_st/11.1.0
ORACLE_SID : TEST
TWO_TASK :
PATH : /d01/oracle/TEST/db/tech_st/11.1.0/perl/bin:/d01/oracle/TEST/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/d01/oracle/TEST/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/d04/StageR12/startCD/Disk1/rapidwiz/unzip/Linux_x64:/usr/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:.
LD_LIBRARY_PATH : /d01/oracle/TEST/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/d01/oracle/TEST/db/tech_st/11.1.0/lib:/usr/dt/lib:/d01/oracle/TEST/db/tech_st/11.1.0/ctx/lib
Executable : /d01/oracle/TEST/db/tech_st/11.1.0/bin/sqlplus
The log information will be written to
/d01/oracle/TEST/db/tech_st/11.1.0/appsutil/log/TEST_testerp/adcrdb_TEST.txt
Creating the control file for TEST_testerp database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Jul 22 17:47:11 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2166536 bytes
Variable Size 427819256 bytes
Database Buffers 624951296 bytes
Redo Buffers 14000128 bytes
CREATE CONTROLFILE REUSE SET DATABASE "TEST"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file
'/d01/oracle/TEST/db/apps_st/data/system05.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/d01/oracle/TEST/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/d01/oracle/TEST/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.eigl.com"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2166536 bytes
Variable Size 427819256 bytes
Database Buffers 624951296 bytes
Redo Buffers 14000128 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4652
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2166536 bytes
Variable Size 427819256 bytes
Database Buffers 624951296 bytes
Redo Buffers 14000128 bytes
CREATE CONTROLFILE REUSE SET DATABASE "TEST"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file
'/d01/oracle/TEST/db/apps_st/data/system05.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/d01/oracle/TEST/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/d01/oracle/TEST/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.eigl.com"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Jul 22 17:47:20 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
.end std out.
.end err out.
Whats the solution??
Regards,
Rupdipt -
Getting the error "Error while trying to update record" when I try to force complete a plan in DAC
Hello Everyone ,
I am using OBIA 7.9.3.7 . One of my execution plan has finished executing all the tasks but it is still in running mode . When I try to force complete it , it gives the error " Error while trying to update record" . Upon checking the log file , I found the below errors :
MESSAGE:::ORA-04092: cannot COMMIT in a trigger
ORA-06512: at "DAC_CUSTSCM.ETL_FAIL_NOTOFICATION", line 9
ORA-04088: error during execution of trigger 'DAC_CUSTSCM.ETL_FAIL_NOTOFICATION'
EXCEPTION CLASS::: java.sql.SQLSyntaxErrorException
The Plan is in running state for past couple of days . I tried to re-start the DAC services , but again it gave the same error . Kindly suggest .
Regards
SatyendraJust to correct , the version of obia is 7.9.6.3
-
Hello Everyone,
We are getting an error while trying to create an Universe via Microsoft -> MS Analysis Services 2014 -> OLEDB for OLAP Provider under Connection in UDT -"DBD: Error while trying to load the transport provider for odbc. Failed to load the library. System error: The specified module could not be found." We have installed BI 4.1 SP05 in our system. As per earlier posts in scn in BO XI 3.x this issue used to be for improper installation of Integration KIT but in our scenarion Integration KIT is within the BO 4.1 package so no seperate installation is required. Moreover I have checked whether all the driver is present under file: "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\drivers" and seems everything is fine. But still I am getting this error. One important point is we could use IDT because in IDT still we don't have option to connect with 'Microsoft Analysis Services - 2014 (XMLA)' as we are using Microsoft Analysis Services 2014 version.
Kindly help if anyone has faced the same problem with SAP BO 4.1.
Thanks and Best Regards,
GhosalHello Everybody,
The problem is solved now after installing "OLEDB drivers from SQL Server 2012 Feature Pack". We had OLEDB drivers that comes directly from SQL Server but that did not worked out in our case.
Thanks for your support.
Best Regards,
Ghosal -
Error while trying to retrieve text ......
Hello,
while connecting to Oracle 8i from my VB program i get the following error.
-2147217843[Oracle][ODBC][Ora]
Error while trying to retrieve text for error ORA-12154.
but i get the connection in debug mode.
please give any guidance.
I am using Oracle ODBC Driver.
Thanks in advance.
Subodh Apte
[email protected]Tony,
Can you please post the error details that you are getting while connecting from PL/SQL developer.
The error ORA-12154 is generaly TNS:could not resolve service name .
Also perfrom these steps
1)Verify that a tnsnames.ora file exists.
2)Verify that there are not multiple copies of the tnsnames.ora file.
3)In the tnsnames.ora file, verify that the net service name specified in your connect string is mapped to a connect descriptor.
4)Verify that there are no duplicate copies of the sqlnet.ora file.
5)If you are using domain names, verify that your sqlnet.ora file contains a NAMES.DEFAULT_DOMAIN parameter. If this parameter does not exist, you must specify the domain name in your connect string.
6)If you are not using domain names, and this parameter exists, delete it or disable it by commenting it out.
7)If you are connecting from a login dialog box, verify that you are not placing an "@" symbol before your connect net service name.
Hope this helps.
Thanks
Rajeev -
Informix: Error while trying to set up start or end key for index read
Hi all
Im moving an application from weblogic 6.1 to 8.1, we're using informix as our databasemanager and are using informix's XA driver. However im running into the following error:
SQL State: IX000, Exception: java.sql.SQLException: [Internal] Error while trying to set up start or end key for index read [fmstopset_release],
SQL ErrorCode: -9847, Error Message: [Internal] Error while trying to set up start or end key for index read [fmstopset_release], RSAM ErrorCode: -101
...while accessing a table.
The same code runs fine twice, but the third and following times it fails with the above error code. I've tried setting the various XA flags available in the weblogic console but with no success so far.
Anyone have any input to this problem? Ive not seen many postings about this error out in the cyberspace and the fews ive seen never gets any response...so i just have to hope anyone in here know anything about it.
Best regards
JMUlf Akerberg wrote:
Hello
I managed to work around my problem by setting the "statement cache size" in the jdbc connection pool to 0. At least that seems to be a work around, im not fully happy with it.
I attach the stack trace from the exception, perhaps it will give someone an idea.
Btw, we're using sun.jdbc.rowset.ExtendedCachedRowSet to populate the resultset to a "disconnected resultset" which the application works with instead of the resultset. Any statements and resultsets that are created are closed before returning the ExtendedCachedRowSet to the application.
If the application works when statement caching is turned off, then it implies a bug in the
informix driver to do with re-using a prepared statement. Is the PreparedStatement used
the same way each time? (the one at AbstractDAO.java:166) What I mean to ask is, If/when
this statement is created with a given SQL string, are the parameters for that SQL always
set the same way?
thanks,
Joe
>
2004-09-10 15:45:05,603 ERROR [ExecuteThread: '14' for queue: 'weblogic.kernel.Default'] - SQLException: Generic SQL failed:
SELECT d.*,dt.dokument_typ FROM dokument d, OUTER dokument_typ dt WHERE d.dok_typ_id = dt.dok_typ_id AND d.dokument_id = ? ( 0:894),
SQL State: IX000, Exception: java.sql.SQLException: [Internal] Error while trying to set up start or end key for index read [fmstopset_release],
SQL ErrorCode: -9847, Error Message: [Internal] Error while trying to set up start or end key for index read [fmstopset_release], RSAM ErrorCode: -101
java.sql.SQLException: [Internal] Error while trying to set up start or end key for index read [fmstopset_release]
at com.informix.jdbc.IfxSqli.addException(IfxSqli.java:3105)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3419)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2282)
at com.informix.jdbcx.IfxXASqli.receiveMessage(IfxXASqli.java:119)
at com.informix.jdbc.IfxSqli.sendStatementQuery(IfxSqli.java:1464)
at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1403)
at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1333)
at com.informix.jdbc.IfxResultSet.executeQuery(IfxResultSet.java:223)
at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:843)
at com.informix.jdbc.IfxPreparedStatement.executeQuery(IfxPreparedStatement.java:244)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:80)
at infrastructure.dao.AbstractDAO.genericSqlRead(AbstractDAO.java:166)
at se.migrationsverket.dhs.domain.dao.DokumentDAO.findByDokId(DokumentDAO.java:64)
at se.migrationsverket.dhs.domain.dao.DokumentDAO.findByDokId(DokumentDAO.java:43)
at se.migrationsverket.dhs.generator.impl.pipeline.LoadDocumentPipeline.buildMultiDocument(LoadDocumentPipeline.java:99)
at se.migrationsverket.dhs.generator.impl.pipeline.LoadDocumentPipeline.process(LoadDocumentPipeline.java:53)
at se.migrationsverket.dhs.generator.impl.DHSDocumentGenerator.loadDocument(DHSDocumentGenerator.java:63)
at se.migrationsverket.dhs.generator.DocumentGeneratorInternalHelper.loadDocument(DocumentGeneratorInternalHelper.java:129)
at se.migrationsverket.dhs.services.document.internal.InternalDocumentManagerBean.loadDocument(InternalDocumentManagerBean.java:185)
at se.migrationsverket.dhs.services.document.internal.InternalDocumentManager_6sz7e8_EOImpl.loadDocument(InternalDocumentManager_6sz7e8_EOImpl.java:532)
at se.migrationsverket.dhs.action.documentgenerator.GeneratorAction.load(GeneratorAction.java:147)
at se.migrationsverket.dhs.action.documentgenerator.GeneratorAction.perform(GeneratorAction.java:49)
at se.migrationsverket.dhs.servlet.AbstractController.doPost(AbstractController.java:84)
at se.migrationsverket.dhs.servlet.AbstractController.doGet(AbstractController.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Regards
JM -
Getting error while trying to bring datafile online.
Hi,
I am getting error while trying to bring datafile online.
Can you please help me in this.
SQL> alter database datafile 5 online;
alter database datafile 5 online
ERROR at line 1:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: 'G:\ABC.DBF'
Database is running in Archivelog mode.
Even when i tried to take the whole database backup i got the following error.
RMAN> backup database;
Starting backup at 21-OCT-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=139 devtype=DISK
could not read file header for datafile 5 error reason 4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 10/21/2009 18:07:04
RMAN-06056: could not access datafile 5
Please help me to rectify this problem.
Database is running in Archivelog mode.
Database is 10.2.3.0Aman wrote:
Hi,
I am getting error while trying to bring datafile online.
Can you please help me in this.
SQL> alter database datafile 5 online;
alter database datafile 5 online
ERROR at line 1:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: 'G:\ABC.DBF'
Database is running in Archivelog mode.
Even when i tried to take the whole database backup i got the following error.
RMAN> backup database;
Starting backup at 21-OCT-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=139 devtype=DISK
could not read file header for datafile 5 error reason 4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 10/21/2009 18:07:04
RMAN-06056: could not access datafile 5
Please help me to rectify this problem.
Database is running in Archivelog mode.
Database is 10.2.3.0Why are you taking the backup when the file is not there? Files don't go offline just like that so the bigger concern for you should be that how come without your knowledge( I hope so) , it went offline?
The file is not physically there and as like Don asked, is the G drive actually is there even?
Do you have backup of this file? Also confirm, you have all the archivelogs available?
HTH
Aman....
Maybe you are looking for
-
Hi i take cold backup of my 9i database .... in case my database is up ..... how will i recover my database if i lose a single database file and i want to recover it from cold backup...... Thanks in advance Gagan
-
Dear All, I have a requirement wherein I need to automate the creation of Sub Sales Order through WTEW tcode in GTM. I'm not able to do it via BDC. Is there any BAPI for it ? Please help. Thanks.
-
After Leopard install Mac OSX Setup Assistant is in a constant loop
I have a friend who I persuaded to switch to mac a few years ago and he recently installed Leopard without much success on his second mac (it was fine on his macbook pro 2.13ghz), a Power PC G5 1.8ghz - 1.25 gb ram. When I had a look at it it appears
-
Tcode to find Bex Queries by USER
Hi BW Experts, Can anyone help me in finding Tcode to find Bex Queries by User Name.
-
LabVIEW with Pasco's Science Workshop 750
I am trying to get LabVIEW 2012 to communicate with the Pasco Science Workshop 750 Interface. I have downloaded the drivers http://www.pasco.com/file_downloads/labview/SW750LabVIEW.zip from Pasco's page http://www.pasco.com/family/labview/index.cfm