Oracle scripts to manage sql ext to Warehouse Facilities (Create Dimensions, Rollup)
I'm running Oracle 8.0.5 Enterprise Edition on NT.
I used the Oracle assistant to create a new database instance and
i had noticed that sys tables and packages to manage sql dimension extension had been created.
Subsequently I had to re-create the database (because i needed to
modify the db-block size) but now i'm not able to find the Oracle
Scripts that allow me to re-create the appropriate sys-user, tables and packages.
I currecly run the buildall.sql script which run the catalog.sql, catproc.sql etc..
Could anyone tell me which are the right script to run and where are they located?
Thanks in advance,Imma
(Running Win2K Pro, standalone PC 9201 patch2323002)
Yes, I'm getting the same problem, except I get this error message :
ORA-28575: unable to open RPC connection to external procedure agent
Which apparently means I've got something wrong with my listener configuration and it can't find the external procedure. Seeing as I haven't configured the listener maybe this is the problem?!?!?!
Have you had to configure your listener? If so what did you put in it?
Robert
Similar Messages
-
Oracle script to extract SQL server data to XML/CSX file format
HI,
I have a requirement like-
Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes).
Create an Oracle script to Retrieve data from the File Server, validate and load into the Oracle staging table
Create an Oracle script to Push data from Oracle Staging table to native SQL Server table
We may/may not be using the staging table
Could anyone please respond immediately as it is urgent ?
Thanks,
Inbamalaruser10594152 wrote:
HI,
I have a requirement like-
Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes).
Create an Oracle script to Retrieve data from the File Server, validate and load into the Oracle staging table
Create an Oracle script to Push data from Oracle Staging table to native SQL Server table
We may/may not be using the staging table
Could anyone please respond immediately as it is urgent ?
Thanks,
Inbamalar
Urgent issues indicate a live/production system is having problems and a company is losing money, or customers are being prevented from using it.
For urgent issues you should raise your issue with Oracle Support using your customer support identifier.
The community forums are for non-urgent issues. To suggest such issues are urgent is considered rude, as the people who help here are volunteers with their own jobs to do, so demanding their time for your "urgent" issue is not appropriate. It also suggests that you think your issue is more important than other people's issues, so you are being rude to those people too. Your issue is no more important than anyone elses.
In relation to your question, you need to provide more information.
Please read: Re: 2. How do I ask a question on the forums?
When you refer to "SQL Server" are you referring to the Microsoft SQL Server product, or are you just referring to a physical server with your oracle database on it? -
Hi,
It has been a huge benefit to discover that with MS SQL Server we can use not just single SELECT statement in BO but pretty extensive scripts, including creating variables, using multiple intermediate queries, etc. For example, attached is one pretty complex script which runs in BO report (single query).
However, any attempt to use variables or multiple statements with Oracle DB failed so far.
Is there is a possibility to do scripts in BO when working with Oracle
In particular, we would be looking for:
Declaring variables
Assigning values to variables, potentially a value which is a result of a query
Using variables as part of a query (like defining time frame, sample in SQL Server: “WHERE t.CreationTime >= @StartTime AND t.CreationTime < @EndTime”)
Any flexibility here would be of huge help to report developers.
We are using BI4.0 SP5
Query which is working with SQL Server.
DECLARE
@RTY float = 1.0,
@TimeNow datetime,
@StartTime datetime,
@EndTime datetime,
@ColorBinNumUnits int,
-- FATP_RTY variables
@Build varchar(100),
@Run varchar(100),
@PreBurn_RTY float,
@WIFI_RTY float,
@RunIN_RTY float,
@PostBurn_RTY float,
@FQC_RTY float,
@Flash_RTY float
--FATP Build / Run
set @Build = '%'
set @Run = '%'
-- Time period ends yesterday 6PM Central time and covers previous 24 hours.
set @TimeNow = CURRENT_TIMESTAMP
set @EndTime = DATEADD(HOUR, -6, CONVERT(datetime, CONVERT(date, @TimeNow)))
set @StartTime = DATEADD(DAY, -1, @EndTime)
-- CALCULATE RTY
SELECT
@RTY = @RTY * (CASE WHEN (NumFail+NumPass) > 0 THEN NumPass * 1.0 / (NumFail+NumPass) ELSE 1 END)
FROM
SELECT
Stage,
SUM(1-TestResult) as NumFail,
SUM(TestResult) as NumPass
FROM
SELECT
st.Description as Stage,
(CASE WHEN LEFT(dbo.ufnEnclosureUnitTestResult(t.ID),4)='PASS' THEN 1 ELSE 0 END) as TestResult
FROM
ffTest t (NOLOCK)
INNER JOIN ffStation s (NOLOCK) ON (s.ID = t.StationID)
INNER JOIN ffStationType st (NOLOCK) ON (s.StationTypeID = st.ID)
INNER JOIN ffUnit u (NOLOCK) ON (u.ID = t.UnitID)
INNER JOIN ffPart p (NOLOCK) ON (p.ID = u.PartID)
INNER JOIN ffSerialNumber sn (NOLOCK) ON (sn.UnitID = u.ID)
WHERE
sn.SerialNumberTypeID = 0 and
dbo.fn_UspIsLatestTest(t.unitid,t.id,t.testtypeid) = 1 and
LEFT(p.PartNumber,12) in (SELECT MapKey FROM udtOemExtractsSupportData WHERE MapName = 'ENCL_Parts' AND MapValueStr = 'Housing')
AND t.CreationTime >= @StartTime
AND t.CreationTime < @EndTime
AND sn.Value Not in ( 'F5K3467004WFL6F18', 'F5K3466004UFL6F1B', 'F5K3473006CFL6F1M')
AND sn.Value Not like '%Gold%'
AND st.Description IN (
'Housing Cosmetic Inspection Post Buff ID',
'HousingCosmeticInspectionPostBuff OD',
'Housing Cosmetic Inspection Pre Anodize 1',
'Housing Cosmetic Inspection Post Anodize 1',
'Housing Cosmetic Inspection Post Anodize 2'
) Q
GROUP BY Stage
) GPatricia Blais (guest) wrote:
: I have bought the book "The complete reference SQL" which came
: with a trial software CD of Oracle 8. I want to know if it is
: possible to create a program in PL/SQL (create a procedure) in
: SQLPLUS v.8 which is also included with the book. If it is
: possible, I would like to know how, by a small example. I have
: tried some of the exercices in the volume and they do not
work.
: No error messages are given and the program had to be
: interrupted. Please answer in another way then repeating an
: example in the book.
: Thanks in advance.
ok some code example:
Let's gues you want to display 2 collums of the view all_tables
in html format:
First create a procedure with a editor (i use to do so).
create or replace procedure get_html (owner_in in varchar2) as
var1 number(12,0);
var2 varchar2(100);
begin
dbms_output.putline('<table>');
for fr_rec in (
select table_name, owner
from all_tables
where owner like '%' -
Update SQL script for lower SQL version
Hi, I am copying same records 9 times and this query is working fine in SQL-2008 or newer version but getting the following error in Lower SQL version. How I can run this script for lower SQL version.
drop table #temp
create table #temp (Code1 varchar(10))
insert into #temp values ('ABC')
;With Numbers As
(Select 1 As Number
Union All
Select Number + 1
From Numbers
Where Number < 9)
Select t.*
From #temp t
Cross Join Numbers;
Error: Line 2: Incorrect syntax near ';'.Why are you using CTE in SQl server 2000. They were introduced from 2005. of course you need to confirm version of SQL Server
Plus use code like below
If object_ID('tempdb..#Temp') IS NOT NULL
drop table #temp
create table #temp (Code1 varchar(10))
insert into #temp values ('ABC')
;With Numbers As
(Select 1 As Number
Union All
Select Number + 1
From Numbers
Where Number < 9)
Select t.*
From #temp t
Cross Join Numbers;
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Tools to manage and use oracle scripts
Easyscript for Oracle is a tool to help you manage scripts efficiently
and use scripts easily. The goal of easyscript is providing you a uniform
and easy envrionment to manage and use your scripts.
With hundreds of ready-made scripts, easyscript is also a monitoring and tuning
tool for Oracle DBA and application developer.
With Easyscript for Oracle there is no more hunting around on your hard drive for your favorite and important scripts!
Manageability
1. Scripts are well organized in tree structure, can be nested in any level, divided into
different categories as you like. Each tree node represents a script.
2. Using the search function, you can find a particular script even faster.
With a mouse click, you can view the entire script,and even flip back and forth between scripts.
3. Add script into (delete script from,modify script name in) script tree can be done on the fly.
4. SQL statement, sqlplus command and pl/sql block can be mixed together into a script,
edit script in script window with syntax highlighting.
5. Able to convert old scripts located in directory and subdirectory to a well organized script
tree used by easyscript, so migrate your old scripts in file system to easyscript is very handy.
Usability
1. Script is sqlplus compatible, so any scripts previously run in sqlplus can be run
by easyscript, and vice versa.
2. Execute script in easyscript is just one mouse click.
3. All scripts or scripts located under a categories can be runned in batch mode.
4. Scripts can be scheduled to run in batch mode to generate report of any targeted databases.
5. Report generated by easyscript can be in htm or txt format.More output format such as cvs,excel
will be supported soon.
6. Able to highlight column data of query result when it's value meet pre-defined condition,
this makes report more readable.
Script depot
1. Hundreds of ready-made scripts,These scripts cover all
aspects of day-to-day Oracle administration, from installation
to system monitoring and backup and recovery.
2. Easy to share and exchange scripts with others in a uniform way.
3. Affiliate with other famous Oracle site to provide more scripts continuously.
Get more information about easyscript for oracle from
http://www.wangz.net/easyscript.php
Here are scripts can be used by easyscript for oracle:
http://www.wangz.net/scripts.phpMy thoughts on this (if anyone cares) are Tools to manage and use oracle scripts.
Cheers, APC -
INSERT Script stored as "SQL Statement Script" not firing on Oracle Alert
We are using Alert Manager to run Alerts based on absence information in EBS R12.1.3 HR tables.
Application: Human Resources
Period/Event: Periodic
Frequency: Every Day
The Alert has 2 actions.
One is to email a supervisor based on the Alert SQL finding staff who have had x number of absences over a set period of time.
That is working fine.
The other action is defined as an "SQL Statement Script".
The SQL script inserts the variables defined in the SQL from the main Alert definition SQL, into a custom table.
When the Alert fires, we are getting the email generated, but the INSERT statement isn't firing.
However, when we look at the result of the Alert when it has run, and look at the steps which were fired, we can see the email step and the SQL step. When we look at the SQL in the SQL step which was generated, we can copy and paste it direct into TOAD and it works fine.
We have tried a simple SQL INSERT statement which even just does:
INSERT INTO xx_tmp (VALUE1_DATE, VALUE2) VALUES (SYSDATE, 'this');
But even that does not work.
We wonder if the issue is that we cannot do a direct INSERT from an alert type of "SQL Statement Script"?
We have found another Alert which does a direct UPDATE on a table, but the SQL Statement Script definition has "Purchasing" as the Application, because it's updating a PO table.
In our case, we're trying to insert into a custom table held in our in-house XX schema.
Could the problem be that we don't have the "Application" set? If that's the case, we don't have a corresponding application anyway.
Or can we not do a direct INSERT like this - do we need to use a package instead, and call that?
Any advice much appreciated.
ThanksHi Brian,
Alert issue - Custom SQL fix
1. Define actions via "Actions" button on Alert Definition
2. Create an action for e.g. "Send Message to Supervisor"
Action type: message
Action - sends email to people
3. Create another action called e.g. "Insert Record"
Action type: SQL Statement Script
Fill in SQL in the "Text" section, no need to add a begin or end bit, just a simple INSERT INTO X etc ending with a semi colon
4. Back on the main alert definition window, go to "Action Sets" button
Here, need one SEQ for the Message / Email (e.g. Seq 1), and then click on "Action Set Details" and click on "Members" tab and select the "Send Message to Supervisor" Action
Then close the "Action Set Details" window, and return to the "Action Sets" window
click into 2nd line, add e.g. Seq 2, and call it e.g. "Insert Record", click on "Action Set Details" > Members tab and select the "Insert Record" The problem was that in the first instance, we had a single Action Set, and under "Members" had selected the "Send Message to Supervisor" and "Insert Record" at the same time.
Short answer: each Action needs to be defined as a separate line in the Action Sets definition.
I can send screenshots if you need them, and don't mind putting your email address on this forum.
You can always edit the thread after I've emailed you, to remove your email address. -
Script to Stop and Start Oracle Meter Data Management
Hi,
This is my first post in Oracle forums so if i open this in the wrong thread please forgive me.
I tried to create a windows batch script to stop and start Oracle Meter Data Management but i can´t.
@echo off
D:\spl\MDMDEV\bin\splenviron.cmd -e MDMDEV
D:\spl\MDMDEV\bin\spl.cmd stop
D:\spl\MDMDEV\bin\splenviron.cmd -e MDMDEV
D:\spl\MDMDEV\bin\spl.cmd stop
The batch exits in the first command and i can´t understand why.
Another thing is if i use spl.cmd stop command it doesn´t do nothing, is this normal?
Thanks in advanced for all replies.
Best Regards.
NunoI had to put a call command in mine. I think it is because you are trying to run a .cmd file within your bat file. You're actually changing shells. Thats why you need the call.
call d:\spl\mdmdev\bin\splenviron.cmd -e mdmdev
call d:\spl\mdmdev\bin\spl.cmd start
I actually set mine up to use variables so all I had to change from script to script was the environment...
<snip>
SET SPLENV=MDMDEV
SET INSTALLDRIVE=D:
SET INSTALLDIR=SPL
SET BINDIR=%INSTALLDRIVE%\%INSTALLDIR%\%SPLENV%\bin
%INSTALLDRIVE%
cd %BINDIR%
REM Set envornment
call %BINDIR%\splenviron.cmd -e %SPLENV%
REM Wait a few seconds for environment to setup
ping localhost -n 5 > nul
REM Start SPL Web
call %BINDIR%\spl.cmd start
</snip>
I was unable to find a way to get this to run as a service. Have you?
I'm currently running these scripts in the startup/shutdown script section of the local machine policy (gpedit.msc). -
Help me conver following SQL server script in to Oracle Script
could any one help me to conver following script in to oracle script
Create Procedure Insert_profilebasicdetail
@isubprofileid as int,
@Copyisubprofileid as int,
@itranno as int,
As
Begin
Declare @IncKeyId as int
Declare @tempkeyId as int
set @IncKeyId=(select isNull(Max(ikeyId),0)as MaxKeyId from profilebasicdetail)
Declare TempInsert cursor for select ikeyId--,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
from profilebasicdetail where isubprofileid=@Copyisubprofileid and itranno=@itranno
open TempInsert
fetch from TempInsert into @tempkeyId
while @@fetch_Status=0
Begin
set @IncKeyId = @IncKeyId + 1
Insert into profilebasicdetail
(ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
values(select @IncKeyId,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,'1',
iyear,@isubprofileid from profilebasicdetail where ikeyId=@tempkeyId)
fetch next from TempInsert into @tempkeyId
End
End
Regards,
AjayThanks Pavan Kumar
i m new in oracle i don't know anything.
i run following script on TOAD 9.5 n it gives me error
could u suggest me how can i run this script means directly on oracle 10g or on TOAD
if u r at india then could u give me ur mobile number so i can explain my query u clearly.
Create or Replace Procedure Insert_profilebasicdetail
p_isubprofileid IN NUMBER,
p_Copyisubprofileid IN NUMBER,
p_itranno IN NUMBER,
As
v_IncKeyID NUMBER;
v_tempkeyId NUMBER;
CURSOR TempInsert IS
SELECT ikeyid, iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
FROM profilebasicdetail
WHERE isubprofileid=p_Copyisubprofileid and itranno=p_itranno
Begin
SELECT MAX(NVL(iKeyID,0))
INTO v_IncKeyID
FROM profilebasicdetail;
FOR r in TempInsert LOOP
v_IncKeyID = v_InceyID + 1;
Insert into profilebasicdetail
(ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
values(select v_IncKeyId,r.iprofileid,r.iquestionid,r,vquestionans,
r.cstatusindi,r.dmodifyon,r.imodifyby,'1',
r.iyear,p_Copyisubprofileid
from profilebasicdetail
where ikeyId=r.ikeyId);
END LOOP;
EXCEPTION
WHEN others THEN
raise;
End;
Regards,
Ajay -
Failed to Install the "Oracle Web Services Manager Configuration Assistant"
The installation of "Oracle Web Services Manager Configuration Assistant" was failed when I installed the "Oracle SOA Suite 10.1.3.1.0" ,and the failure information about the installation in the log show as follows, I need your help,thanks a lot!
start-olite:
Starting OLite in background ...
Running:D:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\wfeventc.sql
Exception in thread "main" oracle.tip.esb.install.exception.InstallationDBException: Failed to execute sql file"D:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\wfeventc.sql"
at oracle.tip.esb.install.db.RunSQLScript.runScript(Unknown Source)
at oracle.tip.esb.install.db.RunSQLScript.runScriptListInternal(Unknown Source)
at oracle.tip.esb.install.db.RunSQLScript.runScriptList(Unknown Source)
at oracle.tip.esb.install.db.NonOracleDB.runScripts(Unknown Source)
at oracle.tip.esb.install.db.OLite.install(Unknown Source)
at oracle.tip.esb.install.db.InstallerMain.main(Unknown Source)
Caused by: java.sql.SQLException: [POL-3023] ????????
at oracle.lite.poljdbc.LiteThinJDBCConnection.thinSQLError(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.thinDriverConnect(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.connect(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCFactory.createConnection(Unknown Source)
at oracle.lite.poljdbc.POLJDBCConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.OracleConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.POLJDBCDriver.connect(Unknown Source)
at oracle.tip.esb.install.db.DriverManagerDataSource.getConnection(Unknown Source)
... 6 more
Java Result: 1
Importing Default System ...
${env.PCHOME}
stop-olite:
Stopping background OLite process ...
CA::DEBUG:******:Finished OLite Install ...
Finished Olite configuration ...
BUILD SUCCESSFUL
Total time: 12 seconds
Exit: 0
TASK: oracle.tip.esb.install.tasks.ConfigureOC4J
Configuring OC4J ...
id value is 2
id value is IASPT
process-type value is 1
id value is 3
id value is IASPT
id value is 3
id value is ASG
process-type value is 1
id value is 2
id value is ASG
id value is 1
id value is default_group
process-type value is 1
id value is 3
id value is home
process-type value is 1
process-type value is 2
process-type value is 1
final map size value is 2
id value is -Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false
Jun 22, 2010 2:39:09 PM oracle.tip.esb.install.tasks.ConfigureOC4J getOpmnRequestPort
INFO: Port value is 6003
D:\product\10.1.3.1\OracleAS_1\jdk\bin\java -Dant.home=D:\product\10.1.3.1\OracleAS_1\ant -classpath D:\product\10.1.3.1\OracleAS_1\ant\lib\ant.jar;D:\product\10.1.3.1\OracleAS_1\ant\lib\ant-launcher.jar;D:\product\10.1.3.1\OracleAS_1\integration\esb\lib\ant-contrib-1.0b1.jar org.apache.tools.ant.Main -Dinstall.type=SoaBasic -Desb.home=D:\product\10.1.3.1\OracleAS_1\integration\esb -Doc4j.home.dir=D:\product\10.1.3.1\OracleAS_1 -Djava.home=D:\product\10.1.3.1\OracleAS_1\jdk -Doracle.home=D:\product\10.1.3.1\OracleAS_1 -Dhost.name=dpxc67-01 -Ddb.vendor=olite -Dimport.export.db_url=jdbc:polite4@localhost:1531:oraesb -Desb.appserver=ias_10.1.3 -Doc4j.design_time_host=dpxc67-01 -Doc4j.design_time_port=8888 -Dprimary.container=home -Dinstall.mode=OracleInstallerias_10.1.3_SoaBasic -Dsso=true -Dinstall.component=install-developer -Dias.name=soademo.dpxc67-01 -Denv.OC4J_STANDALONE_HOME=D:\product\10.1.3.1\OracleAS_1 -Dias_admin.password=*password cannot be displayed* -Denv.JAVA_HOME=D:\product\10.1.3.1\OracleAS_1\jdk -Denv.SERVER_ADMIN_PASSWORD=*password cannot be displayed* -Dopmn.requestport=6003 -Ddb.vendor=olite -Ddb.connect.string=jdbc:polite4@localhost:1531:oraesb -Ddb.username=system -Dias.virtual_host=dpxc67-01 -Denv.DB_USER=system -Denv.DB_URL=jdbc:polite4@localhost:1531:oraesb -Desb.oc4j.container=home -Denv.DB_PASSWORD=*password cannot be displayed* -Ddb.password=*password cannot be displayed* -e -buildfile esbinstall.xml deploy-applications
Buildfile: esbinstall.xml
Trying to override old definition of datatype echoproperties
common_update_server.xml:
Adding shared library apache.junit ...
Adding shared library oracle.db.lite ...
Adding shared library apache.commons 10.1.3 ...
Adding shared library apache.jdom ...
Adding shared library apache.slide ...
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://dpxc67-01:6003/home -script D:\product\10.1.3.1\OracleAS_1\integration\esb\install\ant-tasks/esb_admin_client_script_sl.txt
publishSharedLibrary command was successful
publishSharedLibrary command was successful
publishSharedLibrary command was successful
publishSharedLibrary command was successful
publishSharedLibrary command was successful
publishSharedLibrary command was successful
update_server.xml:
Adding shared library oracle.esb ...
deployer.url: deployer:oc4j:opmn://dpxc67-01:6003/home
publishSharedLibrary command was successful
deploy-applications:
Deploying ESB design time ...
Binding ESB design time ...
Deploying ESB run time ...
Binding ESB runtime ...
Deploying orainfra.ear ...
Binding orainfra ...
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://dpxc67-01:6003/home -script D:\product\10.1.3.1\OracleAS_1\integration\esb\install\ant-tasks/esb_deployapps.txt
10/06/22 14:39:20 Notification ==>Application Deployer for esb-dt STARTS.
10/06/22 14:39:20 Notification ==>Copy the archive to D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-dt.ear
10/06/22 14:39:20 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-dt.ear begins...
10/06/22 14:39:20 Notification ==>Unpacking esb-dt.ear
10/06/22 14:39:21 Notification ==>Done unpacking esb-dt.ear
10/06/22 14:39:21 Notification ==>Unpacking esb_console.war
10/06/22 14:39:22 Notification ==>Done unpacking esb_console.war
10/06/22 14:39:22 Notification ==>Unpacking esb-jca-dt.rar
10/06/22 14:39:22 Notification ==>Done unpacking esb-jca-dt.rar
10/06/22 14:39:22 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-dt.ear ends...
10/06/22 14:39:22 Notification ==>Starting application : esb-dt
10/06/22 14:39:22 Notification ==>Initializing ClassLoader(s)
10/06/22 14:39:22 Notification ==>Initializing EJB container
10/06/22 14:39:22 Notification ==>Loading connector(s)
10/06/22 14:39:22 Notification ==>Starting up resource adapters
10/06/22 14:39:23 Notification ==>Warning. Unable to set up connection factory to location esb-dt for a resource adapter in {1}
10/06/22 14:39:23 Notification ==>Initializing EJB sessions
10/06/22 14:39:23 Notification ==>Committing ClassLoader(s)
10/06/22 14:39:23 Notification ==>Initialize esb_console begins...
10/06/22 14:39:23 Notification ==>Initialize esb_console ends...
10/06/22 14:39:23 Notification ==>Started application : esb-dt
10/06/22 14:39:23 Notification ==>Application Deployer for esb-dt COMPLETES. Operation time: 2875 msecs
10/06/22 14:39:23 Notification ==>Application Deployer for esb-rt STARTS.
10/06/22 14:39:23 Notification ==>Copy the archive to D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-rt.ear
10/06/22 14:39:23 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-rt.ear begins...
10/06/22 14:39:23 Notification ==>Unpacking esb-rt.ear
10/06/22 14:39:23 Notification ==>Done unpacking esb-rt.ear
10/06/22 14:39:23 Notification ==>Unpacking provider-war.war
10/06/22 14:39:23 Notification ==>Done unpacking provider-war.war
10/06/22 14:39:23 Notification ==>Unpacking esb-jca-rt.rar
10/06/22 14:39:23 Notification ==>Done unpacking esb-jca-rt.rar
10/06/22 14:39:23 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-rt.ear ends...
10/06/22 14:39:23 Notification ==>Starting application : esb-rt
10/06/22 14:39:23 Notification ==>Initializing ClassLoader(s)
10/06/22 14:39:23 Notification ==>Initializing EJB container
10/06/22 14:39:23 Notification ==>Loading connector(s)
10/06/22 14:39:23 Notification ==>Starting up resource adapters
10/06/22 14:39:23 Notification ==>Warning. Unable to set up connection factory to location esb-rt for a resource adapter in {1}
10/06/22 14:39:23 Notification ==>Initializing EJB sessions
10/06/22 14:39:23 Notification ==>Committing ClassLoader(s)
10/06/22 14:39:23 Notification ==>Initialize provider-war begins...
10/06/22 14:39:23 Notification ==>Initialize provider-war ends...
10/06/22 14:39:23 Notification ==>Started application : esb-rt
10/06/22 14:39:23 Notification ==>Application Deployer for esb-rt COMPLETES. Operation time: 203 msecs
10/06/22 14:39:24 Notification ==>Application Deployer for orainfra STARTS.
10/06/22 14:39:24 Notification ==>Copy the archive to D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orainfra.ear
10/06/22 14:39:24 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orainfra.ear begins...
10/06/22 14:39:24 Notification ==>Unpacking orainfra.ear
10/06/22 14:39:24 Notification ==>Done unpacking orainfra.ear
10/06/22 14:39:24 Notification ==>Unpacking orainfra.war
10/06/22 14:39:24 Notification ==>Done unpacking orainfra.war
10/06/22 14:39:24 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orainfra.ear ends...
10/06/22 14:39:24 Notification ==>Starting application : orainfra
10/06/22 14:39:24 Notification ==>Initializing ClassLoader(s)
10/06/22 14:39:24 Notification ==>Initializing EJB container
10/06/22 14:39:24 Notification ==>Loading connector(s)
10/06/22 14:39:24 Notification ==>Starting up resource adapters
10/06/22 14:39:24 Notification ==>Initializing EJB sessions
10/06/22 14:39:24 Notification ==>Committing ClassLoader(s)
10/06/22 14:39:24 Notification ==>Initialize orainfra begins...
10/06/22 14:39:24 Notification ==>Initialize orainfra ends...
10/06/22 14:39:24 Notification ==>Started application : orainfra
10/06/22 14:39:24 Notification ==>Application Deployer for orainfra COMPLETES. Operation time: 219 msecs
dehydrationStore:
Configuring data sources for olite dehydration store ...
${env.PCHOME}
install-developer:
design time host dpxc67-01
design time port 8888
primary container home
the host is dpxc67-01and the port is 8888
Exception in thread "main" oracle.tip.esb.install.exception.InstallationDBException: Connection Refused ""
at oracle.tip.esb.install.db.NonOracleDB.runConnectionTest(Unknown Source)
at oracle.tip.esb.install.db.NonOracleDB.load(Unknown Source)
at oracle.tip.esb.install.ESBInstaller.setupDB(Unknown Source)
at oracle.tip.esb.install.ESBInstaller.handleDesignTimeSpecificActions(Unknown Source)
at oracle.tip.esb.install.ESBInstaller.main(Unknown Source)
Caused by: java.sql.SQLException: [POL-3023] ????????
at oracle.lite.poljdbc.LiteThinJDBCConnection.thinSQLError(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.thinDriverConnect(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.connect(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCFactory.createConnection(Unknown Source)
at oracle.lite.poljdbc.POLJDBCConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.OracleConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.POLJDBCDriver.connect(Unknown Source)
at oracle.tip.esb.install.db.DriverManagerDataSource.getConnection(Unknown Source)
... 5 more
Java Result: 1
Copying 1 file to D:\product\10.1.3.1\OracleAS_1\j2ee\home\lib\ext
set_app_sso_option:
Using sso=true. Redeploying esb-dt with sso
Copying 1 file to D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-dt\META-INF
Copying 1 file to D:\product\10.1.3.1\OracleAS_1\j2ee\home\application-deployments\esb-dtIt could be due to system language setting -
install SOA Suite failed
Regards,
Anuj -
Oracle 8i to MS SQL Server replication
Im new to Oracle, but a MS SQL Server DBA. Im helping in the architecture of a data warehouse that pulls from some disparate sources, including Oracle 8i, into a SQL Server 2000 box. We could use batch processing to pull updated data from the Oracle database to populate our data warehouse, but we were hoping to get real-time transactional processing via some replication scenario. My terminology may be wrong from the Oracle perspective, but I think the transactional replication that SQL Server supports is called synchronous replication in Oracle. My question is, does anybody know how to do synchronous replication from an Oracle server to a SQL Server? Or perhaps which Oracle product supports it? Thanks!
null===========================================================
I'm working on the similar requirements, exactly my source DB is DB2, and the target DB is Oracle. I have two year experience with Oracle, but I know nothing about DB2. There a about 50 tables in source DB. Transactions on source DB is not too heavy(less than 10/Second), and the mainfram are all powerful.
I've though about Oracle Gateway, but I'd rather save it as the backup solution. For one thing, neither co-workers nor I have experience with it. Second, I'm afraid the Gateway performance would not be satisfactory. Furthermore, words has it that we should pay for the Gateway. So My ideas to real-time replication of the two DB is as following:
(1) use trigger in DB2 to reponse to immediate transactions in source DB;
(2) use Embedded C/SQL to extract those transactions into flat files;
(3) FTP files to the target server;
(4) On target server, SHELL scripts read the files and call Pro*C to apply the transactions into Oracle DB.
but, some problems really get me.
A: in step(1) and (2), How to set EC to do its work in reponse to trigger? I know that one can call host script in Oracle trigger, but I have no idea about DB2 trigger. Maybe, I can create a real-time monitoring EC process to address it. what's your opinion?
B: I should maintain all transaction metadata by myself. e.g. INSERT, UPDATE old/new data, DELETE info. It is originally covered by the database, and it isn't easy to handle it squarely.
C: How to address some exception? like database rollback, the process recovery in case of any interruptions in the above steps.
Could you share me some idea, Thank you!
eilison
[email protected] -
Disaster Recovery Scripts for Managed Server MSI Startup
I am trying to get some custom start scripts created for each of my managed servers in the event the admin console is down or server gets hosed. We use nodemanager to start the managed servers in a Windows environment. I have about 8 managed servers and they all use the same nodemanager classpath but all have different server start arguments (different memory settings, etc....) so I need to make different custom scripts for each.
Verbose Garbage Collection to Determine Heap Size .....this thread by Jay has been very helpful but so far I am just getting kicked back to the syntax screen like something is wrong in my script. Attached is the script and the output when I run it. Any help would be appreciated...thanks.
startManagedFPCE1.cmd contents
java.exe -Xms400m -Xmx400m -classpath $CLASSPATH -Dweblogic.Name=FPCE1 -Dbea.home="C:\Oracle\Middleware" -Dweblogic.management.username=beaadmin -Dweblogic.management.password=beaadminxxx -Dweblogic.management.server=http://sitportal1:8098 -Djava.library.path=c:\Oracle\Middleware\wlserver_10.3\server\bin -Dweblogic.ext.dirs=C:\Oracle\Middleware\patch_wls1032\profiles\default\sysext_manifest_classpath;C:\Oracle\Middleware\patch_wlp1032\profiles\default\sysext_manifest_classpath;C:\Oracle\Middleware\patch_oepe1111\profiles\default\sysext_manifest_classpath;C:\Oracle\Middleware\wlportal_10.3\p13n\lib\system;C:\Oracle\Middleware\wlportal_10.3\light-portal\lib\system;C:\Oracle\Middleware\wlportal_10.3\portal\lib\system;C:\Oracle\Middleware\wlportal_10.3\info-mgmt\lib\system;C:\Oracle\Middleware\wlportal_10.3\analytics\lib\system;C:\Oracle\Middleware\wlportal_10.3\apps\lib\system;C:\Oracle\Middleware\wlportal_10.3\info-mgmt\deprecated\lib\system;C:\Oracle\Middleware\wlportal_10.3\content-mgmt\lib\system -Dweblogic.alternateTypesDirectory=C:\Oracle\Middleware\wlportal_10.3\portal\lib\security
Results of running above script:
C:\Oracle\Middleware\user_projects\domains\SIT11\servers\FPCE1>java.exe -Xms400m -Xmx400m -classpath $CLASSPATH -Dweblogic.Name=FPCE1 -Dbea.home="C:\Oracle\Middleware" -Dweblogic.management.username=b
eaadmin -Dweblogic.management.password=beaadminsit11 -Dweblogic.management.server=http://sitportal1:8098 -Djava.library.path=c:\Oracle\Middleware\wlserver_10.3\server\bin -Dweblogic.ext.dirs=C:\Oracle
\Middleware\patch_wls1032\profiles\default\sysext_manifest_classpath;C:\Oracle\Middleware\patch_wlp1032\profiles\default\sysext_manifest_classpath;C:\Oracle\Middleware\patch_oepe1111\profiles\default\
sysext_manifest_classpath;C:\Oracle\Middleware\wlportal_10.3\p13n\lib\system;C:\Oracle\Middleware\wlportal_10.3\light-portal\lib\system;C:\Oracle\Middleware\wlportal_10.3\portal\lib\system;C:\Oracle\M
iddleware\wlportal_10.3\info-mgmt\lib\system;C:\Oracle\Middleware\wlportal_10.3\analytics\lib\system;C:\Oracle\Middleware\wlportal_10.3\apps\lib\system;C:\Oracle\Middleware\wlportal_10.3\info-mgmt\dep
recated\lib\system;C:\Oracle\Middleware\wlportal_10.3\content-mgmt\lib\system -Dweblogic.alternateTypesDirectory=C:\Oracle\Middleware\wlportal_10.3\portal\lib\security
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-server to select the "server" VM
-hotspot is a synonym for the "server" VM [deprecated]
The default VM is server.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options"bharat nagwani" <[email protected]> wrote:
>
Hi,
Configuration: Weblogic 8.1SP2 on Windows 2000, 1 admin server and 14
managed
servers
whats the right way from these 2 scenarious to create a domain on managed
server
1. create domain on managed server using configuration wizard. Then point
to this
domain from administration server remote start tab(root directory). This
is what
we do so far.This is the best way to create managed servers for your domain.
>
2. Just enter user_projects/domains folder/$domain name$ in remote start
tab(root
directory)
on admin server console and when you start the managed server from
admin console
the domain folder and files will be created.
Yes, the managed server is started in this case at the root directory you specified.
The difference is in the
1. first case we see all scripts like startManagedWeblogic, setenv, boot.properties
etc
this may help(we still dont know) if one wants to bring up managed
server
manually using
startManagedServer.bat without using node manager.Yes, that is correct. You will need to edit the startManagedServer.bat to include
the admin server URL, username and paswword..
>
2. second case only 2-3 files get created like msi-config.xml and SerializedSystemIni.dat
Basically first case is superset of second case.
What is the experience of people in this regard?
thanks much
bharat -
Problem with Oracle Analytic Workspace Manager ver 10.1.0.4
Hi,
I am running Oracle Analytic Workspace Manager ver 10.1.0.4. When I tried getting connected to Analytical workspace I get the following error. Any help could be appreciated.
java.sql.SQLException: ORA-00904: "O"."SF_VERSION": invalid identifier
at oracle.olap.awm.businessobject.aw.WorkspaceBO.getWorkspacesOwnedBySchemaInStandardForm(WorkspaceBO.java:191)
at oracle.olap.awm.navigator.node.WorkspaceFolderNode.getChildren(WorkspaceFolderNode.java:101)
at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(BaseNodeModel.java:74)
at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(BaseNodeModel.java:221)
at oracle.bali.ewt.dTree.DTreeDeferredParent.__fireExpansionChanging(Unknown Source)
at oracle.bali.ewt.dTree.DTreeDeferredParent.setExpanded(Unknown Source)
at oracle.olap.awm.navigator.node.BaseNode.expandHelper(BaseNode.java:1813)
at oracle.olap.awm.navigator.node.BaseNode.access$000(BaseNode.java:93)
at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(BaseNode.java:1763)
Thanking u,
AmudhaThere are posts on the OLAP forum covering this problem. Anthony Waite from the OLAP Product Management team has provided the following information:
e new, default Model View in AWM 10.1.0.4.0 is based upon the OLAP Analytic Workspace API (a.k.a. AW/XML). Just to recap and further clarify my earlier post, you must pass the following requirements in order to use it:
1) Be sure to be using the Enterprise Edition of the Oracle Database 10g.
SQL> select banner from v$version where banner like 'Oracle%';
You should see Oracle Database 10g Enterprise Edition.
2) Be sure to have the Data Warehouse database configuration or the OLAP Option enabled.
SQL> select parameter, value from v$option where parameter='OLAP';
You should see OLAP TRUE.
3) Be sure that the RDBMS 10.1.0.4 patch set has been completely installed. Users often miss the required Post-Installation Steps such as running catpatch.sql.
SQL> select comp_name, version, status from dba_registry;
You should see VALID and 10.1.0.4.0 for the OLAP components.
4) The Oracle Database must have the compatibility mode of 10.1 to use the Model View as it relies on the unique features found in Oracle Database 10g.
SQL> select name, value, description from v$parameter where name ='compatible';
You should see 10.1, not 9.2 or earlier.
5) Please refer to the patchnote.htm that is bundled with 10.1.0.4.0 patch set. Only you are aware of what type of database configuration you have. You will want to pay close attention to "7.2.1.3 Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initialization Parameters" and "7.2.2 Upgrade the Release 10.1 Database".
Basically, I believe you have missed these required steps after installing the 10.1.0.4.0 patch set from the OUI: (pasted from the patchnote.htm)
For the full discussion please refer to this link:
Re: Error trying to Analytic Workspace using latest version AWM 10.1.0.4
Hope this helps
Keith
Oracle Business Intelligence Product Management
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Beans http://www.oracle.com/technology/products/bib/index.html
Discoverer: http://www.oracle.com/technology/products/discoverer/
BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
BI Samples: http://www.oracle.com/technology/products/bi/samples/
Blog: http://oraclebi.blogspot.com/ -
Oracle Analytic Workspace Manager
Hi Experts,
I am trying to find docs/procedures for installing Analytic Workspace Manager. We have Oracle 10 Enterprise version on IBM AIX p6.
Question really is what do we need to do install Analytic Workspace Manager to create cubes.
I am not a sys DBA of oracle, can I do something without asking the DBA's help ?
Before you yell at me :P, please know that I am very new to Oracle (aprt from developing SQL, PL/SQL scripts) /
Youe help would be greatly appreciated.
Regards,
PAWM is a client tool and you can install on your desktop without any DBA help. URL below is a good starting point to download and use the tool.
http://www.oracle.com/technology/obe/10gr2_db_single/bidw/awm/awm_otn.htm
Thanks,
Sudip -
Oracle Retail Distribution Management detail application log.
Hi guys, where can I find the detail logs of the Oracle Retail Distribution Management application apart from the error_log and error_message_to_upload tables. I mean to say as an application it is supposed to log messages in the application server in some flat file?
Hi,
ORWMS(ORDM) is a bit of a sh*tty application re. logging, the shells scripts with embedded SQL or PLSQL are great in not recording any logging for status or errors.
Seems almost to be a required customization to bring these scripts to an enterprise application level of instrumentation by adding some redirects etc.
Best regards,
Erik Ykema -
Unable to logon to Oracle Web services manager console
Hi guys...I am dan.....
I have oracle soa 10.1.3.1.0. I ma trying to log on to Oracle Web services manager console.
I tried all the possible usernames and passwords like
un: default
pw: welcome1
un: oc4jadmin
pw: oc4jadmin (this is the password that I gave for the administrator at the time of installation of soa suite)
un: oc4jadmin
pw: welcome1
Thanks in advance guys.....okei, the table orawsm.users is empty is after the upgrade.
need to reexecute irca.bat then
but, where is the sql script for actually populating orawsm schema?
Edited by: user11204588 on Nov 17, 2010 7:22 AM
Maybe you are looking for
-
Delivery document data transfer to non sap server.
Hi, My requirement is ,when i created delivery label (vl01), this delivery document should be sent to FTP server instead of printer in flat file format. Normally for delivery document printing we use VL71 t.code,but in my requirement i have to crea
-
Switched to shared plan-bill on old account sent to collection agency without notice!
On 9/16/12, my husband and I visited a Verizon store to upgrade our phones and enroll in a 2-year renewal contract, as we have done for years. While speaking with an in-store representative, we were encouraged to combine our plans into a family shar
-
Any Bluetooth audio problems since upgrading to ICS?
Hi. Was wondering if anyone has had any Bluetooth audio problems since upgrading to ICS? In particular, have you had any stuttering and/or pauses in streaming since the upgrade? I use a MW600 with my phone and I get stuttering and pauses every few m
-
How to replicate configuration changes in Felix to publish instance
Hi, I have made some changes in configuration under Felix 'Configration' tab. i.e., added few mapping rules in 'Apache Sling JCR Resource Resolver'. Now, how do I replicate these changes to a publish instance? I hope I don't need to make the same cha
-
Unable to download the latest version of iTunes (11.1) for Windows XP
I am trying to download the latest version of iTunes (11.1) for Windows XP. When I click on download from the Apple iTunes Support site (http://www.apple.com/itunes/download/ ), no file is downloaded from Apple. What gives? And yes, I did check t