'CREATE JAVA' error: ORA-29506: derived from the USING clause invalid query
HelloI created a table with the following attributes:
name varchar2 (200);
LOB_DATA blob
I loaded a java source file in the lob_data blob.
I then called the SQL:
create or replace and compile the java source named "RemoteCommand" using blob
Select lob_data from str_blob_table where name = 'RemoteCommand.java ';
and I get the error:
ORA-29506: invalid query from the USING clause
ORA-00936: lack of expression
29506 00000 - "query invalid derived from USING clause.
* Cause: The USING clause does not form a valid query.
* Action: Correct the USING clause.
If I simply copy and paste the query part of the USING clause:
Select lob_data from str_blob_table where name = 'RemoteCommand.java ';
I get a valid result in SQLDeveloper.
Any thoughts on what is happening here?
A few notes:
1. it is a 8i database.
2. it works very well on a 9i database, but according to the SQL reference for 8i, it should work as well.
Thank you
Brent
Try to delete "select" in the USING clause, that is to say change the SELECT BLOB SUPPORT... for BLOB to HELP... The original form of the syntax of JAVA to CREATE did not expect the SELECT token must be explicitly provided. Somewhere between 8i and 9i the parser was changed to try the provided text as well as what, with SELECT prefixed. So a CREATE JAVA statement you tried working in 9i but in 8i fails because SELECT would always be added before you try using the clause as a query, resulting a SELECT duplicate token.
Tags: Database
Similar Questions
-
Hi all
I started playing with OEMM and I get the following error when I try to 'Trace Data Impact' in an Oracle table. Here's what I do:
- I created a template and collected a few schemas/tables:
- Now when I try to "Trace Data Impact' on the table AP_DEF_STG, I get the following:
I already tried to create a "Configuration" for her, I tried to text instead of graphics, but the error is the same. If I go to a view of Oracle and do a "track Data Lineage", I get the same error again.
That someone was already been in this situation? This is the full error trace:
({"error": true, "errorMessage": "SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system"})
', 'errorType': 'Line error', 'errorCodes': "[LNGTRC_E0016]".
","stackTrace":"Error Codes - [LNGTRC_E0016].
Request - VizModelLineage
Settings - showInternalObject [false] showNoType [true] showControlLinks [false] startingIds [17 #4723 #0] isBizUI [false] ObjectID [17 #1 #0] showSummaryView [true] collapseLevel [features] resetCache [fake] profile [] showMappingsAsNodes [true] skipCache [false] tracingDirection [3] tracingType [DataLineage] [ReportTree2202015-104855025] originalStartingObject cacheId [17 #4723 #0] viewType actionType [loadlineage] of viewId [ReportTree2202015-104855025] [ModelLineage]
MITI.web.common.exceptions.LineageUIException: SQL for tracing line error: ORA-22813: value of the operand exceeds the limits of the system
at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:284)
at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)
at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)
at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)
at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:611)
to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:316)
to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:895)
to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:918)
to org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run (TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Caused by: MITI.server.services.lineage.LineageException: (LNGTRC_E0016) SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system
at MITI.server.services.lineage.database.LineageDataSource.handle (LineageDataSource.java:41)
at MITI.util.database.CommonDataSource.handleSQLException (CommonDataSource.java:124)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:83)
at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)
at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)
at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)
at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)
at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)
at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)
... 21 more
Caused by: java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at MITI.util.database.Query.executeStatement (Query.java:45)
at MITI.util.database.Statement.execute (Statement.java:66)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)
at MITI.util.database.Transaction.execute (Transaction.java:92)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)
... more than 27
Caused by:
MITI.server.services.lineage.LineageException: (LNGTRC_E0016) SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system
at MITI.server.services.lineage.database.LineageDataSource.handle (LineageDataSource.java:41)
at MITI.util.database.CommonDataSource.handleSQLException (CommonDataSource.java:124)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:83)
at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)
at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)
at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)
at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)
at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)
at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)
at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)
at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)
at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)
at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:611)
to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:316)
to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:895)
to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:918)
to org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run (TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at MITI.util.database.Query.executeStatement (Query.java:45)
at MITI.util.database.Statement.execute (Statement.java:66)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)
at MITI.util.database.Transaction.execute (Transaction.java:92)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)
... more than 27
Caused by:
java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at MITI.util.database.Query.executeStatement (Query.java:45)
at MITI.util.database.Statement.execute (Statement.java:66)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)
at MITI.util.database.Transaction.execute (Transaction.java:92)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)
at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)
at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)
at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)
at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)
at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)
at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)
at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)
at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)
at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)
at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
Oracle has published OEMM 12.2.1 and this error is gone! So if you are facing this problem in an older version, just go to the newest one.
-
ORA-39083: Object type TRIGGER could not create with error: ORA-04072:
OS: windows Server 2003 STD 64 Bit
DB version: 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit
I use impdp to a certain pattern and you get the following error:
ORA-39083: Type WHAT TRIGGER could not create object error:
ORA-04072: invalid trigger type
Because sql is:
DBMS_DDL BEGIN. SET_TRIGGER_FIRING_PROPERTY ('"AGILETEST" "," "SWAPOPTIMIZER" ', ALF)
SE); END;
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMA of treatment
P/INDEX_STATISTICS
Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
----------
I check in Metalink and found it to be a bug with no construction nearby.
Bug 9858539 : DATA PUMP IMPORT FAILED TO TRIGGER LOGON ORA-04072: INVALID TYPE of TRIGGER
---------
Any ideas?Well Yes, the patch is available for this bug 9858539 for 11.2.0.1 and 11.2.0.3.
Salman
-
ORA-54017: excluded from the regime of virtual columns UPDATE Operation
Referenced to
There are problems with v4.0_4.121.1.0 knew?
Thank you
Sorry, but after setting
StoreGeneratedPattern
toComputed
in the EF model I have the same problem.Thank you
-
ERROR: ORA-01017: name of user and password invalid. connection refused
Hi all
I need your help.
I have installed Oracle Audit Vault Server Release 10.2.3.2 in agent collection and Linux system in Windows system. Adding and start collecting DBAUD went fine however adding AGAIN collector back return errors when executing command avorcldb add_collector as follows
[oracle@avsrv ~] $
[oracle@avsrv ~] $ avorcldb add_collector - SrcName orcl nom_agent - avagent01 - colltype REDO - av Lugaopc:1521:orcl
collector REDO_Collector for orcl source already exists
the initialization of the REDO Collector
ERROR: could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
ERROR: ORA-01017: name of user and password invalid. connection refused
[oracle@avsrv ~] $
Here are the contents of the avorcldb.log file
09/09/13 16:58:44 [INFO] command add_collector treatment
09/09/13 16:58:44 [INFO] treatment arg - FromName = orcl
09/09/13 16:58:44 [INFO] treatment arg - nom_agent = avagent01
09/09/13 16:58:44 [INFO] treatment arg - colltype = REDO
09/09/13 16:58:44 [INFO] treatment arg - av = Lugaopc:1521:orcl
09/09/13 16:58:44 [INFO] connect information: Lugaopc:1521:orcl
09/09/13 16:58:45 [INFO] connecting administration AV got using jdbc:oracle:oci:@AVDB
09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select s.host |': ' | A1.num_value |': ' | avsys.av A2.char_value $attrvalue a1, a2 avsys.av$ attrvalue, avsys.av$ s source, avsys.av$ attrdef ad1, ad2 avsys.av$ attrdef where source_name =: 1 and a1.inst_id = s.source_id and a2.inst_id = s.source_id and a1.attr_id = ad1.attr_id and ad1.attr_name = 'PORT' and a2.attr_id = ad2.attr_id and ad2.attr_name = 'DB_SERVICE. '
09/09/13 16:58:45 [INFO] using bind value orcl
09/09/13 16:58:45 [INFO] Return value = Lugaopc:1521:orcl
09/09/13 16:58:45 [INFO] connect information: Lugaopc:1521:orcl
09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select to_char (source_id) in the avsys.av$ source where source_name =: 1
09/09/13 16:58:45 [INFO] using bind value orcl
09/09/13 16:58:45 [INFO] return value = 1
09/09/13 16:58:46 [INFO] got the source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id
09/09/13 16:58:46 [INFO] using bind value orcl
09/09/13 16:58:46 [INFO] bind Using REDO_Collector value
09/09/13 16:58:46 [INFO] Return value = active
09/09/13 16:58:46 [MESG] collector REDO_Collector for orcl source already exists
09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id
09/09/13 16:58:46 [INFO] using bind value orcl
09/09/13 16:58:46 [INFO] bind Using REDO_Collector value
09/09/13 16:58:46 [INFO] Return value = active
09/09/13 16:58:46 [MESG] initialization REDO Collector
09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select the username of avsys.av$ source where source_name =: 1
09/09/13 16:58:46 [INFO] using bind value orcl
09/09/13 16:58:46 [INFO] Return value = AVSRCUSR1
09/09/13 16:58:46 [INFO] as [ADM@AV] SQL execution {? = call avsys.dbms_audit_vault.reset_source_user (?)}
09/09/13 16:58:46 [INFO] adding user password mask
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)
09/09/13 16:58:46 [INFO] bind Using STREAMS_HEARTBEAT value
09/09/13 16:58:46 [INFO] Return value = STREAMS_HEARTBEAT
09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table streams_heartbeat
09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table streams_heartbeat (src_dbname varchar2 (4000), job_number number, heartbeat_time timestamp)
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] declare dbs_name varchar2 (4000); start selecting rename in dbs_name from global_name; insert into streams_heartbeat values (dbs_name, 0, SYSTIMESTAMP); end;
09/09/13 16:58:46 [INFO] SQL execution as [USR@SRC] create or replace procedure update_heartbeat IS start update streams_heartbeat set heartbeat_time = (select systimestamp from double); commit; end;
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)
09/09/13 16:58:46 [INFO] bind Using CAPTURE_RULES value
09/09/13 16:58:46 [INFO] Return value = CAPTURE_RULES
09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table capture_rules
09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table capture_rules (nom_regle varchar2 (50), rule_scope varchar2 (6), rule_type VARCHAR2 (3), obj_name varchar2 (100))
09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select Rename global_name
09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select db_link in user_db_links where db_link =: 1
09/09/13 16:58:46 [INFO] Using AVDB bind value. AVSRV
09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV
09/09/13 16:58:46 [INFO] the Execute SQL as database link [USR@SRC] drop "AVDB. AVSRV ".
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select the version of v$ instance
09/09/13 16:58:46 [INFO] Return value = 11.2.0.1.0
09/09/13 16:58:46 [INFO] creating DB link using AVDB. AVSRV, AVSRCUSR1, {avsrcusr_pwd}, Lugaopc, 1521, orcl
09/09/13 16:58:46 [INFO] login as srcuser_ora01 to @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=Lugaopc) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = orcl)))
09/09/13 16:58:46 [INFO] output of SQLPlus
09/09/13 16:58:46 [INFO]
09/09/13 16:58:46 [INFO] Package created.
09/09/13 16:58:46 [INFO]
09/09/13 16:58:46 [INFO] no error.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] package body created.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] no error.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] Package created.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] no error.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] package body created.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] no error.
09/09/13 16:58:47 [INFO] execution SQL like [USR@SRC] select distinct name of user_errors, whose name =: 1
09/09/13 16:58:47 [INFO] bind Using DBMS_SRC_STREAMS_COLLECTOR value
09/09/13 16:58:47 [INFO] Return value = null
09/09/13 16:58:47 [ERROR] could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
09/09/13 16:58:47 [ERROR] ORA-01017: name of user and password invalid. connection refused
java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)
to oracle.jdbc.driver.PhysicalConnection. < init > (PhysicalConnection.java:546)
to oracle.jdbc.driver.T2CConnection. < init > (T2CConnection.java:162)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
to oracle.av.avca.jdbc.JdbcConnection. < init > (JdbcConnection.java:87)
at oracle.av.orcldb.DAO.initConnection(DAO.java:79)
to oracle.av.orcldb.DAO. < init > (DAO.java:64)
at oracle.av.orcldb.commands.AddCollector.setupCollector(AddCollector.java:746)
at oracle.av.orcldb.commands.AddCollector.execute(AddCollector.java:230)
at oracle.av.orcldb.Command.process(Command.java:89)
at oracle.av.orcldb.Main.process(Main.java:118)
at oracle.av.orcldb.Main.main(Main.java:132)
I searched the forum at my best level without clear solution
Concerning
Sadik
avorcldb add_collector - REDO SrcName orcl nom_agent - avagent01 - colltype - av Lugaopc:1521:orcl
Specify the connection string to the Vault check server not in the source database
-
Pass Pl/sql table in the USING clause in the EXECUTE IMMEDIATE statement
Getting error when I try to pass the PL/SQL table in the USING clause in the EXECUTE IMMEDIATE statement:
Declare
result NUMBER;
TYPE values_tab IS TABLE OF NUMBER INDEX OF directory;
lv_tab values_tab;
lv_exp varchar2 (300);
lv_exec varchar2 (300);
BEGIN
lv_tab (1): = 5;
lv_tab (2): = 48;
lv_tab (3): = 7;
lv_tab (4): = 6;
lv_exp: = ': + b1: b2 + (: b3 *: b4)';
lv_exec: = 'SELECT'. lv_exp | ' THE DOUBLE '.
IMMEDIATE EXECUTION
lv_exec
IN
result
USING
lv_tab;
DBMS_OUTPUT. Put_line (result);
END;
/
Error on line 1
ORA-06550: line 20, column 12:
PLS-00457: expressions must be SQL types
ORA-06550: line 15, column 8:
PL/SQL: Statement ignored
I am trying to evaluate the expression ': + b1: b2 + (: b3 *: b4) "which is stored in the table. This table has different expressions (expressions about 300). I want to use the bind variable in the expression because each expression evaluated thousands of time may be more in some cases. If I use bind variable can he fill pool.
Is there a way I can pass parameters with the HELP of (IN) dynamically instead of write "help lv_tab (1), lv_tab (2), lv_tab (3), lv_tab (4)? As number of change of the input parameters depend on the expression in the table.
If it is possible please suggest any other ideas/approaches
Help, please...
Published by: satnam on June 11, 2009 11:50Well, you keep changing faster reqs that I can follow. In any case, assuming that N-th variable bind (left to right) corresponds to n-th collection item:
Declare result NUMBER; lv_tab values_tab := values_tab(); lv_exp varchar2(300); lv_exec varchar2(300); lv_i number := 0; BEGIN lv_tab.extend(4); lv_tab(1) := 5; lv_tab(2) := 48; lv_tab(3) := 7; lv_tab(4) := 6; lv_exp := ':5000135+:5403456+(:5900111*:5200456)'; lv_exec := lv_exp; While regexp_like(lv_exec,':\d+') loop lv_i := lv_i + 1; lv_exec := REGEXP_REPLACE(lv_exec,':\d+',':b(' || lv_i || ')',1,1); end loop; lv_exec := 'BEGIN :a := ' || lv_exec || '; END;'; DBMS_OUTPUT.PUT_LINE(lv_exec); EXECUTE IMMEDIATE lv_exec USING OUT result,IN lv_tab; DBMS_OUTPUT.PUT_LINE(result); END; / BEGIN :a := :b(1)+:b(2)+(:b(3)*:b(4)); END; 95 PL/SQL procedure successfully completed. SQL>
SY.
-
Help to create the view - error: ORA-00955: name is already used by an existing object
Hello
I am trying to create the following view but sqlplus displays a message and point of view has not been created. I use 11g Express.
SQL > create view (client, f_pedido, total) orders as
2 (
3 select usr, date, sum (rising) as important
4 of
5 (
6 select lineas_any.usuario as usr, lineas_any.fecha_pedido as date, lineas_any.cantidad * as rising referencia.precio
7 of lineas_any
inner join 8
referencia 9
10 on lineas_any.referencia = referencia.codbarras
11 )
Group 12 by usr, date
13)
14 order by date asc, usr;
of lineas_any
*
ERROR on line 7:
ORA-00955: name is already used by an existing object
There are also descriptions of the two tables involved:
SQL > describe lineas_any
Name Null? Type
------------------------------------------------------ -----------------
USER NOT NULL VARCHAR2 (60)
FECHA_PEDIDO NOT NULL DATE
REFERENCIA NOT NULL VARCHAR2 (15)
AMOUNT NUMBER (2)
SQL > describe referencia
Name Null? Type
------------------------------------------------------ -----------------
CODBARRAS NOT NULL VARCHAR2 (15)
PRODUCT NOT NULL VARCHAR2 (50)
FORMATO NOT NULL VARCHAR2 (20)
SILTING NOT NULL VARCHAR2 (15)
PRECIO NOT NULL NUMBER (7.2)
STOCK NUMBER (5) NOT NULL
MIN_STOCK NOT NULL NUMBER (5)
MAX_STOCK NOT NULL NUMBER (5)
Please, could someone help me in this matter?
Thanks in advance.
Kind regards
It means that it is already an object named peridos. Question:
Select object_type from user_objects where object_name = 'PERIDOS;
to find out what type of object it is. Any chance you try to change the existing definition of peridos view? If so, use
CREATE or REPLACE view orders (customer, f_pedido, total) as...
SY.
-
HI EXPERTS...
Please helpme to fix this...
I have a database of oracle 11g, runnint on a Windows Server 2008:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
I have two tables:
CREATE TABLE UTILS. SEG_ROLES
(
VARCHAR2 (12-BYTE) APPLICATION,
ROL VARCHAR2 (12-BYTE),
USERS VARCHAR2 (255 BYTE)
)
TOGETHER TO DEFINE
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ('MULTIPLAN', 'ADMIN', 'ADMIN');
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", 'CAR01', 'PATY');
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", "CAR02", "FABIOLA, ERIKA");
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", "CON01', 'LUCY, PATY');
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", 'CON02', 'VALERIA');
COMMIT;
CREATE TABLE UTILS. SEG_ACCESOS
(
VARCHAR2 (12-BYTE) APPLICATION,
ADMROL VARCHAR2 (12-BYTE),
VARCHAR2 (20 BYTE) MENU,
OPCION VARCHAR2 (20 BYTE),
TYPE VARCHAR2 (5 BYTE),
OBJETO_MENU VARCHAR2 (40 BYTE),
ACCESO VARCHAR2 (2 BYTE),
ROLES_ACCESOS VARCHAR2 (255 BYTE)
)
TOGETHER TO DEFINE
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "ROOMMA", NULL, am', 'm_coloca', the of ', 'CAR01, CAR02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "PUT", "PREVALIDA", "SM", "sm_prevalida", the from ', 'CAR01, CAR02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "PUT", "PRECOLOCA", "SM", "sm_preColocacion", the from ', 'CAR01, CAR02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", 'ADMIN', 'LOVE', "COLOCACIÓN", "SM", "sm_colocacion", the from ', "CAR01");
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "PUT", "REGCOLOCA", "SM", "sm_regcoloca", the from ', "CAR01");
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", NULL, am', 'm_PLD', the of ', "CAR01, CAR02, CON01 CON02");
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", "LN_CONSULTA", "SM", "sm_PLD_LNConsulta", the from ', 'CAR01, CAR02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", "LN_BARRIDOMASIVO", "SM", "sm_PLD_LNBarridoMasivo", the from ', "CAR01");
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", "REP_INICICLO", "SM", "sm_PLD_ReporIniciclo", the from ', 'CON01, CON02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", "LN_BITACORA", "SM", "sm_PLD_LNBitacora", the from ', "CON01");
COMMIT;
- And this point of view:
CREATE VIEW UTILS. VW_ROL_USER AS
Select distinct APPLICATION, ROL, trim (column_value) USUARIO
from (SELECT APPLICATION, ROL, USERS USER
FROM UTILS. SEG_ROLES
WHERE IT IS NOT NULL TO USERS
ORDER BY APPLICATION, ROL
) t,.
XMLTable ((' «' ||)) Replace (USER, ",", "",""). '"'))
order by APPLICATION, ROL, trim (column_value)
CREATE VIEW UTILS. VW_ACC_ROL AS
Select distinct APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, trim (column_value) ROL
(SELECT APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS ROL
FROM UTILS. SEG_ACCESOS
WHERE ROLES_ACCESOS IS NOT NULL
ORDER BY APPLICATION, ADMROL, MENU, OPTION
) t,.
XMLTable ((' «' ||)) Replace (ROL, ",", "",""). '"'))
MENU, TYPE, OPTION, APPLICATION control, trim (column_value)
CREATE VIEW UTILS. VW_SEG_ACCESOS AS
SELECT VACR. APPLICATION, VACR. MENU, VACR. TIPO, VACR. OPCION, VACR. OBJETO_MENU, VACR. ACCESO, VACR. ROL, VUSR. USUARIO
FROM UTILS. VW_ACC_ROL VACR,
UTILS. VW_ROL_USER VUSR
WHERE VACR. ROL = VUSR. ROL
ORDER OF VACR. APPLICATION, VACR. ROL, VACR. MENU, VUSR. USUARIO, VACR. TIPO, VACR. OPCION
When I ask the last posting, it works fine:
SELECT VSEG.* IN UTILS. VW_SEG_ACCESOS VSEG
But when I add conditions:
SELECT VSEG.* IN UTILS. VW_SEG_ACCESOS VSEG
WHERE VSEG. APPLICATION = "MULTIPLAN.
AND VSEG. USER = 'PATY '.
It generates this error:
ORA-22813: value of the operand is greater than the limits of the system
Cause: The value of the object or the Collection was too big. The size of the value might have exceeded 30 k in a context of TYPE, or size may be too large for the available memory.
Action: Choose a different value, and try the operation again.
Why?
Thanks in advance...
Finally found a SOLUTION at: http://stackoverflow.com/questions/14328621/oracle-10g-splitting-string-into-multiple-rows
just change the way we create the view using the regexp_substr.
CREATE VIEW UTILS. VW_ROL_USER AS
SELECT distinct trim APPLICATION, ROL, (regexp_substr (USERS, ' [^,] +', 1, level)) USER
FROM UTILS. SEG_ROLES t
WHERE IT IS NOT NULL TO USERS
CONNECTION BY instr (USERS, ',', 1, level - 1) > 0
order by APPLICATION, ROL
Thank you all
-
Error - NTLDR is missing from the Windows XP computer.
Original title: difficulty ntldr missing.
I don't have xp recovery disk. I get lack ntldr message at startup. How can I fix wihout disc?
Since the MS Answers forum does not prompt for any information system when a new question is asked, we know absolutely nothing about your system. What makes which gives good ideas for extremely difficult solution.
Provide information on your system, the better you can:
What is your system brand and model?
What is your Version of XP and the Service Pack?
Your system have IDE or SATA disks?
Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..
The question was preceded by a loss of power, aborted reboot or abnormal termination? (this includes the plug pulling, buttons power, remove the battery, etc.)
The afflicted system has a working CD/DVD (internal or external) drive?
If the system works, what do you think might have changed since the last time it did not work properly?
You can create a bootable CD from the Console of the Recovery XP (no XP media required) and start the XP Recovery Console.
The chances are pretty good that there is a copy of the NTLDR file on your system to another location, so you can replace the missing file.
The file is supposed to be like c:\ntldr c:\ root folder (note there is no file for the ntldr file extension) but of course your seems to have developed missing.
If your system is preinstalled with XP there is probably a folder c:\i386 on your system and that there should be a copy of the file in folder c:\i386 NTLDR.
If you have installed Service Pack 3 download Internet via the World Wide Web Wide, there will be a copy of the NTLDR file in this folder:
c:\Windows\ServicepackFiles\i386
Once you get started the recovery console and you ran chkdsk/r, I would see if these commands will work for you to replace the missing file:
copy c:\i386\ntldr c:\
or
copy c:\windows\servicepackfiles\i386\ntldr c:\
Here's how to make a CD of bootable XP Recovery Console and I would run the chkdsk /r FIRST to make sure that your file system is not damaged.
Boot into the Recovery Console Windows using an XP bootable installation CD.
If you have no XP bootable media (or aren't sure you have) create a bootable XP Recovery CD of Console and do not forget.
This is not the same as recovery disks that might have come with the acquisition of the system store.
You can make a bootable Recovery Console CD by downloading an ISO file and burn it to a CD.
The ISO bootable image file you need to download is called:
xp_rec_con. ISO
Download the ISO from here:
http://www.mediafire.com/?ueyyzfymmig
Use a new CD and this simple and free program to burn your ISO file and create your bootable CD:
When you install ImgBurn, DO NOT install the Ask toolbar.
Here are some instructions for ImgBurn:
http://Forum.ImgBurn.com/index.php?showtopic=61
It would be a good idea to test your bootable CD on a computer running.
You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive. These adjustments are made before Windows tries to load. If you miss it, you will need to restart the system again.
When you start on the CD, follow the instructions:
Press any key to boot from CD...
Installing Windows... going to pronounce.
Press 'R' to enter the Recovery Console.
Select the installation that you want to access (usually 1: C:\WINDOWS)
You may be asked to enter the password (usually empty).
You should be in the folder C:\WINDOWS. It's the same as the
C:\Windows folder that you see in Solution Explorer.
The Recovery Console allows base as file commands: copy, rename, replace, delete, chkdsk, fixboot, fixmbr, cd, etc.
For a list of the commands in the Recovery Console, type help at the prompt of commands or read on here XP Recovery Console:
A good idea before you start things must first verify the integrity of your file system by using the chkdsk command.
In the command prompt window, run the chkdsk command on the drive where Windows is installed to try to fix any problems on the afflicted player.
Running chkdsk is fine, even if he finds no problem. It won't hurt anything to run it.
Assuming your boot drive is C, run the following command:
CHKDSK C: /r
Let chkdsk finish to correct the problems, he could find.
It may take a long time for chkdsk complete or they seem to be "stuck". Be patient. If the HARD drive led blinks always, chkdsk is something. Keep an eye on the amount of the percentage to be sure that it is still making progress. It may even seem to go back sometime.
You must run chkdsk/r again until it finds no error to correct.
-
How can I reinstall java if I deleted it from the registry
I uninstalled Java, but it was still listed under programs in Control Panel. I deleted Java from the registry. Now when I try to reinstall, I get an error message that says that Java is already installed on my computer, but it's not. When I try to check that I have before trying to reinstall, the message says that there is no version of Java on my work computer.
Try / re How can I cleaning after uninstalling Java registry failed
-
Hi all
In my database DVLUX226, in the alert logs, I get error ORA-19502. partners to archive newspapers. Here are the details:
Wed Apr 16 18:26:58 2014
Errors in the /INT1/sw/D/oracle/diag/rdbms/dvlux226/DVLUX226/trace/DVLUX226_arc1_22234.trc file:
ORA-19502: write error on file ' / INT1/arch/D/arch_1_1629_754400291.dbf ', block number 94209 (block size = 1024)
ORA-27072: IO file error
HP-UX-ia64 error: 2: no such file or directory
Additional information: 4
Additional information: 94209
Additional information: 638976
Wed Apr 16 18:27:11 2014
ARCH: Stopped archiving, error occurred. Will continue to retry
ORACLE Instance DVLUX226 - check-in error
ORA-16014: log 3 sequence # 1629 not archived, not available destinations
ORA-00312: wire 3 1 online journal: ' / INT1/oraredo2a/D/DVLUX226/redo03.log'
Errors in the /INT1/sw/D/oracle/diag/rdbms/dvlux226/DVLUX226/trace/DVLUX226_arc0_22231.trc file:
ORA-16014: log 3 sequence # 1629 not archived, not available destinations
ORA-00312: wire 3 1 online journal: ' / INT1/oraredo2a/D/DVLUX226/redo03.log'
SQL > select * from v version $;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE Production 11.1.0.7.0
AMT for HP - UX: 11.1.0.7.0 - Production Version
NLSRTL Version 11.1.0.7.0 - Production
Please let me know how can I manipulate this alert as seems its related archive.
Kind regards
Michel
> - rw - rw - 1 int1orad s/n 99222528 Apr 15 15:27 arch_1_1628_754400291.dbf
> - rw - rw - 1 int1orad s/n 99222528 Apr 18 03:24 arch_1_1629_754400291.dbf
What happened between Apr 15 15:27 and 18 April 03:24?
-
FDM Create Application Error: Unable to connect to the database.
Hello
While trying to create a new application of FDM, I am not able to connect to the database. error: "unable to connect to the database. Please check the databases and verify the database is '. '. able to connect to the DB using the command line.
I created the user in Oracle with access s/n (provided permissions: RESOURCE, CONNECT, CREATE SESSION, CREATE VIEW, CREATE DATABASE LINK)
Oracle 32-bit client is installed with windows server 2008 R2 64-bit.
I need to update the variable path or any other parameter that needs to be updated.
Please help solve this problem.Hello
I tried test the connection to the database of FDM help a 32-bit UDL file to check the 32-bit Oracle Client is installed and where the provider OLE DB for Oracle was not available.
It was a problem with the installation of the Oracle customer 11.2.0.3, it seems that it is a known bug (NOTE > install the 11.2.0.3 Oracle OLE DB provider since the installation of Client media registers properly the provider [ID 1380742.1] Bug: 13417266 WHILE upgrading from 11.2.0.3, Setup is unable to REGISTER DLL ORAOLEDB).
We have installed Oracle earlier version client and have seen the for Oracle OLEDB provider.
After this created FDM application successfully.Thank you
-
Error ORA-12899, even you the length of the data is correct.
Dear all,
I'm getting ORA-12899 problem: value too large for column 'TEST '. "'"' STUDENT'."" NAME"(size: 94, maximum: 79).
Valer'evne you the length of the column 'Name' is less than 79.
Infact I am getting the value of 'Name' of the other database, processing in Java and you try to insert the value in Oracle database with the help of hibernation, the length of the 'name' is located only 60 I checked in Java, before inserting this value.
Even after having inserted the length is only 60 too, I see Oracle. So why Oracle throws this error at the time of the insertion of the value of the "name"?
Any body have an idea on the question, please help.
Thanking you all.AL32UTF8 is a multibyte character set: each character can take up to 4 bytes. So, you have to modify the table definition for this with something like (assuming that the maximum number of bytes would be 320):
alter table student modify (name varchar2(320));
-
Error import of feedback from the UAT in DEV
Hi people.
Someone encountered this during the import of comments from the UAT users?
I also tried to purge of feedback by DEV and then import, but I get the same error.ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (APEX_040000.WWV_FLOW_FEEDBACK_PK) violated <pre>begin wwv_flow_api.import_feedback ( p_id =&gt; 4424217535897053 ,p_feedback_id =&gt; 4 ,p_feedback_comment =&gt; 'THE FEEDBACK TEXT BOX COULD BENEFIT FROM BEING ENLARGED.'||chr(10)|| ''||chr(10)|| 'THERE IS ONLY SPACE FOR 3 ROWS OF TEXT AT ANY POINT.'||chr(10)|| ''||chr(10)|| 'GIVEN THE SPACE AVAILABLE ON THE PAGE,
Thoughts or comments appreciated.
Kind regards
Simon GaddHi Simon,.
is your PSU we do the same apex as your DEV instance? In other words, do you use just a different workspace for your PSU?
Feedback can only be synchronized between different instances of the APEX.Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Received the error when transferring data from the database file
Hello...
I have my using SOA 10.1.3.1.0. I am trying to transfer the data from the CSV of the oracle database.
The settings of connection in file xml oc4j DBA adapter file in the path C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\application-deployments\default\DbAdapter is shown below.
< location connector-factory = name of the connector "ist/DB/DBConnection1" = "Adapter database" >
< config-property name = "xADataSourceName" value = "jdbc/DBConnection1DataSource" / >
< config-property name = "dataSourceName" value = "loc/DBConnection1DataSource" / >
< config-property name = "platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/ >
< config-property name = "usesNativeSequencing" value = "true" / >
< config-property name = "sequencePreallocationSize" value = "50" / >
< config-property name = "defaultNChar" value = "false" / >
< config-property name = "usesBatchWriting" value = "true" / >
< connection pooling using 'none' = >
< / connection pooling >
< use security-config 'none' = >
< / security-config >
< / connector-factory >
I get the following error:
< name of part = "summary" >
< Summary >
file:/C:/product/10.1.3.1/OracleAS_1/BPEL/domains/default/tmp/.bpel_FileToDb_v1.0_188277739ed1e0b720c1fefd0275d1c0.tmp/FileToAdapterService.WSDL [FileToAdapterService_ptt::insert (FiletodbCollection)] - SISM JCA Execute of operation "insert" has no reason to: could not create/access the TopLink Session.
This session is used to connect to the data store. Caused by: loc/DBConnection1DataSource not found
; nested exception is:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the data store. [Caused by: loc/DBConnection1DataSource not found]
See the first exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml), and then restart the server. Caused by the Exception TOPLINK-7060 (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.ValidationException
Description of the exception: could not acquire data source loc/DBConnection1DataSource
Inner exception: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found.
< / Summary >
< / part >
What is the error in the loc/DBConnection1DataSource line? Guys thank you in advance...
Thank you...
Published by: userus007 on January 2, 2010 17:16
Published by: userus007 on January 2, 2010 17:18Visit similar thread oc4j - RA.xml and data - sources.xml
Maybe you are looking for
-
Vista - cannot install the Office updates
I got 12 updates for MS Office 2007 that will not be installed. I know it referred to a security screwed up in the registry. because all errors are connected to the msg on registry. I had this same problem with XP Pro, but I can't find the Vista h
-
age of empires 2 does not work on my pc
can Hay you all help me. I just browse age of empires 2 for pc and wen I go to play, he plays to the movies at the beginning, but when he enters the main menu it happens as a t.v that isent tuned probley. Heres my information system. can someone plea
-
DiskPart.exe help - not enough space - I have more than 5 GB of unallocated space. trying to expand the C: drive
-
Uninstalling windows 10 resulted in windows 7 no reload
I have upgraded to windows 10 Windows 7 and decided to go back to windows 7. The result was windows 7 would not at all be responsible and I don't have a recovery disk, because it is a computer that was built for my company. How can I recover 7 and/
-
IPSEC VPN site to site on Transparent mode
Hello The new version of the OS of the SAA does support IPSEC site-to-site VPN for partners on more Transparent? Thank you very much Kind regards J