Error --REP-3000: Internal error starting Oracle Toolkit.
Hi
While submitting the concurrent request (active user) im getting error if i submit the active responsibilities
its completed successfully i have set display also still im getting error.
Xlib: connection to "omega:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Xlib: connection to "omega:0.0" refused by server
Xlib: Client is not authorized to connect to Server
REP-3000: Internal error starting Oracle Toolkit.
REP-3000: Internal error starting Oracle Toolkit.
Please verify the DISPLAY on the server as follows:
- Issue "xhost +" as root user
- Issue "xclock" as applmgr user --> Make sure you can display the clock
If the above does not work, please set the DISPLAY properly in the application context file and run AutoConfig.
More details can be found in the following note:
Note: 200474.1 - Comprehensive REP-3000 Troubleshooting and Overview Guide
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200474.1
Similar Messages
-
Postscript report fail - REP-3000: Internal error starting Oracle toolkit
Hi,
I am receiving the error REP-3000: Internal error starting Oracle Toolkit when I am running a conc. program with postscript as output. I changed Active Users program and tested it. It failed.
Metalink says DISPLAY issue. I ran the concurrent program - "Prints environment variable values" giving DISPLAY as variable. I received a value. like <hostname>:0.0
What could be the issue?
Release - 11.5.10.2
OS -Linux
Apache, Forms on 1 Node, Concurrent Manager on the second one.
Database - 10g R2 on Unix.
Thanks
Cherrish Vaidiyan
Edited by: Cherrish on Aug 19, 2010 5:01 PMHi Hussein,
Please find the complete concurrent program log:
Application Object Library: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
FNDSCURS module: Active Users
Current system time is 19-AUG-2010 15:34:33
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.WE8ISO8859P1
REP-3000: Internal error starting Oracle Toolkit.
REP-3000: Internal error starting Oracle Toolkit.
Report Builder: Release 6.0.8.28.0 - Production on Thu Aug 19 15:34:33 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 73686471.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 19-AUG-2010 15:34:46
I will check the old forums too.
Thanks -
REP-3000: Internal error starting Oracle Toolkit twice
Hi,
When I call reports from the web i get the
REP-3000: Internal error starting Oracle Toolkit
error message twice.
I am reading from the forum related to the same issue, everyone saying its related to environment variable DISPLAY.
DISPALY=localhost:12.0 is already set on Sun Solaris before starting the report60_server script to start/stop oracle 6i report server.
Through secure shell client, I logged on to the Solaris server and trying to stop and start the report6i server and trying to run the reports from the IE browser through Apache webserver.
Thanks in advance,
UshaDISPALY=localhost:12.0 is already set on Sun SolarisSimply setting DISPLAY in the current shell won't help. The variable must be exported.
On csh:
setenv DISPLAY 'localhost:12.0'
On sh:
DISPLAY='localhost:12.0'
export DISPLAY
In either case, it can be verified:
env | grep DISPLAY
-Manish -
REP-3000: Internal error starting Oracle Toolkit in multinode environment
Dear All,
We are facing one issue with reports.
Breifing the environment:
Multinode 11.5.10.2 with 9.2.0.6 database on Solaris.
Node a: Database
Node b: Concurent+admin installed in /u02/applprod
Node c: web+forms installed in /u02/applprod
When we ran XML reports the reports are getting ending in "warning" status,
==========================================================
XML_REPORTS_XENVIRONMENT is :
/u02/applprod/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to /u02/applprod/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
REP-3000: Internal error starting Oracle Toolkit.
==================================
I have tried set
DISPLAY in user profile to <hostname>:0.0 in each node
and i tried setting the DISPLAY in
Node B(conc+admin):
========
adcmctl.sh
adrepctl.sh
gsmstart.sh
Node A(form+web)
============
gsmstart.sh
Still the error is repeating Please helpme out to rectify this error.
Thanks and Regards
VasuI have done xhost + through loging into server by VNC viewer.
and changed the DISPLAY in xml as "<hostname>:1.0" then ran autoconfig in conc+admin node, Then started application. now i am not getting the
"REP-3000: Internal error starting Oracle Toolkit " message in log but the log message shows as follows
SaleCo Custom Application: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XXAP_PAYVOUCHER module: SaleCo: Payment Voucher
Current system time is 02-JUL-2008 20:20:48
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
p_vendor_id='24'
p_check_id='10888'
Environment will now switch to UTF-8 code-set.
Parts of this log file may not display correctly
as a result. This is an expected behavior.
XML_REPORTS_XENVIRONMENT is :
/u02/applprod/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to /u02/applprod/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Report Builder: Release 6.0.8.27.0 - Production on Wed Jul 2 20:20:49 2008
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
------------- 1) PUBLISH -------------
Beginning post-processing of request 286677 on node APPS001 at 02-JUL-2008 20:20:50.
Post-processing of request 286677 failed at 02-JUL-2008 20:20:50 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
------------- 2) PRINT -------------
Not printing the output of this request because post-processing failed.
Finished executing request completion options.
Concurrent request completed
Current system time is 02-JUL-2008 20:20:50
===================================
Please suggest..
Regards
Vasu -
REP-3000 Internal error starting Oracle Toolkit in oracle9ias
I want to use the Report Server included in my oracle9ias R2 installation (Business Intelligence and Forms) on Linux RH.
When I call a report from a browser, I get the message:
"REP-3000. Internal error starting Oracle Toolkit in oracle9ias".
XClock is working fine.
Somebody know what can I do?
Regards,
Sergio CastroHi Sergio,
You need the DISPLAY variable set on the system. Some servers don't have a graphic adapter.Install Xvfb on
your system. If you need more info please visit at
http://otn.oracle.com
under Products -> Oracle 9i Application Server ->
Utilities For Oracle9iAS -> X Virtual Frame Buffer(XVFB) -
REP-3000: Internal error starting Oracle Toolkit
Hi !
I am getting the above error when i am trying to sun report through the browser. The env is sun solaris.
The xterm is running properly.
Can someone help me with settling the toolkit issue ?
Thanks in advance
Seshagiri !are you running a pdf or ps report?
you need to start the x-window
and set the DISPLAY to point to the ip of the x-window
like
export DISPLAY=192.168.2.1:0.0
one thing you can test is to run xclock
to see if it is ok
then restart the concurrent manager
this time, it should be ok
according to the oracle report development team, DISPLAY is important factor of oracle report -
Hi Gurus
We have created a custom oracle report and concurrent program and when we ran the concurrent program it is error out with below error
Enter Password:
REP-0004: Warning: Unable to open user preference file.
REP-0300: ORACLE error occurred.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-300: ORACLE error occurred.
Can any one help us
Thanks in advance.
KumarPlease see
REP-0004 Warning - Unable to Open User Preference File. (Doc ID 26014.1)
ApPsMaStI
sharing is Caring -
REP-0495: Internal Error - Unable to tokenize the query.
Hi
I am getting error when I run xml reports .
log file is as follow
Receivables: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
FLUNARD module: UFlex-Debtors Trial Balance
Current system time is 27-JAN-2010 13:10:22
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
P_START_DATE='1999/01/01 00:00:00'
P_END_DATE='31-JAN-09'
P_CHART_OF_ACCOUNTS_ID='50268'
P_ORG_ID='103'
XML_REPORTS_XENVIRONMENT is :
/applprod/oracle/prdora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to /applprod/oracle/prdora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
REP-0495: Internal Error - Unable to tokenize the query.
Report Builder: Release 6.0.8.25.0 - Production on Wed Jan 27 13:10:30 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 1929569.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 27-JAN-2010 13:10:49
Thanks
RahulI suggest opening a case with Cisco TAC. This could be an issue with the device itself.
Please remember to select a correct answer and rate helpful posts -
Error REP-3000 with parameter BATCH=NO in rwconverter
Hi all:
So we compile our modules in unix environment with this kind of sentence for reports.
$ORACLE_HOME/bin/rwconverter.sh userid=sintesis/[email protected] batch=yes source=$fichcompilar stype=rdffile dtype=repfile overwrite=yes
So we have the message in prompt...
Report Builder: Release 10.1.2.3.0 - Production on Mar Nov 8 10:15:21 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
I've read in the documentation that If want to supress this message we have to change batch=yes to batch=no.
Changing batch=no makes the compilation fail retrieving Error REP-3000
We don't have to use Xserver.Moderator Action:
This post was originally placed into the Oracle Linux sub-forum.
It does not appear to be a Linux issue.
It has been moved to the Reports forum, hopefully for closer topic alignment. -
Hi All,
DB:11.2.0.3.0
OS: Sun Solaris SPARC 64 bits
I am facing an issue - RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: , , " on DB startup. Restored from RMAN backup DB test2 to DB test1.
<p mcekeep="true"> $ sqlplus / as sysdba
<p mcekeep="true"> SQL*Plus: Release 11.2.0.3.0 Production on Sun Oct 6 09:31:28 2013
<p mcekeep="true"> Copyright (c) 1982, 2011, Oracle. All rights reserved.
<p mcekeep="true"> Connected to an idle instance.
<p mcekeep="true">
SQL> startup
ORACLE instance started.
Total System Global Area 4277059584 bytes
Fixed Size 2166160 bytes
Variable Size 1493176944 bytes
Database Buffers 2768240640 bytes
Redo Buffers 13475840 bytes
ORA-00600: internal error code, arguments: , , ,
SQL> exit
DB test2 database validated:
RMAN> validate Database;
No issues reported.
Could anyone please let me the what's the cause of this error
Thanks for your time
Regards,
user10088255HI,
CASE : I
C:\>set ORACLE_SID=xxxx
C:\>sqlplus sys/XXXXX@rosen as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
ORA-00600: internal error code, arguments: [kccsbck_first], [1], [3978145973],
Solution: AFTER GETTING ORA-00600, SHUT THE DATABASE AND STARTUP IT INTO MOUNT STAGE AND THEN ALTER DATABASE TO OPEN STAGE .
SQL> shut immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
Database mounted.
SQL> alter database open;
Database altered.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ROSEN READ WRITE
CASE :: II
C:\>sqlplus sys/XXXX@royalton as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:37:37 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 1979714112 bytes
Database Buffers 1426063360 bytes
Redo Buffers 16007168 bytes
ORA-00600: internal error code, arguments: [kccsbck_first], [1], [73515151],[], [], [], [], [], [], [], [], []
Solution : As in above case, I have started the database in mount and then alter it to the open mode but it doesnot work out. After some analysis ,troubleshooting and googling, we have decided to flush the shared pool component of the SGA . So, we have started the database in mount stage and then flush the shared pool and further alter it to open stage . Below are the steps performed to solve this issue .
SQL> shut immediate
ORA-01507: database not mounted
ORACLE instance shut down.
C:\>set ORACLE_SID= royalton
C:\>sqlplus sys/xxxxxxxx@royalton as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
Database mounted.
SQL> alter system flush shared_pool;
SQL> alter database open
Database altered.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ROYALTON READ WRITE
Conclusion : Though this is not the solution but a workaround to solve ORA-00600 which is having same argument as above, then you may follow the above steps.
Please chek this link : One Can Succeed at Almost Anything For Which He Has Enthusiasm...: ORA-00600: internal error code, arguments: [kccsbck_f… -
XMLQuery SQL Error: ORA-00600: internal error code,
Hi guys,
I am trying to use XML feature of Oracle DB. What I am trying to implement is having XMLTYpe field in table and have some values in it and then query that table using XMLQuery(...). I started with example here : http://www.psoug.org/reference/xmlquery.html .
I am able to create table, Insert data into table, but when I tried to run SELECT query it does not work
"SELECT person_id, XMLQuery(
'for $i in /PDRecord
where $i /PDName = "Daniel Morgan"
order by $i/PDName
return $i/PDName'
passing by value person_data
RETURNING CONTENT) XMLData
FROM person_data; "
It throws error like
"Error report:
SQL Error: ORA-00600: internal error code, arguments: [qmxqrwRewExpr:1], [], [], [], [], [], [], []
00600. 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]"
Am I missing any thing? or is my Oracle 10g DB is not compatible with XMLType ?
Please help.Hi Marco,
Thanks for replying.
Oracle Database 10g Release 10.2.0.1.0 - Production. so as per you said it should work. I am sorry for being dumb, but I am not DBA guy. can you tell me how to check if XMLDB is installed properly? how can I look at DBA_REGISTRY and what kind of information I will find under DBA_REGISTRY?
BTW I found another way of querying XMLType columns from here http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96620/xdb04cre.htm which uses extract(), existsNode(), etc.. function to accomplish some of the task. As of now I am still digging in it, so not sure which one will be better to use. I mean the link that I showed on my first thread or the above link.
I am still curious why wouldnt my first thread query work.
Thanks again. -
Communication error or ORB internal error
Hello,
When I'm trying to connect via Oracle Discoverer Viewer to the database/EUL in order to see some charts, I'm getting following error: "Communication error or ORB internal error". This is wierd, because this was working fine for some time?! Any help would be appreciated...
TIA,
JasminaNavigate to the drive:\%oracle_home%\DISCWB33 directory in a DOS prompt. Type in dis33ws. This executable should run. It will give you output similar to this:
D:\orant\DISCWB33>dis33ws
Setting up the Operation Mode and Application Name
Session name: OracleDiscovererSession
Preference name: OracleDiscovererPreferences
Setting the creator of DCSThreadMonitor
Registering SessionManager
Error binding to Preference Repository
Starting the memory manager
Session Manager destructor called (or some other message)or Wakeup if configured properly
This is normal since we are not passing any parameters to the executable as the batch
files or services would. The point here is to see if the executable responds and runs.
If the executable does not run, then the likely cause is corrupt or missing .dlls.
In this case you would need to reinstall Discoverer.
Example of one particular resolution:
Ran dis33ws and received an ODBC error indicating a .dll problem exists.
Reinstalled Service Pack 6a (SP6a) and Microsoft Data Access Component 2.5
(MDAC). Re-ran dis33ws and received proper resonponse above.
Brought up Discoverer via the portal page with no error.
Christopher -
Error (2912)
An internal error has occurred trying to contact the SCVMM01.dom.local server: NO_PARAM: NO_PARAM.
WinRM: URL: [http://SCVMM01:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={A210B91B-3239-4347-B251-83E1555356A2}]
Unknown error (0x80072f0d)
Recommended Action
Check that WS-Management service is installed and running on server SCVMM01.dom.local. For more information use the command "winrm helpmsg hresult". If SCVMM01.dom.localis a host/library/update server or a PXE server role then ensure that VMM agent is installed and running. Refer to http://support.microsoft.com/kb/2742275 for more details.
When we want to create a template of a virtual machine, we receive the following error. The environment has the following components and servers:
* Windows Server 2012 R2 U1 with Hyper-V role enabled
* High available Virtual Machine Manager 2012 R2 RU2 (two virtual servers on Hyper-V 2012 R2)
* High available Virtual Machine Manager 2012 R2 Library servers (two virtual servers on Hyper-V 2012 R2)
There're a few things I've already checked:
* Self-signed certificates in the Trusted People store --> OK
* Windows Firewall turn off --> OK
* Re-added a Hyper-V host to the SCVMM environment
* Reboot the VMM servers and the library servers
* Export port usage and conflicts with netstat -a -b --> OK, no conflicts
* Free disk space on the VMM library servers --> OK
The job is starts fine, but step 1.2 "Store virtual machine W2012R2TMPL from HV01 to CLSCVMMLIB01" Failed. So it looks like the sysprep fase is going well. When VMM is trying to store the virtual machine in the library, it fails.
Who is familar with this issue and can help me find a solution for this?
Thanks in advance!!
MarkHave you installed AppController on the same machine with VMM?
-
ERROR: ORA-01041: internal error. hostdef extension does not exist
Hi, I got the following error message when I tried to insert a row in table TBL_ORDER.
ERROR:
ORA-01041: internal error. hostdef extension does not exist
INSERT into TBL_ORDER
ERROR at line 1:
ORA-03113: end-of-file on communication channel
We have Oracle version 8.1.5.o.2 and Linux version 6.1.
Following are the tables, triggers, loadjava definition and source programs:
TBL_ORDER
1 ORDER_MEMBER_FIRM_ID VARCHAR2(4)
2 ORDER_CLIENT_ID VARCHAR2(4)
3 ORDER_BRANCH VARCHAR2(3)
4 ORDER_SEQUENCE VARCHAR2(4)
5 ORDER_EXCHANGE_ID VARCHAR2(3)
6 ORDER_EXCHANGE_SEQUENCE VARCHAR2(7)
7 ORDER_CREATE_DATE DATE
8 ORDER_TYPE VARCHAR2(2)
9 ORDER_STATUS VARCHAR2(1)
10 ORDER_SYMBOL VARCHAR2(5)
11 ORDER_SUFFIX VARCHAR2(14)
12 ORDER_SIDE VARCHAR2(5)
13 ORDER_PRICE VARCHAR2(20)
14 ORDER_STOP_PRICE VARCHAR2(20)
15 ORDER_PRICE_QUAL VARCHAR2(10)
16 ORDER_QUANTITY VARCHAR2(6)
17 ORDER_TIF VARCHAR2(4)
18 ORDER_AON VARCHAR2(4)
19 ORDER_DNR VARCHAR2(4)
20 ORDER_CASH_NEXT_DAY VARCHAR2(4)
21 ORDER_SELLER VARCHAR2(4)
22 ORDER_ACCOUNT_TYPE VARCHAR2(4)
23 ORDER_OS_TS VARCHAR2(4)
24 ORDER_BOOTH_ID VARCHAR2(4)
TBL_CMSOUT
1 CMSOUT_MEMBER_FIRM_ID VARCHAR2(4)
2 CMSOUT_CLIENT_ID VARCHAR2(4)
3 CMSOUT_DATA VARCHAR2(120)
trg_order.sql
create or replace procedure OrderToCmsoutProc(cms_member_firm_id VARCHAR2,
cms_client_id VARCHAR2,
cms_branch VARCHAR2,
cms_sequence VARCHAR2,
cms_side VARCHAR2,
cms_quantity VARCHAR2,
cms_symbol VARCHAR2,
cms_price VARCHAR2,
cms_tif VARCHAR2,
cms_type VARCHAR2)
AUTHID CURRENT_USER
as language java
name 'OrderToCmsout.test(java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.String)';
show errors;
create or replace trigger trg_order
after insert on TBL_ORDER
for each row
CALL OrderToCmsoutProc (:new.order_member_firm_id,
:new.order_client_id,
:new.order_branch,
:new.order_sequence,
:new.order_side,
:new.order_quantity,
:new.order_symbol,
:new.order_price,
:new.order_tif,
:new.order_type)
commit;
show errors;
exit;
trg_cmsout.sql
create or replace procedure PackCmsoutSidProc(pck_member_firm_id VARCHAR2,
pck_client_id VARCHAR2,
pck_data VARCHAR2)
AUTHID CURRENT_USER
as language java
name 'PackCmsoutSid.test(java.lang.String,
java.lang.String,
java.lang.String)';
show errors;
create or replace trigger trg_cmsout
after insert on TBL_CMSOUT
for each row
CALL PackCmsoutSidProc (:new.cmsout_member_firm_id,
:new.cmsout_client_id,
:new.cmsout_data)
commit;
show errors;
exit;
loadORDERjava
loadjava -r -f -o -user userid/pswd OrderToCmsout.java
loadCMSOUTjava
loadjava -r -f -o -user userid/pswd PackCmsoutSid.java
OrderToCmsout.java
import java.sql.*;
import java.lang.*;
import java.io.*;
import oracle.jdbc.driver.*;
public class OrderToCmsout {
public static void main(String args[]) {
try {
test (args[0],args[1],args[2],args[3],args[4],
args[5],args[6],args[7],args[8],args[9]);
catch (Exception e) {
System.err.println(e);
} //catch
} // end main
public static void test ( String parm_member_firm_id,
String parm_client_id,
String parm_branch,
String parm_sequence,
String parm_side,
String parm_quantity,
String parm_symbol,
String parm_price,
String parm_tif,
String parm_type)
throws SQLException
Connection conn = new OracleDriver().defaultConnection();
PreparedStatement stmt2;
try {
stmt2= conn.prepareStatement
("INSERT INTO TBL_CMSOUT VALUES (?, ?, ?)");
String datastring = parm_member_firm_id + "\\~" +
parm_branch + " " +
parm_sequence + "\\~" + "\\~" +
parm_side + "\\~" +
parm_quantity + " " +
parm_symbol + " " +
parm_price + "\\~" +
parm_tif + " " +
parm_type + "\\~";
stmt2.setString(1, parm_member_firm_id);
stmt2.setString(2, parm_client_id);
stmt2.setString(3, datastring);
stmt2.executeUpdate();
stmt2.close();
return;
} //try
catch (Exception e) {
System.err.println(e);
} //catch
PackCmsoutSid.java
import java.sql.*;
import java.lang.*;
import java.io.*;
import oracle.jdbc.driver.*;
public class PackCmsoutSid {
public static void main(String args[]) {
try { test(args[0],args[1],args[2]);
catch (Exception e) {
System.err.println(e);
} //catch
} // end main
public static void test( String parm_member_firm_id,
String parm_client_id,
String parm_data)
throws SQLException
try {
Connection conn = new OracleDriver().defaultConnection();
PreparedStatement stmt1 = conn.prepareStatement
("SELECT sid_session_id " +
"FROM tbl_sid " +
"WHERE sid_member_firm_id = ? and " +
"sid_client_id = ?");
stmt1.setString(1, parm_member_firm_id);
stmt1.setString(2, parm_client_id);
ResultSet rs1 = stmt1.executeQuery();
while (rs1.next ()) {
String session_id_found = rs1.getString
("sid_session_id");
CallableStatement pack_pipe = conn.prepareCall
("{call DBMS_PIPE.PACK_MESSAGE(?)}");
pack_pipe.setString(1, parm_data);
pack_pipe.execute();
CallableStatement send_pipe = conn.prepareCall
("{? = call DBMS_PIPE.SEND_MESSAGE(?)}");
send_pipe.registerOutParameter
(1, java.sql.Types.INTEGER);
send_pipe.setString (2, session_id_found);
send_pipe.execute();
} //while
stmt1.close();
conn.close();
} //try
catch (Exception e) {
System.err.println(e);
} //catch
} //test
} //PackCmsoutSid
Thanks in advance for your help
Vinicioyou should post this question on the Application Server forum.
--Olaf -
Expdp fails with error ORA-39006: internal error writing on a windows share
Hi!
I need to get the following configuration working:
Linux Server (CentOS 5 32 bits) with Oracle 11.2.0.1.0
Windows Server 2003 SP2 32 bits.
On the windows server I have created a user called oracle, who is member of oinstall and dba groups. (On Linux username, and group membership is the same).
After that, I share a directory on D:\data_pump (I gave the full control of directory to oracle user). I mount the windows share on my linux as follows:
mount -t cifs //winserver/data_pump /u04/oradata/data_pump -o user=oracle,password="pass",uid=oracle,gid=oinstall
As the linux oracle user I'm capable of create and edit files, but:
I connect to my database, create the directory called DATA_PUMP pointing to my cifs mount point, and, after that, I issue the following expdp sentence:
expdp system DIRECTORY=DATA_PUMP DUMPFILE=test4.dmp LOGFILE=test4.log FULL=yes
And I get the following error:
ORA-39006: internal error
Looking at expdp log I found the following information:
ORA-39097: Data Pump job encountered unexpected error -31643
ORA-39065: unexpected master process exception in FILE
ORA-31643: unable to close dump file "/u04/oradata/data_pump/gaston4.dmp"
ORA-19510: failed to set size of 1 blocks for file "/u04/oradata/data_pump/gaston4.dmp" (block size=4096)
ORA-27045: unable to close the file
Linux Error: 5: Input/output error
Additional information: 4
Do you have any suggestions?
Thanks in advance.Hi, see metalink:
Bug 8313127: EXPDP EXPORT TO CIFS MOUNT ON WINDOWS FROM LINUX FAILS
http://kr.forums.oracle.com/forums/thread.jspa?threadID=923398
Maybe you are looking for
-
We explored using sbRIO for our project, for different reasons we ended up going with a different embedded solution . We are currently evaluating the LabVIEW C Generator to convert some of the core analysis routines from LabVIEW to C so the team that
-
Satellite Pro C850-1M - upgrade to Win 8.1 fails - error 0xC1900101-0x30018
Hello to all, bought a new Sattelite Pro C850-1MX (PSCBZE 00M009GR) in december 2013. System is running almost unchanged to delivery state. Yet installed OpenOffice, Firefox and AdobeReader in most actual versions. And updated driver for AMD-GPU to l
-
Servlet to generate *new* html pages for browser
Dear all, Greetings! I am write a servlet, and I want this servlet to generate different html pages (say 5 pages) simultaneously, and then display them in 5 different pages in client browser. The sequence is like this: 1) the user click a link in a w
-
Colour wheel spinning when opening files using finder
Hi all I am a novice Mac user. I think I was using Mountain Lion (i paid for it - about £20) but upgraded to Mavericks last year when prompted by my software update. I now understand from reading various online posts that this means I am now stuck wi
-
Screenium clips are inverted in iMovie HD 6
I have been using Screenium to make screencasts, but when I import the .mov clips into iMovie HD 6, the video is inverted top to bottom. When I just play the video through quicktime, it is right-side up. Is this a problem with iMovie or Screenium? Is