BRBACKUP fails with DB13 and TIVOLI on AIX and ORACLE
Hi,
We have the Tivoli setup for SAP on AIX and Oracle.
when we run the brbackup directly we are able to get it through. But when we do the same with DB13 and Tivoli attached we are not able to get through and it throws an error.
Would be very nice and kind of you if you could share your setup knowledge with me regarding Tivoli and SAP.
Thanks & Regards
Shrenik
9393930803
Unfortunately nobody here has a crystal ball to look into and see what is happening on your system in both cases.
We could ask you "have you done this" or "did you configure that" but it´s very cumbersome.
So please: provide logfiles of failed attempts if there is "an error" so we see which error it is and we can see if we can help.
Markus
Similar Messages
-
Brbackup failing with error "The paramter is incorrect"
Hi
I'm running SAP ERP6.0/Oracle 10.2.0.2/Windows 2008 Server. When I attempt a brbackup to disk it fails with the error below
BR0202I Saving I:\ORACLE\PRD\SAPDATA2\SR3_10\SR3.DATA10
BR0203I to E:\prd_oracle\behmebdl\SR3.DATA10 ...
BR0278E Command output of 'copy I:\ORACLE\PRD\SAPDATA2\SR3_10\SR3.DATA10 E:\prd_oracle\behmebdl\SR3.DATA10':
The parameter is incorrect.
0 file(s) copied.
BR0280I BRBACKUP time stamp: 2011-12-20 16.25.26
BR0279E Return code from 'copy I:\ORACLE\PRD\SAPDATA2\SR3_10\SR3.DATA10 E:\prd_oracle\behmebdl\SR3.DATA10': 1
BR0222E Copying I:\ORACLE\PRD\SAPDATA2\SR3_10\SR3.DATA10 to/from E:\prd_oracle\behmebdl\SR3.DATA10 failed due to
Below are some of the paramters set in the init<SAPSID>.sap
backup_root_dir = stage_root_dir = e:\prd_backup
backup_dev_type = disk
backup_type = online_cons
The user SAPServiceDEV has full rights on the folder e:\prd_backup
I'm using the commad below to fire the backup
C:\usr\sap\PRD\DVEBMGS02\exe\brbackup.exe -u / -p initPRD.sap -d disk -t online_cons -m all -c force
ThanksThanks for your response Fidel
I'm executing the backup from this script
C:\usr\sap\PRD\DVEBMGS02\exe\brbackup.exe -u / -p initPRD.sap -d disk -t online_cons -m all -c force
Drive e: is not a drive shared over the network. It is an external USB disk attached to the server running SAP. I've given user SAPSERVICE<SID> full rights to drive e:
2) change the fixed "drive" letter to UNC name (like
<server>\<directory_path>
When I use UNC name in place of the drive lettter I get the error message below
#backup_root_dir = E:\prd_oracle
backup_root_dir =
NXXX-HX-PXD1\prd_oracle
BR0259I Program execution will be continued...
BR0051I BRBACKUP 7.00 (42)
BR0282E Directory '
NXXX-HX-PXD1\prd_oracle' not found
BR0182E Checking parameter/option 'backup_root_dir' failed
BR0056I End of database backup: behmicld.log 2011-12-21 12.11.37
BR0280I BRBACKUP time stamp: 2011-12-21 12.11.38
BR0054I BRBACKUP terminated with errors
BR0292I Execution of BRBACKUP finished with return code 3
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action -
Create PDF report with APEX and Oracle 11g doesn't work
Hi everyone,
I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
When I try to download a PDF, Acrobat Reader says it can not open the file.
I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
Does anyone know if there is a known bug for version 11g.
Thank you very much.Hi Munky,
I open the generated file the Notepad++ I can read the next message:
*<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
I have not idea can I solve the problem.
Have you got any solution for this problem??
Thank you so much.
Victor Muñoz. -
Uses for the Action Property with SQL and Oracle DB Adapters
This thread is a complement to the Wiki Article
BizTalk: Streamlining WCF SQL and Oracle Messaging-Only and Other Patterns
The question. In what circumstances is explicitly setting the Action value with the WCF SQL and Oracle DB bindings useful or beneficial.
A complimentary question. Is it even possible to set the Action value to anything other than exactly what is required by the Message.
I ask because of three very specific behaviors of the bindings themselves:
The binding enforces a match between the Action and the Message, therefore...
There is a one-to-one relationship between the Message and Action, but...
The binding is able to correctly derive and perform the requested operation with the unspecific CompositeOperation.
For clarity, I understand how to set the Action. I. understand what the Action represents in the SOAP scheme. I understand how Action can be used as an abstraction for SOAP operations.
Thoughts?Do you have any good suggestion to learn how to use action property with SQL and Oracle DB adapters? I learn a lot from your replies for years in BizTalk forum. :)
-
I have to migrate a DWH on Server 1 (OWB 9.0.4.10, Oracle Workflow 2.6.2, Windows 2000, Oracle 9.2.0.6) to Server 2 1 (OWB 9.0.4.10, Oracle Workflow 2.6.3, Windows 2003, Oracle 10.2.0.1)
Its posible to use OWB 9.0.4.10 with W2003 and Oracle 10.2.0.1?
Thanks very much in advance!Hi,
This is the relevant section from Metalink's 'Certify' section:
Server Certifications
Product Server Status Addtl. Info. Components Other Issues
10.1.0.x 9.2.0.x Certified None None Yes None
10.1.0.x 8.1.7 (8i) Desup:RDBMS None None N/A N/A
10.1.0.x 10.2.0.x Certified Yes None Yes None
10.1.0.x 10.1.0.x Certified None None Yes None
Additional info on 10gR2 DB: Database 10.2.0.x is only certifed with Oracle Warehouse builder patch set 10.1.0.4 or higher.
So: bad luck, need to upgrade OWB 10.1.0.4 to at least.
I suggest you learn to use Metalink for having these kinda questions answered.
Good luck,
Erik Ykema -
Help with VB6 and Oracle Spatial
Does anyone knows how to access to the Geoloc field of an oracle 8.16 table using VB6?
I need to read/write it but Ado doesn't like very much that dataType...
I'm triyng with ADO and oracle's oraOleDB, but i'll appreciate any other working solution.
Thank You.
Daniela.
nullWe have written a stored procedure(Procedure) in Oracle to update the data type fields that are unavailable in ADO calling the procedure using ADO from VB.
Dinghy, how much of a learning curve is it to go from ADO to OO4O (Oracle Object for OLE)?
Thanks,
Thomas L
null -
Install SAP ERP 6.0 with Linux and Oracle RAC
Hi Guru,
I want to install SAP ERP 6.0 with Linux and Oracle RAC. Is this possible?
Where do I find information?
Thanks,
Hugo.Hello Hugo,
You can use either RAC or dataguard. On note [105047|http://service.sap.com/sap/support/notes/105047]:
14. Data Guard
o You can use "Physical Standby".
o You cannot use "Logical Standby".
o You can use Data Guard Broker.
o You can use Maximum Performance Mode, Maximum Availability Mode and Maximum Protection Mode.
o In the case of Maximum Availability and Maximum Protection, you must pay particular attention to a fast network connection in order to avoid performance problems.
o Maximum Protection causes the primary database to terminate if problems occur in the standby database.
60. Real Application Cluster (RAC)
o You can use this feature in accordance with Note 527843.
Regards,
Eduardo Rezende -
Hi all
I installed a solution manager 4.0 with oracle 10.2 on OS W2K. When i start the brbackup with br*tools it works without problems. When I start the brbackup with db13 I receive the following error and the backup failes with rt code 5:
BR0055I Start of database backup: bdxezstr.anf 2008-02-06 12.55.59
BR0484I BRBACKUP log file: I:\oracle\SSM\sapbackup\bdxezstr.anf
BR0252W Function remove() failed for 'F:\oracle\SSM\102\database\sap.ora' at location BrInitOraCreate-1
BR0253W errno 13: Permission denied
BR0252W Function remove() failed for 'F:\oracle\SSM\102\database\sap.ora' at location BrInitOraCopy-7
BR0253W errno 13: Permission denied
BR0166I Parameter 'control_files' not found in file F:\oracle\SSM\102\database\initSSM.ora - default assumed
BR0274W File 'F:\oracle\SSM\102\database\CTL1SSM.ORA' not found
BR0280I BRBACKUP time stamp: 2008-02-06 12.56.01
BR0319I Control file copy created: I:\oracle\SSM\sapbackup\CNTRLSSM.DBF 12664832
Can anyone help me
Regards,
Matthiashi,
note the following:
1) you are using windows (there is special behaviour here)
2) when you run BRBACKUP at os level, you are executing it as user <sid>adm
3) when you run BRBACKUP from DB13 you are executing it as user SAPService<SID>
Do you see the difference?
Running BRBACKUP at OS level with user <sid>adm means "nothing" in windows.
Please, check that the user SAPService<SID> has authorizatons on the mentioned files/directories.
The error
> BR0253W errno 13: Permission denied
indicates that it does NOT have authorizations -
DB13 BRBackup fails with br0227e, but plenty of space.
Hi: We use DB13 to schedule brbackup as disk backup to our DataDomain DDR (Deduplication device). However just recently the device filled to 60%.
Brbackup checks the raw space on the device, not the space available considering the great compression we will acheive, and it fails with a BR0227e. Note 17131 says to run BRbackup with "option -q" which will only issue a warning when space is an issue. I'd like to do that using DB13 to schedule the backup, but I can't determine how to apply the -q option using DB13. I thought it might be a parameter for init<SID>.SAP, but I don't know how I would apply the parameter in this parameter file.
How do I apply this parameter?
The other option I suppose, is to create a brbackup script with the option -q and schedule at OS, but I really want to use DB13.
DB= Oracle 10.2.0.4
Os= w2003 enterprise server.
SAP_Basis 6.40
Thanks for any ideas,
Donadapt contents from table SDBAC, field PSTRING
-
Hi,
We are having problem to take backup usin brtools, the following error message showingup, please tell me step by step to resolve this issue.
BR0051I BRBACKUP 7.00 (11)
BR0055I Start of database backup: bduvdxea.afd 2007-03-16 06.08.44
BR0252E Function fopen() failed for '/oracle/E04/sapbackup/backE04.log' at location main-10
BR0253E errno 13: Permission denied
BR0121E Processing of log file /oracle/E04/sapbackup/backE04.log failed
BR0056I End of database backup: bduvdxea.afd 2007-03-16 06.08.44
BR0280I BRBACKUP time stamp: 2007-03-16 06.08.44
BR0054I BRBACKUP terminated with errors
BR0292I Execution of BRBACKUP finished with return code 3
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
BR0280I BRTOOLS time stamp: 2007-03-16 06.08.44
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
Regards
SrinivasThanks Vinod, Suni. I changed permissions based on OSS# 113747, but still getting error.
errors, file permissions and env file information shown below. Please suggest me , if any thing wrong.
Regards
Srinivas.
brbackup as <orasid>
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2007-03-16 08.03.01
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0291I BRBACKUP will be started with options '-p initE04.sap -d disk -t offline
-m all -k yes -e 0 -l E'
BR0280I BRTOOLS time stamp: 2007-03-16 08.03.01
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRTOOLS time stamp: 2007-03-16 08.03.04
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0051I BRBACKUP 7.00 (11)
BR0055I Start of database backup: bduvehhx.afd 2007-03-16 08.03.05
BR0252E Function fopen() failed for '/oracle/E04/sapbackup/backE04.log' at locat
ion main-10
BR0253E errno 13: Permission denied
BR0121E Processing of log file /oracle/E04/sapbackup/backE04.log failed
BR0056I End of database backup: bduvehhx.afd 2007-03-16 08.03.05
BR0280I BRBACKUP time stamp: 2007-03-16 08.03.06
BR0054I BRBACKUP terminated with errors
BR0292I Execution of BRBACKUP finished with return code 3
BR0668I Warnings or errors occurred - you can continue to ignore them or go back
to repeat the last action
BR0280I BRTOOLS time stamp: 2007-03-16 08.03.06
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
brbackup as <sid>adm
BR0051I BRBACKUP 7.00 (11)
BR0055I Start of database backup: bduvejbt.afd 2007-03-16 08.22.57
BR0252E Function fopen() failed for '/oracle/E04/sapbackup/backE04.log' at location main-10
BR0253E errno 13: Permission denied
BR0121E Processing of log file /oracle/E04/sapbackup/backE04.log failed
BR0056I End of database backup: bduvejbt.afd 2007-03-16 08.22.57
BR0280I BRBACKUP time stamp: 2007-03-16 08.22.57
BR0054I BRBACKUP terminated with errors
BR0292I Execution of BRBACKUP finished with return code 3
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
BR0280I BRTOOLS time stamp: 2007-03-16 08.22.57
brtools files permissions: /usr/sap/<SID>/SYS/exe/run
***********************************************************************************************-rwsrwxr-x 1 orae04 sapsys 3539712 Mar 14 23:18 brarchive
-rwsrwxr-x 1 orae04 sapsys 3649872 Mar 14 23:18 brbackup
-rwsrwxr-x 1 orae04 sapsys 4767888 Mar 14 23:18 brconnect
-rwxr-xr-x 1 e04adm sapsys 3960440 Mar 14 23:18 brrecover
-rwxr-xr-x 1 e04adm sapsys 1439520 Mar 14 23:18 brrestore
-rwxr-xr-x 1 e04adm sapsys 4911024 Mar 14 23:18 brspace
-rwsrwxr-x 1 orae04 sapsys 2008984 Mar 14 23:18 brtools
Environment Variables:
USER=e04adm
LOGNAME=e04adm
HOME=/home/e04adm
PATH=/oracle/E04/102_64/bin:.:/home/e04adm:/usr/sap/E04/SYS/exe/run:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/
opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/hparray/bin:/opt/perf/bin:/opt/ignite/bin:/opt/hpnpl//bin:/opt/graphics/common/bin:/
opt/gnome/bin:/opt/mozilla:/usr/sbin/diag/contrib:/opt/mx/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/langtools/bin:/opt/imake/bin:/opt/OV/bin/OpC
MAIL=/var/mail/e04adm
SHELL=/usr/bin/csh
TZ=EST5EDT
SSH_CLIENT=10.107.6.89 1166 22
SSH_CONNECTION=10.107.6.89 1166 10.100.19.114 22
DISPLAY=10.100.19.114:10.0
LOG_SFTP=0
SFTP_LOG_FACILITY=2
SFTP_LOG_LEVEL=3
SFTP_UMASK=
SFTP_PERMIT_CHMOD=1
SFTP_PERMIT_CHOWN=1
SAPSYSTEMNAME=E04
DIR_LIBRARY=/usr/sap/E04/SYS/exe/run
SHLIB_PATH=/usr/sap/E04/SYS/exe/run:/oracle/client/10x_64/instantclient
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=E04
dbs_ora_schema=SAPE04
ORACLE_SID=E04
DB_SID=E04
ORACLE_HOME=/oracle/E04/102_64
ORACLE_BASE=/oracle
TNS_ADMIN=/oracle/E04/102_64/network/admin
ADD=/oracle/client/10x_64/instantclient
NLS_LANG=AMERICAN_AMERICA.WE8DEC
SAPDATA_HOME=/oracle/E04
WINDOWID=4194330
TERM=hp
COLUMNS=167
LINES=54
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt
/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/resmon/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man
:/opt/perf/man/%L:/opt/perf/man:/opt/hpnpl//man:/opt/graphics/common/man:/opt/mx/share/man:/opt/samba/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/
opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/gnome/man:/opt/wbem/share/man:/opt/audio/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langt
ools/share/man/%L:/opt/langtools/share/man:/opt/image/share/man:/opt/imake/man:/opt/ssh/share/man -
BRBACKUP fails with 'BR0301W SQL error -980 at location BrbDbLogOpen'
Hello mates,
BRBACKUP on our Portal systems fails with the following error:
EP Version: 600
Platform: HP-Unix (ia64 hp server rx7640)
Oracle: 920_64
BRTOOLS 6.40 (40)
BR0301W SQL error -980 at location BrbDbLogOpen
BR0324W Insertion of database log header failed
Here is the exerpt from the logfile:
==============================================
BR0051I BRBACKUP 6.40 (40)
BR0055I Start of database backup: bdyxzsml.anf 2008-10-01 08.04.51
BR0477I Oracle pfile /oracle/GGF/920_64/dbs/initGGF.ora created from spfile /oracle/GGF/920_64/dbs/spfileGGF.ora
BR0925I Public synonym SAP_SDBAH created successfully for table SAPGGFDB.SDBAH
BR0925I Public synonym SAP_SDBAD created successfully for table SAPGGFDB.SDBAD
BR0925I Public synonym SAP_MLICHECK created successfully for table SAPGGFDB.MLICHECK
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrbDbLogOpen-5
ORA-00980: synonym translation is no longer valid
BR0324W Insertion of database log header failed
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0319I Control file copy created: /oracle/GGF/sapbackup/cntrlGGF.dbf 8052736
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrDbfInfoGet-30
ORA-00980: synonym translation is no longer valid
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrDbfInfoGet-31
ORA-00980: synonym translation is no longer valid
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301E SQL error -980 at location BrComprDurGet-1
ORA-00980: synonym translation is no longer valid
BR0314E Collection of information on database files failed
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrbDbLogOpen-5
ORA-00980: synonym translation is no longer valid
BR0324W Insertion of database log header failed
BR0056I End of database backup: bdyxzsml.anf 2008-10-01 08.04.51
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0054I BRBACKUP terminated with errors
============================================
I am not able to find any relevant solutions in SMP so far.
Please help find a solution.
Thanks & Regards,
ManojHello ,
Am trying to take the online backup using brtools in my portal server but giving below error:
BR0051I BRBACKUP 7.00 (24)
BR0055I Start of database backup: bdzqskqc.and 2009-01-08 17.44.50
BR0484I BRBACKUP log file: /oracle/EPP/sapbackup/bdzqskqc.and
BR0477I Oracle pfile /oracle/EPP/102_64/dbs/initEPP.ora created from spfile /oracle/EPP/102_64/dbs/spfileEPP.ora
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
, ' ', 'bdzqskqc', '# 0 0 0 0 0 0 0 ALL online
disk ---k-c 7.00 (24)')'
ORA-01031: insufficient privileges
BR0324W Insertion of database log header failed
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0319I Control file copy created: /oracle/EPP/sapbackup/cntrlEPP.dbf 7397376
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrDbfInfoGet-32, SQL statement:
'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20071205000000''
ORA-01031: insufficient privileges
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrDbfInfoGet-33, SQL statement:
'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20071205000000''
ORA-01031: insufficient privileges
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301E SQL error -1031 at location BrComprDurGet-1, SQL statement:
'OPEN curs_6 CURSOR FOR'
'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND (FUNCT = 'CMP' OR FUNCT = 'CMP' OR FUNCT = 'DC
OR FUNCT = 'DCM') ORDER BY FUNCT'
ORA-01031: insufficient privileges
BR0314E Collection of information on database files failed
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
, ' ', 'bdzqskqc', '7.00 (24)')'
ORA-01031: insufficient privileges
BR0324W Insertion of database log header failed
BR0056I End of database backup: bdzqskqc.and 2009-01-08 17.44.50
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0054I BRBACKUP terminated with errors
Please suggest/guide
Regards,
AMS Team -
Oracle Clustre, Oracle Cluster with RAC and Oracle 10g
Is there a difference between Oracle Cluster and Oracle Cluster with RAC? Please explain. Do existing database codes run unmodified in Cluster or Cluster with RAC environment? What needs to be modified to make existing SQL codes RAC-aware. How to achieve 'all automatic' in case of failure and resubmission of Queries from failed instance to a running instance?
In 10g environment, do we need to consider licensing of RAC as a separate product? What are additional features one derives in 10g that is not in Cluster +RAC?
Your comments and pointers to comparison study and pictorial clarification will be very helpful.Oracle cluster like failsafe before or Veritas Cluster or other vendor's cluster is meant for HA (high availability) purpose. Which 2 nodes or more can see a shared disk with 1 active node. Whenever this active node failed through heartbeat other machine will know and will take the database over from there.
Oracle RAC is more for HA and load balance. In Oracle RAC 2 or more nodes are accessing the database at the same time so it spread load across all these nodes.
I believe Oracle 10g RAC still need seperate license for it. But you need to call Oracle or check the production document to verify it.
Oracle 10g besides improvement in RAC. It's main improvement is on the build in management of the database itself. It can monitored and selftune itself to much furthur level then before and give DBA much more information to determine the cause of the problem as well. Plus improvement on lots of utility as well like RMAN , data pump etc... I don't want to get into too much detail on this you can check on their 10g new features for more detail view.
Hope this help. :) -
Hibernate OR EclipseLink...Which is best with Weblogic and Oracle DB?
Hi All,
In my company, we are using Oracle DB and Weblogic application server. So in the process to upgrade or switch to new ORM, we shortlisted two options - Hibernate and EclipseLink.
I gathered following summary regarding both ORMs -
Hibernate:
1. When you need to train people, like we are going to do next week – most of the companies have Hibernate experts.
2. When you hire new developers, most of them come with specific Hibernate experience.
3. When you need to consult with experts, both in the internet or consultants, you have LOTS of options. Endless forums and communities all regarding Hibernate.
4. Hibernate is an open source which has a huge community. This means that it will be improved all the time and will push the ORM market forward.
5. Hibernate is an open source which means you have the code to handle, and in case needed, fit it to your needs.
6. There are lots of plugins to Hibernate, such as validations tool, audit tools, etc. These becomes standard as well and dismiss you from impl. things yourself.
7. One most important thing with ORM tool, is to configure it according to your application’s needs. Usually the default setting doesn’t fit to your needs.
For that sake, when the market has a huge experience with the tool’s configuration, and lots of experts (see point 1 and 3) – most of chances you will find similar cases and
lots of knowledge about how to configure the tool and thus – your application.
EclipseLink:
1. Fully supported by Oracle. Hibernate no. In case of pb, it could be cumbersome to prove that it is a pure Weblogic one. Concretely, we will have to prove it (waste of time and complexity).
2. Eclipse link is developed by Oracle and the preferred ORM in the Weblogic /Oracle DB world.
3. Even if at a certain time EclipseLink was a bit late compared to Hibernate (feature), EclipseLink evolved very fast and we can consider now that they close the gap.
4. No additional fee as soon as you have Weblogic license. You will need to pays additional fee if you want some professional support on Hibernate.
5. We are currently relying on Hibernate for our legacy offer and are facing pb in second level cache (JGroups). Today, we are riding off this part!. Consequences are limitation in clustering approach (perf)
6. On EclipseLink side we do succeed to manage first and second level cache in a clustering approach.
7. Indeed Hibernate is open source, so you can imagine handling it. In reality, the code is so complex that it is nearly impossible to modify it. Moreover as it is LGPL, you need to feedback all the modified sources to the community systematically.
8. All tests performed by Oracle concerning Weblogic are using EclipseLink. Moreover, Oracle says that some specific optimizations are done to manage Oracle DB.
9. Hibernate comes from JBoss community.
Right now we are preferring Hibernate but there are concerns/reasons like EclipseLink developed by Oracle and preferred ORM in Webogic/ Oracle DB world (compatibility of ORM with DB and App. server), support comparison with both ORM, which are preventing to finalize the decision.
Please help me with you views and opinions and share you experience with us so that we can make a perfect decision.
If you want you can also reply to me @ [email protected].
Thanks.The way the ORMs are designed, integration with application servers are relatively simple, and all provides the same features. Also since WebLogic have been around for a while, all ORMs are all well tested in this configuration.
Hibernate has lot more users, and is likely very often used with Oracle DB, so you can expect not much bug against Oracle DB, maybe even less bug than EclipseLink, which is not much used. EclipseLink does provide support for some esoteric Oracle DB features like hierarchical and flashback queries.
OpenJPA and DataNucleus are also JPA compliant. It’s likely that Open JPA has a higher user base than EclipseLink, so less unknown bugs.
Oracle paying support is well known to be a bad joke. It’s a negative return to use this channel, even if they would be free. So in reality, you end up to use the open (free) forum to get support.
What’s was lacking with Hibernate before is Dynamic Fetch Planning, but they now have some support, see http://opensource.atlassian.com/projects/hibernate/browse/HHH-3414. OpenJPA was the first to implement this must have.
EclipseLink has query in memory, which can be used, but the API do not help to leverage it, and EclipseLink’s leadership made it clear that they are not going to make it better, instead they want to push Coherence cache.
Hibernate has an open API for second level cache, which mean you can get out of problem by using another implementation, for example, EHCache seems to be professionally tested, so I would be surprise you find obvious bugs.
I cannot comment on Hibernate source code quality, but I can tell you that locking mechanism in EclipseLink is used to be very fragile, and many concepts are dispersed over the code base.
The runtime monitoring of Hibernate have always been great due to the fact that JBoss have always been strong on JMX, EclipseLink has not much usable features on this.
If I would be you, I would consider OpenJPA or Hibernate instead of EclipseLink, the main reason is that because EclipseLink has a so low user base, I have found lot of obvious bugs in production, like if I was the only user of it. Then, when I submitted bugs to the small development team, which do not encourage user base contribution, they were too busy trying to keep up adding the JPA interfaces on top of their existing proprietary APIs. -
Problem setting up APEX 4 with WebLogic and Oracle XE
I'm am trying to install and test Application Express 4 (latest version) on a brand new installation of Oracle WebLogic Server and Oracle XE.
I have followed the Installation Guide for APEX and have successfully installed all tables and scripts into my Oracle XE schema and am able to connect to the Application Express Workspace login page (http://localhost:8080/apex) but am not able to log in. All styles and images are missing.
I have followed the steps in the Application Express Listener Guide to install the Listener to my WebLogic deployments and have my i.war and apex.war files deployed but these apparently are not working. When I go to my WebLogic server and view the /apex/ListenerConfigure page I can see the page but get an HTTP 404 "Page Not Found" error and appears to be looking for the WLS's apex/apex directory.
Note: My Oracle XE / APEX setup is on a separate server than my WebLogic server.
Also, I see the APEX Listener file (apex-confix.xml) from the install zip file but I don't believe it is being used anywhere, as the documentation never told me what to do with it.
Any help would be awesome. Let me know what I can provide that I haven't. Thanks!Thank you, I was able to use what you said as well as this information here: Installing Apex 4 on Oracle XE: Almost there, but no cigar yet!
Thank you for the help :) -
RsultSet getString(String) returning next row with WL8 and Oracle drivers
When using the following function with the SQL: SELECT A, B, C FROM D
WHERE A=E and i call the campoString("A") i received the expected value
for the campoString("B") and so on.
public String CampoString(String s) {
int i = 0;
String sr;
try {
System.out.println("Campo a buscar:"+s);
sr = rsVentasTotales.getString(s);
System.out.println("Valor:"+sr);
catch(SQLException _ex) {
sr = "vacio";
if(sr == null)
sr = "vacio";
if((i = sr.indexOf('\n')) >= 0) {
if(i > 0)
return sr.substring(0, i - 1);
else
return "DATO ALTERADO";
} else {
return sr;
Oracle latest drivers, and Oracle Server 7, WebLogic platform (workshop) 8.1
public int Conectar() {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
catch(ClassNotFoundException _ex) {
return 0;
try {
con = DriverManager.getConnection(url, usuario, password);
comando = con.createStatement();Carlos de Luna Saenz wrote:
Same result putting the jar at the beggining of the classpath...:-(
WLS Production Mode=
.You need a semicolon after "ojdbc13.jar".
Joe
CLASSPATH=C:\bea\weblogic81\samples\workshop\SicPros\SicProsv35\WEB-INF\lib\ojdb
c14.jarC:\bea\WEBLOG~1\server\lib\weblogic_knex_patch.jar;C:\bea\WEBLOG~1\common
\lib\log4j.jar;C:\bea\WEBLOG~1\server\lib\debugging.jar;C:\bea\WEBLOG~1\server\l
ib\knex.jar;C:\bea\WEBLOG~1\javelin\lib\javelin.jar;C:\bea\WEBLOG~1\server\lib\w
lw-lang.jar;;C:\bea\JDK141~1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_s
p.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\ojdbc14
.jar;C:\bea\WEBLOG~1\server\lib\ant\ant.jar;C:\bea\JDK141~1\jre\lib\rt.jar;C:\be
a\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBLOG~1\common\eval\
pointbase\lib\pbclient44.jar;;C:\bea\WEBLOG~1\server\lib\webserviceclient.jar;C:
\bea\WEBLOG~1\server\lib\webserviceclient+ssl.jar;C:\bea\WEBLOG~1\server\lib\xbe
an.jar;C:\bea\WEBLOG~1\server\lib\xmarshal.jar;C:\bea\WEBLOG~1\server\lib\xqrl.j
ar;C:\bea\WEBLOG~1\server\lib\netui\netui-compiler.jar;C:\bea\WEBLOG~1\server\li
b\wli.jar;C:\bea\WEBLOG~1\server\lib\wlxtrt.jar;C:\bea\WEBLOG~1\server\lib\fop.j
ar;C:\bea\WEBLOG~1\integration\lib\wlai-server.jar;C:\bea\WEBLOG~1\integration\a
dapters\sample\lib\sample-eis.jar;
Greetings.
Joe Weinstein wrote:
Ok.
Once you get this working, I will have some suggestions that
will make this run much faster. For now, I think the issue
is the driver version. We package an old oracle thin driver
inside our weblogic.jar, so you need to get oracle's latest
appropriate driver, and edit the start-weblogic script so
the driver you want comes before the weblogic.jar in the
-classpath argument for the java line that starts the server.
PS:
I am looking at the code, thank you, but you still haven't
explicitly said what problem you're having!
thanks
Joe
Carlos de Luna Saenz wrote:
The problematic class is, there is no weblogic code on it, the
project i am on is to migrate a iPlanet app to a web logic server:
If you need the JSP using this class please let me know. The
application uses not standards, taglibs or anything besides .java
files and .jsp files.
package externos;
import java.io.PrintWriter;
import java.sql.*;
import java.util.Date;
public class sicprosR{
public String strSQL;
public String er;
Connection con;
private ResultSet rsVentasTotales;
String url;
CallableStatement ps;
Statement comando;
protected String usuario;
protected String password;
public boolean estado;
public sicprosR() {
ps = null;
url="jdbc:oracle:thin:@17.3.5.101:1521:dbx1";
usuario="xxxxx";
password="xxxx";
estado = false;
public Date CampoDate(String s) {
Object obj = new Date();
try {
obj = rsVentasTotales.getDate(s);
catch(SQLException _ex) { }
return (Date)obj;
public double CampoDouble(String s) {
double d;
try {
d = rsVentasTotales.getDouble(s);
catch(SQLException _ex) {
d = 0.0D;
return d;
public int CampoInt(String s) {
int i;
try {
i = rsVentasTotales.getInt(s);
catch(SQLException _ex) {
i = 0;
return i;
public String CampoString(String s) {
int i = 0;
String sr;
try {
System.out.println("Campo a buscar:"+s);
sr = rsVentasTotales.getString(s);
System.out.println("Valor:"+sr);
catch(SQLException _ex) {
sr = "vacio";
if(sr == null)
sr = "vacio";
if((i = sr.indexOf('\n')) >= 0) {
if(i > 0)
return sr.substring(0, i - 1);
else
return "DATO ALTERADO";
} else {
return sr;
public boolean Commit() {
try {
con.commit();
catch(SQLException sqlexception) {
er = sqlexception.getMessage();
return false;
return true;
public int Conectar() {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
catch(ClassNotFoundException _ex) {
return 0;
try {
con = DriverManager.getConnection(url, usuario, password);
comando = con.createStatement();
catch(SQLException sqlexception) {
er = sqlexception.getMessage();
return -1;
try {
rsVentasTotales = comando.executeQuery(strSQL);
catch(SQLException _ex) {
return -2;
estado = true;
return 1;
public int Conectar(int i) {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
catch(ClassNotFoundException _ex) {
return 0;
try {
con = DriverManager.getConnection(url,
Estructura.usuario, Estructura.clave);
comando = con.createStatement();
catch(SQLException sqlexception) {
er = sqlexception.getMessage();
return -1;
try {
rsVentasTotales = comando.executeQuery(strSQL);
catch(SQLException _ex) {
return -2;
estado = true;
return 1;
public boolean Ejecuta(int i) {
if(i == 1)
try {
rsVentasTotales = comando.executeQuery(strSQL);
catch(SQLException _ex) {
return false;
else
try {
comando.executeUpdate(strSQL);
catch(SQLException sqlexception) {
er = sqlexception.getMessage();
return false;
return true;
public int Sig() {
try {
if(rsVentasTotales.next()) {
estado = true;
return 1;
} else {
estado = false;
return 0;
catch(Exception _ex) {
estado = false;
return -1;
public boolean Siguiente() {
try {
if(rsVentasTotales.next()) {
estado = true;
return true;
} else {
estado = false;
return false;
catch(Exception _ex) {
estado = false;
return false;
public String convierteCantidadLetras(double d, String s) {
String s1 = Double.toString(d);
s1 = truncaADosDecimales(s1);
try {
ps = con.prepareCall("{ call
get_Palabra_De_Valor_Numerico(?,?,?) }");
ps.setString(1, s1);
ps.setString(2, s);
ps.registerOutParameter(3, 12);
ps.execute();
return ps.getString(3);
catch(SQLException _ex) {
return "No se pudo realizar la conversion";
public String convierteCantidadLetras(double d, String s,
PrintWriter printwriter) {
String s1 = Double.toString(d);
s1 = truncaADosDecimales(s1);
try {
ps = con.prepareCall("{ call
get_Palabra_De_Valor_Numerico(?,?,?) }");
ps.setString(1, s1);
ps.setString(2, s);
ps.registerOutParameter(3, 12);
ps.execute();
return ps.getString(3);
catch(SQLException _ex) {
return "No se pudo realizar la conversion";
public boolean inicio() {
try {
rsVentasTotales.first();
return true;
catch(SQLException _ex) {
return false;
public String truncaADosDecimales(String s) {
int i = 0;
String s1 = "";
i = s.indexOf(".");
if(s.length() <= i + 3) {
s1 = s.substring(i + 1, s.length());
} else {
s1 = s.substring(i + 1, i + 3);
s1 = s1.substring(0, 2);
if(s.substring(i + 1, i + 2).equals("0"))
s1 = "0" + s1;
s1 = s.substring(0, i) + "." + s1;
return s1;
Joe Weinstein wrote:
Hi! I need two more things from you, please:
1 - A full statement of what problem you're having.
2 - More of the code. All I see here is you are getting
a connection directly from Oracle's driver, and code which
does a ResultSet.getString() call.
I need to see the logic from getting the connection, to creating
the statement, to executing the query, to doing ResultSet.next()
for each row and getting the row data for each.
It seems that this is either an application code or jdbc driver
problem because no weblogic code is being used, so it could probably
be duplicated in a small stand-alone program (without any weblogic
stuff).
Joe
Carlos de Luna Saenz wrote:
When using the following function with the SQL: SELECT A, B, C FROM
D WHERE A=E and i call the campoString("A") i received the expected
value for the campoString("B") and so on.
public String CampoString(String s) {
int i = 0;
String sr;
try {
System.out.println("Campo a buscar:"+s);
sr = rsVentasTotales.getString(s);
System.out.println("Valor:"+sr);
catch(SQLException _ex) {
sr = "vacio";
if(sr == null)
sr = "vacio";
if((i = sr.indexOf('\n')) >= 0) {
if(i > 0)
return sr.substring(0, i - 1);
else
return "DATO ALTERADO";
} else {
return sr;
Oracle latest drivers, and Oracle Server 7, WebLogic platform
(workshop) 8.1
public int Conectar() {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
catch(ClassNotFoundException _ex) {
return 0;
try {
con = DriverManager.getConnection(url, usuario, password);
comando = con.createStatement();
Maybe you are looking for
-
I entered my credit card information to upgrade iCloud storage and my credit account now has seven pending charges, Why?
-
Windows 8.1 Will not Allow me to Install the Drivers for Officejet 4500 Series
Hi....I just purchased my new Laptop running Windows OS 8.1. I tried to install the Software for my HP Officejet J4500 Series and the install process Stops with this MESSAGE: "HP Officejet 4500 Series. The Operating System on this Computer is not S
-
Sender File Adapter FCC to Hierarchial MT Coversion
Hi, I have MT with structure as follows Header 1..1 F1 string 1..1 F2 string 1..1 SUB 1 to unbounded S11 string 1..1 S12 string 1..1 Can you anybody help me out
-
HT2506 When I open the application preview why do all my previous documents pop up?
Hi I have a macbook air mountain lion computer and whenever I double click a picture it opens preview, however all the previous documents I've loaded before pop up too. Why is this happening? I only want that one picture to pop up on my screen. Is th
-
HT1476 it just shows an apple sign and wont turn on?
I just recieved my new iphone5 and began to set it up, then once i finished set up it froze then turned off. Therefore I have put my phone on charge, but it just keeps flashing the apple logo and not turning on when I press the on/off buton its been