Quantcast
Channel: Oracle Bloggers
Viewing all 19780 articles
Browse latest View live

ER Implemented - New Supplier Update API's Supported in R12 Oracle Payables!

$
0
0

Well we have great news for you! 

In 11i there were API's (Update_Vendor, Update_Vendor_Site and Update_Vendor_Contact) but they were not supported in R12 due to integration with Multiple product teams. The reason being was that the entities Supplier, Sites and Contacts had representations in multiple products like TCA, IBY, ZX etc and all these representations needed to be in sync.

However, most of our customers have huge volumes of supplier data which they need to be able to control programmatically so the fact that they no longer had access to these API's was frustrating.

It was requested through Enhancement Request Bug 17575099: ENHANCEMENT FOR SUPPORT OF SUPPLIER UPDATE APIS that Oracle Payables provides API's for updating Supplier / Supplier Sites / Supplier Contacts in AP_VENDOR_PUB_PKG in R12.

Well, this functionality is now available and the following new APIs had been created: 

                      - Update_Vendor_Public
                      - Update_Vendor_Site_Public
                      - Update_Vendor_Contact_Public

*** Note: These are the only procedures supported to update suppliers, sites or contacts.

We are sure that this ER being implemented will be welcome news for many.  Enjoy! 


To download the document with additional information about these new procedures please review Doc ID 1618099.1 - New Supplier Update API's in Oracle Payables


Further Information:

R12: What are New Supplier Related Tables/Packages/Programs. APIs Supportability (Doc ID 812918.1


Picture Get Proactive


New Puppet 3 Weblogic provisioning module by Edwin Biemond

$
0
0

The last few weeks I was busy re-writing of my puppet WLS module so it fully supports the power of Puppet 3 (thanks for more than 4000 downloads on puppet forge and all the github downloads).
With Puppet 3 we now can use Hiera, Iterations and Lambdas expression. This does not sound like a big change but with Hiera and the new Puppet Language features, I can define big WebLogic Domains without losing maintainability ( Got one customer with 5 Clusters, 25 Managed + JMS servers, more than 100 queues & topics).
With Puppet version 2 and my WLS module you need to have a lot of files (site specific classes) with at least more than 2000 a 5000 lines, here is an example of this. In this ORAWLS module I use the default/minimal approach ( declare once in Hiera) so you won't need to declare the same parameters over and over again. Off course you can still define everything like you did in the WLS module.
When you want to know more about Hiera you can take a look at this documentation page. For the new Puppet 3 language features look at this slideshare presentation.
In this post I will show you the new features and how it works with Hiera. Here you can download or take a look at the new orawls github code, or download it from puppetlabs forge. I Also made a vagrant reference implementation ( which you can use to test it yourself ), this reference will create a 3 node WebLogic 10.3.6.0.6 Domain with 2 Clusters together with some JMS modules and Queues.
The first big change is that the puppet install classes does not contain any site specific code, I have now only 2 classes which I can use everywhere

  • One for the WebLogic Admin server which contain all the possible WebLogic options
  • One for WebLogic nodes which only installs the software, copy domain and configure the nodemanager )

Let's begin with installing the WebLogic software. For this I only need to add this to a class. Read the complete article here.


WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

BlogTwitterLinkedInMixForumWiki

Java SE 8 and Java EE 7

$
0
0

