Database hang....Please help
Hello,
We are currently running a client sever based aplication with
PB 5.04 as front end and ORACLE7.3.4 on Windows NT server. In a
particular situation,we are calling a procedure using RPC(Remote
procedure call). The procedure creates a user (Using DBMS_SQL
pkg) and grant connect and then issues a grant to role to a
user. Till granting connect there is no problem. But while
grating the role to the user, it hangs. It returns only if we
shutdown immediate.
The current user who exectes this procedure has grant any role
with admin option (through one of its role). Sometimes, it goes
through fine, but not consistent.
Can any one help. I really appreciate for your help.
Thanks,
RB
What does the original client connection look like from the PB
application? Am I logging on to the PB application as a user
with no CREATE_USER priviledges?
Let me know,
Dan
Similar Messages
-
How to use a vector to navigate my database? please help me.. ty
how to use a vector to navigate my database? please help me.. ty
Quite unclear request�
Can you provide more details? -
Not able drop a user in database.. please help
Not able drop a user in database.. please help
SQL> drop user xxx cascade;
drop user xxx cascade
ERROR at line 1:
ORA-00600: internal error code, arguments: [16500], [kqdcru], [D], [2], [74],
[BIN$gwB1YtUSNkHgQKjAVbQi5w==$0], [], []
i tried to clear recycle bin .. it went fine as sysdba but not an user
As sys:
purge recyclebin;
Recyclebin purged.
SQL> conn xxx
Enter password:
Connected.
SQL> purge recyclebin;
purge recyclebin
ERROR at line 1:
ORA-00600: internal error code, arguments: [16500], [kqdcru], [D], [2], [74],
[BIN$gwB1YtUSNkHgQKjAVbQi5w==$0], [], []
restart of db not helping out...
thanks in advance.. help me out..You didn't mention your Database and O/S details....
drop user xxx cascade
ERROR at line 1:
ORA-00600: internal error code, arguments: [16500], [kqdcru], [D], [2], [74],
[BIN$gwB1YtUSNkHgQKjAVbQi5w==$0], [], []
SQL> purge recyclebin;
purge recyclebin
ERROR at line 1:
ORA-00600: internal error code, arguments: [16500], [kqdcru], [D], [2], [74],
[BIN$gwB1YtUSNkHgQKjAVbQi5w==$0], [], []You should probably raise a Service Request for ORA-00600 errors, as Oracle Support needs to look at it.
Regards
Z.K. -
Database get hang please help to resolved the issue.
Hi,
we are getting below error at that time db not allowed user to connect database.please help to resolved the issue.
db version is 10.2.0.3
Errors in file /oracle/oradata/bdump/pmspr_j002_1593486.trc:
ORA-12012: error on auto execute of job 42597
ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j003_1347686.trc:
ORA-12012: error on auto execute of job 42596
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j004_1995004.trc:
ORA-12012: error on auto execute of job 42596
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Tue Jan 3 10:21:55 2012
Process OS id : 2064550 alive after kill
Errors in file /oracle/oradata/udump/pmspr_ora_1572972.trc
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j005_1617988.trc:
ORA-12012: error on auto execute of job 42597
ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j007_1523820.trc:
ORA-12012: error on auto execute of job 42596
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j009_1933354.trc:
ORA-12012: error on auto execute of job 42596
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j006_1536044.trc:
ORA-12012: error on auto execute of job 42597
ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
ThanksI think the following Oracle two note looks interesting:
Note: 330725.1 Scheduler Job has Been Locked For Days Ora-27468
Note: 731678.1 Scheduled jobs do not run as expected after 10.2 upgrades
HTH -- Mark D Powell -- -
Multiple database operations in Database Adapter - please help
Hi,
I would like to have multiple operation in my database adapter. I drop the database adapter onto the composite.xml and follow the wizard. An adapter with one operation is created.
When I click the "Edit" button on it and run the wizard again, all the previous changes are lost, and only the new operation is present.
In the "Oracle® Fusion Middleware User's Guide for Technology Adapters 11g Release 1 (11.1.1.5.0) 9 Oracle JCA Adapter for Database" I read the following:+
While at run time you have Oracle Database Adapter instances, at design time you have the Adapter Configuration Wizard (link). You can run it once to generate a single adapter service end point, and then multiple times in edit mode to make incremental changes to each. It generates all the adapter related artifacts needed when deploying a SOA composite as Table 9-1 lists.
But I how do I change the Jdeveloper into the "edit mode" ??? I've been trying for hours, and I cant figure it out. Please help!!!Hi Vijay,
did you actually test this? When I finish creating a DBAdapter, there is a operation present. Then when I click edit again on the DBAdapter, and I create another select, when I finish only the first operation is gone, and I can only see the one I've created via the last edit.
I dont understand your reply. Can I have two operations, each one with select underneath, in the same adapter?
Edited by: user13604541 on Jan 30, 2012 11:19 AM -
Hi, I have iphone 3G. Today's morning i found a mysterious problem. When i connected my iphone to computer thru itunes, it got hang. I am not able to do anything even restart. i tried every possible option with all available switches too. please help.
Try a reset by pressing and holding the home and power buttons for about 15 seconds until the white Apple logo appears.
-
IE6 Preview Browser Hangs; Please HELP
Dreamweaver 8 crashes when I try to preview an asp page with
the IE6 browser, only when there are no other browsers currently
open.
For example if I have a browser already open with any other
site, as long as the browser is open, I can preview the ASP pages
fine but; If no browsers are currently opened, DW8 just freezes.
Please help we have a deadline on a big project and would like to
start as soon as possible.
My settings are Win2K professional, IE6 Ver. 6.0.2800.1106
SP1, DW8
Thanks in advanceDreamweaver 8 crashes when I try to preview an asp page with
the IE6 browser, only when there are no other browsers currently
open.
For example if I have a browser already open with any other
site, as long as the browser is open, I can preview the ASP pages
fine but; If no browsers are currently opened, DW8 just freezes.
Please help we have a deadline on a big project and would like to
start as soon as possible.
My settings are Win2K professional, IE6 Ver. 6.0.2800.1106
SP1, DW8
Thanks in advance -
Oracle 9i Release 2 - Installation hangs please help
OS: SUSE 10
I have to Install oracle 9i Release 2(9.2.0.4.0)
I have java-1_4_2-sun installed, and the installation directory/path is /usr/lib/jvm.
now my question is should I change the path of JRE_LOCATION, in the oraparam.ini from
JRE_LOCATION=../../stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/linux
to
JRE_LOCATION=/usr/lib/jvm
Second
when as user oracle, i execute the installer, it goes smooth till the "Database Configuration" page, i select the
General Purpose > Next > now here installation progress bar stuck/hangs at 87%
following is the output of /opt/oracle/oraInventory/logs/oraInstall2007-04-26_04-37-20AM.err
java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't find bundle for base name resources/libRes.properties, locale en
at java.util.ResourceBundle.throwMissingResourceExcep tion(ResourceBundle.java:712)
at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:683)
at java.util.ResourceBundle.getBundle(ResourceBundle. java:546)
at OiGeneralPortQueryRes.<clinit>(OiGeneralPortQueryRes.java:7)
at getFreePort.performQuery(getFreePort.java:477)
at oracle.sysman.oii.oiis.OiisCompContext.doQuery(Oii sCompContext.java:2330)
at Components.oracle.sysman.webserver.v9_2_0_1_0.Comp Context.getCalculatedValueObject_PORT(CompContext. java:304)
at Components.oracle.sysman.webserver.v9_2_0_1_0.Comp Context.getCalculatedValueObject(CompContext.java: 224)
at oracle.sysman.oii.oiis.OiisCompContext.getCalculat edValue(OiisCompContext.java:612)
at oracle.sysman.oii.oiis.OiisVariable.getCalculatedV alue(OiisVariable.java:733)
at oracle.sysman.oii.oiis.OiisVariable.setVariable(Oi isVariable.java:1407)
at oracle.sysman.oii.oiis.OiisCompContext.doOperation (OiisCompContext.java:991)
at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
at oracle.sysman.oii.oiic.OiicCompsWizEngine.doOperat ion(OiicCompsWizEngine.java:182)
at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
at oracle.sysman.oii.oiic.OiicInstallSession$OiicSelC ompsInstall.doOperation(OiicInstallSession.java:87 8)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.ite rate(OiifbCondIterator.java:140)
at oracle.sysman.oii.oiic.OiicPullSession.doOperation (OiicPullSession.java:614)
at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperat ion(OiicSessionWrapper.java:177)
at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInsta ller.java:358)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInst aller.java:637)
Plz help me
RegardsWorkaround consits of two steps:
1. Use jre 1.3.1_n (where n>10) (1.4.n use only if your platform is x86_64)
2. execute following commands before you execute runInstaller or dbca:
unset LANG
unset LC_TYPE -
Hey I done my database code through JCreator but it did not seemed to work. This is the buy ticket page whereby you buy the movie ticket online that i am creating.
The java file is called BuyTextBox.java with database by microsoft access called buy.db .
I will want the information that the user entered saved be stored in the database. I tried but it did not seemed to work!
Here is the code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import java.io.*;
import java.util.*;
import java.sql.*;
public class BuyTextBox extends JPanel implements ActionListener {
//Instance Variables
private String FirstName = "fn";
private String LastName = "ln";
private String Address = "addr";
private String ContactNumber ="1234567";
private String CreditCardNumber ="111111";
private String Email="[email protected]";
private int NumberTickets;
public String getFirstName(){
return FirstName;
public String getLastName(){
return LastName;
public String getAddress(){
return Address;
public String getContactNumber(){
return ContactNumber;
public String getCreditCardNumber(){
return CreditCardNumber;
public String getEmail(){
return Email;
public int getNumberTickets(){
return NumberTickets;
private JLabel movieLabel = new JLabel("Select movie ticket:");
private JLabel blankLabel = new JLabel(" ");
private JLabel blank2Label = new JLabel(" ");
private JLabel blank3Label = new JLabel(" ");
private JLabel blank4Label = new JLabel(" ");
private JLabel blank5Label = new JLabel(" ");
private JLabel FirstNameLabel = new JLabel("First Name:");
private JTextField FirstNameTextField = new JTextField();
private JLabel LastNameLabel = new JLabel("Last Name:");
private JTextField LastNameTextField = new JTextField();
private JLabel AddressLabel = new JLabel("Address:");
private JTextArea AddressTextArea = new JTextArea();
private JLabel contactLabel = new JLabel("Contact number:");
private JTextField ContactNumberTextField = new JTextField();
private JLabel creditLabel = new JLabel("Credit card number:");
private JTextField CreditCardNumberTextField = new JTextField();
private JLabel emailLabel = new JLabel("Email:");
private JTextField EmailTextField = new JTextField();
private JLabel numberLabel = new JLabel("Enter number of tickets:");
private JTextField NumberTextField = new JTextField();
private JButton saveButton;
private JButton resetButton;
public BuyTextBox() {
JPanel inputPanel=new JPanel();
inputPanel.setBorder(new TitledBorder("Please enter your informations:"));
inputPanel.setLayout(new GridLayout(0,4,40,40));
inputPanel.add(FirstNameLabel);
inputPanel.add(FirstNameTextField);
inputPanel.add(LastNameLabel);
inputPanel.add(LastNameTextField);
inputPanel.add(AddressLabel);
inputPanel.add(AddressTextArea);
inputPanel.add(contactLabel);
inputPanel.add(ContactNumberTextField);
inputPanel.add(creditLabel);
inputPanel.add(CreditCardNumberTextField);
inputPanel.add(emailLabel);
inputPanel.add(EmailTextField);
inputPanel.add(movieLabel);
inputPanel.add(new Checkbox("Chicken Little"));
inputPanel.add(new Checkbox("King Kong"));
inputPanel.add(new Checkbox("Elizabeth Town"));
inputPanel.add(blankLabel);
inputPanel.add(new Checkbox("Curse Of Were Rabbit"));
inputPanel.add(new Checkbox("Derailed"));
inputPanel.add(new Checkbox("In Her Shoes"));
inputPanel.add(new Checkbox("Proved"));
inputPanel.add(new Checkbox("Family Stone"));
inputPanel.add(new Checkbox("TinMine"));
inputPanel.add(new Checkbox("Narnia"));
inputPanel.add(blank2Label);
inputPanel.add(numberLabel);
inputPanel.add(NumberTextField);
JPanel confirmPanel=new JPanel();
saveButton=new JButton("Save");
resetButton=new JButton("Reset");
confirmPanel.add(saveButton);
confirmPanel.add(resetButton);
setLayout(new BorderLayout());
add(inputPanel, BorderLayout.PAGE_START);
add(confirmPanel, BorderLayout.PAGE_END);
resetButton.addActionListener(this);
saveButton.addActionListener(this);
public void actionPerformed(ActionEvent e) {
if (e.getSource() == resetButton)
resetButtonClicked();
else if (e.getSource() == saveButton)
saveButtonClicked();
public BuyTextBox(String aName){
name = aName;
public boolean insertDetails(){
boolean success = false;
DBController db = new DBController();
// buy db = new buy();
db.setUp("buy");
String sql = "INSERT INTO buy(FirstName,LastName, Address,ContactNumber,CreditCardNumber,Email,NumberTickets)";
sql += "values("+FirstName+", '"+LastName+"', "+Address+"', "+ContactNumber+
"', "+CreditCardNumber+"', "+Email+"', "+NumberTickets+");";
db.updateRequest(sql);
db.terminate();
success = true;
return success;
private void resetButtonClicked()
FirstNameTextField.setText("");
private void saveButtonClicked()
FirstName = FirstNameTextField.getText().trim();
LastName = LastNameTextField.getText().trim();
Address = AddressTextArea.getText().trim();
ContactNumber = ContactNumberTextField.getText().trim();
CreditCardNumber = CreditCardNumberTextField.getText().trim();
Email = EmailTextField.getText().trim();
NumberTickets = NumberTextField.getText().trim();
if (FirstName.length() == 0)
JOptionPane.showMessageDialog(this ," Name cannot be blank" , "Invalid Field", JOptionPane.ERROR_MESSAGE);
else
JOptionPane.showMessageDialog(this, "Record added.", "Confirmation", JOptionPane.INFORMATION_MESSAGE);
if (insertDetails())
System.out.println("DB Update OK");
else
System.out.println("DB Update Failed");
public static void main(String args[]) {
JFrame app=new JFrame();
//Container contentPane = getContentPane ();
BuyTextBox p=new BuyTextBox();
app.getContentPane().add(p);
app.setTitle ("Buy tickets ");
app.setSize(1050,740);
app.setBackground (new Color(0,160,198));
app.setResizable (false);
app.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
app.setVisible(true);
If you know whats wrong with the code, please teach me what to do to make my databse successful!and now that one try to hack my icound but i set password so strong cuz it associat me just i little bit you will check me cuz i have your product all i used to use my username nerdseery but ha hacked me all every email addrese i used username nerdsery but now i must changed to nerrdsurery
-
Error while running adcfgclone on database tier please help me
Hello
I am doing cloning through cold backup and i face some errors..here is my logfile.....please suggest me some solution...
Executing script in InstantiateFile:
Attempting to create a back up of the Context file
Created back up file of name :
/home/clone/db/db/tech_st/10.2.0/appsutil/out/CLONE_zishan/12071920/CLONE_zishan.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /home/clone/db/db/tech_st/10.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
===========================================================================
Starting Updates of Context file Tue Dec 07 19:20:41 GMT+05:30 2010
found context version : 120.27
available update version : 120.27
No updates to apply
Ending Updates of Context file
===========================================================================
===========================================================================
Starting Context Value Management System at Tue Dec 07 19:20:41 GMT+05:30 2010
Using version 120.8
Options:
Force : no
Contextfile : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Templatefile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
ValueUpdateFile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcvmdb.xml
Verifying value management system requirements:
ContextFile : VALID
Template File : VALID
ValueUpdateFile : VALID
Parsing the ValueUpdateFile
[ s_contextfile ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
===========================================================================
[ Config tool : /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl ]
Command : /home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl PASSWORD contextfile=/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml logdir=/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan
Action : execute
SCRIPT RETURNED:
Generate Tns Names
Classpath : /home/clone/db/db/tech_st/10.2.0/jdbc/lib/ojdbc14.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java:/home/clone/db/db/tech_st/10.2.0/jlib/netcfg.jar:/home/clone/db/db/tech_st/10.2.0/jlib/ldapjclnt10.jar
Loading ORACLE_HOME environment from /home/clone/db/db/tech_st/10.2.0
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/NetServiceHandler.log
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
.end std out.
.end err out.
Result : FAILED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
No uploading of Context file and its templates to database. Database conection failed
===========================================================================
Finished running CVM.....
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
Looking for the directory : /home/clone/db/db/tech_st/10.2.0/nls/data/9idata
Directory exists
Looking for file : /home/clone/db/db/tech_st/10.2.0/nls/data/old/cr9idata.pl
File exists
Validation complete
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:09 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Starting DB listener with command:
/home/clone/db/db/tech_st/10.2.0/appsutil/scripts/CLONE_zishan/addlnctl.sh start CLONE
You are running addlnctl.sh version 120.1
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/addlnctl.txt
Starting listener process CLONE ...
addlnctl.sh: exiting with status 0
.end std out.
.end err out.
checking DB Connection...
DEBUG: checkDBConnection in()
ADX Database Utility
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
DEBUG: checkDBConnection out()
Verifying correctness of adcrdbclone.sql
Clustered Database: false
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
Updating:s_db_rollback_segs:(_syssmu1$, syssmu2$, syssmu3$, syssmu4$, syssmu5$, syssmu6$, syssmu7$, syssmu8$, syssmu9$, syssmu10$, syssmu11$, syssmu12$, syssmu13$, syssmu14$, syssmu15$):
Updating:s_undo_tablespace:APPS_UNDOTS1:
Updating:s_database:db102:
Updating:isspfileexists:false:
Updating:s_dbfiles:512:
Executing Configuration Phase...
Deleting files of type INSTALL
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/sqlnet.ora
Processing driver file: /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
Checking for file: /home/clone/db/db/tech_st/10.2.0/dbs/initCLONE.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/listener.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/tnsnames.ora
File exists
File deleted
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:26 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Tue Dec 7 19:21:27 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
LD_LIBRARY_PATH : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
Executable : /home/clone/db/db/tech_st/10.2.0/bin/sqlplus
The log information will be written to
/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/adcrdb_CLONE.txt
Creating the control file for CLONE_zishan database ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:27 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:33 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabaseHi;
What is EBS and Db,OS?
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389home/clone/db/db/apps_st/data/cntrl01.dbf' This file exsits? If yes you have r/w permission?
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
*Did you run preclone on source before copy file to target?
Regard
Helios -
Creating a simple and small DataBase..Please HELP
I study Information Systems (MSc)..and I am taking a DataBase course that requires a Project to be done on a RDBMS..I decided to build the database using ORACLE 9i (on windows xp professional)..
I want to use the Database Configuration Assistant to build the Database (easier than to build it manually)..but the Assistant requests from me to input some parameters that are somehow "new and strange" to me as a student..
PLEASE I need the simplest and easiest parameter values to be input to the Assistant that enable me to build a tiny and simple DataBase that is adequete for educational purposes only (small project)..
Also I need to know how to enter the DataBase after I create it..
Thank you very much in advance..I study Information Systems (MSc)..and I am taking a DataBase course that requires a Project to be done on a RDBMS..I decided to build the database using ORACLE 9i (on windows xp professional)..
I want to use the Database Configuration Assistant to build the Database (easier than to build it manually)..but the Assistant requests from me to input some parameters that are somehow "new and strange" to me as a student..
PLEASE I need the simplest and easiest parameter values to be input to the Assistant that enable me to build a tiny and simple DataBase that is adequete for educational purposes only (small project)..
Also I need to know how to enter the DataBase after I create it..
Thank you very much in advance.. -
Problem in reading/writing byte array in Access database! PLEASE HELP!!
Hi,
I want to store a signature, which is in form of a byte array, in OLE Object field in MS Access database. I want then to retrieve this signature and verify it. The problem is that the retrieved byte array is not identical to the stored (original) one, and therefore, verifying the signature fails! Any help would be much appreciated as I can't proceed in my project without solving this problem. Here is the code to do the above mentioned functionality:
//This part stores the signature (VT) in the table TTPTrans
try
{ con = connect();
ps = con.prepareStatement("UPDATE TTPTrans SET VT = ?, SigVT = ? WHERE TransID = ?");
ps.setBinaryStream(1, new ByteArrayInputStream(vt), vt.length);
ps.setBinaryStream(2, new ByteArrayInputStream(sigvt), sigvt.length);
ps.setString(3, tID);
ps.executeUpdate();
ps.close();
con.close();
catch (Exception e)
{ System.err.println(e.getMessage());
e.printStackTrace();
//This part retrive the signature from the table in the byte array o1:
ResultSet result;
byte[] o1 = null;
byte[] o2 = null;
try
{ con = connect();
Statement statement = con.createStatement();
result = statement.executeQuery("SELECT VT, SigVT" +
" FROM TTPTrans" +
" WHERE TransID = " + "'" +
transID + "'");
while (result.next()) {
o1 = result.getBytes("VT");
o2 = result.getBytes("SigVT");
statement.close();
con.close();
catch(Exception e)
{ System.err.println(e.getMessage());
e.printStackTrace();
}In the following code, I use a ASN1SDSSSignature class, which is a subclass that I created from the Siganture class, to create and verify an SDSS signature. The ASN1SDSSSignature has two ASN1Integer class variables:
signcryption = token.getSigncryption();
sig.initVerify(ttpCert);
sig.update(receivedVT);
boolean verified = sig.verify(receivedSigVT);
if(!verified)
System.err.println("TTP signatire on received token invalid. ");
notify()
return;
Where receivedVT and receivedSigVT are the byte arrays retrieved from th database. The following exception is thrown when I run the application:
ASN1 type mismatch!
Expected: codec.asn1.ASN1Integer
In: ASN1SDSSSignature
At index 0
Got tag: 4 and Class: 0
I hope this would clarify the situation and thanks in advance for any comments you may post. -
How to insert data into database. Please help me(Struggling Very much)
Hi i am having a jsp page which contains some textfields and one button. I have a database table and i have added to my page. The first column of Database table is ID which is of NUMERIC type and it has been set into primary key. And rest of fields are CHAR type. I am using SQL Server 2000. I have to enter the data into text fields and when i submit the add button it must add to the database table. But i am getting error like
Exception Details: java.lang.IllegalArgumentException SRNI.TABLE1.NAME
Please i am trying this one from two months. but it is not getting. I have tried alot by studying all tutorials in Java Studio Creator. I have posted many times but i have followed everyones suggestion. Please give me some instances of writing code to the corresponding requirements i have mentioned above.Please explain step by step including simple one also.
Thanking You in Advance.Hi Srinivasan,
Please check out the Database projects available at:
http://blogs.sun.com/sakthi/entry/flavors_of_crud_tutorial_projects
These have been exercised using this tutorial against different databases:
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html
HTH,
Sakthi -
Tabbing from Illustrator to Indesign causes Indesign to hang- please help!
I can tab from Illustrator to Indesign instantaneously, but as soon as I want to tab back to Indesign the computer hangs for about three minutes.. looks like it has crashed, but then settles back into Indesign.
Could any of you help me out with this infuriating predicament?
I'm running on a 2gig, 2.8ghz Dell.
Thanks in advance.Yes 7.5.2
illustrator gradient above and id gradient below
thank you
(no transparency in the gradient) -
The FOD schema error our while creating the database. Please help.
I couldn't run the schema for the FOD demo application. when I follow the steps, I get some exception during the database create part.
From the File menu, choose Open. Open the workspace c:\temp\Infrastructure\infrastructure.jws.
( I edited the build.properties with correct values)
In the MasterBuildScript project, select the build.xml file. In the Structure window, right-click the refreshSchema target and choose Run Target "refreshSchema."
refreshSchema:
[sql] Feb 13, 2008 4:44:54 PM oracle.jdbc.driver.OracleDriver registerMBeans
[sql] SEVERE: Found Oracle Apps MBeanServer but the getMBeanServer method threw an exception.
[sql] java.lang.reflect.InvocationTargetException
[sql] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[sql] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[sql] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[sql] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[sql] at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:274)
[sql] at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:224)
[sql] at java.security.AccessController.doPrivileged(Native Method)
[sql] at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:220)
[sql] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[sql] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[sql] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[sql] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[sql] at java.lang.Class.newInstance0(Class.java:350)
[sql] at java.lang.Class.newInstance(Class.java:303)
[sql] at org.apache.tools.ant.taskdefs.JDBCTask.getDriver(JDBCTask.java:364)
[sql] at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:304)
[sql] at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:346)
[sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[sql] at org.apache.tools.ant.Task.perform(Task.java:364)
[sql] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
[sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[sql] at org.apache.tools.ant.Task.perform(Task.java:364)
[sql] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
[sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[sql] at org.apache.tools.ant.Task.perform(Task.java:364)
[sql] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
[sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[sql] at org.apache.tools.ant.Task.perform(Task.java:364)
[sql] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
[sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[sql] at org.apache.tools.ant.Task.perform(Task.java:364)
[sql] at org.apache.tools.ant.Target.execute(Target.java:341)
[sql] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[sql] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[sql] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[sql] at org.apache.tools.ant.Task.perform(Task.java:364)
[sql] at org.apache.tools.ant.Target.execute(Target.java:341)
[sql] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[sql] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[sql] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[sql] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[sql] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[sql] at org.apache.tools.ant.Main.start(Main.java:150)
[sql] at org.apache.tools.ant.Main.main(Main.java:240)
[sql] Caused by: java.lang.ClassNotFoundException: oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl
[sql] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[sql] at java.security.AccessController.doPrivileged(Native Method)
[sql] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[sql] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[sql] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
[sql] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[sql] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[sql] at java.lang.Class.forName0(Native Method)
[sql] at java.lang.Class.forName(Class.java:242)
[sql] at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1687)
[sql] at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:156)
[sql] at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:164)
[sql] ... 49 more
[sql] Executing file: C:\temp\Infrastructure\DBSchema\Scripts\SQLRunner56601127.sql
[sql] 11 of 11 SQL statements executed successfullyHi,
I see the same exceptios, but the schema installs successfully. Have a look at the end of the log window. It should state that the schema was created successfully.
Frank -
Display '0s' for null database items Please help!
Hi all,
I need your help on a possible minor problem I'm encountering. I have 5 fields (all numeric data types) on my form of which, the last field is a sum (formula non-database item) of the top four items. 2 out of the remaining 4 fields are database text items in which I'd like to update the database based on user input. The table that stores the 4 values does not require data and defaults to null if no data present.
What I'd like to do is display a '0' on the form so that its visible and it could get added to the formula sum item but not update the database fields with a '0' (if any one of those top 4 fields returns null from the table ). I've tried creating a formula in the property palette on the fields with an nvl(field,0) function and got a chain reference error that I couldn't figure out based on the oracle error suggestions. Does anyone have any suggestions on how I could handle my request. Any help would be greatly appreciated.
Thanks,
EricZakiy,
I don't know much about the POST-CHANGE trigger. Did a little research and posted some code in there retrieving the nvl(field) value. It compiled ok but didn't display the '0.' I'm not sure if I used the trigger the right way.
Here's my code:
DECLARE
v_points NUMBER;
CURSOR c_points IS
(SELECT nvl(points,0)
FROM student
WHERE student_id = :id);
BEGIN
OPEN c_points;
FETCH c_points INTO v_points;
CLOSE c_points;
END;
If this is incorrect, do you have an example from what you were thinking? Also, just out of curiosity, why do you recommend this trigger over the formula?
From what I was mentioning before, I don't know why the formula w/the nvl works in the sum field but doesn't in the other 4 fields. The sum field is a non-database item whereas 2 others are display items and the remaining 2 are text items. Seems simple enough to use the nvl in the formula section for all 4 fields I kept getting that error.
Eric
Maybe you are looking for
-
Asking for login details jumping from BW to SS report at Portal site
Hi Guys Our BW reports are avilable from protal for user's. Now the issue we are facing is when we jump from BW report to source system(SRM) report, it is aksing for login details for source system. where as at portal site it should not ask for login
-
Can i create a shared camera roll?
as the title infers, can i create i shared camera roll?? meaning if i take a picture it appears on a second iPhone and vice versa? is that what family sharing doe
-
Why does my iPhone 4GS bounce of the TV
Why does my iPhone 4S bounce of the TV (not flatscreen, old thick Philips) when I put the iPhone on top of it? It happens after some time, perhaps 20 minutes. The phone bounces of the TV and lands on the floor. The TV is off!
-
Recovering missing iPhoto photos from iPhone 5
Hi, I reindexed my iPhoto library as I was missing photos. Now it seems I have lost more photos! I have my entire iPhoto library sync'ed with my iPhone 5. Is it possible to sync. from iPhone to iPhoto in an attempt to recover the photos? I am worried
-
Problem on Oracle11g2 RAC -- PRVF-5424 : Clock time offset check failed
I have a lot of file core wrrote every 6 hour and the same time of alert"node".log file show error about PRVF-5424 : Clock time offset check failed. Yesterday I use this: [root@hostname2 ~]# service ntpd stop [root@hostname2 ~]# ntpdate [root@hostnam