I am getting the following exception in ResultSet updates
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver fo
r JDBC]Can not update, the specified column is not writable.
when i tried to insert a new row in ResultSet object backend is SQL Server
if i sees the privilages of table then it is showing follwing
RezHotel dbo TBL_TEMP dbo dbo DELETE YES
RezHotel dbo TBL_TEMP dbo dbo INSERT YES
RezHotel dbo TBL_TEMP dbo dbo REFERENCES YES
RezHotel dbo TBL_TEMP dbo dbo SELECT YES
RezHotel dbo TBL_TEMP dbo dbo UPDATE YES
means Insert is possible
is it possible to add a new column in ResultSet object
how can i resolve the issue
Message was edited by:
I think you need to use the ALTER statement, and have ALTER privilages assigned.
Similar Messages
-
Why do I get the following exception when I press the cancel buuton?
My code is not complete as I am stubbing my code. Can someone tell me why i get the following exception
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at Phonebook.createNew(Phonebook.java:244)
at Phonebook.actionPerformed(Phonebook.java:222)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
95)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
72)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)in the following code whenever I press the cancel button in the part of code that tests fro when a user clicks the create button.
Filename: ContactsListInterface.java
Date: 16 March 2008
Programmer: Yucca Nel
Purpose: Provides a GUI for entering names and contact numbers into a telephone directory.
Also allows options for searching for a specific name and deleting of data from the record
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import java.io.*;
import java.util.*;
import java.text.*;
public class Phonebook extends JFrame implements ActionListener
{ //start of class
// construct fields, buttons, labels,text boxes, ArrayLists etc
JTextPane displayPane = new JTextPane();
JLabel listOfContacts = new JLabel("List Of Contacts"); // creates a label for the scrollpane
JButton createButton = new JButton("Create");
JButton searchButton = new JButton("Search");
JButton modifyButton = new JButton("Modify");
JButton deleteButton = new JButton("Delete");
ArrayList fNameList = new ArrayList();
ArrayList sNameList = new ArrayList();
ArrayList hList = new ArrayList();
ArrayList wList = new ArrayList();
ArrayList cList = new ArrayList();
public String name, surname, home, work, cell;
// create an instance of the ContactsListInterface
public Phonebook()
{ // start of cli()
super("Phonebook Interface");
} // end of cli()
public JMenuBar createMenuBar()
{ // start of the createMenuBar()
// construct and populate a menu bar
JMenuBar mnuBar = new JMenuBar(); // creates a menu bar
setJMenuBar(mnuBar);
JMenu mnuFile = new JMenu("File",true); // creates a file menu in the menu bar which is visible
mnuFile.setMnemonic(KeyEvent.VK_F);
mnuFile.setDisplayedMnemonicIndex(0);
mnuFile.setToolTipText("File Options");
mnuBar.add(mnuFile);
JMenuItem mnuFileExit = new JMenuItem("Save And Exit"); // creates an exit option in the file menu
mnuFileExit.setMnemonic(KeyEvent.VK_X);
mnuFileExit.setDisplayedMnemonicIndex(1);
mnuFileExit.setToolTipText("Close Application");
mnuFile.add(mnuFileExit);
mnuFileExit.setActionCommand("Exit");
mnuFileExit.addActionListener(this);
JMenu mnuEdit = new JMenu("Edit",true); // creates a menu for editing options
mnuEdit.setMnemonic(KeyEvent.VK_E);
mnuEdit.setDisplayedMnemonicIndex(0);
mnuEdit.setToolTipText("Edit Options");
mnuBar.add(mnuEdit);
JMenu mnuEditSort = new JMenu("Sort",true); // creates an option for sorting entries
mnuEditSort.setMnemonic(KeyEvent.VK_S);
mnuEditSort.setDisplayedMnemonicIndex(0);
mnuEdit.add(mnuEditSort);
JMenuItem mnuEditSortByName = new JMenuItem("Sort By Name"); // to sort entries by name
mnuEditSortByName.setMnemonic(KeyEvent.VK_N);
mnuEditSortByName.setDisplayedMnemonicIndex(8);
mnuEditSortByName.setToolTipText("Sort entries by first name");
mnuEditSortByName.setActionCommand("Name");
mnuEditSortByName.addActionListener(this);
mnuEditSort.add(mnuEditSortByName);
JMenuItem mnuEditSortBySurname = new JMenuItem("Sort By Surname"); // to sort entries by surname
mnuEditSortBySurname.setMnemonic(KeyEvent.VK_R);
mnuEditSortBySurname.setDisplayedMnemonicIndex(10);
mnuEditSortBySurname.setToolTipText("Sort entries by surname");
mnuEditSortBySurname.setActionCommand("Surname");
mnuEditSortBySurname.addActionListener(this);
mnuEditSort.add(mnuEditSortBySurname);
JMenu mnuHelp = new JMenu("Help",true); // creates a menu for help options
mnuHelp.setMnemonic(KeyEvent.VK_H);
mnuHelp.setDisplayedMnemonicIndex(0);
mnuHelp.setToolTipText("Help options");
mnuBar.add(mnuHelp);
JMenuItem mnuHelpHelp = new JMenuItem("Help"); // creates a help option for help topic
mnuHelpHelp.setMnemonic(KeyEvent.VK_P);
mnuHelpHelp.setDisplayedMnemonicIndex(3);
mnuHelpHelp.setToolTipText("Help Topic");
mnuHelpHelp.setActionCommand("Help");
mnuHelpHelp.addActionListener(this);
mnuHelp.add(mnuHelpHelp);
JMenuItem mnuHelpAbout = new JMenuItem("About"); // creates a about option for info about api
mnuHelpAbout.setMnemonic(KeyEvent.VK_T);
mnuHelpAbout.setDisplayedMnemonicIndex(4);
mnuHelpAbout.setToolTipText("About this program");
mnuHelpAbout.setActionCommand("About");
mnuHelpAbout.addActionListener(this);
mnuHelp.add(mnuHelpAbout);
return mnuBar;
} // end of the createMenuBar()
// create the content pane
public Container createContentPane()
{ // start of createContentPane()
//construct and populate panels and content pane
JPanel labelPanel = new JPanel(); // panel is only used to put the label for the textpane in
labelPanel.setLayout(new FlowLayout());
labelPanel.add(listOfContacts);
JPanel displayPanel = new JPanel();// panel is used to display all the contacts and thier numbers
setTabsAndStyles(displayPane);
displayPane = addTextToTextPane();
displayPane.setEditable(false);
JScrollPane scrollPane = new JScrollPane(displayPane);
scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); // pane is scrollable vertically
scrollPane.setWheelScrollingEnabled(true);// pane is scrollable by use of the mouse wheel
scrollPane.setPreferredSize(new Dimension(400,320));
displayPanel.add(scrollPane);
JPanel workPanel = new JPanel();// panel is used to enter, edit and delete data
workPanel.setLayout(new FlowLayout());
workPanel.add(createButton);
createButton.setToolTipText("Create a new entry");
createButton.addActionListener(this);
workPanel.add(searchButton);
searchButton.setToolTipText("Search for an entry by name number or surname");
searchButton.addActionListener(this);
workPanel.add(modifyButton);
modifyButton.setToolTipText("Modify an existing entry");
modifyButton.addActionListener(this);
workPanel.add(deleteButton);
deleteButton.setToolTipText("Delete an existing entry");
deleteButton.addActionListener(this);
labelPanel.setBackground(Color.red);
displayPanel.setBackground(Color.red);
workPanel.setBackground(Color.red);
// create container and set attributes
Container c = getContentPane();
c.setLayout(new BorderLayout(30,30));
c.add(labelPanel,BorderLayout.NORTH);
c.add(displayPanel,BorderLayout.CENTER);
c.add(workPanel,BorderLayout.SOUTH);
c.setBackground(Color.red);
// add a listener for the window closing and save
addWindowListener(
new WindowAdapter()
public void windowClosing(WindowEvent e)
int answer = JOptionPane.showConfirmDialog(null,"Are you sure you would like to save all changes and exit?","File submission",JOptionPane.YES_NO_OPTION);
if(answer == JOptionPane.YES_OPTION)
System.exit(0);
return c;
} // end of createContentPane()
protected void setTabsAndStyles(JTextPane displayPane)
{ // Start of setTabsAndStyles()
// set Font style
Style fontStyle = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
Style regular = displayPane.addStyle("regular", fontStyle);
StyleConstants.setFontFamily(fontStyle, "SansSerif");
Style s = displayPane.addStyle("bold", regular);
StyleConstants.setBold(s,true);
} // End of setTabsAndStyles()
public JTextPane addTextToTextPane()
{ // start of addTextToTextPane()
Document doc = displayPane.getDocument();
try
{ // start of tryblock
// clear previous text
doc.remove(0,doc.getLength());
// insert titles of columns
doc.insertString(0,"NAME\tSURNAME\tHOME NO\tWORK NO\tCELL NO\n",displayPane.getStyle("bold"));
} // end of try block
catch(BadLocationException ble)
{ // start of ble exception handler
System.err.println("Could not insert text.");
} // end of ble exception handler
return displayPane;
} // end of addTextToTextPane()
// code to process user clicks
public void actionPerformed(ActionEvent e)
{ // start of actionPerformed()
String arg = e.getActionCommand();
// user clicks create button
if(arg.equals("Create"))
createNew();
if(arg.equals("Search"))
if(arg.equals("Modify"))
if(arg.equals("Delete"))
if(arg.equals("Exit"))
} // end of actionPerformed()
// method to create a new contact
public void createNew()
{ // start of create new contact()
name = JOptionPane.showInputDialog(null,"Please enter the new contacts first name or press cancel to exit.");
if(name == null) finish(); // if user clicks cancel
if(name.length() <=0)
JOptionPane.showMessageDialog(null,"You did not enter a valid name.\nPlease make sure you enter data correctly.","Error",JOptionPane.ERROR_MESSAGE);
createNew(); // To return to the create method
surname = JOptionPane.showInputDialog(null,"Please enter the new contacts surname or press cancel to exit.");
if(surname == null) finish(); // if user clicks cancel
if(surname.equals(""))
int answer = JOptionPane.showConfirmDialog(null,"You did not enter a surname.\nAre you sure you wish to leave the surname empty?","No data entered",JOptionPane.YES_NO_OPTION); // Asks if data was valid
if(answer == JOptionPane.NO_OPTION)
surname = JOptionPane.showInputDialog(null,"Please enter the new contacts surname.");
home = JOptionPane.showInputDialog(null,"Please enter the new contacts home number or press cancel to exit.");
if(home == null) finish(); // if user clicks cancel
work = JOptionPane.showInputDialog(null,"Please enter the new contacts work number or press cancel to exit.");
if(work == null) finish(); // if user clicks cancel
cell = JOptionPane.showInputDialog(null,"Please enter the new contacts cell number or press cancel to exit.");
if(cell == null) finish(); // if user clicks cancel
} // end of create new contact()
// method to close applicatin
public void finish()
// method to search a contact
public static void main(String[] args)
{ // start of main()
// Set look and feel of interface
try
{ // start of try block
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
} // end of try block
catch(Exception e)
{ // start of catch block
JOptionPane.showMessageDialog(null,"There was an error in setting the look and feel of this application","Error",JOptionPane.INFORMATION_MESSAGE);
} // end of catch block
Phonebook p = new Phonebook();
p.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
p.setJMenuBar(p.createMenuBar());
p.setContentPane(p.createContentPane());
p.setSize(520,500);
p.setVisible(true);
p.setResizable(false);
} // end of main()
} //end of classYucca wrote:
Line 244 is where I test for if the user actuallu entered a String at all. Is there an alternative way of writing that code?
if(name.length() <=0)
JOptionPane.showMessageDialog(null,"You did not enter a valid name.\nPlease make sure you enter data correctly.","Error",JOptionPane.ERROR_MESSAGE);
createNew(); // To return to the create method
Change:
if(name == null) finish(); To
if(name == null) {
finish();
return;
} -
I keep getting notified I have an update available but when I try to update I get the following msg ,"You have updates available for other accounts To update this application, sign in to the account you used to purchase it.". I only have one account with apple and the software was preinstalled when I purchased my macbook in Aug 2012 with that account. Has anyone had this problem or know how to find out what account apple needs?
You log into the App store using the same Apple ID you used to set the computer up, verify that none of your apps are hidden and that they have all be accepted and then download and install the update
for help contact the App store support - link is on the right ot the App store window
LN -
The App Store says I have updates for I-Photo and Garage Band. When I try to update I get the following message: You have updates available for other accounts To update this application, sign in to the account you used to purchase it." Both apps came with my computer and as far as I know I only have one Apple account. Any thoughts? Thanks.
KarenThanks for you reply. I'm 99% positive that I'm using the user id and password that I used to set up my computer. That's why I'm stumped. I read the solution someone else suggested (type your user name without @gmail and create a new password. When I tried it, I was asked for my birthday. It didn't recognize it. I know I got my birthday correct. Oh well...
Karen -
When upgrading from osx 10.7.4 to osx mountain lion I get the following Alert! This update requires OS X version 10.8.
Sounds like you downloaded the 10.8.1 update instead of the Mountain Lion installer from the Mac App Store.
You have to purchase Mountain Lion from the App Store to get to 10.8 -
when I have made a movie in Imovie and I want to transfer it to Theater I get the following comments: "Imovie is updating your Theater, You can't add or remove movies right now. Please try again in a moment". I have uninstalled and reinstalled Imovie to no avail, cleaned with "Onyx" etc.
This simply means it is set to Automatically update and you should not have to do anything with it.
When you put new music in iTunes , it will automatically go on the iPod next time you connect it.
This is the default to make it very simple and very easy to use.
If you want to do it all yourself, iTunes prefs -> iPod.
Set to Manually manage songs and playlists.
You have to drag songs to the iPod and delete them from the iPod. -
Getting the following exception in descriptor.setAmendmentMethodName
The following exception is thrown when Toplink Project is loaded in toplink 11g.
The amendment method [addEntityMappings], in amendment class [ProjectUtil], is invalid, not public, or cannot be found.
Descriptor amendment methods must be declared "public static void" with (ClassDescriptor) as the single parameter.
I have defined the method to be public static in the file, I have given the definition below:
public static void addEntityMappings( Descriptor descriptor )
String tableName = descriptor.getTableName();
descriptor.addDirectMapping( "version", "version" );
descriptor.addDirectMapping( "createdDateTime", "createdDate" );
descriptor.addDirectMapping( "modifiedDateTime", "modifiedDate" );
descriptor.addDirectMapping( "status", "status" );
descriptor.addDirectMapping( "statusLastDateTimeModified", "statusLastModified" );
descriptor.addDirectMapping( "displayKey", "displayKey" );
// SECTION: DIRECTTOFIELDMAPPING
oracle.toplink.mappings.DirectToFieldMapping directtofieldmapping = new oracle.toplink.mappings.DirectToFieldMapping();
directtofieldmapping.setAttributeName( "guid" );
directtofieldmapping.setIsReadOnly( false );
directtofieldmapping.setGetMethodName( "getGUID" );
directtofieldmapping.setSetMethodName( "setGUID" );
directtofieldmapping.setFieldName( tableName + ".guid" );
descriptor.addMapping( directtofieldmapping );
OneToOneMapping otom1 = new OneToOneMapping();
otom1.setForeignKeyFieldName( "namespaceId" );
otom1.setAttributeName( "namespace" );
otom1.setReferenceClass( NamespaceC.class );
otom1.dontUseIndirection();
descriptor.addMapping( otom1 );
OneToOneMapping otom2 = new OneToOneMapping();
otom2.setForeignKeyFieldName( "lastModifiedById" );
otom2.setAttributeName( "lastModifiedBy" );
otom2.setReferenceClass( UserC.class );
otom2.setUsesIndirection( true );
descriptor.addMapping( otom2 );
// invoke postMerge
descriptor.getEventManager().setPostBuildSelector( "postBuild" );
descriptor.getEventManager().setPostMergeSelector( "postMerge" );
descriptor.getEventManager().setPostRefreshSelector( "postRefresh" );
descriptor.getEventManager().setAboutToUpdateSelector( "aboutToUpdate" );
descriptor.getEventManager().setAboutToInsertSelector( "aboutToInsert" );
descriptor.setProperty( "Entity", Boolean.TRUE );
Can someone please point what is wrong?
Thanksresolved.
-
When I try to run EJBclient on remote system I get the following exception
Hi all,
I try to run EJB's sample,system is Windows XP,J2SDK1.3.1,J2EE1.3,code is:
Properties env = System.getProperties();
env.putContext.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
env.put(Context.PROVIDER_URL, "iiop://ysmlj:1050");
env.setProperty("org.omg.CORBA.ORBInitialHost","ysmlj");
Context initial = new InitialContext();
Object objref = initial.lookup("HelloWorld1");
HelloWorldHome home = (HelloWorldHome)PortableRemoteObject.narrow(objref, HelloWorldHome.class);
HelloWorld helloWorld = home.create();
helloWorld.sayHello();
But on remote system run this Client,I get exception is
org.omg.CORBA.COMM_FAILURE: minor code: 1398079490 completed: No
at com.sun.corba.se.internal.iiop.IIOPConnection.writeLock(IIOPConnectio
n.java:919)
at com.sun.corba.se.internal.iiop.IIOPConnection.send(IIOPConnection.jav
a:980)
at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStre
am.java:76)
at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequest
Impl.java:91)
at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.
java:158)
at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.
java:198)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:459)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub
.java:393)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at MyStandAloneClient.main(MyStandAloneClient.java:27)
Please help me how to do! My E-mail is: [email protected]
Thank you!!This minor code error may due to different version of JVM in your server and clients. I had same error when i change client JVM version with server version i could solve the problem..
properties.put(javax.naming.Context.PROVIDER_URL,"iiop://server:1050");
properties.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory");
InitialContext ic = new InitialContext(properties);
Object objref = ic.lookup("lookup name"); -
I keep getting the following error msg when updating
Photoshop 13.1.2 for Creative Cloud
There was an error installing this update. Please quit and try again later. Error Code: U44M1I210
I went to the Adobe download page and did not find this (13.1.2) update.
Any solution?Google is your friend:
http://helpx.adobe.com/creative-suite/kb/error-u44m1i210-installing-updates-ccm.html -
i had downloaded Mountain OX and installed it on my macbook air. The notes app is now not working. I get the following message
"Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
abort() called
terminate called throwing an exception"
Can someone help me with solving the problem.i had downloaded Mountain OX and installed it on my macbook air. The notes app is now not working. I get the following message
"Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
abort() called
terminate called throwing an exception"
Can someone help me with solving the problem. -
Hi All,
I am currently completing a project for college which involves the creation of a domain, OU's, GPO's etc within a virtual environment.
I am using Windows Server 2008 Enterprise running this on VMware however after having completed and tested all my GPO's now none of my users are able to log on to the domain and keep getting the following error message "The user profile service failed
the logon" "User profile cannot be loaded".
I have tried to a lot of different options prior to posting which include:
Creating a new user account/s in case the previous user policies were corrupt the same error message is shown.
I also configured my DC to allow users to log onto the DC in case this was a network issue but the same error still exists.
My Administrator account always logs onto the DC without fail and applies all the GPO's as it should.
I have rebuilt my servers twice now at this stage and the same problems keep happening at first it was just confined to users within a single OU but now is Domain wide any suggestions on what I can do.
Thanks,
JohnJohn,
Since this is a project, you may have experimented with various settings in multiple Group Policies, so I would recommend you run the Group Policy Modelling Wizard, as it will show you all the GP settings down to a specific user on a specific computer, plus
tell you which Group Policy sets and which settings, and thereby perhaps find where the problem occurs.
Please mark as answer or vote
as helpful when
it applies. Thanks! -
Getting the following error while parsing the values usng xml parser
Hi
I am getting the following error while parsing the values using the code in r12 instance on linux
declare
XML_PARSER XMLPARSER.PARSER;
DOC XMLDOM.DOMDOCUMENT;
DOCELEMENT DBMS_XMLDOM.DOMELEMENT;
BEGIN
-- NEW PARSER
XML_PARSER := XMLPARSER.NEWPARSER;
-- SET SOME CHARACTERISTICS
XMLPARSER.SETVALIDATIONMODE(XML_PARSER, FALSE);
IF P_DIR IS NOT NULL AND P_FILENAME IS NOT NULL
THEN
FND_FILE.PUT_LINE(FND_FILE.LOG,'DIRECTORY FOUND'||'-'||P_DIR);
XMLPARSER.SETBASEDIR(XML_PARSER, P_DIR);
-- PARSE INPUT FILE
FND_FILE.PUT_LINE(FND_FILE.LOG,'FILE FOUND'||'-'||P_FILENAME);
XMLPARSER.PARSE(XML_PARSER, P_DIR || '/' || P_FILENAME);
-- GET DOCUMENT
DOC := XMLPARSER.GETDOCUMENT(XML_PARSER);
LOAD_SUPP(doc);
ELSE
DBMS_OUTPUT.PUT_LINE('DIRACTORY/FILENAME CANNOT BE NULL');
END IF;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('DATA NOTINSERTED'||sqlerrm);
ROLLBACK;
END
I am getting the following error
DIRACTORYL-/home/appldevORA-0000: normal, successful completion
FILE NAME-suppliersample_data.xmlORA-0000: normal, successful completion
DATA NOTINSERTEDORA-31001: Invalid resource handle or path name "/home/appldev/suppliersample_data.xml"
ORA-06512: at "SYS.XDBURITYPE", line 11
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
ORA-29280: invalid directory path
ORA-29280: invalid directory path
ORA-29280: invalid directory path
It could be great if some one could give a suggestion/solution.
Thanks
AjeshBesides this is not the correct forum try to google the error message first before posting:
http://ora-29280.ora-code.com/
cheers -
I get the following message when I go to "check for updates" on iTunes (I have XP on windows). Error message: "The iTunes update server could not be contacted. Please check your internet connection or try again later".
My firewall (both anti virus firewall and windows firewall, are set up to allow itunes programme to work) - I also have set both internet explorer and chrome to allow
apple website as an exception.
However, I still get the same error message... can anyone help?
ThanksTry updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
http://www.apple.com/itunes/download/ -
Am getting the following error while running the servlet example
Hi,
am getting the following error while running the servlet example
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
edu.dao.StudentDao.insertStudent(StudentDao.java:18)
edu.servlet.StudentServlet.doGet(StudentServlet.java:25)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Thanks
//sreekanthHi,
the following code i have written in StudentDao
package edu.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import org.apache.commons.dbutils.DbUtils;
import edu.model.Student;
import edu.util.DBUtil;
public class StudentDao {
public void insertStudent(Student student) {
String stuQuery = "INSERT INTO STUDENT VALUES(?,?)";
Connection connection = DBUtil.getConnection();
PreparedStatement preparedStatement = null;
try {
preparedStatement = connection.prepareStatement(stuQuery);
preparedStatement.setString(1,student.getStudentNo());
preparedStatement.setString(2, student.getStudentName());
preparedStatement.executeUpdate();
} catch(SQLException e){
System.out.println("..Sql exception......");
}finally {
DbUtils.closeQuietly(connection,preparedStatement,null);
} -
I am getting the following error in DAC, can anybody look into this ?
Hi All
I am getting the following error in DAC while Registering Informatica Services & repository services in DAC ?
This is for RS(Repository services):
======================
Failure connecting to "BIA_RS"!
ANOMALY INFO::: Error while pinging informatica repository server
MESSAGE:::F:\DAC\bifoundation\dac\log\pmrepConnect.log (The system cannot find the file specified)
EXCEPTION CLASS::: java.io.FileNotFoundException
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:106)
java.io.FileInputStream.<init>(FileInputStream.java:66)
com.siebel.etl.functional.ReadFileToBuffer.readFileToBuffer(ReadFileToBuffer.java:39)
com.siebel.analytics.etl.infa.interaction.PmrepInvoker.pmrep(PmrepInvoker.java:100)
com.siebel.etl.gui.data.StaticDatabaseCalls.testRepositoryServer(StaticDatabaseCalls.java:959)
com.siebel.etl.gui.data.StaticDatabaseCalls.testInformaticaServer(StaticDatabaseCalls.java:890)
com.siebel.etl.net.ExecutionPlan.getInformaticaStatus(ExecutionPlan.java:275)
com.siebel.etl.net.ClientMessageDispatcher$WorkerThread.mBeanRequestInformaticaStatus(ClientMessageDispatcher.java:433)
com.siebel.etl.net.ClientMessageDispatcher$WorkerThread.consoleMessage(ClientMessageDispatcher.java:224)
com.siebel.etl.net.ClientMessageDispatcher$WorkerThread.run(ClientMessageDispatcher.java:144)
This is for IS(integration services):
====================
Failure connecting to "BIA_IS"!
Can anybody please provide the solution for this ?
Regards
Srini
Edited by: Srini on Feb 26, 2012 4:58 AMCheck weather Your able to Ping Data warehouse, might be your ETL is not able to ping DW.
Maybe you are looking for
-
New to bt - vision replay help needed
Hello to you all i'm new to bt. I recently purchased the £17.99 phone, tv, & broadband package. This package was meant to include free & unliimited access to vision replay. Problem is i'm unable to get bbc iplayer programs at all, & it wants to charg
-
Supplier Organization Sourcing
Hi All, I defined a supplier as organization. While defining sourcing rule I wanted to define 'TRANSFER FROM' - Supplier Organization. However this organization is not appearing in the LOV. Do I need to define this on VCP side? Or it is not at all po
-
Folks, I have a case here for scale based pricing but a variant of it. Please let me know if you guys faced this situation and please throw up possible solutions. For quantity 1 price is say 20,000 For each additional quantity price is incremented by
-
Is there a practical limit to catalog size?
I get frequent enough requests to use old photos so I keep everything in one catalog, and all raw files on disk in directories by year\day. Currently there are several hundred thousand files (about half unedited), and the catalog size at last check
-
Any chance of using this network hardware on linux?
I have bought TP-Link TL-WN422G usb wireless adapter. By mistake I took ver.2, which uses Atheros AR9271 chipset. That chipset is still not supported by linux. It uses ath9k_htc driver which is stilll under development. http://wireless.kernel.org/en/