"Revolutions just spread blood. Evolution - this is something that changes in the long term." (Marjane Satrapi

Java SE 8 is scheduled for release next month, i.e. March 2014. From a Java EE point of view, the Java EE 7 specification requires at least Java SE 7. So clearly, nothing prevents you from using Java SE 8 with Java EE 7. A lot of us are in fact using early builds of Java SE 8 with GlassFish on a daily basis without any problem!

Project Avatar, which currently runs on top of GlassFish 4 (and Java SE 8), leverages one of the new Java 8 feature : Project Nashorn, a new lightweight high-performance JavaScript engine. 

The introduction of Lambdas Expressions is another key feature of Java 8. Lambdas basically add Closures support to the Java language, they allows to pass functionality as an argument to another method. Lambdas are seen as one of the most fundamental evolution in the Java platform since Generics (if not more important than Generics!). Lambdas leads to a different way of thinking, a different (and cleaner) way of writing code.

Java EE developers shouldn't wait and need to learn how to use Lambdas Expressions today as they are not incompatible with Java EE 7. Here is, for example, a post from Gerard Davison of the JDeveloper Team that shows Lambdas used with the WebSocket API.

If you are using Lambdas or any other Java SE 8 feature(s) today in Java EE, please let us know!

Filtering JAX-RS Entities with Standard Security Annotations

$
0
0
Few times I've ran into a situation in which I wanted to return only a part of entity I was working with, in my service, to the client-side. Feature that would allow me to send this partial set of fields should not only be driven by my own filtering rules but it also should take into consideration application roles the current user is in. It's not an uncommon use-case I'd say so in Jersey we'd come up with the Entity Filtering concept that would allow you to do such a thing: sending subgraph of entities from server to client (and vice versa), define your own filtering rules and make sure users get only the fields they are supposed to see.

More in my original post on blog.dejavu.sk 

Master Note for Database Startup/Shutdown (Doc ID 1270450.1)

$
0
0
Purpose
Scope
Details
 Concepts
 Common Issues During Database Startup
 Startup Slow / Hang
 ORA-27102 Errors
 ORA-27300 Errors
 ORA-64 Errors
 ORA-27123 Errors
 
 ORA-1081 Errors
 NFS Related Issues
 
 ORA-600 /ORA-7445 Errors 
 
 Transaction Recovery Slowness
 ORA-704 Errors
 ORA-9968 Errors
 ORA-12547 Errors
 ORA-27125 Errors
 ORA-1157 Errors 
 Other Issues
 Common Errors / Issues During Database Shutdown
 Shutdown Slow / Hang
 ORA-1031 Errors
 Transaction Recovery
 ORA-600 / ORA-7445 Errors
 ORA-24324 Errors
 DISM
 Memory Related Errors
 Other Issues
 Issues specific to automatic shutdown and startup
 Automatic Startup Failure
 Automatic Shutdown Failure
 Further Diagnostics
References

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
Information in this document applies to any platform.

Purpose

 This article is intended to provide details on Database Startup and Shutdown along with the various issues that can be encountered during this activity. Most of the known issues in this topic is consolidated here.

Scope

 This document is intended to assist Database Administrators to understand the concept and resolve issues encountered during shutdown and startup.

Details

Concepts

During Startup, the instance is started first (nomount stage) which then mounts the database by accessing the control files specified in the CONTROL_FILES parameter. The next step will be to open the database which includes opening the datafiles and redo log files. Applying the redo (rollforward) and the rollback of uncommitted data (rollback) also happens if the previous shutdown was not a clean one (shutdown normal or immediate).

Similarly the database and instance undergoes multiple phases during shutdown. First the database is closed ie, the datafiles and the redolog files are closed. Then the database will be dismounted  to disassociate it from the instance. After a database is unmounted, Oracle Database closes the control files of the database. The next step will be to shutdown the instance by removing the SGA from the memory and terminating the background processes.

There are various shutdown modes such are normal, immediate,transactional and abort. When a database is closed as part of a SHUTDOWN with any option other than ABORT, Oracle Database writes data in the SGA to the data files and online redo log files. If a SHUTDOWN ABORT or abnormal termination occurs, then the instance of an open database closes and shuts down the database instantaneously. Oracle Database does not write data in the buffers of the SGA to the data files and redo log files. The subsequent reopening of the database requires instance recovery, which Oracle Database performs automatically.

Database startup and shutdown are powerful administrative options that are restricted to users with administrator privileges.

For details you can refer Note 1505155.1 - Master Note: Overview of Database Startup and Shutdown

Common Issues During Database Startup

This Section list out the common issues encountered during startup. The error can be reported in any of the above mentioned phases like nomount,mount or open. Since transaction recovery continues even after opening the database, you may observe issues like hang, high CPU usage etc, even after the database is open. The documents mentioned in the below section can be specific to platform or database versions.

Startup upgrade/migrate or setting _system_trig_enabled = FALSE will disable startup triggers to rule out startup trigger problems.

 

Startup Slow / Hang

Startup can hang in any of the stages like nomount,mount or open stage. Following are some of the known issues reported so far:

 

Note 1367724.1 Startup Hangs at Mount Stage after AIO is Enabled on Linux
Note 429390.1 Database Startup Takes Longer time After Upgrade To 10.x
Note 552019.1 New Install and Creation of a 10gR2 database Hangs at Startup Nomount
Note 344933.1 DB Startup Can Hang if USE_INDIRECT_DATA_BUFFERS=TRUE and AWE_WINDOW_MEMORY Is Set Too High
Note 838451.1 Startup Hangs When "Processes" Parameter is Higher Than 10800
Note 1076092.1 Instance Startup Hangs After Creating New Undo Tablespace and Switching Between Old and New
Note 1476526.1 Database STARTUP NOMOUNT very slow after migrate to T4-4 Servers SPARC 64-Bit
Note 1475621.1 Oracle Database Startup And SGA Value Change Takes A Very Long Time To Complete

 

ORA-27102 Errors

ORA-27102 errors normally occurs due to memory issues.The Common causes could due to Semaphore Kernel misconfigurations,Memory related Ulimit settings,RAM and swap configurations.

 

Note 274092.1 LOCK_SGA on Windows fails with ORA-27102
Note 219752.1 ORA-27102 OSD-00034 Starting Database on Windows 2000
Note 390547.1 ORA-27102 Cannot Startup Instance via sqlplus
Note 1060677.6 ORA-27100 ORA-27102 Trying to Start 8.0.4 Database
Note 399895.1 Database Startup On Solaris 10 Fails With Ora-27102 Out Of Memory Error
Note 467707.1 ORA-27102: Out Of Memory on Oracle 10g Solaris 10 (x86-64)
Note 7272646.8 Bug 7272646 - Linux-x86_64: ORA-27103 on startup when MEMORY_TARGET > 3g
Note 790205.1 UNABLE TO START INSTANCE WITH LARGE SGA ORA-27102 SVR4 ERROR: 22: INVALID ARGUMENT
Note 263537.1 ORA-27102 out of memory When Trying To Start Database With SGA> 4G
Note 842881.1 ORA-27102, OSD-00031 Unable To Extend Memory_max_target And Memory_target Past 2GB
Note 1449714.1 Startup Fails With ORA-27102 After Upgrade From 10.2.0.3 To 10.2.0.4
Note 461519.1 ORA-27102 Database Will Not Start With SHMMAX Set To 8589934592 (8GB)
Note 351930.1 Receiving ORA-27102 For 32-Bit Oracle While Allocating Sga_max_size Greater Than 4gb
Note 1351705.1 Startup Fails with ORA-27102 and 'SVR4 Error 28: No space left on device'
Note 1292225.1 ORA-27102 OSD-00025 O/S-Error: (OS 1453) When Lock_sga is Set to True
Note 401077.1 Ora-27102: Out Of Memory: Linux Error: 12: Cannot Allocate Memory with LOCK_SGA=TRUE
Note 577898.1 ORA-27102 Received At Startup When LOCK_SGA Is Set Although Enough Memory Is Available
Note 301830.1 Upon startup of Linux database get ORA-27102: out of memory Linux-X86_64 Error: 28: No space left on device
Note 859898.1 The ORA-27102 error is generated on Solaris 10 having apparently correct settings of kernel parameters
Note 779861.1 ORA-27102: Out Of Memory And SVR4 Error: 22: Invalid argument During Startup On Solaris10 Server With Multiple DB Instances

 

ORA-27300 Errors

These errors are generally reported when the Operating System called for error or when there was a connection killed or a network interconnection failures or an OS configuration issue.The error ORA-27300 will also be accompanied by ora-27301 and ora-27302

 

Note 560309.1 Database Cannot Start Due to Lack of Memory
Note 579365.1 Troubleshooting ORA-27300 ORA-27301 ORA-27302 errors
Note 314179.1 Instance Startup Fails With Error ORA-27154,ORA-27300,ORA-27301,ORA-27302
Note 812115.1 Startup Fails With ORA-27300: Os System Dependent Operation:Fork Failed With Status:17
Note 814896.1 Startup Fails With ORA-27300: OS system dependent operation:IPC init failed with status: 65
Note 949468.1 Database Startup Fails with ORA-27300: OS system dependent operation:semget failed with status: 28

 

ORA-64 Errors

This error could occur when the database init.ora parameter calling for more resources than the Operating System is configured to provide.The parameters could be PROCESSES,DB_BLOCK_SIZE,SGA and more.

Note 470742.1 ORA-00064 Starting Database With Dispatchers
Note 556258.1 ORA-64 if Db_keep_cache_size is Set to 70 Gigs
Note 283980.1 ORA-00064: object is too large to allocate on this O/S
Note 1232463.1 ORA-00064: Object Is Too Large To Allocate On This O/S
Note 4466378.8 Bug 4466378 - ORA-64 does not report the caller description
Note 179301.1 Instance Startup Fails With ORA-00064 After Increasing Processes
Note 1457812.1 ORA-00064 Error Reported After Increasing Processes Parameter value
Note 18255.1 OERR: ORA 64 object is too large to allocate on this O/S <num, num>
Note 310838.1 Instance Startup failed with ORA-00064 when processes parameter set to High Value
Note 886312.1 Database startup can fail with ORA-00064 Errors with huge sga_target of over 40Gig
Note 1328620.1 ASM Instance Is Not Coming Up ORA-00064 (1,4468736,Kfchl Array) Kfchl Array
Note 815954.1 ORA-64 when starting ASM instance after changing db_cache_size and shared_pool_size
Note 7659217.8 Bug 7659217 - ORA-64 attempting to startup with a large SGA / buffer cache size
Note 386855.1'startup migrate' failed with ORA-64 while upgrading to 10.2.0.2 with DBUA

 

ORA-27123 Errors

Note 167250.1 ORA-27123 When Connecting As Non Oracle User
Note 207743.1 Getting ORA-27123 when trying to startup Oracle
Note 115753.1 UNIX: Resolving the ORA-27123 error
Note 307323.1 Ora-27123 When Creating New Database
Note 167250.1 ORA-27123 When Connecting As Non Oracle User
Note 207743.1 Getting ORA-27123 when trying to startup Oracle
Note 61912.1 OERR: ORA-27123 unable to attach to shared memory segment
Note 250966.1 ORA-27123 During Startup, Immediately after a Shutdown
Note 872532.1 ORA-27123 on RHEL5 (PAE) 32bit when SGA larger than 2Gb
Note 552633.1 Starting the Database with SGA_TARGET set Fails with ORA-27123
Note 437582.1 Export Fails With EXP-00056 ORA-01034 ORA-27123 EXP-00005
Note 733974.1 ORA-27123 During Startup Nomount in 11G on AIX, Failure in SHMAT()
Note 369262.1 Startup with Maximum SGA Fails With Ora-27123 Unable To Attach Sga
Note 735187.1 Cannot Create Database With DBCA - Startup Nomount Gives ORA-27123
Note 1268668.1 Oracle Database 10g R2 Version 10.2.0.3 - Receiving Ora-27123 Errors
Note 390766.1 ora-27123 on Solaris 10 with larger than 1.6 - 1.7Gb SGA
Note 384262.1 ORA-01034, ORA-27123, HP-UX Error 22 Connecting Via Oracle Net
Note 149070.1 VMS: Connections fail with ORA-1034 and ORA-27123 errors
Note 453930.1 Connecting to the database fails with ORA-12547, Ora-600 [Ksmlsge1], ORA-27123, Error 13
Note 207797.1 ORA-1034 ORA-27123 SVR4 Error: 13: Permission denied when other then Oracle user
Note 356957.1 OpenVMS: Client Connections Report ORA-1034, ORA-27123, %SYSTEM-W-REGISFULL
Note 1401726.1 ORA-27123 When Starting Instance With No Setting Of SGA_TARGET Or SGA_MAX_SIZE
Note 730107.1 Getting ORA-27123 & not able to run Oracle when logging to server by a user other than that installed Oracle although it belongs to the same group

ORA-1081 Errors

This error could occur when we try to startup an instance that is already running or if the shared segments/semaphores already exist.

Note 1010214.6 ORA-1081: Starting Instance
Note 18657.1 OERR: ORA 1081 cannot start already-running Oracle - shut it down first

NFS Related Issues

Note 8418190.8 Bug 8418190 - Direct NFS warnings during database startup
Note 236794.1 NFS Locking Problems Encountered During Database Startup
Note 971406.1 DATABASE STARTUP HANGS AT MOUNTING CONTROLFILE WHEN DNFS IS ENABLED
Note 1430654.1 Database Startup Failed with "Direct NFS: please check that oradism is setuid"
Note 430920.1 NetApp: Using 'nolock' NFS Mount Option with non-RAC Systems Results in Database Corruption

ORA-600 /ORA-7445 Errors 

Note 435436.1 ORA-00600: [kccpb_sanity_check_2] During Instance Startup
Note 101589.1 Startup database returns ORA-00600 [ktpridestroy2]
Note 405602.1 ORA-600 [16305] While Starting Up the Database
Note 466596.1 Core Dumps In skgfqio() - Database Startup Hangs/Spins
Note 336447.1 Startup Database Produces ORA-00600: [Keltnfy-Ldminit]
Note 847786.1 Can Not Open Database After Shutdown get ORA-7445 [kewa_dump_time_diff]
Note 779071.1 Unable to Start Instance Due to ORA-600 [skgmhash] after a clean shutdown
Note 549000.1 ORA-600 [6006] ORA-600 [6856] During Startup Instance, Followed by Termination by SMON
Note 453775.1 Database Startup Fails With ORA-7445 [INVALID PERMISSIONS FOR MAPPED OBJECT] After Creation of User LBACSYS

Transaction Recovery Slowness

There could be slowness in the database during the open phase when the database is busy performing transaction recovery.

Note 1494886.1 Database Transaction Recovery
Note 414242.1 Database Hangs Because SMON Is Taking 100% CPU Doing Transaction Recovery
Note 12934890.8 Bug 12934890 - Startup hangs waiting for row cache lock due to open transaction against UNDO$

ORA-704 Errors

This is a general error reported at startup when there is some problem during processing of bootstrap information.There should be an accompanying error/s.

Note 18494.1 OERR: ORA 704 "bootstrap process failure"
Note 560417.1 Recovery Through Upgrade returns ORA-1092 on Open
Note 1349722.1 Ora-00704,Ora-39700: Database Must Be Opened With Upgrade Option
Note 435337.1 Unable To Open Database Before/After Upgrade - ORA-00704 ORA-39700 ORA-01092
Note 1383179.1 Unavailable Bootstrap Object ACCESS$ Causes ORA-704 ORA-604 ORA-942 When Opening Database
Note 1345417.1 After failed upgrade, startup from a restored backup fails on ORA-00704 and ORA-39700

ORA-9968 Errors

There are some client shadow processes hanging. Although the lk< SID> file is deleted the hanging processes still have a lock on the open file handle. This prevents the database to startup although a new lk<SID> file can be created successfully. An oracle process (background or shadow process) that exists while the instance is not started (crashed or not cleanly stopped) can have a lock on a file while this file is actually removed from the system. This is because on UNIX there is still a lock on the open file handle.

Note 467251.1 ORA-09968, ORA-01102 When Starting a Database
Note 160395.1 Database Startup Fails with ORA-1102 and ORA-9968
Note 1488147.1 Instance Startup Raises Error ORA-09968: unable to lock file (Doc ID 1488147.1)

ORA-12547 Errors

The error ORA-12547 indicates that the communication channel has been broken. It's most often thrown because the other end of the process went away unexpectedly.

Note 1307075.1 Oracle Database Fails to Start with Error ORA-12547
Note 381566.1 connect / as sysdba Fails with Ora-12547 And Tns-12514
Note 744512.1 Ora-12547: Tns:Lost Contact Creating Database After Clean Installation

ORA-27125 Errors

Note 1067569.6 HP-UX: ORA-27125: NOT OWNER TRYING TO LOCK THE SGA IN MEMORY
Note 199068.1 OpenVMS: Instance startup fails with ORA-27125 and %SYSTEM-F-VA_IN_USE
Note 121983.1 Starting Database Fails on Solaris with ORA-27126 or ORA-27125 Using LOCK_SGA
Note 577428.1 OpenVMS: Following an Oracle RELINK, Database Instance Startup fails with ORA-27125 or ORA-7217

ORA-1157 Errors 

The background process was not able to find one of the datafiles.The database will prohibit access to this file but other files will be unaffected.However, the first instance to open the database will need to access all online datafiles.Accompanying messages from the operating system will describe why the file was not found.

Note 184327.1 ORA-1157 Troubleshooting
Note 1035992.1 Oracle Troubleshooting
Note 212053.1 ORA-1157/ORA-1110 Trying To Open The Database
Note 145194.1 ORA-1157 ORA-1110 ORA-27086 Starting up Database
Note 444151.1 ORA-01157 on Database Startup After Dropping an Alias
Note 301635.1 ORA-01157, ORA-01110, ORA-27046 Starting A Restored Database
Note 429912.1 ORA-01157 ORA-01110 ORA-27086 after crash prevents database from opening
Note 256835.1 Database Startup Fails With ORA-1110, ORA-1157, ORA-27092 Trying Startup From 'at' or 'cron' on HP-UX

Other Issues

Note 1113864.1 MBIND: Cannot Allocate Memory On Startup
Note 578536.1 MBIND: CANNOT ALLOCATE MEMORY ON STARTUP
Note 6795133.8 Bug 6795133 - Startup delayed by QMNC queries
Note 301072.1 Dbstart Fails With Ora-01031 When Called From User Root
Note 1286665.1 ORA-00371: Not Enough Shared Pool Memory signalled on Startup
Note 779356.1 Database not starting up with errors ORA-01092 ORA-24324 ORA-01041
Note 1176443.1 ORA-4031 During Startup Nomount using RMAN without parameter file (PFILE)
Note 839789.1 ORA-12853 / ORA-4031 or ORA-4030 on Instance Startup With increased SGA size

Common Errors / Issues During Database Shutdown

The most common issue observed while bringing down the database is shutdown immediate hang. The main reasons for Shutdown immediate hang is:
- processes still continue to be connected to the database and do not terminate.
- SMON is cleaning temp segments or performing delayed block cleanouts.
- Uncommitted transactions are being rolled back.

The below section provides the consolidated list of known issues during shutdown. The documents mentioned in the below section can be specific to platform or database versions.

Shutdown Slow / Hang

Note 1197314.1 Shutdown Normal Hung On ORA_J00# Process
Note 309230.1 Database Doesn't Shutdown Immediate During Server Boot
Note 1039389.6 Alert Log: Shutdown Waiting for Active Calls to Complete
Note 305666.1 Shutdown is Cancelled With ORA-1013 After Waiting for an Hour
Note 1194229.1 Database shutdown immediate Hangs: Startup can also hang
Note 1183213.1 Shutdown Normal or Immediate Hang Waiting for MMON process
Note 428688.1 Bug 5057695: Shutdown Immediate Very Slow To Close Database
Note 416658.1 Shutdown Immediate Hangs / Active Processes Prevent Shutdown
Note 437876.1 Database Does Not Shutdown Cleanly When Oracle Service Is Restarted
Note 304414.1 Shutdown hangs in 9i with: SHUTDOWN: waiting for logins to complete
Note 332177.1 Database Shutdown Immediate Takes Forever, Can Only Do Shutdown Abort
Note 13440516.8 Bug 13440516 - Index skip scan cannot be interrupted - can block shutdown
Note 12879056.8 Bug 12879056 - Index skip scan cannot be interrupted - can block shutdown

ORA-1031 Errors

Note 309059.1 Oradim Command Fails to Shutdown Database(s) with ORA-01031 under 9.2.0.6
Note 846679.1 Ora-1031 Error Stopping Database Or Permission Denied Error Running Lsnrctl

Transaction Recovery

Note 375935.1 What To Do and Not To Do When 'shutdown immediate' Hangs
Note 1076161.6 Shutdown Normal or Shutdown Immediate Hangs. SMON disabling TX Recovery
Note 414242.1 Database Hangs Because SMON Is Taking 100% CPU Doing Transaction Recovery
Note 100054.1 Transaction Rollback after a failed operation or during Database Shutdown

ORA-600 / ORA-7445 Errors

Note 604067.1 Ora-600[3708] On Database Shutdown
Note 455181.1 ORA-00600[17302] During Shutdown Immediate
Note 470362.1 ORA-07445 With kpogup At Database Shutdown
Note 1135453.1 Database Hung On Shutdown After ORA-600 [KGHFRE3] Error
Note 359563.1 ORA-00600: Internal Error Code, Arguments: [17302], [2] During Shutdown
Note 435926.1 Shutdown Database Erroring ORA-600 [Librarycachenotemptyonclose], []
Note 8519322.8 Bug 8519322 - ORA-600 [17148] / ORA-600 [730] on database shutdown
Note 1326908.1 Ora-00600: [3708], ORA-600 [2103] When Database shutdown on IBM:Linux on System Z

ORA-24324 Errors

Note 794293.1 ORA-24324 During Shutdown
Note 1168554.1 Ora-24324 And Ora-1041 Errors Trying To Startup Or Shutdown The Database

DISM

Note 1001248.1 On Solaris 9 Systems, Oracle Shutdown May Hang If Utilizing Dynamic Initmate Shared Memory (DISM) 

 

Memory Related Errors

Note 1319253.1 "ERROR: SGA memory leak detected" message in alert.log on database shutdown

 

Other Issues

Note 1017085.102 ORA-01122, ORA-01210, ORA-01110: On Database Shutdown
Note 429603.1 ORA-29702 During Automatic Shutdown of Database using ASM
Note 1022414.6 ORA-01033 DATABASE INITIALIZATION OR SHUTDOWN IN PROGRESS
Note 784754.1 11g - Receiving Ora-27167 Error On Database Startup or Shutdown
Note 419651.1 Event 10621 and Event 10626/10629 Causes Shutdown Immediate to Hang
Note 118228.1 ALERT: Hang During Startup/Shutdown on Unix When System Uptime > 248 Days
Note 343031.1 How to deal with an ORA-01033 'Oracle startup or shutdown in progress' error
Note 18302.1 OERR: ORA 106 cannot startup/shutdown database when connected to a dispatcher
Note 763932.1 Shutdown Error In EM: Execution Failed Due To Binary Missing Or Permission Issues
Note 10194190.8 Bug 10194190 - Solaris: Process spin / ASM and DB crash if RAC instance up for > 248 days
Note 1001248.1 On Solaris 9 Systems, Oracle Shutdown May Hang If Utilizing Dynamic Initmate Shared Memory (DISM)
Note 760968.1 Database Startup, Shutdown Or New Connections Hang With Truss Showing OS Failing Semtimedop Call With Err#11 EAGAIN

 

 

Issues specific to automatic shutdown and startup

This is specific to the automatic shutdown and startup that can be configured with the dbora / dbshut / dbstart scripts.

Automatic Startup Failure

The key to diagnosing automatic startup failures is to determine where startup fails. This can be done via the following steps:

  1. Determine if instance starts manually as Oracle software owner.
  2. Determine if instance starts via dbstart command run as Oracle software owner.
  3. Determine if instance starts when root runs following dbstart command:
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart

    where $ORA_OWNER is set to Oracle software owner.
  4. Determine if instance starts when running as root the OS script which calls dbstart, ie "/etc/init.d/dbora start". NOTE: Running via sh -x command will show each command as it is run from script to better see what is going on.
  1. #> sh -x /etc/init.d/dbora start

Automatic Shutdown Failure

As with automatic startup, the key to diagnosing automatic shutdown failures is to determine where shutdown fails. This can be done via following steps:

  1. Determine if instance stops manually as Oracle software owner.
  2. Determine if instance stops via dbshut command run as Oracle software owner.
  3. Determine if instance stops when root runs command
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut
    where $ORA_OWNER is set to Oracle software owner.
  4. Determine if instance stops when running as root the OS script which calls dbshut, ie "/etc/init.d/dbora stop". NOTE: Running via sh -x command will show each command as it is run from script to better see what is going on.
    #> sh -x /etc/init.d/dbora stop
     

Further Diagnostics

If you were not able to resolve the issue with the details provided in this document, please raise a Service Request for further assistance from Oracle Support. The diagnostic informations required to troubleshoot the issue is listed in the below document:

Troubleshooting Database Startup/Shutdown Problems (Doc ID 851057.1).

ADF Mobile - attached device not being recognised

$
0
0

Seemingly randomly I started having errors trying to deploy an ADF Mobile application to my Nexus 7 tablet.  I was getting

[10:28:07 AM] Shutting down Android Debug Bridge server...
[10:28:07 AM] Deployment cancelled.
[10:28:07 AM] ----  Deployment incomplete  ----.
[10:28:07 AM] Failed to detect a connected Android device.  Make sure the device is connected.  Otherwise, manually restart the ADB server.  The following results were provided by ADB:
List of devices    attached
 (oracle.adfmf.framework.dt.deploy.android.deployers.CheckAttachedDevicesDeployer)

But in addition, I also noted that some software I was using to view the Nexus on my PC was also not finding the tablet.  I also couldn't see the tablet on the Windows Explorer window - so, something somewhere outside of JDeveloper seemed to be the problem.

What I did to fix this was the following

  1. From the Windows Start I ran devmgmt.msc and from here I found "Android Composite ADB Device" - I double clicked on this to chose to uninstall AND delete the driver.
  2. I then re-connected the Nexus and it started to install the driver.  I got an error here but I pressed on regardless since now at least Windows Explorer could see the device although JDeveloper couldn't
  3. I made sure USB Debugging was ON on the tablet AND I also switch off Media Device (MTP) which is a USB connection option.

The combination of the above and the luck of the gods seemed to have got things working.

 

ArchBeat Twitter Tuesday - Top 10 Tweets - Jan 28 - Feb 3, 2014

$
0
0

Every day I track activity on hundreds of blogs looking for interesting content created by those with expertise in Oracle technologies. I then share what I find through the OTN ArchBeat social channels. The list below represents the Top 10 most popular tweets from @OTNArchBeat for the last seven days (January 28 - February 3, 2014).

  1. RT @oracleace: See #ACEDs and Java Champions in action at the OTN Yathra Tour kicking off 18th Feb in Jalandhar…
    Jan 30, 2014 at 07:16 AM
  2. Podcast: Taking Charge - Meeting #SOA Governance Challenges - Part 1 w/ @luisw19 @manelrosa et al
    Jan 30, 2014 at 10:14 AM
  3. Announcing: Oracle BigDataLite Virtual Machine
    Jan 29, 2014 at 09:42 AM
  4. Making the Move from #OWB to #ODI12c | @stewartbryson #oracleace
    Feb 03, 2014 at 08:26 AM
  5. Integrating With Fusion Application Using Services (Perl: SOAP::Lite) | @fadevrel
    Feb 03, 2014 at 10:23 AM
  6. #WLST script for listing #WebLogic Server memory usage | @TheHeatDK
    Jan 29, 2014 at 08:11 AM
  7. RT @simon_haslam: Happy to be presenting "What's so Special about the Oracle Database Appliance" at #oug_ire #ukoug
    Jan 30, 2014 at 11:41 AM
  8. RT @simon_haslam: Speaking on my favourite topic - WebLogic on ODA - at OFM Partner Forum in Malta in 3 weeks
    Jan 28, 2014 at 09:32 AM
  9. RT @brunoborges: #JavaEE developers writing WebServices, working with #WebLogic, try new Test Client: #NoMoreSoapUI
    Jan 28, 2014 at 09:34 AM
  10. Custom Escalation in Oracle #BPM Suite 11g | @va_continuum
    Jan 29, 2014 at 09:41 AM

Thought for the Day

"I can't really make fun of zombies. They're not liars. They're not cheats."

George A. Romero, film director
(born February 4, 1940)

Source: brainyquote.com

February Edition of Oracle Database Insider now available!

$
0
0

 Lots of good things in this edition - be sure to check out the upcoming world-wide user meetings - those are great ways to expand your network and Oracle knowledge!

NEWS

IOUG President Michelle Malcher: Sneak Peak of COLLABORATE 14

COLLABORATE 14, the Independent Oracle Users Group conference, will take place April 7 to 11 in Las Vegas, Nevada. Michelle Malcher, IOUG president and DBA team lead at DRW Holdings, offers a sneak preview of the conference's 1,250 panels and sessions covering the full spectrum of Oracle technology.
Read More


2014 Meetings Kick Off with Oracle-Hosted BIWA Summit

Find out what transpired at the recent BIWA Summit, where attendees enjoyed a portfolio of content spanning data management, data mining, analytics, business intelligence, visualization, and more. And find out where to be for this year's hottest upcoming special interest and user group meetings.
Read More


New E-Book: Technical Primer for Securing Oracle Database 12c

Oracle security experts have written a new book for database administrators and security professionals who want to learn how to secure Oracle Databases. Written by Oracle's Paul Needham and Scott Rotondo, along with Independent Oracle Users Group President Michelle Malcher, Securing Oracle Database 12c: A Technical Primer, is available as a free download.
Read More


Find Out How Close You Are to Being a True Social Business

$
0
0

BackpackerAs organizations have moved through their social strategies in fits and starts, it’s likely many have wished there were some sort of handbook for just how to become a social business in the truest, most effective sense of the term. Well, there’s good news about that.


The Altimeter Group, on behalf of Oracle, has put together the clearest, most detailed path yet seen toward achieving just that, “Delivering on the Promise of the Social Business.” And at a cost of free, it’s quite a worthwhile download.


It should come as welcome relief to managers who had control wrested out their hands by the social and customer experience revolutions, and who desire to get some of that control and order back, with sensible social strategies employed both in their external communications and their internal workflows.


The eBook’s authors point out enterprise orgs have an average of 178 social accounts, with some 13 departments actively engaging on social. Yes the concept of the social business is emerging, but with major challenges around all these disparate, non-strategic, ad-hoc, non-integrated social approaches…all being executed in the silos of yesterday’s organizational structures.


If you don’t have the right systems, training, tools, or people to execute social at scale, don’t be overly hard on yourself. You’re hardly alone. New ways of thinking, collaborating, and operating are needed across people, processes, and technology. And this eBook reveals the value of those transformations.


The value of becoming a social business exists across the entire enterprise:

  • Marketing and Communications – example: right-time & real-time marketing
  • Sales – example: using social signals to prioritize and score leads.
  • Customer Care – example: faster response times at potentially lower costs.
  • HR and Talent Management: example: social recruiting.
  • Product Development – example: opening up internal innovation.
  • Internal Collaboration – example: collective expertise to propagate best practices.


You’ll learn the 6 stages of social business maturity, measured by how aligned social is with business goals and how aligned the org is to allow for proper execution. And as a social leader inside your organization, you’ll learn what your priorities should be, from making sure strategy lines up with business goals to showcasing results to the right people.


Will you ever be 100% of the way “there” as a social business? Of course not. Our new reality is that new ways to communicate, collaborate and execute present themselves continuously. This is a journey, not a destination. But if you’re going to go on a journey, a guide sure can come in handy.


Bonus: Join Altimeter Group’s Charlene Li and Oracle Social’sErika Brookes for a webcast on the eBook’s findings and recommendations Feb. 13 at noon EST.


@mikestiles
Photo: Benjamin Earwicker, stock.xchng

Allow Assemble-To-Order (ATO) Items in Pick-To-Order (PTO) Models and Kits

$
0
0

This feature supports the business scenario of including mandatory ATO items in PTO Models and Kits in the customer's orders, thereby enriching the Order Fulfillment process with additional functionality.

Currently, while ATO items are supported as optional/non-mandatory items in PTO models, they are not supported as included/mandatory items in PTO Models or Kits. In Release 12.2, ATO items are supported as included/mandatory items in PTO Models as well as Kits. Thus, for the ATO items that are identified as included/mandatory items in the Bill of Materials of the PTO Model or Kit, the application selects the ATO flag and populates the corresponding ATO attributes at the time of sales order line creation.

To enable this functionality, you must set the value of the profile options, OM: Allow Standard ATO Items as PTO/Kit Included Components and BOM: Allow ATO item in a KIT or as mandatory in a PTO Model to Yes at the site level. 


For more information regarding this new ATO in PTO Models and Kits functionality in Release 12.2, please refer to the Oracle Order Management Release Notes for Release 12.2.2, Doc ID 1377743.1.


Now deploy complete multi-tier application stacks on Oracle Database Appliance!

$
0
0
The Solution-in-a-box: Best practices for deploying JD Edwards EnterpriseOne on Oracle Database Appliance white paper is now published. A first in a series of "solution-in-a-box" white papers! The white paper is available at  http://www.oracle.com/technetwork/database/database-appliance/oda-jde-soln-in-a-box-technical-2120907.pdf

This white paper illustrates the process of deploying a complete multi-tier application architecture stack on the Oracle Database Appliance Virtualized Platform. This includes deployment of the database, application and web tiers on a single Oracle Database Appliance system. The operation and management of the entire stack is facilitated by Oracle Appliance Manager command-line interface (oakcli). Take advantage of virtualization with extreme simplicity.

This vertical integration of technology stacks on Oracle Database Appliance is a very substantial, powerful capability that produces a quantum jump in the already strong value proposition of Oracle Database Appliance. Imagine the consolidation factor you can achieve by implementing the solution-in-a-box model for your applications!

Beat that!

Available On Demand: Improve Engineered Systems Sales with Operational Management

Available On Demand: Improve Engineered Systems Sales with Operational Management

Guide to create a tunneled SSH connection in MySQL for Excel

$
0
0

This section describes how to get a secure connection to a remote MySQL server with SSH.
If you have any questions regarding the following post, please share them with us at: MySQL For Excel Forum

Creating a SSH tunnel to MySQL using PuTTY

This is the second part of the complete Guide to install and configure SSH in a MySQL server on Windows tutorial, we will cover how to create the tunnel from the client using putty. For the first part of this tutorial, please refer to How to: Guide to install and configure SSH in a MySQL server on Windows.

Tunneling is a technique that consist on creating a connection between your PC and a server and make it appear as if the remote MySQL database you’re accessing through the tunnel is locally running from your machine. We will use Putty which is a free tool that will help us to accomplish our goals in this tutorial. It can be downloaded from here.

1. Create a new session.

Open PuTTY and fill out the "Host Name" box with your server and the SSH port to connect to it. Don’t forget to give a name to the session and save it:


2. Port Forwarding

With the session that you just created selected, click the "Tunnels" option under the "SSH" tab to the left. Type the source port you want to reference locally and Destination values make sure to also check the boxes as the following image shows before clicking the “Add” button:


Source port - this is the local port the tunnel will connect to, this box should be filled in with an unused port on your system. For this example we used ‘3356’ but it could be other number as well.

Destination - this is the address and port of your actual remote MySQL server.

Here is how the screen will look like once you had clicked the Add button:


3. Open the connection

Once again, press the "Save" button to save the changes to the current session. Next press "Open" to start your session:


The last thing to do is login in the remote server with the credentials you created for the SSH server on the second part of the first tutorial:

If you succeeded the window may look like:


Now that the tunnel is created, you can create a connection to make queries and updates to your remote database, but pointing to your local port like if you had the db running locally:

Wrapping up what we have seen here today, we first installed Putty on our local machine, then configure the connection information, create the forwarding port, save all settings and open the connection.  In this posts we have learn how to create a SSH tunnel to reference a remote MySQL database as if it were running locally (on Windows). 

For more information related to SSH please visit the following sources in below:
Amazon -  http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html
Rackspace - http://www.rackspace.com/knowledge_center/article/rackspace-cloud-essentials-3-going-from-windows-to-linux-using-putty
Azure - http://www.windowsazure.com/en-us/documentation/articles/linux-use-ssh-key/

Database Insider - February 2014 issue now available

$
0
0

The February issue of the Database Insider newsletter is now available. (Full newsletter here)

NEWS

IOUG President Michelle Malcher: Sneak Peak of COLLABORATE 14

COLLABORATE 14, the Independent Oracle Users Group conference, will take place April 7 to 11 in Las Vegas, Nevada. Michelle Malcher, IOUG president and DBA team lead at DRW Holdings, offers a sneak preview of the conference's 1,250 panels and sessions covering the full spectrum of Oracle technology.
Read More


2014 Meetings Kick Off with Oracle-Hosted BIWA Summit

Find out what transpired at the recent BIWA Summit, where attendees enjoyed a portfolio of content spanning data management, data mining, analytics, business intelligence, visualization, and more. And find out where to be for this year's hottest upcoming special interest and user group meetings.
Read More


New E-Book: Technical Primer for Securing Oracle Database 12c

Oracle security experts have written a new book for database administrators and security professionals who want to learn how to secure Oracle Databases. Written by Oracle's Paul Needham and Scott Rotondo, along with Independent Oracle Users Group President Michelle Malcher, Securing Oracle Database 12c: A Technical Primer, is available as a free download.
Read More


Hugs and Kisses from the Oracle JD Edwards Partner Summit

$
0
0


byJim Lein | Sr. Principal Product Marketing Director | Oracle Midsize Programs |@JimLein

The fifth annual Oracle JD Edwards Partner Summit was held last week in Broomfield CO. I've been to them all but this was the best one yet. I learned a lot and made some great new connections. I caught up with my friend Lyle Ekdahl, SVP in charge of JD Edwards. My boss Steve Cox flew over from England for the event (I see him about once a year). And I finally got to meet our social selling evangelist Jill Rowley in person and pick her brain on social media strategy.

I started my IT career with JD Edwards in 1999 so I saw dozens of people I've known for a very long time. Lots of heartfelt handshakes, plenty of hugs, and here and there a bus on the cheek. I joined JD Edwards when it was a young public company that still acted like a private company. The very first day you learned the company's 7 guiding principles, including # 5, "Respect and Value Each Other", and #6, "Build Strong Customer Partnerships". They weren't hollow phrases. You lived those principles or you didn't last long.

We extended those principles to our relationships with partners. The strength of those relationships was clearly evident at the Summit. I met with many partners, some of whom I've worked with for a long time and some I met for the first time. Denovo. Corning Data. Brij. Terillium. CSS International. Capscient. Syntax. ERA Consulting.

Let me tell you...the Oracle JD Edwards partner community is busy, busy, busy.  Plenty of net new customers. Lots of upgrades. Lots of projects for add-ons products like HCM, Talent Management, Marketing Automation, and Project Portfolio Management.

 And, of course, Cloud was on everyone's mind. The partners shared stories of how many of their net new and upgrading customers are choosing to deploy their JD Edwards footprint in the Cloud and are increasingly taking advantage of managed services. It's all about reducing costs and simplifying IT.

Even though I live just an hour up the hill, I felt like was out of town on a business trip. One of those fun and interesting business trips. A reunion, of sorts. I'm proud to be a part of the Oracle JD Edwards community. And even though I don't commute down to the JD Edwards headquarters in the Denver Tech Center anymore, I'm not "ex-JDE". There's no such thing.


The views expressed on this blog are mine and do not necessarily reflect the views of Oracle

NTT Communications Leverages Engineered Systems, WebLogic and Coherence for Real-Time Data Monitoring

$
0
0
NTT Communications and Oracle recently announced that NTT has successfully deployed a real-time network monitoring system based on Oracle’s Engineered Systems, as well as Oracle Coherence and Oracle Event Processing. NTT utilizes Oracle WebLogic Server at the core of its real-time data processing strategy.

The new system is able to process 1.4 million packets per second through in-memory streaming, and as a result, it can provide not only predictive failure detection, but also early alerts for unusual network situations. Some actions have also been automated, resulting in greater efficiency and significant annual cost reductions.
From NTT executives:
"As the leading telecommunication company in the world, we want to provide our customers with the best possible quality of service. By deploying Oracle Engineered Systems we wanted to not only improve our network services but also increase our ability to predict potential failures and maximize workload efficiency," said Tetsuya Funabashi, Senior Vice President, NTT Communications Corporation. "We were pleasantly surprised at how quickly the deployment happened. Because the Oracle Engineered Systems are designed to work together they are high performance, scalable and very efficient. Our new system also provides our customers with security according to inform their condition quickly. We're trying to create more new value and features to our customers with Oracle products."

NTT Communications was recognized at Oracle OpenWorld San Francisco 2013 as one of the winners of the 2013 Oracle Fusion Middleware Innovation Awards.

Binding a server to privileged port on Linux w/o running as root

$
0
0

This is applicable to any service using privileged ports (< 1024), for instance to run a HTTP server on port 80 or a LDAP directory server on port 1024.

  • Running the server as root is not a recommended option for security reasons.
  • Using iptables to map privileged port (e.g. 389) to non-privileged port is a well-know method.
  • Updating the Linux config to put 389 on the non-privileged port list is another option.

There is another option that I use frequently, based on setcap to run OUD on port 389 in my labs:

This solution requires install and modification of a java 7 JVM specifically for OUD use.

Such configuration has security implications, as anyone running that JVM has the right to bind on privileged ports (settings are JVM wide, not restricted to a specific jar file/application), so the jvm access should be restricted to the appropriate user only (the one allowed to start OUD)

Here is the procedure:

  1. download patchelf sources from here and compile them on target Linux.
  2. install setcap package on Linux if needed
  3. install a java 7 SDK on target system e.g. /space/java/jdk1.7.0_45
  4. restrict access to that jvm (java and jre) to the appropriate user only (the one used to start OUD).
    Put in place additional security if needed.
  5. as root, run the following commands to allow java to bind as priviledged ports

    setcap cap_net_bind_service=+epi <JAVA_HOME>/bin/java
    setcap cap_net_bind_service=+epi <JAVA_HOME>/jre/bin/java


  6. - change java dynamic library loading strategy as default strategy is not compatible with setcap

    patchelf --set-rpath <JAVA_HOME>/jre/lib/amd64/jli <JAVA_HOME>/jre/bin/java
    patchelf --set-rpath <JAVA_HOME>/lib/amd64/jli <JAVA_HOME>/bin/java


  7. - Modify jvm used by oud

    edit java.properties and modify property e.g default.java-home
    run dsjavaproperties

  8. - start OUD with standard start-ds command.


ADF Mobile "Patch" (Patch 5) release

$
0
0
A new ADF Mobile "Patch" (Patch 5) release is out that adds some significant new functionality, in addition to numerous bug fixes.  You can find the release note for the new patch here.

To download, you would simply need to start JDeveloper 11.1.2.4, and select menu item Help->Check For Updates->Official Oracle Extension and Updates, and select ADF Mobile.  It should have version number 11.1.2.4.39.64.62.

For any customers who have received a one off patch through the BLR process, please note that one-off patches obtained through the BLR process are not automatically rolled into this overall patch.  Therefore, please work with your Oracle Support representative to request a new BLR patch for this latest patch.

See "New Enhancement Released for iOS7+Android Native Look & Feel and Xcode 5 Support" blog article from the Oracle Mobile Platform Blog for additional information.

Solution in a Box with JD Edwards EnterpriseOne and Oracle Database Appliance

$
0
0

What do you get when you combine the advantages of Oracle Database Appliance with JD Edwards EnterpriseOne? You get an ERP solution-in-a-box running on a complete Oracle technology stack that is simple, low-cost, and performs well.

Customers benefit from a fully integrated system that delivers high availability database and application services, efficiently utilizes system resources, provides performance advantages associated with Oracle’s Engineered Systems, and takes advantage of capacity-on-demand licensing for multiple workloads by leveraging Oracle VM hard partitioning.

This best practice white paper outlines the process of setting up Oracle JD Edwards EnterpriseOne on Oracle Database Appliance Virtualized Platform.

Viewing all 19780 articles
Browse latest View live




Latest Images