$ORACLE_BIN vs $ORACLE_PATH
Hi - Can someone explain the difference between these for me? I've done some research & can test both methods to see which works, but a description of the difference would be very useful.
I have a ksh file I am updating to call a procedure in our database instead of a sql file stored on the UNIX server. Currently it uses $ORACLE_BIN, but other ksh files we have, that call procedures in our database, use $ORACLE_PATH. So I am thinking I should change it to $ORACLE_PATH.
Currently calling sql file on the UNIX server:
$ORACLE_BIN/sqlplus $USER_PASS @$XBS_SCRIPTS/run_pop.sql > $LOGFILE
Other example that calls a procedure in the database:
$ORACLE_PATH/sqlplus -s $user_passwd <<END_SQL>> $LOGFILE
execute a_pkg.process;
Thanks very much for your assistance.
Thanks - I'm getting a better understanding now & I found the file where they set the variables. Looks like they set them both to $ORACLE_HOME/bin. I thought they were actually different because of calling things on the UNIX server vs from the database. I think now that it was just a matter of two different people creating the files.
Thanks for your help!
Similar Messages
-
Hi, I've just downloaded oracle onto my PC, having used oracle for years on unix. One of the first things I tried to do was to set my ORACLE_PATH variable, so I can run scripts from anywhere. But when I go into sqlplus, it doesn't see that variable. That is, I can run the script if I'm in the correct directory, but in any other directory it says "unable to open file . . . "
I added the ORACLE_PATH variable in Control Panel -> Advanced -> Environment Variables, then restarted the machine, and it's there as c:\sql but sqlplus still can't see it. Can someone tell me what I've done wrong please?You might want to report that via Metalink. It does not work in DOS (and apparently has not worked since 9.2.0.3)
As others have said, the database forums is the preferred place to discuss this kind of question. -
Problem with Form and webutil loading jar and connection
Can anyone shed light on this. Here is my java console output. I then get FRM-90250 and FRM-92101....
Orion-web.xml
<virtual-directory virtual-path="/webutil"
real-path="C:\webutil/lib" />
Forms90.conf
#Virtual path for WebUtil
AliasMatch ^/forms90/webutil/(..*) "c:\webutil/lib/$1"
formsweb.cfg
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
[WEBFTU]
pageTitle=Creative Automation Services
form=c:\export\data\ca\prod\webftu.fmx
archive_jini=f90all_jinit.jar,rolloverbutton.jar,hyperlink.jar
archive_ie=f90all.cab
archive=f90all.jar
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
WebUtilLogging=off
#WebUtilLogging=Console
# WebUtilLoggingDetail=normal
WebUtilLoggingDetail=Detailed
WebUtilErrorMode=Alert
baseHTMLjinitiator=C:\webutil\server\webutiljini.htm
width=900
height=600
splashScreen=/forms90/images/splash.gif
background=/forms90/images/black.gif
logo=/forms90/images/blackborder.gif
lookAndFeel=Oracle
colorScheme=Titanium
otherparams=useSDI=yes
workingDirectory=c:\export\data\ca\prod
envFile=C:\webutil\server\webutil.env
Oracle JInitiator: Version 1.3.1.9
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\msantry
User has overriden browser's proxy settings.
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\javaburps\CACHE
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://clientapps.cauto.com/forms90/webutil/webutil.jar from JAR cache
Downloading http://clientapps.cauto.com/forms90/webutil/jacob.jar to JAR cache
Loading http://clientapps.cauto.com/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
Loading http://clientapps.cauto.com/forms90/java/rolloverbutton.jar from JAR cache
Loading http://clientapps.cauto.com/forms90/java/hyperlink.jar from JAR cache
connectMode=HTTP, native.
oracle.forms.net.ConnectionException: Forms session <3> failed during startup: no response from runtime process
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.HTTPConnection.connect(Unknown Source)
at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source)
at oracle.forms.engine.FormsDispatcher.init(Unknown Source)
at oracle.forms.engine.Runform.initConnection(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks,
Mary SantryThe error does not look like a webutil client side problem - it looks more like a server side issue - perhaps the runtime not being able to find the webutil.pll.
Check your FORMS90_PATH in the webutil.env file and make sure it's not too long (>255 chars) if it is split it and use ORACLE_PATH as well. -
Error while renaming column in Apex 3.2.1
Hi,
I am getting the following error while renaming column in Oracle Apex 3.2.1 through SQL workshop:
"ORA-24344: success with compilation error"
Interestingly, it only gives an error when I rename the column again to its original name. For example, if I renaming the column X to X1 (no problem) but renaming back to X, I get this error. Same is true for X to X1 to X2 without any issues but renaming back from X2 to either X1 or X, I get the same error.
Any insight into this issue would be very helpful and greatly appreciated.
Thanks,
MilaanI've moved a step ahead, getting the new apex screen at http://127.0.0.1:8080/apex/ and can also login to my application. However there is no image for Application Express on http://127.0.0.1:8080/apex/ and I cannot click on the Login button. Hitting http://127.0.0.1:8080/i/ does list down the images. Any clue on what could be the problem?
For others reference: I'm not sure what was wrong, but I tried the entire steps again, with the 2 changes: shutdown the listener and job process ( in step 3.1) before running 'apexins' and second that I installed on SYSAUX and not USERS (in step 4)
1. Downloaded apex_3.2.1.zip to C:\Software
2. unzip apex_3.2.1.zip to C:\Software\apex
3. started command prompt and set these variables
set ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0\server
set ORACLE_SID=xe
set ORACLE_PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin
set LD_LIBRARY_PATH=C:\oraclexe\app\oracle\product\10.2.0\server\lib
3.1 Shutdown the listener and job services
4.
sqlplus /nolog
CONNECT SYS as SYSDBA
@apexins SYSAUX SYSAUX TEMP /i/
5.
sqlplus /nolog
CONNECT SYS as SYSDBA
@apxchpwd
6.
Stopped and Started the Database, also the listener and job processes
7.
sqlplus /nolog
connect sys as sysdba
@apxldimg.sql c:\software
8.
sqlplus /nolog
connect sys as sysdba
exec dbms_xdb.setListenerLocalAccess (l_access => FALSE); -
Some error while applying nls patch,need some help
i run my ebs R12.1.1 on linux X64 in vmware.
i have already installed it.i can login it too.
now i am applying patch 4440000.drv,as i am a chinese....forgive my limit english - -!
i have get some help from other threads when i first get this virtual machine,but this time is a little bad.... I hope I can get some directly..
after very very 3days hard work,I am standing at the end of the patch,but,it just still have some errors:
All workers have quit.
Dropping FND_INSTALL_PROCESSES table...
FND_INSTALL_PROCESSES table dropped.
Dropping AD_DEFERRED_JOBS table...
AD_DEFERRED_JOBS table dropped.
The following Oracle Forms objects did not generate successfully:
ap forms/ZHS APXPAWKB.fmx
ap forms/ZHS APXINWKB.fmx
ap forms/ZHS APXWCARD.fmx
ar forms/ZHS ARXTWMAI.fmx
ar forms/ZHS ARXTWLIN.fmx
bom forms/ZHS BOMFDRSO.fmx
ce forms/ZHS CEXCABMR.fmx
cs forms/ZHS CSXSEDBT.fmx
cs forms/ZHS CSXSRISR.fmx
fnd forms/ZHS FNDSCAUS.fmx
ghr forms/ZHS GHRWS52A.fmx
ghr forms/ZHS GHRWS52L.fmx
ghr forms/ZHS GHRWSMSL.fmx
ghr forms/ZHS GHRWSMTI.fmx
gl forms/ZHS GLXJEENT.fmx
gme forms/ZHS GMECBTCH.fmx
gme forms/ZHS GMETTMTX.fmx
gms forms/ZHS GMSAWEAW.fmx
hxt forms/ZHS HXTAEI00.fmx
iex forms/ZHS IEXWRIOF.fmx
inv forms/ZHS INVGMSTP.fmx
inv forms/ZHS INVIDITM.fmx
inv forms/ZHS INVSDOIO.fmx
inv forms/ZHS INVSDOSI.fmx
inv forms/ZHS INVTTGPM.fmx
ja forms/ZHS JAINRGFT.fmx
jmf forms/ZHS JMFGTWKB.fmx
msc forms/ZHS MSCITMNT.fmx
oke forms/ZHS OKEDTSFM.fmx
okl forms/ZHS OKLCSACT.fmx
okl forms/ZHS OKLCSHDR.fmx
okl forms/ZHS OKLCSSRC.fmx
okl forms/ZHS OKLCSTRX.fmx
okl forms/ZHS OKLCSVSC.fmx
ota forms/ZHS OTACMLAN.fmx
ota forms/ZHS OTARSERB.fmx
pa forms/ZHS PAXINEVT.fmx
pa forms/ZHS PAXINRVW.fmx
pa forms/ZHS PAXPREPR.fmx
pay forms/ZHS PAYAUTAX.fmx
pay forms/ZHS PAYAUTRM.fmx
pay forms/ZHS PAYJPSOE.fmx
pay forms/ZHS PAYKRSEP.fmx
pay forms/ZHS PAYKRYER.fmx
pay forms/ZHS PAYKRYEA.fmx
pay forms/ZHS PAYUSEET.fmx
per forms/ZHS PERFIOBJ.fmx
per forms/ZHS PERIEOBJ.fmx
per forms/ZHS PERWSCEI.fmx
per forms/ZHS PERWSEMA.fmx
per forms/ZHS PERWSEPI.fmx
per forms/ZHS PERWSHRG.fmx
per forms/ZHS PERWSPED.fmx
per forms/ZHS PERWSQHM.fmx
po forms/ZHS POXDOCEC.fmx
po forms/ZHS POXSCASL.fmx
psp forms/ZHS PSPLSODL.fmx
psp forms/ZHS PSPSCLEA.fmx
wsh forms/ZHS WSHFRREL.fmx
zx forms/ZHS ZXTRLLINEDISTUI.fmx
zx forms/ZHS ZXTRXSIM.fmx
An error occurred while generating Oracle Forms files.
Continue as if it were successful [No] : no
I tryed to restart adpatch.sh and continue the patch --- it helps me one time in the past 3days---i got this:
Generating forms...
Connecting to APPLSYS......Connected successfully.
Creating the AD_UTIL_PARAMS table...
Table AD_UTIL_PARAMS already exists, so dropping the table and recreating it.
DROP TABLE AD_UTIL_PARAMS
CREATE TABLE ad_util_params( worker_id number not null,
utility_name varchar2(100) not null, task
varchar2(30) not null, status varchar2(100) not null,
arguments varchar2(2000) not null, rowid1
varchar2(2000), utility_status number not null, symbolic_arguments
varchar2(2560) not null)
Creating FND_INSTALL_PROCESSES table...
Running adtasktim.sql ..
Connected.
PL/SQL procedure successfully completed.
Commit complete.
Already created fnd_install_processes table
Already created FND_INSTALL_PROCESSES_U1 index.
Connecting to APPS......Connected successfully.
Connecting to APPLSYS......Connected successfully.
Already created AD_DEFERRED_JOBS table
Already created AD_DEFERRED_JOBS_U1 index.
Connecting to APPS......Connected successfully.
Writing dependencies of jobs to run to appldep.txt file...
There are now 61 jobs remaining (current phase=A1002):
0 running, 61 ready to run and 0 waiting.
Reading completed jobs from restart file (if any).
AutoPatch error:
Unable to find job when restarting.
At line number 12 in the main restart file, the job with:
product = ak username = AK
filename = AKDFLOWB.fmx phase = 1002 ign = 0 arguments = formgen /u2/VIS/visappl/apps/apps_st/appl/admin/PROD/out/pchfsucf.txt /u2/VIS/visappl/apps/apps_st/appl/admin/PROD/out/pchferrf.txt
has to run after some jobs that are not listed earlier in the file,
or it is a duplicate of another line,
or the job is invalid in some other way.
AutoPatch error:
adfrjp(): Error running jobs in workers
An error occurred while generating Oracle Forms files.
Continue as if it were successful [No] : No
Connecting to APPLSYS......Connected successfully.
Freeing fixes hash table
Freeing entities hash table
You should check the file
/u2/VIS/visappl/apps/apps_st/appl/admin/PROD/log/adpatch.log
for errors.
the messages above are copy from end of adpatch.log which is 10M size---there are over 17000 files in the document of "log" now.
i search the BAIDU,it seems that i can fix it by adadmin.sh?is that ture?i don't feel it right....
OR
can some guaide me get it through these error?some tips on metal-link will be fine too,i get an id from my friend.
thanks,foliage
Edited by: user6898421 on 2011-12-9 上午10:46hi,hussein,how r u?
I restart the vm-machine and then disable maintain model,the start the DB and APP.
I can choose chinese to login and i did it.
maybe the i need "Translation Synchronization Patches " .The left part is english and the right part is chinese.
i believe that there must had some forms bad,it just not read now.
I get the infomation about my EBS,here there are:
Oracle Applications
Copyright (c) 2004 Oracle Corporation,
Redwood Shores, California.
版权所有。
登录
地点 : http://paleonode1.sh.paleotek.com:8002(SID:PROD)
应用 : 系统管理
责任 : System Administrator
安全组 : 标准
用户名 : SYSADMIN
数据库服务器
RDBMS : 11.1.0.7.0
Oracle Applications : 12.1.1
设备 : paleonode1.sh.paleotek.com
用户 : APPS
Oracle SID : PROD
系统日期 : 11-12-2011 15:15:41
数据库服务器 PID : 11111
会话 SID : 283
SERIAL# : 250
AUDSID : 15358913
数据库 CPU 使用(以秒表示) : 1.54
表单服务器
Oracle Forms 版本 : 10.1.2.3.0
Oracle Application Object Library : 12.0.0
设备 : PALEONODE1.SH.PALEOTEK.COM
表单用户 CPU(秒) : 0.403938
表单系统 CPU(秒) : 1.084835
表单处理标识 : 11086
表单服务器环境变量
AU_TOP : /u2/VIS/visappl/apps/apps_st/appl/au/12.0.0
FDBDMCHK : [未设置]
FDFGCXDBG : [未设置]
FDSQLCHK : [未设置]
FDUDEBUG : [未设置]
FNDNAM : APPS
FND_TOP : /u2/VIS/visappl/apps/apps_st/appl/fnd/12.0.0
FORMS_APPSLIBS : APPCORE FNDSQF APPDAYPK APPFLDR GLCORE HR_GEN HR_SPEC ARXCOVER
FORMS_CATCHTERM : 1
FORMS_DATETIME_LOCAL_TZ : GMT
FORMS_DATETIME_SERVER_TZ : America/Chicago
FORMS_DISABLED_NOT_REQD : 1
FORMS_ERROR_DATETIME_FORMAT : [未设置]
FORMS_ERROR_DATE_FORMAT : [未设置]
FORMS_FORCE_MENU_MNEMONICS : 0
FORMS_LOV_INITIAL : 5000
FORMS_LOV_MINIMUM : 1000
FORMS_LOV_WEIGHT : 16
FORMS_MMAP : [未设置]
FORMS_NONBLOCKING_SLEEP : 100
FORMS_NONNAVIGABLE_NOT_REQD : 0
FORMS_OUTPUT_DATETIME_FORMAT : [未设置]
FORMS_OUTPUT_DATE_FORMAT : [未设置]
FORMS_PATH : /u2/VIS/visappl/apps/apps_st/appl/au/12.0.0/resource:/u2/VIS/visappl/apps/apps_st/appl/au/12.0.0/resource/stub
FORMS_RECORD_GROUP_MAX : [未设置]
FORMS_REDIRECT_DATA_PROPS : 1
FORMS_REINIT_EMPTY_BLOCKS : 1
FORMS_REJECT_GO_DISABLED_ITEM : 0
FORMS_RESOURCE : [未设置]
FORMS_TIMEOUT : 5
FORMS_TRACE_CONFIG_FILE : /u2/VIS/visappl/inst/apps/PROD_paleonode1/ora/10.1.2/forms/server/ftrace.cfg
FORMS_TRACE_DIR : /u2/VIS/visappl/inst/apps/PROD_paleonode1/logs/ora/10.1.2/forms
FORMS_TZFILE : timezlrg.dat
FORMS_UNALTERABLE_NOT_REQD : 1
FORMS_USE_CBO : [未设置]
FORMS_USER_CALENDAR : [未设置]
FORMS_USER_DATE_FORMAT : DD-MON-RRRR
FORMS_USER_DATETIME_FORMAT : DD-MON-RRRR HH24:MI:SS
FORMS_USEREXITS : fndfmxit.so
NLS_DATE_FORMAT : DD-MON-RR
NLS_DATE_LANGUAGE : NUMERIC DATE LANGUAGE
NLS_LANG : SIMPLIFIED CHINESE_AMERICA.AL32UTF8
NLS_NUMERIC_CHARACTERS : .,
ORA_NLS10 : /u2/VIS/visappl/apps/tech_st/10.1.2/nls/data/9idata
ORA_NLS_CHARSET_CONVERSION : [未设置]
ORACLE_CONFIG_HOME : /u2/VIS/visappl/inst/apps/PROD_paleonode1/ora/10.1.3
ORACLE_HOME : /u2/VIS/visappl/apps/tech_st/10.1.2
ORACLE_PATH : [未设置]
TNS_ADMIN : /u2/VIS/visappl/inst/apps/PROD_paleonode1/ora/10.1.2/network/admin
TWO_TASK : PROD
当前表单
表单应用 : 应用对象程序库
表单名 : FNDSCSGN
表单路径 : UNKNOWN
表单版本 : 12.0.14
最后修改的表单 : $Date: 2006/11/03 07:43 $
Scheme Display Profiles
Java Look and Feel : ORACLE
Java Color Scheme : SWAN
Color Scheme Indicator : SWAN
Indicator Colors : Y
表单
APPSTAND : 12.0.6
FNDSCSGN : 12.0.14
表单菜单
FNDMENU : 12.0.2
表单 PL/SQL
APPCORE : 12.0.29.12010000.4
CUSTOM : 12.0.0
FNDSQF : 12.0.3
GHR : 12.0.46.12010000.5
GLOBE : 12.0.76.12010000.6
GMS : 12.0.51.12010000.6
IGILUTIL2 : 12.0.32
IGILUTIL : 12.0.3
OPM : 12.0.7.12010000.2
PQH_GEN : 12.0.7
PSA : 12.0.17
PSAC : 12.0.5
PSB : 12.0.2
VERT1 : 12.0.0
VERT2 : 12.0.0
VERT3 : 12.0.0
VERT4 : 12.0.0
VERT5 : 12.0.0
VERT : 12.0.0
i still believe that my ebs is r12.1.1 and the patch 4440000.DRV make some part of my ebs back to 12.0.0.
should i apply the new patch--6678700.drv to make it update to 12.1.1?
thanks you always answer me,hussein.^ ^.
there is no answer or reply in chinese forum....T T -
Error In Running dbms_scheduler.run_job ORA-27369.
Dear Sir
I am trying to execute one batch file from one schedule which imports the data using imp command now my files look like this
*****************imp.bat ***************
imp treasury/tisnic@orcl FILE="C:\data\gis031164.dmp" LOG="C:\data\imp_gis031164.log" FULL=Y IGNORE=Y FEEDBACK=1000
*********************job created with bellow code *******************************
begin
DBMS_SCHEDULER.CREATE_JOB (
job_name=> 'myjob',
job_type=> 'EXECUTABLE',
job_action=> 'c:\windows\system32\cmd.exe /c c:\imp.bat',
enabled=> TRUE,
auto_drop=>false,
start_date => sysdate + 9999
commit;
end;
now when i run my job with bellow command
begin
dbms_scheduler.run_job('myjob');
end;
it gives me error as follow
ERROR at line 1:
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
ORA-06512: at "SYS.DBMS_ISCHED", line 148
ORA-06512: at "SYS.DBMS_SCHEDULER", line 374
ORA-06512: at line 2
kindlly help as i have tried all your solutions in so many threads but same issue not finding any solution for my problem
Thanks & Regards
AashishDear sir
Actually my motive is to execute one shell script which imports all datafile (exported .dmp) files stored in specific folder and i need to run that job on my form 10g button click trigger but its not working ..
***********************************Job name : importjob*****************************************
begin
DBMS_SCHEDULER.CREATE_JOB (
job_name=> 'importjob',
job_type=> 'executable',
job_action=> '/u1/datafile/imp.sh',
enabled=> TRUE,
auto_drop=>false
commit;
end;
1. when i tried to run above job with bellow code it gives me error
begin
DBMS_scheduler.run_job('importjob');
end;
" ORA-27369: job of type EXECUTABLE failed with exit code: 255 "
2. but when i tried to excute that shell script directly from server like bellow
$ /u1/datafile/imp.sh
it works fine and do what i want
permission to my shell scrpit and complete datafile (folder) is set to
chmod 777 -R /u1/datafile
chmod 777 -R /u1/datafile/imp.sh
now seniors please kindly help me to get my problem resolved and bellow is me files which i used in complete procedure
***************************file name : imp.sh.env *************************************
source /u/upsegid/dbtreasury.env
for i in `ls *.dmp.gz`
do
echo $i
gunzip $i
done
for i in `ls *.dmp`
do
imp parfile=imp1.par file=$i
echo ' ' >>impall.log
echo $i >> impall.log
echo ' ' >>impall.log
cat imp1.log >> impall.log
mv $i ./u1/backup/
gzip ./u1/backup/$i
done
# Remeber to change dates in vdtfinal.sql and vdtdaily.sql file for Plan Data
# Remeber to change date in vdtfinal.sql and vdtdaily.sql file for deleting previous Month Data From Koshtb
# cd ../sqls/vdt1011
#sqlplus vdt1011/mn1346@treasury @vdtfinal
exit
***************************file name : dbtreasury.env *************************************
ORACLE_BASE=/u/apps; export ORACLE_BASE
ORACLE_HOME=/u/apps; export ORACLE_HOME
PATH=$PATH:$ORACLE_HOME/bin:/usr/bin:/bin:.;export PATH
ORACLE_SID=orcl; export ORACLE_SID
TERM=treasury; export TERM
ORACLE_TERM=xterm; export ORACLE_TERM
NLS_LANG=AMERICAN; export NLS_LANG
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
ORACLE_PATH=$PATH:$ORACLE_HOME/bin; export ORACLE_PATH
LD_LIBRARY_PATH=$PATH:$ORACLE_HOME/lib:/usr/lib:/lib:.;export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
#DISPLAY=apps:0.0; export DISPLAY
TMPDIR=/tmp; export TMPDIR
TMP=/tmp; export TMP
TEMP=/tmp; export TEMP
TEMPDIR=/tmp; export TEMPDIR
Now sir kindly help me what and were i am doing wrong because i need to done this any how -
Error FRM-30312 while compiling a custom pll library on forms 11g weblogic
hi,
this is my case:
Im trying to upgrade a forms 10g application to 11g, using FORMS 11g v11.1.1.3 and WEBLOGIC server v10.3.3.
Forms files compiled correctly, also webutil.pll was correctly compiled.
but if I try to compile my custom pll I can see the error...
when I run application, this erros msg appears:
FRM-40735: ON-ERROR trig raised unhandled exception ORA-06508
I have this script to compile .pll files (libraries):
+#SCRIPT TO COMPILE LIBRARIES+
export ORACLE_INSTANCE=/opt/oracle/Middleware/asinst_1
export ORACLE_HOME=/opt/oracle/Middleware/as_1
export ORACLE_PATH=/opt/legadmi/pll:/opt/legadmi/formas
export FORMS_PATH=/opt/legadmi/pll:/opt/legadmi/formas
export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
export FORMS_DEFAULTFONT="Lucida.9"
for i in `ls *.pll`
do
echo Compiling: $i ....
file=$i
+$ORACLE_INSTANCE/bin/frmcmp.sh Module=$i Userid=user/pwd@db Module_Type=LIBRARY Batch=YES+
done
But this error is shown:
Compilation errors on RP2RRO:
PL/SQL ERROR 201 at line 106, column 8
identifier 'RUN_PRODUCT' must be declared
PL/SQL ERROR 0 at line 106, column 8
Statement ignored
PL/SQL ERROR 201 at line 123, column 8
identifier 'RUN_PRODUCT' must be declared
PL/SQL ERROR 0 at line 123, column 8
Statement ignored
PL/SQL ERROR 201 at line 153, column 8
identifier 'RUN_PRODUCT' must be declared
PL/SQL ERROR 0 at line 153, column 8
Statement ignored
PL/SQL ERROR 201 at line 169, column 8
identifier 'RUN_PRODUCT' must be declared
PL/SQL ERROR 0 at line 169, column 8
Statement ignored
Failed to generate library.
FRM-30312: Failed to compile the library.
I tried finding the string on the source code and delete or replace, but the only strings remainding are for example "RP2RRO_RUN_PRODUCT()", It looks like compiler finds the string within the entire word.
I need help.InoL, Thank you very much.
I know rp2rro.pll was there, and I compiled it successfully, and place it to the correct folder.
but I did not know that my custom pll had the rp2rro as a program unit.
I solve this problem replacing the code inside my custom library with the rp2rro.pll code that comes with forms 11g
THANKS again. -
How to find out what the underlying table/query of a form in Oracle Apps.
Hi
I am trying to find out who owns the underlying objects of a query when a user runs the Transactions > Line_Items form for Receivables .
I have selected Help > Record History but I get a message Record History not available here.
The query is running slow and I'd like to see if the objects have been analyzed lately.
Thanks
AndyHi
I should have said in the ticket that this is version 11.5.10
It was close to giving me the answer I need. It gives me the following details. Unfortunately it doesn't give me the underlying sql. I hhave tried using v$session and sys.v_$sql but the sql is over 1000 characters long so I dont get to see the table/object being referenced.
I appreciate the feedback.
Thanks
Andy
Database Server
RDBMS : 10.2.0.4.0
Oracle Applications : 11.5.10.2
Machine : alabama
User : APPS
Oracle SID : accausr1
System Date : 12-SEP-2011 13:33:58
Database Server PID : 16875
Session SID : 1065
SERIAL# : 1273
AUDSID : 201640233
Database CPU Usage (in secs) : 8.85
Forms Server
Oracle Forms Version : 6.0.8.27.0
Application Object Library : 11.5.0
Machine : AUSTIN
Forms User CPU (secs) : 3.430000
Forms System CPU (secs) : 0.840000
Forms Process ID : 6347
Forms Server Environment Variables
AU_TOP : /oracle/finapps/accausr1/accausr1appl/au/11.5.0
FDBDMCHK : [Unset]
FDFGCXDBG : [Unset]
FDSQLCHK : [Unset]
FDUDEBUG : [Unset]
FNDNAM : APPS
FND_TOP : /oracle/finapps/accausr1/accausr1appl/fnd/11.5.0
FORMS60_APPSLIBS : APPCORE FNDSQF APPDAYPK APPFLDR GLCORE HR_GEN HR_SPEC ARXCOVER
FORMS60_CATCHTERM : 1
FORMS60_ERROR_DATETIME_FORMAT : [Unset]
FORMS60_ERROR_DATE_FORMAT : [Unset]
FORMS60_FORCE_MENU_MNEMONICS : 0
FORMS60_MAPPING : http://austin.accanet.org:8002/OA_TEMP
FORMS60_MMAP : [Unset]
FORMS60_OUTPUT : /oracle/finapps/accausr1/accausr1comn/temp
FORMS60_OUTPUT_DATETIME_FORMAT : [Unset]
FORMS60_OUTPUT_DATE_FORMAT : [Unset]
FORMS60_PATH : /oracle/finapps/accausr1/accausr1appl/au/11.5.0/resource:/oracle/finapps/accausr1/accausr1appl/au/11.5.0/resource/stub:/oracle/finapps/accausr1/accausr1appl/au/11.5.0/forms/US
FORMS60_RESOURCE : [Unset]
FORMS60_TIMEOUT : 5
FORMS60_USER_DATETIME_FORMAT : DD-MON-RRRR HH24:MI:SS
FORMS60_USER_DATE_FORMAT : DD-MON-RRRR
FORMS60_USE_CBO : [Unset]
GWYUID : APPLSYSPUB/PUB
NLS_DATE_FORMAT : DD-MON-RR
NLS_DATE_LANGUAGE : AMERICAN
NLS_LANG : AMERICAN_UNITED KINGDOM.WE8ISO8859P1
NLS_NUMERIC_CHARACTERS : .,
ORACLE_HOME : /oracle/finapps/accausr1/accausr1ora/8063
ORACLE_PATH : [Unset]
ORA_NLS_CHARSET_CONVERSION : [Unset]
TNS_ADMIN : /oracle/finapps/accausr1/accausr1ora/8063/network/admin/accausr1_austin
TWO_TASK : accausr1
Current Form
Form Application : Receivables
Form Name : ARXTWMAI
Form Path : /oracle/finapps/accausr1/accausr1appl/ar/11.5.0/forms/US/ARXTWMAI.fmx
Form Version : 11.5.200
Form Last Modified : $Date: 2005/01/07 11:50 $
Forms
APPSTAND : 11.5.33
ARXRWMAI : 11.5.21
ARXRWMAI : 11.5.21
ARXTWMAI : 11.5.200
FNDSCSGN : 11.5.122
Form Menus
FNDMENU : 11.5.51
Forms PL/SQL
APPCORE : 11.5.151
APPFLDR : 11.5.55
ARXARWIN : 11.5.65
ARXBOEIF : 11.5.2
ARXCWUTL : 11.5.8
ARXPLCOM : 11.5.68.15104.2
ARXQRCIF : 11.5.2
ARXRCTIF : 11.5.2
ARXRWBAT : 11.5.96
ARXRWMAI : 11.5.19
ARXTWBAT : 11.5.11
ARXTWMAF : 11.5.27
ARXTWMAI : 11.5.302.15104.9
ARXTWUTL : 11.5.39.15104.2
FNDSQF : 11.5.111
GHR : 11.5.174
GLOBE : 11.5.38
GMS : 11.5.230.90.7
IGILUTIL2 : 11.5.97
IGILUTIL : 11.5.29
OPM : 11.5.33.115100.2
PQH_GEN : 11.5.124
PSA : 11.5.162
PSAC : 11.5.16
PSB : 11.5.24
VERT : 11.5.6 -
Hitting submit on th eparameter form causes the requested url was not found
Hi,
I'm using reports 6i patch 10 on a Oracle 8.1.7.4 , all of it is installed on a windows xp system.
When I try to run one of my own reports through the web (still staying on the local machine) this works well for displaying the parameter form.
Hitting the submit button on the parameter form causes
Error: the requested url was not found, or cannot be served at this time
Oracle Reports Server CGI- reports server name is not specified
But the server name is in the command line
When I run the same report with paramform = no and specifying the required parameters in the command line everything runs well.
When running the supplied test report everything runs ok, with and without the parameter form.
Any idea what's going on?
Do I need to give more detailed info?
regards, PietRunning it the way you specified it works well, also with keymap everything is ok then.
The environment settings are
RWCGI Environment
Oracle Reports Server CGI60 version 6.0, a Win32 executable.
HTTP Environment Variables (server):SERVER_NAME pdb-laptop
SERVER_PORT 80
SERVER_PORT_SECURE undefined
SERVER_SOFTWARE Oracle WebDb Listener 2.1
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
SCRIPT_NAME /dev60cgi/rwcgi60.exe/
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP Environment Variables (request):HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
REQUEST_METHOD GET
QUERY_STRING server=Rep60_PDB-LAPTOP-OraDevHome
CONTENT_LENGTH undefined
CONTENT_TYPE undefined
REMOTE_HOST 127.0.0.1
REMOTE_ADDR 127.0.0.1
REMOTE_USER undefined
REMOTE_IDENT undefined
HTTP_REFERER undefined
HTTP_COOKIE databaseid=bd2Ng49PxTNWh9Ks03Ga4AnAhXnC4SwGCtOXkzqe8NSDLcoIaZU=; lastuserid=bd2Ng49PxVwN3dWo3XGH8g==
AUTH_TYPE undefined
HTTP_AUTHORIZATION undefined
PATH_INFO showenv
PATH_TRANSLATED undefined
Oracle Reports Server CGI60 Environment Variables:PATH C:\OraDevHome\bin;C:\OraHome\bin;C:\OraHome\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\PROGRA~1\UTILIT~1\ULTRAE~1;"C:\Program Files\Symantec\Norton Ghost 2003\";C:\Program Files\Executive Software\DiskeeperWorkstation\
ORACLE_HOME C:\OraDevHome
RW60 C:\OraDevHome\REPORT60
ORACLE_PATH undefined
REPORTS60_PATH C:\OraDevHome\REPORT60\ADMIN\TEMPLATE\US;C:\OraDevHome\REPORT60
REPORTS60_TMP C:\OraDevHome\REPORT60\TMP
REPORTS60_CGIMAP undefined
REPORTS60_CGIHELP undefined
REPORTS60_CGIDIAGBODYTAGS undefined
REPORTS60_CGIDIAGHEADTAGS undefined
REPORTS60_CGINODIAG undefined
USER_NLS_LANG undefined
NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1
Stdin is empty.
CGI Command Line is used
main.argv[0] C:\OraDevHome\tools\web60\cgi\rwcgi60.exe -
Login button not working on Applicatin Express Login screen
Hi,
I'm trying to upgrade default apex version that comes with xe to apex 3.2.1. I've listed down the steps I followed to upgrade apex.
After following all the steps, I'm able to login to my application, however not able to login to apex workspace using url http://127.0.0.1:8080/apex/ as the login button is not working.
Also there is no image for Application Express on the top of the page. I did try http://127.0.0.1:8080/i/ and it returns list of images.
Below are the steps I followed to upgrade apex
1. Downloaded apex_3.2.1.zip to C:\Software
2. unzip apex_3.2.1.zip to C:\Software\apex
3. started command prompt and set these variables
set ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0\server
set ORACLE_SID=xe
set ORACLE_PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin
set LD_LIBRARY_PATH=C:\oraclexe\app\oracle\product\10.2.0\server\lib
3.1 Shutdown the listener and job services
4.
sqlplus /nolog
CONNECT SYS as SYSDBA
@apexins SYSAUX SYSAUX TEMP /i/
5.
sqlplus /nolog
CONNECT SYS as SYSDBA
@apxchpwd
6.
Stopped and Started the Database, also the listener and job processes
7.
sqlplus /nolog
connect sys as sysdba
@apxldimg.sql c:\software
8.
sqlplus /nolog
connect sys as sysdba
exec dbms_xdb.setListenerLocalAccess (l_access => FALSE);
Any clue on where could I have gone wrong?
Thanks,
Hozy>
Any clue on where could I have gone wrong?
>
1. You forgot to run the apxldimg.sql script to update the images directory
http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/otn_install.htm#BHAJIGDA
3.3.5.2 Updating the Images Directory When Upgrading from a Previous Release
Regards,
Phiri -
Webutil not working on 9ids w2000
Hello,
I have installed webutil with no luck.
I have some doubts related the manual + an error.
First of all, my installation is on 9ids, could this be a problem in a production environment (not testing)??
Configuration doubts:
1._ Configuring http-->
my line in the orion-web file is this one:
<virtual-directory virtual-path="/webutil" real-path="D:\OraHome1/webutil/lib" /> ( is /or\)???
2.- formsweb.cfg--> line webUtilArchive=/forms90/webutil/webutil.jar (But my virtual directory name is just webutil?, not /forms90/webutil ? )and is case-sensitive important????
3.formsweb.cfg example has multiple baseHTMLjinitiator entries, I think that just only one should be there. The rest of baseHTML are not in the webutil folder, are a documentation bug, aren´t they?
4. DO I have to configure the default.env file? Or setting the environment variables is enough?
5. Step 12-d of the familiarization manual.
Error:
I have set the oracle_path and classpath -->webutil.jar webutil_config->webutil.cfg file, as environment variables, and forms90_path--> as an entry of the Windows registry, pointing webutil.pll. When I try to open the webutil example WU_TEST.fmb I get an error saying the webutil.pll can´t be found( frm -10102). I re-open and re-link the webutil.pll(as suggested in a thread), relink the webutil object, recompile all, and run the form. I always get an error saying : frm- 40039, connection to library webutil can´t be made while wu_test is displayed (or sth like this...)
I have read several times the documentation but I can´t solve this,
I would thank any help, TIAThe console error is the next:
JInitiator: Versión 1.3.1.13
Usar versión JRE 1.3.1.13-internal Java HotSpot(TM) Client VM
Directorio local del usuario = C:\Documents and Settings\beamar
Configuración del delegado: sin delegado
JAR cache enabled
Location: C:\Documents and Settings\beamar\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://developer.cidaut.es:8888/forms90/java/f90all_jinit.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
La versión del applet Forms es: 902122
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
It seems like if the listener is not up, but OC4J instance is started.
The forms error I´m getting is "WUC-015, your form must contain the following bean...."
I have set the default.env file, Should I put its variables too as environment variables?
Thanks in advance -
Problem with listener whe I create a new instance
Hi
I can not create two instances on my Oracle data base, the listener is not running or the service is not registred. This is my state:
I´ve installed Database Oracle 11gR2 on OEL (Oracle Linux Enterprise) and I need two instance, I created my first instance and I had some problems with my environment variable
but now it is fixed, when I execute: '*lsnrctl status*' it answers me:
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 13-DEC-2010 16:48:03
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SPHYNX)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 13-DEC-2010 15:09:39
Uptime 0 days 1 hr. 38 min. 23 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /home/oracle/app/oracle/diag/tnslsnr/SPHYNX/listener/alert/log.xml
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SPHYNX)(PORT=1521)))+
The listener supports no services
The command completed successfully
where SPHYNX is the computer´s name, when I read the 'forums.oracle' I see that the line where it tells me:
+'The listener supports no services'+
it´s wrong but I don´t undertand the problem
my Oracle´s enviroment variables are: env | grep ORA
ORACLE_BASE=/home/oracle/app/oracle
ORACLE_BIN=/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
and my listener is the created in the Oracle´s intallation, it is:
+# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora+
+# Generated by Oracle configuration tools.+
LISTENER =
+(DESCRIPTION_LIST =+
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = SPHYNX)(PORT = 1521))+
+)+
+)+
ADR_BASE_LISTENER = /home/oracle/app/oracle
my tnsmanes is:
+# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora+
+# Generated by Oracle configuration tools.+
INS1 =
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))+
+(CONNECT_DATA =+
+(SERVER = DEDICATED)+
+(SERVICE_NAME = INS1)+
+)+
+)+
it´s created automatically when I delete my initial Instance orcl, created in the installation, and I create the instance INS1
My user is a special user called 'oracle' and it is not sudoer.
when I try to create the second instance the wizard tell me that the Enterprise Configuration is failed because the listener is not actived or the data base´s service is not registred in
it. I do not write the exact output because it is in spanish and I write a translation.
regards,
PabloI am sorry if there is any inconsistency but I am not the final user, I don´t know if the final user had some conection´s problem but I could access to the Enterprise Manager in the instance and I had to restart the computer many times after the first configuration, but the user never tell me anything about problems. I only access to the instance with the Enterprise Manager and it´s running
I´m sorry but I normally have Oracle on Windows and this is my first contact with Oracle and Linux, on Windows I never had these problems because Oracle did everything automatically on Windows.
The output that I receive with your commands is:
+[oracle@SPHYNX ~]$ uname -a+
Linux SPHYNX 2.6.18-194.el5xen #1 SMP Mon Mar 29 22:22:00 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
+[oracle@SPHYNX ~]$ uptime+
+19:12:22 up 6:16, 1 user, load average: 0.27, 0.18, 0.17+
+[oracle@SPHYNX ~]$ id+
uid=501(oracle) gid=501(oracle) grupos=501(oracle)
+[oracle@SPHYNX ~]$ ps -ef | grep -i pmon+
oracle 25336 25300 0 19:12 pts/1 00:00:00 grep -i pmon
+[oracle@SPHYNX ~]$ env | sort+
_=/bin/env
CVS_RSH=ssh
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME= SPHYNX
INPUTRC=/etc/inputrc
JAVA_HOME=/usr/java/jdk1.6.0_22/
LANG=es_ES.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/home/oracle/app/oracle
ORACLE_BIN=/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
PATH=/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin::/usr/java/jdk1.6.0_22/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
PWD=/home/oracle
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=163.117.129.155 54971 22
SSH_CONNECTION=163.117.129.155 54971 163.117.129.170 22
SSH_TTY=/dev/pts/1
TERM=vt100
USER=oracle
+[oracle@SPHYNX ~]$ cat /etc/hosts+
+# Do not remove the following line, or various programs+
+# that require network functionality will fail.+
+127.0.0.1 SPHYNX localhost.localdomain localhost+
+::1 localhost6.localdomain6 localhost6+
+[oracle@SPHYNX ~]$ date+
lun dic 13 19:12:31 CET 2010 -
OEM configuration issue in Oracle 10g
Hi,
I am trying to manually configure OEM on oracle 10g solaris platform (5.10). Earlier I have configured the OEM manually on the same server and then due to customer request de-configure it. But now again, I need to re-configure OEM on same server and facing issue.
Steps which I am following are :-
-> Listener is started
-> Database is up and running.
-> Creating repository through command emca -repos create
-> Configuring the dbconsole through command emca -config dbcontrol db
At this step after providing the information of database name, listener port, Password for SYS user,Password for DBSNMP user,Password for SYSMAN user,Email address for notifications (optional): [email protected],Outgoing Mail (SMTP) server for notifications (optional): wbmlir1.mail.xerox.com, it is giving the below error that db console cannot be started.
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 22, 2011 10:18:38 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log.
Aug 22, 2011 10:18:43 AM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for usa7061ux300
Aug 22, 2011 10:18:44 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Securing Database Control (this may take a while) ...
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Database Control secured successfully.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) ...
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database ControlRefer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Could not complete the configuration. Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Below is the content of logfile :-
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
CONFIG: Securing Database Control completed successfully .
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'DISPLAY' is '', discarding the same
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [BKUPDIR=/data, CLASSPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emca.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmasm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emConfigInstall.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldapjclnt10.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldap.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/share.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmhas.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/netcfg.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib/xmlparserv2.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/assistants/jlib/assistantsCommon.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/sysman/jlib/emCORE.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraInstaller.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereq.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/inventory/prereqs/oui/OraPrereqChecks.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, EDITOR=vi, HOME=/rdwq/ap01/rdwsdba, HZ=, LC_COLLATE=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1, LC_MESSAGES=C, LC_MONETARY=en_US.ISO8859-1, LC_NUMERIC=en_US.ISO8859-1, LC_TIME=en_US.ISO8859-1, LD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc/client:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/../lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/usr/SUNWspro/lib:/usr/openwin/lib:/usr/dt/lib, LIBPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, LOGNAME=rdwsdba, MAIL=/usr/mail/rdwsdba, MANPATH=/local/man:/usr/share/man, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, OLDPWD=/rdwq/ap01/rdwsdba, ORACLE_BASE=/rdwq/apps/oracle, ORACLE_DOC=/rdwq/apps/oracle/doc, ORACLE_HOME=/rdwq/apps/oracle/product/10.2.0.4.2011Q1, ORACLE_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin, ORACLE_SID=rdwq, ORACLE_TERM=xsun5, ORAENV_ASK=NO, ORATAB=, ORA_NLS=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/ocommon/nls/admin/data, PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin:/opt/local/scripts:/opt/local/bin:/opt/local/xns:/opt/X11:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/etc:/usr/ccs/bin:/usr/ucb:/usr/openwin:/usr/openwin/bin:/usr/bin/X11:/usr/openwin/bin/X11:/usr/openwin/lib:/usr/lib:/usr/sbin:/usr/local/bin:/app/oracle/local/dba/utilities:/opt/bin:/opt/EDSsrm/bin:/usr/bin, PWD=//rdwq/apps/oracle/product/10.2.0.4.2011Q1/network/admin, SHELL=/bin/bash, SHLIB_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, SHLVL=1, TERM=vt100, TNS_ADMIN=, TZ=US/Pacific, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emca]
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://usa7061ux300:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory /rdwq/apps/oracle/product/10.2.0.4.2011Q1/usa7061ux300_rdwq/sysman/log
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:646)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:224)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
Please guide me to resolve this issue.
ThanksHi,
Content of emagent.trc :-
2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
Content of emagent.trc :-
2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
rdwsdba$ tail -100 emdctl.trc
2011-08-23 07:01:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:01:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:01:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:01:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:02:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:02:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:02:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:02:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:04:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:04:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:04:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:04:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:05:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:05:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:05:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:05:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:07:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:07:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:07:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:07:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:08:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:08:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:08:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:08:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:10:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:10:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:10:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:10:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:11:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:11:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:11:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:11:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:13:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:13:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:13:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:13:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:14:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:14:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:14:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:14:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:16:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:16:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:16:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:16:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:17:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:17:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:17:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:17:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:19:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:19:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:19:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:19:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:20:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:20:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:20:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:20:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:22:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:22:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:22:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:22:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:23:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:23:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:23:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:23:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:25:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:25:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:25:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:25:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:26:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:26:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:26:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:26:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:28:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:28:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:28:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:28:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:29:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:29:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:29:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:29:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:31:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:31:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:31:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:31:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:32:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:32:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:32:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:32:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:34:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:34:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:34:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:34:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:35:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:35:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:35:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:35:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:37:23 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:37:23 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:37:23 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:37:23 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
There is no secure.log file.
Thanks -
Can higher version corrupt lower version databse ?
Dear Experts,
Oracle 9.2.0.6, HP-UX
Oracle 10.2.4 HP-UX
Can a database be corrupt in following situation:
1. export ORACLE_HOME=9iHome
2. export PATH=9iPath
3. database is working fine as it is created in 9i
4. Shut immediate;
5. copy parameter file from 9i to 10g home
6. export ORACLE_HOME=10gHome
7. export PATH (Oracle 10g path) ---> started with 10g
8. sqlplus "/ as sysdba"
9. startup
10. shut immediate
11. export ORACLE_HOME=9iHome
12 export ORACLE_PATH=9iPath
13 startup
What will be result ? will database refuse to open ?
Thanks & Regards
Sunil Kumar
Edited by: sunil kumar on Sep 4, 2011 8:27 AMIt should refuse to startup as the first startup in this scenario would need to be a startup upgrade or a startup migrate, whatever applied to 10g.
Evidently, this is discussed in the migration manual, and evidently this is why your question is redundant in this forum.
Sybrand Bakker
Senior Oracle DBA -
How to pass variable to SQLPLUS in a ksh script?
Hi,
I am writing a ksh script which will use sqlplus to run a sql and pass 2 variables as the SQL request. In the ksh script, I have 2 variables which are $min_snap and $max_snap holding 2 different numbers.
Inside the same script, I am using SQLPLUS to run an Oracle SQL script, which request to enter 2 set of numbers, one at a time. Normally running situation, I can enter the number from the keyboard, but since I am writing a script, I want to pass those numbers by passing variables in the script? How can I do it?
Please help!
here is my ksh script,
#!/bin/ksh
if [ "$1" = "" ]
then
echo "Usage : delete_snapshot.sh <db_name>"
exit
fi
export ORACLE_BASE=/oracle1/app/oracle
export ORACLE_PATH=.:/oracle1/app/oracle/product/8.1.7/tune
export ORACLE_HOME=/oracle1/app/oracle/product/8.1.7
export ORACLE_RDBMS=$ORACLE_HOME/rdbms/admin
export ORACLE_SID=$1
curr_time=`date +"%m/%d/%y %H:%M:%S"`
log_file=/home/mdbtuner/stats/sppurge/log/{$ORACLE_SID}_`date +"%Y%m%d"`.log
#echo $log_file
echo "****** Delete Snapshot for $ORACLE_SID at $curr_time ******" >> $log_file
#echo "****** Delete Snapshot for $ORACLE_SID at $curr_time ******"
#echo $ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID
cd /home/mdbtuner/stats/sppurge
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF > $min_snap
@min_snapid.sql
exit;
EOF
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF > $max_snap
@max_snapid.sql
exit;
EOF
echo $min_snap $max_snap
cd $ORACLE_RDBMS
#$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF >> $log_file
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << !
@sppurge
$min_snap
$max_snap
exit;
#EOF
Thanks in advance!
Robert
Message was edited by:
user168Thank you for response, Paul.
Have you ever used statspack? or sppurge.sql?
When you run $ORACLE_HOME/rdbms/admin/sppurge.sql, it waits for user to enter losnapid and hisnapid manually from the keyboard.
My trouble is to have a script to delete old snapshot which are 3 weeks old. So I create min_snapid.sql and max_snapid.sql to hold two variables.
Based on your solution, I tried it but it doesn't work.
It returns the error messages as following....
Warning
~~~~~~~
sppurge.sql deletes all snapshots ranging between the lower and
upper bound Snapshot Id's specified, for the database instance
you are connected to.
You may wish to export this data before continuing.
Specify the Lo Snap Id and Hi Snap Id range to purge
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for losnapid: Using exit; for lower bound.
Enter value for hisnapid:
User requested Interrupt or EOF detected.
Enter value for hisnapid:
User requested Interrupt or EOF detected.
WARNING: LoSnapId or HiSnapId specified does not exist in STATS$SNAPSHOT
Enter value for hisnapid:
User requested Interrupt or EOF detected.
Purge of specified Snapshot range complete. If you wish to ROLLBACK
the purge, it is still possible to do so. Exitting from SQL*Plus will
automatically commit the purge.
-------------------------------------------
Maybe you are looking for
-
Object oriented programming aspects in Oracle
Dear All, Can you one explain me the aspects of Object Oriented Programming in Oracle. How to use oops concepts in Oracle Procedures, functions, packages, etc. Thanks, Moorthy.GS
-
Facebook and Notification Click to post not working
There seems to be a problem with my facebook and twitter integration... Facebook: I can't share a site and neither can I update my status.. Twitter: Although I can share a site I can't tweet.. Facebook and Twitter suddenly stopped working......please
-
Adding Customer Fields - Note 672960
Hi All, Forgive me for this but I am new to BAdI programming and need a bit of help. I have been given a spec to add customer fields to a screen. The Analyst has given me the list of fields and reference to SAP Note 672960. I have appended the fields
-
Adobe Premiere Pro is constantly crashing and freezing
I'm a new user to adobe and I've used their free trials in the past for cs6, but this latest version of Premiere Pro keeps crashing while I'm in the middle of projects. I really don't know what the problem is. Is there something I need to update?
-
BC4J / JDBC Failover BUG ?
I have developed an ADF / BC4J application which works. In our environment we have a failover configuration I coded this approach for my ADF applications. My Custom connect string in the connection wizard for the BC4J is: jdbc:oracle:thin:@ (DESCRIPT