Where is the error

hi
i'm trying to creat Arraylist with objects then store this arraylist to file
when the program starts it will check if the file exist if yes it will load it and casted to array list
if not
creat new file and start new array list , but i get always different error
here is my codes :
public class Animal {
     private String name ;
     private int age ;
     public Animal(String name , int age){
          setName( name);
          setAge( age);
     public int getAge() {
          return age;
     public void setAge(int age) {
          this.age = age;
     public String getName() {
          return name;
     public void setName(String name) {
          this.name = name;
import java.io.File;
import java.util.ArrayList;
import java.util.Scanner;
public class Test {
      * @param args
     public static void main(String[] args) {
          String _CLN_File     ="C:"+File.separator+"Animal";
          File file;
          String name1 ,name2;
          int age1,age2;
          Animal temo ,rico;
          Scanner input = new Scanner(System.in);
          ArrayList<Animal> list;
          file = new File(_CLN_File);
          if(file.exists()){
               System.out.println("file exisits");
               list = (ArrayList) ReadFromDesk.readList(file);
          else{
               list = new ArrayList<Animal>();
               System.out.println("no file found");
               name1 =input.next();
               name2=input.next();
               age1=input.nextInt();
               age2=input.nextInt();
               temo = new Animal(name1,age1);
               rico = new Animal(name2,age2);
               list.add(temo);
               list.add(rico);
               WriteToDisk.writeList(file,_CLN_File,list);
          for(Animal st : list){
               System.out.println("name is "+st.getName());
               System.out.println("age is "+st.getAge());
import java.io.FileInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.lang.NullPointerException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class ReadFromDesk {
     public ReadFromDesk(){}
     //will return any array list
     public static ArrayList readList (File file){
          FileInputStream   _arrListIn     = null;
          ObjectInputStream _arrListReadObj= null;
          try{
               _arrListIn = new FileInputStream(file);
               _arrListReadObj = new ObjectInputStream(_arrListIn);
               ArrayList temp = new ArrayList();
               temp = (ArrayList) _arrListReadObj.readObject();
               return temp;
               }catch (ClassNotFoundException cnfe) {
                    cnfe.printStackTrace();
               } catch (FileNotFoundException fnfe) {
                    fnfe.printStackTrace();
               } catch (IOException ioe) {
                    ioe.printStackTrace();
               }catch (NullPointerException npi){
                    npi.printStackTrace();
          finally{
               try {
                    _arrListReadObj.close();
                    _arrListIn.close();
                    } catch (IOException ioe) {
                         ioe.printStackTrace();
          return null;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
public class WriteToDisk {
     public WriteToDisk(){}
     //using generic so this method can take any type of arraylist as
     //parameter
     public static <E> void writeList(File file,
               String path,ArrayList <E> arrlist){
          FileOutputStream   _arrListOut      = null;
          ObjectOutputStream _arrListWriteObj = null;
          try{
               _arrListOut = new FileOutputStream(file);
               _arrListWriteObj = new ObjectOutputStream(_arrListOut);
               _arrListWriteObj.writeObject(arrlist);
               _arrListWriteObj.flush();
          catch (FileNotFoundException fnfe) {
               System.out.println("NotFound Ex");
          } catch (IOException ioe) {
               System.out.println("IO EX");
          }catch (NullPointerException npi){
               System.out.println("NULL EX");
          finally{
               try {
               _arrListWriteObj.close();
               _arrListOut.close();
               } catch (IOException ioe) {               
                    System.out.println("Finally Close EX");
}

thanks it works fine BUT here is part of my real program and i have a problem reading from file
package database;
import java.io.File;
import java.io.Serializable;
import java.util.ArrayList;
import exceptions.DuplicatedInput;
import exceptions.InvalidPasswordException;
import exceptions.NoObjectFoundException;
import model.Client;
import utilities.ListsUtil;
import utilities.ReadFromDesk;
public class ClientsList implements Serializable{
     private final String _CLN_File     ="C:"+File.separator+"clients";
     private File         _clientsF;
     private ArrayList <Client> _clientList;
     public ClientsList(){
          ReadFromDesk rfd = new ReadFromDesk();
          _clientsF = new File (_CLN_File);
          _clientList = new ArrayList<Client>();
          if (_clientsF.exists()){
               // i should also check if the file is not empty
               _clientList = rfd.readList(_clientsF);
     }//end constructor
     /* add client to list , test if the list is empty , client will be
      * added if the user name doesn't exists in the list.
     public void addClientToList(Client client)throws DuplicatedInput{
          if (_clientList.isEmpty()){
               _clientList.add(client);
          else{
               for(Client temp : _clientList){
                    if (temp.get_userName().equals(client.get_userName()))
                         throw new DuplicatedInput("username exists");
          //the following in case if the list is not empty and no dublicated input
          _clientList.add(client);
     public boolean checkUsername(String username){
          if (_clientList.isEmpty()){
                    return true;
          else{
                    for(Client temp : _clientList){
                         if (temp.get_userName().equals(username))
                              return false;
               return true;
     public Client logIn(String username,String password) throws NoObjectFoundException , InvalidPasswordException
          for(Client client : _clientList){
               //i could use one if statment and check both , but by this way
               //i can throw 2 different exception
               if (client.get_userName().equals(username)){
                    if (client.get_passWord().equals(password)){
                         return client;
                    else
                         throw new InvalidPasswordException ("invalid password");
          throw new NoObjectFoundException("ther is no client with this user name");
     public void saveClientList(){
          ListsUtil.saveList(_clientsF,_clientList);
package model;
import java.io.Serializable;
import java.util.ArrayList;
import exceptions.NoObjectFoundException;
import utilities.DateManager;
public class Client extends Group3 implements Serializable{
     private String _fName;
     private String _userName;
     private String _passWord;
     private String _passwordHint;
     private String _lastVisitDate;
     private char   _client_classification;
     private double _totalOrders;
     private double _lastOrder;
     private ArrayList <Product> _pasket; //create method to print this in text file
     public Client(String lName, String fName, String address,String phoneNum,
               String username, String password,String passwordHint){
          super (lName,address,phoneNum);
          set_fName(fName);
          set_userName(username);
          set_passWord(password);
          set_passwordHint(passwordHint);
          _pasket       = new ArrayList<Product>();
     public void addToPasket(Product product , int qty){
          product.set_priceWithQtyDis(qty);
          product.set_PriceWithoutDis(qty);
          _pasket.add(product);
    /*All Setters and Geters*/
     public ArrayList<Product> getPurchasedProducts()throws NoObjectFoundException
          if (!_pasket.isEmpty())
               return _pasket;
          else
               throw new NoObjectFoundException("Your Pasket is Empty");     
     public char get_client_classification() {
          return _client_classification;
     public void set_client_classification() {
          if (get_totalOrders() >=20000)
               _client_classification = 'A';
          else if (get_totalOrders() >=15000 && get_totalOrders() < 20000)
               _client_classification = 'B';
          else if (get_totalOrders() >=7500 && get_totalOrders() < 15000)
               _client_classification = 'C';
          else
               _client_classification = 'D';
     public double get_lastOrder() {
          return _lastOrder;
     public void set_lastOrder(double order) {
          _lastOrder = order;
     public double get_totalOrders() {
          return _totalOrders;
     public void set_totalOrders(double orders) {
          _totalOrders += orders;
     public String get_lastVisitDate() {
          return _lastVisitDate;
     public void set_lastVisitDate() {
          _lastVisitDate =DateManager.currentDate();
     public String get_fName() {
          return _fName;
     public void set_fName(String fname) {
          _fName = fname;
     public String get_passWord() {
          return _passWord;
     public void set_passWord(String word) {
          _passWord = word;
     public String get_passwordHint() {
          return _passwordHint;
     public void set_passwordHint(String hint) {
          _passwordHint = hint;
     public String get_userName() {
          return _userName;
     public void set_userName(String name) {
          _userName = name;
* this class will write any class that implements the interface "List"
package utilities;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.util.List;
public class WriteToDisk {
     public WriteToDisk(){}
     //using generic so this method can take any type of arraylist as
     //parameter
     public static <E> void writeList(File file,List <E> arrlist){
          FileOutputStream   _arrListOut      = null;
          ObjectOutputStream _arrListWriteObj = null;
          try{
               _arrListOut = new FileOutputStream(file);
               _arrListWriteObj = new ObjectOutputStream(_arrListOut);
               _arrListWriteObj.writeObject(arrlist);
               _arrListWriteObj.flush();
          catch (FileNotFoundException fnfe) {
            fnfe.printStackTrace();
            file.deleteOnExit();
          } catch (IOException ioe) {
            ioe.printStackTrace();
            file.deleteOnExit();
          }catch (NullPointerException npi){
               npi.printStackTrace();
               file.deleteOnExit();
          finally{
               try {
               _arrListWriteObj.close();
               _arrListOut.close();
               } catch (IOException ioe) {               
                    ioe.printStackTrace();
                    file.deleteOnExit();
package utilities;
import java.io.FileInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.lang.NullPointerException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class ReadFromDesk {
     public ReadFromDesk(){}
     //will return any array list
     public <E>  ArrayList<E> readList (File file){
          FileInputStream   _arrListIn     = null;
          ObjectInputStream _arrListReadObj= null;
          try{
               _arrListIn = new FileInputStream(file);
               _arrListReadObj = new ObjectInputStream(_arrListIn);
               ArrayList <E>temp = new ArrayList<E>();
               temp = (ArrayList) _arrListReadObj.readObject();
               return temp;
               }catch (ClassNotFoundException cnfe) {
                    System.out.println("class n Ex");
               } catch (FileNotFoundException fnfe) {
                    System.out.println("file NotFound Ex");
               } catch (IOException ioe) {
                    System.out.println("io Ex");
               }catch (NullPointerException npi){
                    System.out.println("null Ex");
          finally{
               try {
                    _arrListReadObj.close();
                    _arrListIn.close();
                    } catch (IOException ioe) {
                         ioe.printStackTrace();
          return null;
     public static <E> List<E> deepCopy(List<E>dist , List<E>Source){
          Iterator <E> iter = Source.iterator();
          int counter =0;
          while (iter.hasNext()){
               dist.add(counter,Source.get(counter));
               counter++;
          return dist;
package utilities;
import java.io.File;
import java.rmi.server.UID;
import java.util.ArrayList;
import java.util.List;
import model.Group3;
import utilities.WriteToDisk;
import exceptions.NoObjectFoundException;
public class ListsUtil {
     public static <E> void saveList(File file ,
               ArrayList <E> arraylist)
          if (!arraylist.isEmpty())
               WriteToDisk.writeList(file,arraylist);
          else
               file.deleteOnExit();
     public static void removeFromList(List<Group3> list , UID id)throws NoObjectFoundException
          for(Group3 g3 : list){
               if(g3.get_IDENTIFIER().equals(id)){
                    list.remove(g3);
                    return;
          throw new NoObjectFoundException("error removing object");
package View;
import java.util.Scanner;
import model.Client;
import database.ClientsList;
//import database.ProductsList;
import exceptions.DuplicatedInput;
import exceptions.InvalidPasswordException;
import exceptions.NoObjectFoundException;
public class OnlineOrder {
     public static void main(String[] args) {
          String lName,  fName,  address, phoneNum, username ,  password,
          passwordHint;
          Client cast = null;
          ClientsList cList  = new ClientsList();
          //ProductsList pLists= new ProductsList();
          System.out.println("Welcome to Group3 Shop");
          System.out.printf("%s\n%s\n",
                    "1- New user",
                    "2- LogIn");
          int choice = 0;
          Scanner input = new Scanner(System.in);
          choice =input.nextInt();
          switch (choice){
               case 1 : System.out.println("please fill in :");
                          lName = input.next();
                          fName = input.next();
                          address=input.next();
                          phoneNum=input.next();
                          while (true){
                               boolean usernameExsit = false;
                               System.out.println("enterusername");
                               username = input.next();
                               usernameExsit = cList.checkUsername(username);
                               if (usernameExsit==true)
                                    break;
                          password = input.next();
                          passwordHint =input.next();
                          cast = new Client(lName,  fName,  address, phoneNum,
                                    username,  password, passwordHint);
                          break;
               case 2:
                    String user = input.next();
                    String pass = input.next();
                    try {
                         cast = cList.logIn(user,pass);
                    } catch (NoObjectFoundException e) {
                         // TODO Auto-generated catch block
                         System.out.println("no username");
                    } catch (InvalidPasswordException e) {
                         // TODO Auto-generated catch block
                         System.out.println("no pass");
                    break;
               default :
                    cast = new Client("wael","manar","imbaba","imbaba","imbaba","imbaba","imbaba");
          try {
               cList.addClientToList(cast);
          } catch (DuplicatedInput e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
          cList.saveClientList();
          System.out.printf("%s",cast.get_fName());
}

Similar Messages

  • When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI

    When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI( I am not getting any error message in E$_TARGET_ANI_TEST).
    When i am running the interface i am getting the below error against the errored step
    "ORA-01045: user ABC lacks CREATE SESSION privilege; logon denied."
    Only E$_TARGET_ANI_TEST  is created with no data. No such tables like C$_0TARGET_ANI_TEST, I$_TARGET_ANI_TEST are created and also data is not inserted in the target table TARGET_ANI_TEST.

    Hi,
    I have checked that only E$ table is created. C$ and I$ table are not created ( I have selected my target schema as the part for the staging table).
    All the parameters for dropping the tables are selected as "<default>:false".
    I am importing the following KMs with the following parameters:
    1) CKM Oracle
    DROP_ERROR_TABLE
    :false
    DROP_CHECK_TABLE
    :false
    CREATE_ERROR_INDEX
    :true
    COMPATIBLE
    :9
    VALIDATE
    :false
    ENABLE_EDITION_SUPPORT
    :false
    UPGRADE_ERROR_TABLE
    :false
    2) LKM SQL to SQL
    DELETE_TEMPORARY_OBJECTS
    :true
    3) IKM SQL Incremental Update
    INSERT
    :true
    UPDATE
    :true
    COMMIT
    :true
    SYNC_JRN_DELETE
    :true
    FLOW_CONTROL
    :true
    RECYCLE_ERRORS
    :false
    STATIC_CONTROL
    :false
    TRUNCATE
    :false
    DELETE_ALL
    :false
    CREATE_TARG_TABLE
    :false
    DELETE_TEMPORARY_OBJECTS
    :true 

  • Where is the Error-Handler config DB file?

    Where is the Error-Handler config DB file?
    <P>
    All the Config DB files are in the config directory under the
    postoffice directory. Each config file has the same name as the
    Module it's the config for (e.g. Error-Handler contains the configs
    for the Error-Handler.)

    Look in the database alert file - in the "bdump" directory
    Look in the trace files in the "udump" directory
    If still no wiser:
    ALTER system SET event = '31098 trace name context forever, level 2' scope=spfile
    Try again and look for the trace files starting with "s..." in the "udump" directory.

  • Wher's the error? BPPF-BLART IN TD_PROTOCOLLO AND SYST-TCODE NOT IN Z_ECCEZ

    Hi All,
    cuold anyone tell me wher's the error in this code I've used in validation rules of FI?
    BPPF-BLART IN TD_PROTOCOLLO AND SYST-TCODE NOT IN Z_ECCEZIONE
    Thanks

    Hi All,
    cuold anyone tell me wher's the error in this code I've used in validation rules of FI?
    BPPF-BLART IN TD_PROTOCOLLO AND SYST-TCODE NOT IN Z_ECCEZIONE
    Thanks

  • Where is the error ring constant in LV 8.2?

    Where is the Error Ring Constant in LabView 8.2?  It was in the block diagram numerics panel in 7.1.1.

    You might wish to have a look at this.
    Try to take over the world!

  • Where's the error

    hey all, plz if any one can tell me where is the error in this method, its giving me arrayOutOfBounds error:
              for(int i=0; i<arr.length; i++)
                   if(arr[i+1] == arr)
                   result += arr[i]+arr[i+1];
                   if(result > maxResult)
                   maxResult = result;
              System.out.println(maxResult);
    thanks alot
    Abed

    Stop the loop one iteration earlier.
    By the way, both the API description and the error message, as well as the stack trace of an AAIOBE are very obvious and straightforward in pointing out the error's cause.

  • Where is the Error? in JSP

    I have develpoed a small application in java. which contains on one servler and one jsp page.
    Here is the servlet code:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class Controller extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    //Initialize global variables
    public void init() throws ServletException {
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType(CONTENT_TYPE);
    // PrintWriter out = response.getWriter();
    String teststring = "Good";
    request.setAttribute("Noman", teststring);
    RequestDispatcher reqdispatcher = this.getServletConfig().getServletContext().getRequestDispatcher("model1.jsp");
    reqdispatcher.forward(request,response);
    //Clean up resources
    public void destroy() {
    and here is the jsp page code:
    <html>
    <head>
    <title>
    model1
    </title>
    </head>
    <body bgcolor="#ffffff">
    <!--<form method="GET" action="Controller">
    JBuilder Generated JSP
    </form><-->
    <% String a = (String)request.getAttribute("Noman"); %>
    <%= a %>
    </body>
    </html>
    I want to pass a string drom servlet to jsp page.
    but when i run the jsp page. it displays null value in string.
    Where is the error.
    i tried it a lot but can not find error in code.
    plz help me.
    Thanks
    Nomi

    i have passed the URL of servlet to run then it shows that error
    Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Errortype Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception java.lang.IllegalArgumentException: Path model1.jsp does not start with a "/" character
    at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:572)
    at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:174)
    at test.Controller.doGet(Controller.java:21)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:534)
    i have not wrote any "/" character . i dont know what is that ?

  • Q: Where is the "errors message" reference?

    Folks,
    I'm trying to startup an instance of iFS but I'm facing some problems. When I execute the command line "ifsstartdomain" and enter the values on the dialog window, the following errors occurs:
    "IFS-45002: Unable to start domain controller/domain
    oracle.ifs.common.IfsException: IFS-20101: Unable to determine whether service exists(null)
    oracle.ifs.common.IfsException: IFS-19001: Required parameter was null (service name)"
    Does anybody know what is happening? I didn't find this errors in any documentation.
    Thanks in advance,
    Bruno Moreno

    Luis,
    I have entered BMORENO-BRA(my machine) in Domain Controller field, 53140(default port) in port field and the password of the IFSSYS schema in the password field.
    The main question is where I can find the errors documentation so I won't disturb you when I meet some news problems.

  • Where's the error?? Help....

    Hi all,
    well, i parse a file with the stream tokenizer and when find a number, i nedd to add it in an array. To verifiy if it works, i'd like to display by example array1[4][2]. But it doesn't work...
    Could you please have a look at this code and tell me where the error is?? I'd be very grateful....
    Here it is
    public void accept() {
              int n;
              int i=0;
              int j=0;
              int l1 = 0;
              int m1 = 0;
    try {FileReader fr = new FileReader("test2.dat");
            BufferedReader br = new BufferedReader(fr);
         StreamTokenizer stk = new StreamTokenizer(br);
         int [][] array1 = new int [9][3];
                   do {
                   n = stk.nextToken();
                   while (n != stk.TT_NUMBER);
                   do {
                   n = stk.nextToken();
                   if (n == stk.TT_NUMBER) {
                        double m = stk.nval;
                        m1 = (int) m;
                        n = stk.nextToken();
                        if (n == stk.TT_NUMBER){
                             do {
                             i++;     
                             double l = stk.nval;
                             l1 = (int) l;
                             array1 [m1] = l1;
                             n = stk.nextToken();
                             while (n!= stk.TT_EOL);
                   while (n != stk.TT_WORD); //fin du fichier
                   int r = array1 [4][2];
                   System.out.println(r);
                   br.close();
                   fr.close();
                   catch (IOException ioe1) {
                        System.out.println("io error");
    Thanks very much.....

    A few general advices for the forums:
    - Use code tags when posting code.
    - Be more specific than "it doesn't work". Tell what result you get! A compile error? Say so, and give the error. An exception during runtime? Say so, and give the stacktrace. It compiles and runs, but gives unexpected results? Say so, and tell both what results you expected and what you get.
    I think your problem is that you try to use '==' for String comparison. That won't work, use String.equals() instead.

  • Where is the error message for Debrief line stored?

    Hi,
    I'm writing an sql query to display all the debriefs (and lines) in error and need to display the detailed error message (the field labeled "Error" on the Material tab on Debrief form). Does anyone know where this is stored in tables? I am digging the form and have not found anything yet. Any help is appreciated.
    Sorry - I guess it is - CSF_DEBRIEF_LINES.error_text - But there have been some error records for which I could not find the error message in error_text field and I thought that it was stored somewhere else and that got me confused. - Please ignore the question.
    TIA
    Alka.
    Message was edited by:
    user498444
    Message was edited by:
    user498444

    when you set a picture to be a background of some folder that picture is not moved from its original location. instead a record is made in the .DS_Store file of that folder indicating that this picture is the one to be used for the background. in case of the DVD it is likely sitting in some hidden folder right on the DVD.
    run the following terminal command to enable showing hidden files in finder
    defaults write com.apple.finder AppleShowAllFiles 1; killall Finder
    then look on the dvd and the picture should be there somewhere. if you still can't find it open the .DS_store file of the folder in question using Text Editor. a lot of this file will be unreadable but the picture path will be present in plain text.
    when done rerun the above command after changing 1 to 0.

  • WLS 7 MDB JMSConnection Alive false - where is the error reported?

    I have a few MDBs subscribed to various destinations. One of them is
    subscribed to a queue called jms.queue.queue1 in JNDI. queue1 is a
    regular Queue (not distributed), lives in JMSServer1, which is
    deployed to WLS server1. An entry for it appears in JNDI on each
    server in the cluster (server1 + server2). The MDB lives in an
    ejb-jar which is deployed to the cluster containing server1 & server2.
    In the console, under deployments -> ejb -> myejb.jar -> monitoring ->
    Monitor all Message Driven EJBRuntimes, all the other MDBs have
    "JMSConnection Alive" appearing as "true", but the one subscribed to
    queue1 has "false". I cannot see any exceptions in the server logs.
    Is there any way to get at the reason for the "false"?
    I can use a command-line QueueSender and Receiver on queue1 without a
    problem, using the t3:// url of either of the WLS Servers.
    What's most important to me is where the error is reported - I've had
    this problem a couple of times and it seemed to go away on its own.
    I'm not getting any diagnositics right now.
    Many thanks,
    Jeremy.

    I guess you got the answer by this time.
    IF not the answer is:
    Use enable the TX flags in the JMSConnectionFactory. Goto console. Select
    the JMSConnectionFactory (what MDB is using). Click on the trnsactions tab.
    Check the boxes there.
    Cheers,
    ..maruthi
    "Jeremy Watson" <[email protected]> wrote in message
    news:[email protected]..
    >
    I "stumbled on" this - if you set these system properties:
    weblogic.ejb20.jms.connect.verbose=trueweblogic.ejb20.jms.connect.debug=true
    >
    ..then you get some informative error messages from the EJB runtime as ittries
    to connect to the JMS destination. In my case, I got the followingexception coming
    out:
    [JMSConnectionPoller] : ** FAILED TO CONNECT TO JMS WITH:weblogic.ejb20.WLDeploymentException:
    Message Driven Bean 'mdb3' is transacted but the provider defined in theejb is not
    transacted. Provider should be transacted if onMessage method in MDB istransacted.
    >
    >
    Apologies for double-posting. Thanks for the piece of direction Tom (inthe jms group),
    which helped me find the answer.
    Jeremy.

  • Where is the error support link now??

    There used to be very good knowledge base when esupport was there...
    http://primussupport.hyperion.com/esupport/esupport/consumer/esupport.asp?
    But now no esupport.... there is somesort of knowledge base in the new oracle metalink but i cannot find any support for even the common errors there..
    where is the esupport error msg support now???
    any idea???

    metalink 3?

  • Where is the error hiding

    CFC Code:
    <cffunction name="comp_extList"
    access="remote"
    returntype="query"
    description="Get a list of employees, phone extensions, and
    departments">
    <cfargument name="abbrCode" required="yes" />
    <cfargument name="searchBox" required="no" />
    <cfset searchBox = UCASE("#arguments.searchBox#") />
    <cfldap name="phoneList"
    server="#cfc.ldap.server#"
    username="[email protected]"
    password="#cfc.ldap.key#"
    action="query"
    filter="company=#arguments.abbrCode#"
    start="dc=bii, dc=corp"
    scope="subtree"
    attributes="sn,givenName,telephoneNumber,department"
    sort="sn ASC"
    port="389" />
    <cfif len(arguments.searchBox) GT 0>
    <cfquery name="phoneList" dbtype="query">
    SELECT *
    FROM phoneList
    WHERE (UPPER(givenName) LIKE '%#searchBox#%'
    OR UPPER(sn) LIKE '%#searchBox#%'
    OR telephoneNumber LIKE '%#searchBox#%')
    AND telephoneNumber <> ''
    </cfquery>
    <cfelse>
    <cfquery name="phoneList" dbtype="query">
    SELECT sn,givenName,telephoneNumber,department
    FROM phoneList
    WHERE telephoneNumber <> ''
    </cfquery>
    </cfif>
    <cfreturn phoneList>
    </cffunction>
    I need to pass entered information for a search, but I
    receive error message:
    element searchbox is undefined in arguments.

    The error is not hiding at all actually. First, I recommend
    scoping all your variables. Inside a <cffunction> you can use
    <cfset var myLocalVar = "" /> to keep the variables local.
    But I noticed that you have this line:
    <cfargument name="searchBox" required="no" />
    The searchBox argument is not required, but you're using it
    the very next line:
    <cfset searchBox = UCASE("#arguments.searchBox#") />
    Since the argument is not required, it may not be passed in
    and hence won't exist in the arguments scope. The way to fix this
    is giving it a default value like so:
    <cfargument name="searchBox" required="no" default=""
    type="string" />
    That way if nothing is passed, Arguments.searchBox will still
    have a value.

  • Where is the error code ring constant in LV8 ???

    Hi
    the question seems rather stupid to me but I can't find the error code ring constant any more in LV8.
    Where does it hide?
    Gruß,
    Sören

    You can copy it from some VI made in previous version of LV. It works fine.
    jochynator
    LV 8.0.1, WinXP Pro
    Attachments:
    error_ring_example.vi ‏11 KB

  • Clusterware (11g) pre-check fails but where is the error?

    Hi,
    I'm attempting to install 11g clusterware but when I run the cluster verify it seems to indicate an error ...
    -bash-3.2$ ./runcluvfy.sh stage -pre crsinst -n optest01,optest02 -verbose
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "optest01"
      Destination Node                      Reachable?             
      optest01                              yes                    
      optest02                              yes                    
    Result: Node reachability check passed from node "optest01".
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      optest02                              passed                 
      optest01                              passed                 
    Result: User equivalence check passed for user "oracle".
    Pre-check for cluster services setup was unsuccessful on all the nodes.
    -bash-3.2$ ./runcluvfy.sh comp admprv -n optest01,optest02 -verbose -o user_equiv
    Verifying administrative privileges
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      optest02                              passed                 
      optest01                              passed                 
    Result: User equivalence check passed for user "oracle".
    Verification of administrative privileges was successful.
    -bash-3.2$ ./runcluvfy.sh comp admprv -n optest01,optest02 -verbose -o crs_inst -orainv oinstall
    Verifying administrative privileges
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      optest02                              passed                 
      optest01                              passed                 
    Result: User equivalence check passed for user "oracle".
    Verification of administrative privileges was unsuccessful on all the nodes. How do I get more information on what the error is?
    Thanks,
    Steve
    Edited by: steve_baldwin on Nov 24, 2008 8:46 PM

    Thanks Rodrigo. I'm sure it's something stupid I'm doing. I manually created $CRS_HOME/cv/log but still no log file ...
    -bash-3.2$ echo $CV_DESTLOC
    /tmp
    -bash-3.2$ echo $CRS_HOME
    /var/oracle/product/clusterware/
    -bash-3.2$ ls -la $CRS_HOME
    total 24
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 15:53 .
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 14:57 ..
    drwxr-xr-x 3 oracle oinstall 4096 Nov 24 15:53 cv
    -bash-3.2$ ls -laR $CRS_HOME
    /var/oracle/product/clusterware/:
    total 24
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 15:53 .
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 14:57 ..
    drwxr-xr-x 3 oracle oinstall 4096 Nov 24 15:53 cv
    /var/oracle/product/clusterware/cv:
    total 24
    drwxr-xr-x 3 oracle oinstall 4096 Nov 24 15:53 .
    drwxrwxr-x 3 oracle oinstall 4096 Nov 24 15:53 ..
    drwxr-xr-x 2 oracle oinstall 4096 Nov 24 15:53 log
    /var/oracle/product/clusterware/cv/log:
    total 16
    drwxr-xr-x 2 oracle oinstall 4096 Nov 24 15:53 .
    drwxr-xr-x 3 oracle oinstall 4096 Nov 24 15:53 ..
    -bash-3.2$ ./runcluvfy.sh comp admprv -n optest01,optest02 -verbose -o crs_inst
    Verifying administrative privileges
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      optest02                              passed                 
      optest01                              passed                 
    Result: User equivalence check passed for user "oracle".
    Verification of administrative privileges was unsuccessful on all the nodes.

  • Where is the "error messages" reference?

    I am looking for text of message IFS-45002, but can't find any docu.
    Apr.19, 2002, Bruno Moreno asked the same question. Luis Saenz answered, but the question wasn't answered. Is it thinkable, that in iFS the Error Messages were not published?
    Thanks for hints.
    Georg

    I am not really trying anything in particular, as I am using a whole another compiler (haXe) that assembles the .pbj kernel files for use by Flash Player, and just need some sort of documentation for that which Flash Player runs.
    Now I know Pixel Bender is not the same as that which runs assembled .pbj files, but regardless, no documentation for either can be found easily.
    I am running Linux and the only option for me currently with regards to Adobe's Pixel Bender Toolkit is to try and run it in Wine, which it does NOT do because the installer uses some features of WinAPI that Wine does not yet have in its code. Fair enough. I don't seek advice on making it run, I just need some human readable text for making sense out of Pixel Bender beyond the advertisement of features on labs.adobe.com/technologies/pixelbender and sporadic tutorials (which assume I already have the documentation), neither of which help me.
    All I wanted is to extract the documentation, since it is, by some design flaw from Adobe, ONLY available from INSIDE running/installed Toolkit, and not like a standalone PDF like the rest of Adobe's manuals.
    I found ONE SINGLE third-party copy of this PDF from a Korean website. This speaks volumes about Adobe supporting developers, does it not?
    P.S. Good gods, the performance of this JavaScript/AJAX-ridden bloated forum really SUCKS. And don't tell me Firefox on Linux is inadequate, this is the first one that is so awful in performance - apparently these "programmers" from Jive Software have trapped cursor moving or textfield changing event, because there is something seriously wrong with typing experience here. I can't type normally without cursor freezing for half a second each second character or disappearing from view sporadically.
    Yes I am a harsh critic, but I do weigh what I write.

Maybe you are looking for

  • Quicktime 7 and Audio MIDI bugs in 10.3.9

    I posted this in the 10.3 audio forum and am trying here as well I am having overloaded CPU issues that won't allow playback in Pro Tools 6.8 M-Powered and made Reaktor 5 unusable. Reason Adapted cannot access core MIDI. This issue has grown worse as

  • INTERNET,APPWORLD,WIFI - ISSUES

    Hi All,  I have BB Curve 8520 Model.  Issue with device:  1 . 1ce when is disable the internet setting after using internet the next time i switch ON internet Data internet will not work unless i restart the device.  2. After updating the appworld to

  • So sorting time...please help

    So, yes, this is a homework problem, but my brain just isn't having any of this problem. Give an algorithm to sort 4 elements in only 5 key comparisons int he worst case. OR Give an algorithm to sort five elements that is optimal in the worst case.

  • Will Air Display work on my Mac 10.5.8?

    So i just downloaded Air Display in hopes of making my desktop Mac a second monitor for my Macbook Pro. The desktop is version 10.5.8 and is having troubles downloading the software. I may be doing the installation steps wrong.. I have no idea. Any s

  • MicroSD works with e71x but in nothing else. HELP...

    I have an e71x with a 4GB MicroSD card in it.  I just upgraded to an Android phone and when I put the SD card into it, the phone does not even show that there is a card in it.  The same is true with my computer.  The card works fine in the e71x, but