BindingException - Invalid Class Received

Hello friends -
I'm currently getting the following error at servicegen ant time:
weblogic.xml.schema.binding.BindingExceptio
n: Invalid class received: interface java.util.Enumeration loaded from file:/C:/bea/jdk1
41_05/jre/lib/rt.jar!/java/util/Enumeration.class. All classes that will be serialized
or deserialized must be non-interface, non-abstract classes that provide a public default constructor
I've done some reading, but most of what I find seems to indicate that this is an issue with wanting to return an unserializable object type from a web service. In my case, I simply want to use a Properties object inside of my web service to retrieve values that would be useful to change without a recompilation. My input and output do not include Enumeration type objects. If I modify my methods to use hardcoded values instead of opening a file using Properties, servicegen will compile the web service fine.
I've also seen some postings indicating this could be a classpath related issue, but have yet to make progress on that end either.
Is it impossible to use / reference any object which does not implement serializable within a web service, even if your input or return types do not utilize these objects?
Any and all guidance is appreciated.
Thanks!
cm

I think it is too late to respond but this is what i relize at this point.I am getting the same error but with java.util.Map the reason is these are not supported data types by servicegen so you need to write a data type.Please let me know if you resolved this issue if so How?

Similar Messages

  • Invalid Class Exception problem

    Hi whenever i try to run this method from a different class to the one it is declared in it throws invalid class exception, (in its error it says the class this method is written in is the problem) yet when i run it from its own class in a temporary main it works fine, perhaps someone can see the problem in the method code. All its doing is reading from a few different txt files, deserializing the objects and putting them into arraylists for future access.
    public void readCourseData()
              CourseArrayLengths cal;
              try
                   FileInputStream fis = new FileInputStream("arraylengths.txt");
                   ObjectInputStream ois = new ObjectInputStream(fis);
                   cal = ((CourseArrayLengths) ois.readObject());     
                   ois.close();
                   FileInputStream fis1 = new FileInputStream("units.txt");
                   ObjectInputStream ois1 = new ObjectInputStream(fis1);
                   for(int i=0;i<cal.getUnitArrayLength();i++)
                        units.add((Unit) ois1.readObject());
                   ois1.close();
                   FileInputStream fis2 = new FileInputStream("sections.txt");
                   ObjectInputStream ois2 = new ObjectInputStream(fis2);
                   for(int i=0;i<cal.getSectionArrayLength();i++)
                        sections.add((Section) ois2.readObject());
                   ois2.close();
                   FileInputStream fis3 = new FileInputStream("files.txt");
                   ObjectInputStream ois3 = new ObjectInputStream(fis3);
                   for(int i=0;i<cal.getFileArrayLength();i++)
                        files.add((Filetype) ois3.readObject());
                   ois3.close();
              catch(FileNotFoundException exception)
              System.out.println("The File was not found");
              catch(IOException exception)
              System.out.println(exception);
              catch(ClassNotFoundException exception)
              System.out.println(exception);
         }

    import java.util.ArrayList;
    import java.io.*;
    import javax.swing.*;
    public class Unit implements Serializable
    ArrayList units = new ArrayList();
    ArrayList sections = new ArrayList();
    ArrayList files = new ArrayList();
    String unitName;
    int sStart=0,sEnd=0,sIndex=0,fIndex=0,subIndex=0;
         public Unit(String unitNamec,int sStartc,int sEndc)
              unitName = unitNamec;
              sStart = sStartc;
              sEnd = sEndc;
         public Unit()
         public String getUnitName()
              return unitName;
         public Unit getUnit(int i)
              return (Unit)units.get(i);
         public Section getSection(int i)
              return (Section)sections.get(i);
         public ArrayList getUnitArray()
              return units;
         public int getSectionStart()
              return sStart;
         public int getSectionEnd()
              return sEnd;
         public void setSectionStart(int i)
              sStart = i;
         public void setSectionEnd(int i)
              sEnd = i;
         public void addUnit(String uName)
              units.add(new Unit(uName,sections.size(),sIndex));
              sIndex++;
         public void addSection(String sName,Unit u)
              //problem lies with files.size()
              sections.add(new Section(sName,files.size(),files.size()));
              u.setSectionEnd(u.getSectionEnd()+1);
              //fIndex++;
         public void addFile(String fName,File fPath,Section s)
              files.add(new Filetype(fName,fPath));
              s.setFileEnd(s.getFileEnd()+1);
         public void display(Unit u)
              System.out.println(u.getUnitName());
              for(int i=u.getSectionStart();i<u.getSectionEnd();i++)
                   System.out.println(((Section)sections.get(i)).getSectName());
                   for(int j=((Section)(sections.get(i))).getFileStart();j<((Section)(sections.get(i))).getFileEnd();j++)
                        System.out.println(((Filetype)files.get(j)).getFileName());
         public void writeCourseData()
         //writes 3 arrays to 3 different files
    try
    FileOutputStream fos = new FileOutputStream("units.txt");
    ObjectOutputStream oos = new ObjectOutputStream(fos);
         for(int i=0;i<units.size();i++)
         oos.writeObject((Unit)units.get(i));
         oos.close();
    catch (Exception e)
    System.err.println ("Error writing to file");
    try
    FileOutputStream fos = new FileOutputStream("sections.txt");
    ObjectOutputStream oos = new ObjectOutputStream(fos);
         for(int i=0;i<sections.size();i++)
         oos.writeObject((Section)sections.get(i));
         oos.close();
    catch (Exception e)
    System.err.println ("Error writing to file");
    try
    FileOutputStream fos = new FileOutputStream("files.txt");
    ObjectOutputStream oos = new ObjectOutputStream(fos);
         for(int i=0;i<files.size();i++)
         oos.writeObject((Filetype)files.get(i));
         oos.close();
    catch (Exception e)
    System.err.println ("Error writing to file");
    try
    FileOutputStream fos = new FileOutputStream("arraylengths.txt");
    ObjectOutputStream oos = new ObjectOutputStream(fos);
         oos.writeObject(new CourseArrayLengths(units.size(),sections.size(),files.size()));
         oos.close();
    catch (Exception e)
    System.err.println ("Error writing to file");
         public void readCourseData()
              CourseArrayLengths cal;
              try
                   FileInputStream fis = new FileInputStream("arraylengths.txt");
                   ObjectInputStream ois = new ObjectInputStream(fis);
                   cal = ((CourseArrayLengths) ois.readObject());     
                   ois.close();
                   FileInputStream fis1 = new FileInputStream("units.txt");
                   ObjectInputStream ois1 = new ObjectInputStream(fis1);
                   for(int i=0;i<cal.getUnitArrayLength();i++)
                        units.add((Unit) ois1.readObject());
                   ois1.close();
                   FileInputStream fis2 = new FileInputStream("sections.txt");
                   ObjectInputStream ois2 = new ObjectInputStream(fis2);
                   for(int i=0;i<cal.getSectionArrayLength();i++)
                        sections.add((Section) ois2.readObject());
                   ois2.close();
                   FileInputStream fis3 = new FileInputStream("files.txt");
                   ObjectInputStream ois3 = new ObjectInputStream(fis3);
                   for(int i=0;i<cal.getFileArrayLength();i++)
                        files.add((Filetype) ois3.readObject());
                   ois3.close();
              catch(FileNotFoundException exception)
              System.out.println("The File was not found");
              catch(IOException exception)
              System.out.println(exception);
              catch(ClassNotFoundException exception)
              System.out.println(exception);
         /*public static void main(String args[])
              Unit u1 = new Unit();
              u1.addUnit("Cmps2a22");
              u1.addSection("Section1",u1.getUnit(0));
              //u1.addSubSection("Subsect1",u1.getSection(0));
              u1.addFile("File1",null,u1.getSection(0));
              u1.addFile("File2",null,u1.getSection(0));
              u1.addSection("Section2",u1.getUnit(0));
              u1.addFile("NF",null,u1.getSection(1));
              u1.addFile("NF2",null,u1.getSection(1));
              u1.addFile("NF3",null,u1.getSection(1));
              u1.addSection("Section3",u1.getUnit(0));
              u1.addFile("NF",null,u1.getSection(2));
              u1.addFile("NF2",null,u1.getSection(2));
              u1.addFile("NF4",null,u1.getSection(2));
              u1.display(u1.getUnit(0));
              u1.writeCourseData();
              u1.readCourseData();
              u1.display(u1.getUnit(0));
    import java.util.ArrayList;
    import java.io.*;
    public class Section implements Serializable
    private String sectName,subSectName;
    private int fpStart=0,fpEnd=0,subSectStart=0,subSectEnd=0;
    private Section s;
    private boolean sub;
         public Section(String sectNamec,int fpStartc,int fpEndc,int subSectStartc,int subSectEndc,Section sc,boolean subc)
              sectName = sectNamec;
              fpStart = fpStartc;
              fpEnd = fpEndc;
              subSectStart = subSectStartc;
              subSectEnd = subSectEndc;
              s = sc;
              sub = subc;
         public Section(String sectNamec,int fpStartc,int fpEndc)
              sectName = sectNamec;
              fpStart = fpStartc;
              fpEnd = fpEndc;
         public Section getParent()
              return s;
         public boolean isSub()
              return sub;
         public String getSubName()
              return subSectName;
         public int getSubStart()
              return subSectStart;
         public int getSubEnd()
              return subSectEnd;
         public void setSubStart(int i)
              subSectStart = i;
         public void setSubEnd(int i)
              subSectEnd = i;
         public int getFileStart()
              return fpStart;
         public int getFileEnd()
              return fpEnd;
         public String getSectName()
              return sectName;
         public void setFileStart(int i)
              fpStart = i;
         public void setFileEnd(int i)
              fpEnd = i;
         public void addSection(String sectName)
         /*public static void main(String args[])
    import java.io.*;
    public class Filetype implements Serializable
         private String name;
         private File filepath;
         public Filetype(String namec, File filepathc)
              name = namec;
              filepath = filepathc;
         public String getFileName()
              return name;
         public File getFilepath()
              return filepath;
    import java.io.*;
    public class CourseArrayLengths implements Serializable
    private int ul,sl,fl;
         public CourseArrayLengths(int ulc,int slc,int flc)
              ul = ulc;
              sl = slc;
              fl = flc;
         public int getUnitArrayLength()
              return ul;
         public int getSectionArrayLength()
              return sl;
         public int getFileArrayLength()
              return fl;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.ArrayList;
    import java.io.*;
    public class OrganiserGui implements ActionListener
    int width,height;
    JFrame frame;
         public OrganiserGui()
              width = 600;
              height = 500;
         public void runGui()
              //Frame sizes and location
              frame = new JFrame("StudentOrganiser V1.0");
    frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
              frame.setSize(width,height);
              frame.setLocation(60,60);
              JMenuBar menuBar = new JMenuBar();
              //File menu
              JMenu fileMenu = new JMenu("File");
              menuBar.add(fileMenu);
              fileMenu.addSeparator();
              JMenu addSubMenu = new JMenu("Add");
              fileMenu.add(addSubMenu);
              JMenuItem cwk = new JMenuItem("Coursework assignment");
              addSubMenu.add(cwk);
              JMenuItem lecture = new JMenuItem("Lecture");
              lecture.addActionListener(this);
              addSubMenu.add(lecture);
              JMenuItem seminar = new JMenuItem("Seminar sheet");
              addSubMenu.add(seminar);
              //Calendar menu
              JMenu calendarMenu = new JMenu("Calendar");
              menuBar.add(calendarMenu);
              calendarMenu.addSeparator();
              JMenu calendarSubMenu = new JMenu("Edit Calendar");
              calendarMenu.add(calendarSubMenu);
              JMenuItem eventa = new JMenuItem("Add/Remove Event");
              eventa.addActionListener(this);
              calendarSubMenu.add(eventa);
              JMenuItem calClear = new JMenuItem("Clear Calendar");
              calClear.addActionListener(this);
              calendarSubMenu.add(calClear);
              JMenu calendarSubMenuView = new JMenu("View");
              calendarMenu.add(calendarSubMenuView);
              JMenuItem year = new JMenuItem("By Year");
              year.addActionListener(this);
              calendarSubMenuView.add(year);
              JMenuItem month = new JMenuItem("By Month");
              month.addActionListener(this);          
              calendarSubMenuView.add(month);
              JMenuItem week = new JMenuItem("By Week");
              week.addActionListener(this);
              calendarSubMenuView.add(week);
              //Timetable menu
              JMenu timetableMenu = new JMenu("Timetable");
              menuBar.add(timetableMenu);
              timetableMenu.addSeparator();
              JMenu stimetableSubMenu = new JMenu("Social Timetable");
              timetableMenu.add(stimetableSubMenu);
              JMenu ltimetableSubMenu = new JMenu("Lecture Timetable");
              timetableMenu.add(ltimetableSubMenu);
              frame.setJMenuBar(menuBar);
    frame.setVisible(true);
         public void actionPerformed(ActionEvent e)
              JMenuItem source = (JMenuItem)(e.getSource());
              System.out.println(source.getText());     
              Calendar c = new Calendar();
              if(source.getText().equalsIgnoreCase("By Year"))
                   System.out.println("INSIDE");
                   c.buildArray();
                   c.calendarByYear(Calendar.calendarArray);     
              if(source.getText().equalsIgnoreCase("Add/Remove Event"))
                   c.eventInput();
              if(source.getText().equalsIgnoreCase("clear calendar"))
                   c.buildYear();
                   c.writeEvent(Calendar.calendarArray);
                   c.buildArray();
              if(source.getText().equalsIgnoreCase("lecture"))
                   System.out.println("Nearly working");
                   //JFileChooser jf = new JFileChooser();
                   //jf.showOpenDialog(frame);
                   FileManager fm = new FileManager();
                   //choose unit to add file to
                   JOptionPane unitOption = new JOptionPane();
                   Unit u = new Unit();
                   u.readCourseData();
                   //u.display(u.getUnit(0));
                   System.out.println((u.getUnit(0)).getUnitName());
                   String[] unitNames = new String[u.getUnitArray().size()];
                   for(int i=0;i<unitNames.length;i++)
                        //unitNames[i] = (((Unit)u.getUnitArray().get(i)).getUnitName());
                        //System.out.println(unitNames);
                        System.out.println((u.getUnit(i)).getUnitName());
                   //unitOption.showInputDialog("Select Unit to add lecture to",unitNames);
                   //needs to select where to store it
                   //fm.openFile(jf.getSelectedFile());
         public static void main(String args[])
              OrganiserGui gui = new OrganiserGui();
              gui.runGui();
    java.io.invalidclassexception: Unit; local class incompatible: stream classdesc serialversionUID = 3355176005651395533, local class serialversionUID = 307309993874795880

  • ADF error at 10.1.3.1 Invalid class: oracle.jbo.ApplicationModule

    Hi,
    I need some help. I'm a novice jdeveloper user, but I have managed to build a small appilcation for a client, with use of ADF. When I try to run it at the applications server, it can't find the page, and have this error in the application.log:
    07/01/23 09:15:58.698 rtvview: Servlet error
    oracle.classloader.util.AnnotatedLinkageError: Class oracle/jbo/ApplicationModule violates loader constraints
    Invalid class: oracle.jbo.ApplicationModule
    Loader: adf.oracle.domain:10.1.3.1
    Code-Source: /t02dat/iast_r3/midtier/BC4J/lib/adfm.jar
    Configuration: <code-source> in /t02dat/iast_r3/midtier/j2ee/home/config/server.xml
    Dependent class: oracle.jbo.uicli.mom.JUApplicationDefImpl
    Loader: adf.oracle.domain:10.1.3.1
    Code-Source: /t02dat/iast_r3/midtier/BC4J/lib/adfm.jar
    Configuration: <code-source> in /t02dat/iast_r3/midtier/j2ee/home/config/server.xml
    Does anyone have an idea?
    Versions:
    Jdeveloper 10.1.3.1
    Application Server 10.1.3.1.0
    Thanks
    Jorn
    It worked when I tried to deploy the application thru jdeveloper server connection. Does anyone know why it's working now?
    Message was edited by:
    user527535

    I've managed to eliminate the JBO-35007 errors through the use of the Refresh and RefreshCondition tags. The problem I have now is that I do most of my testing in Firefox (latest release) and it seems to be caching pages even though I have caching turned off. For instance we have different menu options based on a user's privileges. If I log out and log in as someone else who has different privileges the previous user's options are still displayed. If I click on them it then refreshes the page and the new user's options are displayed. This is also fixed by manually refreshing the page. I do not encounter this problem at all with IE, only firefox. Any thoughts here?

  • Delphi 3 or Delphi XE gives Invalid class string error

    I have Delphi 3 and a runtime error occurs when I RUN this project. No build errors...
    The form appears correctly and I put the path to the GroupWise domain directory :
    F:\opt\novell\groupwise\mail\dom1
    I click on the CONNECT button and the error is :
    "Project admin_api.exe raised an exception class EOleSysError with message 'Invalid class string'. Process stopped. Use Step or Run to Continue"
    For Delphi XE the error is only "Invalid class string".
    What am I doing wrong ?
    Thank You
    Have downloaded the same GroupWise Administrative Object API code
    https://www.novell.com/developer/ndk...bject_api.html
    unit App_obj;
    interface
    uses
    Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
    StdCtrls, OleAuto, Ole2;
    type
    TForm1 = class(TForm)
    Button1: TButton;
    Label6: TLabel;
    UserID: TEdit;
    Label7: TLabel;
    LastName: TEdit;
    Label8: TLabel;
    FirstName: TEdit;
    UserDistinguishedName: TEdit;
    Label10: TLabel;
    SystemInfo: TGroupBox;
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Label5: TLabel;
    SystemDescription: TEdit;
    SystemDistinguishedName: TEdit;
    SystemLastModifiedBy: TEdit;
    ConnectedDomainName: TEdit;
    SystemObjectID: TEdit;
    PostOfficeList: TComboBox;
    Label11: TLabel;
    Label9: TLabel;
    UserContext: TEdit;
    Label12: TLabel;
    Label13: TLabel;
    Label14: TLabel;
    Label15: TLabel;
    Label16: TLabel;
    DomainPath: TEdit;
    Button2: TButton;
    procedure Initialize(Sender: TObject);
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    private
    { Private declarations }
    public
    { Public declarations }
    end;
    var
    Form1: TForm1;
    vSystem:variant;
    vDomain:variant;
    const
    ADMIN_NAME = 'Admin';
    sDOT = '.';
    implementation
    {$R *.DFM}
    procedure TForm1.Initialize(Sender: TObject);
    begin
    //Initialize controls
    DomainPath.Text:='';
    SystemDescription.Text:='';
    SystemDistinguishedName.Text:='';
    SystemLastModifiedBy.Text:='';
    ConnectedDomainName.Text:='';
    SystemObjectID.Text:='';
    UserID.Text:='';
    LastName.Text:='';
    FirstName.Text:='';
    UserDistinguishedName.Text:='';
    UserContext.Text:='';
    UserID.SetFocus;
    end;
    procedure TForm1.Button1Click(Sender: TObject);
    var
    vUsers:variant;
    vUser:variant;
    stemp:string;
    idotpos:integer;
    SelectedPO:string;
    sAdmin:string;
    begin
    //Get Selected PostOffice
    SelectedPO:=PostOfficeList.Items[PostOfficeList.ItemIndex];
    //Get Users Object
    vUsers:=vDomain.Users;
    //Find Admin user object
    vUser:=vUsers.Item(ADMIN_NAME,SelectedPO,Connected DomainName.Text);
    If UserContext.Text = '' then begin
    //Get Admin Context and use as Default
    sAdmin:=vUser.NetID;
    idotpos:=Pos(sDOT,sAdmin);
    stemp:=Copy(sAdmin,idotpos,256); //Copy everything after first dot include dot
    UserContext.Text:=stemp;
    end else begin
    //Use context string
    stemp:=UserContext.Text;
    end;
    //Make Distinguished name by adding UserID and admin context
    stemp:=UserID.Text+stemp;
    //Display User distinguished name
    UserDistinguishedName.Text:=stemp;
    //Add user
    vUser:=vUsers.Add(UserID.Text,LastName.Text,stemp,
    '',SelectedPO);
    //Set User first name
    vUser.GivenName:=FirstName.Text;
    //Commit User first name to system
    vUser.Commit;
    end;
    procedure TForm1.Button2Click(Sender: TObject);
    var
    vPostOffice:variant;
    vPostOffices:variant;
    vPOIterator:variant;
    begin
    //Get GroupWise Admin Object and connect to it
    if(DomainPath.Text = '') then begin
    ShowMessage('You must enter a valid Domain Path. Then press Login');
    exit;
    end;
    vSystem:=CreateOleObject('NovellGroupWareAdmin');
    vSystem.Connect(DomainPath.Text);
    //Get the connected Domain
    vDomain:=vSystem.ConnectedDomain;
    //List some Domain properties
    SystemDescription.Text:=vDomain.Description;
    SystemDistinguishedName.Text:=vDomain.Distinguishe dName;
    SystemLastModifiedBy.Text:=vDomain.LastModifiedBy;
    ConnectedDomainName.Text:=vDomain.Name;
    SystemObjectID.Text:=vDomain.ObjectID;
    //Initialize controls
    UserID.Text:='';
    LastName.Text:='';
    FirstName.Text:='';
    UserDistinguishedName.Text:='';
    UserContext.Text:='';
    UserID.SetFocus;
    //Get list of PostOffices for connected Domain
    vPostOffices:=vDomain.PostOffices;
    vPOIterator:=vPostOffices.CreateIterator;
    vPostOffice:=vPOIterator.Next;
    PostOfficeList.Clear;
    While( (NOT VarIsNULL(vPostOffice)) And (NOT varisempty(vPostOffice))) do begin
    PostOfficeList.Items.Add(vPostOffice.Name);
    vPostOffice:=vPOIterator.Next;
    end;
    //Set index to first item in list
    PostOfficeList.ItemIndex:=0;
    end;
    end.

    On 9/24/2013 10:46 PM, bperez wrote:
    >
    > I have Delphi 3 and a runtime error occurs when I RUN this project. No
    > build errors...
    >
    > The form appears correctly and I put the path to the GroupWise domain
    > directory :
    >
    > F:\opt\novell\groupwise\mail\dom1
    >
    > I click on the CONNECT button and the error is :
    >
    > "Project admin_api.exe raised an exception class EOleSysError with
    > message 'Invalid class string'. Process stopped. Use Step or Run to
    > Continue"
    >
    > For Delphi XE the error is only "Invalid class string".
    >
    > What am I doing wrong ?
    >
    > Thank You
    >
    > Have downloaded the same GroupWise Administrative Object API code
    > https://www.novell.com/developer/ndk...bject_api.html
    >
    > {/************************************************** *************************
    >
    > ************************************************** **************************/}
    > unit App_obj;
    >
    > interface
    >
    > uses
    > Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
    > Dialogs,
    > StdCtrls, OleAuto, Ole2;
    >
    > type
    > TForm1 = class(TForm)
    > Button1: TButton;
    > Label6: TLabel;
    > UserID: TEdit;
    > Label7: TLabel;
    > LastName: TEdit;
    > Label8: TLabel;
    > FirstName: TEdit;
    > UserDistinguishedName: TEdit;
    > Label10: TLabel;
    > SystemInfo: TGroupBox;
    > Label1: TLabel;
    > Label2: TLabel;
    > Label3: TLabel;
    > Label4: TLabel;
    > Label5: TLabel;
    > SystemDescription: TEdit;
    > SystemDistinguishedName: TEdit;
    > SystemLastModifiedBy: TEdit;
    > ConnectedDomainName: TEdit;
    > SystemObjectID: TEdit;
    > PostOfficeList: TComboBox;
    > Label11: TLabel;
    > Label9: TLabel;
    > UserContext: TEdit;
    > Label12: TLabel;
    > Label13: TLabel;
    > Label14: TLabel;
    > Label15: TLabel;
    > Label16: TLabel;
    > DomainPath: TEdit;
    > Button2: TButton;
    > procedure Initialize(Sender: TObject);
    > procedure Button1Click(Sender: TObject);
    > procedure Button2Click(Sender: TObject);
    > private
    > { Private declarations }
    > public
    > { Public declarations }
    > end;
    >
    > var
    > Form1: TForm1;
    > vSystem:variant;
    > vDomain:variant;
    >
    > const
    > ADMIN_NAME = 'Admin';
    > sDOT = '.';
    >
    > implementation
    >
    > {$R *.DFM}
    >
    > procedure TForm1.Initialize(Sender: TObject);
    > begin
    > //Initialize controls
    > DomainPath.Text:='';
    > SystemDescription.Text:='';
    > SystemDistinguishedName.Text:='';
    > SystemLastModifiedBy.Text:='';
    > ConnectedDomainName.Text:='';
    > SystemObjectID.Text:='';
    >
    > UserID.Text:='';
    > LastName.Text:='';
    > FirstName.Text:='';
    > UserDistinguishedName.Text:='';
    > UserContext.Text:='';
    > UserID.SetFocus;
    >
    > end;
    >
    > procedure TForm1.Button1Click(Sender: TObject);
    > var
    > vUsers:variant;
    > vUser:variant;
    > stemp:string;
    > idotpos:integer;
    > SelectedPO:string;
    > sAdmin:string;
    > begin
    > //Get Selected PostOffice
    > SelectedPO:=PostOfficeList.Items[PostOfficeList.ItemIndex];
    >
    > //Get Users Object
    > vUsers:=vDomain.Users;
    >
    > //Find Admin user object
    > vUser:=vUsers.Item(ADMIN_NAME,SelectedPO,Connected DomainName.Text);
    >
    > If UserContext.Text = '' then begin
    >
    > //Get Admin Context and use as Default
    > sAdmin:=vUser.NetID;
    > idotpos:=Pos(sDOT,sAdmin);
    > stemp:=Copy(sAdmin,idotpos,256); //Copy everything after first dot
    > include dot
    > UserContext.Text:=stemp;
    >
    > end else begin
    > //Use context string
    > stemp:=UserContext.Text;
    > end;
    >
    > //Make Distinguished name by adding UserID and admin context
    > stemp:=UserID.Text+stemp;
    >
    > //Display User distinguished name
    > UserDistinguishedName.Text:=stemp;
    >
    > //Add user
    > vUser:=vUsers.Add(UserID.Text,LastName.Text,stemp,
    > '',SelectedPO);
    >
    > //Set User first name
    > vUser.GivenName:=FirstName.Text;
    >
    > //Commit User first name to system
    > vUser.Commit;
    > end;
    >
    >
    >
    > procedure TForm1.Button2Click(Sender: TObject);
    > var
    > vPostOffice:variant;
    > vPostOffices:variant;
    > vPOIterator:variant;
    >
    > begin
    > //Get GroupWise Admin Object and connect to it
    > if(DomainPath.Text = '') then begin
    > ShowMessage('You must enter a valid Domain Path. Then press
    > Login');
    > exit;
    > end;
    > vSystem:=CreateOleObject('NovellGroupWareAdmin');
    >
    >
    > vSystem.Connect(DomainPath.Text);
    > //Get the connected Domain
    > vDomain:=vSystem.ConnectedDomain;
    >
    > //List some Domain properties
    > SystemDescription.Text:=vDomain.Description;
    > SystemDistinguishedName.Text:=vDomain.Distinguishe dName;
    > SystemLastModifiedBy.Text:=vDomain.LastModifiedBy;
    > ConnectedDomainName.Text:=vDomain.Name;
    > SystemObjectID.Text:=vDomain.ObjectID;
    >
    > //Initialize controls
    > UserID.Text:='';
    > LastName.Text:='';
    > FirstName.Text:='';
    > UserDistinguishedName.Text:='';
    > UserContext.Text:='';
    > UserID.SetFocus;
    >
    > //Get list of PostOffices for connected Domain
    > vPostOffices:=vDomain.PostOffices;
    > vPOIterator:=vPostOffices.CreateIterator;
    > vPostOffice:=vPOIterator.Next;
    > PostOfficeList.Clear;
    > While( (NOT VarIsNULL(vPostOffice)) And (NOT
    > varisempty(vPostOffice))) do begin
    > PostOfficeList.Items.Add(vPostOffice.Name);
    > vPostOffice:=vPOIterator.Next;
    > end;
    >
    > //Set index to first item in list
    > PostOfficeList.ItemIndex:=0;
    > end;
    >
    > end.
    >
    >
    gw client installed? Novell client installed?

  • SSRS 2008 - Invalid Class

    Dear all,
    I have install SQL 2008 in a new machine with Reporting Services 2008.
    When I go to 'Reporting Services Configuration Manager', I can see the default server name, the report server instance not auto detects the 'ReportServer' database that available in the database.
    When I click 'Find', it prompt out 'Invalid Class' warning message.
    May I know what is the problem and how can I solve it?
    Thanks.
    Regards,
    Sim

    Hi Sim,
    From your description, the Reporting Services Configuration Manager can’t find the instance name automatically. And after clicking “Find”, the error “Invalid Class” occurs.
    I assume a detailed error like “Cannot connect to WMI provider” occurred at the same time. If so, the issue happens when some of the WMI classes are not properly registered during installation.
    Please follow these steps to solve the issue:
    1.       Open the SQL Server Report Server folder.
    <Install Driver>:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
    2.       Open the “bin” folder.
    3.       Copy and rename the file “reportingservices.mof”
    4.       Register the file using the following command
    Mofcomp <Install Driver>:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin\reportingservices.mof
    After doing the steps above, we should connect to the Reporting Services well.
    If the solution above does not above, could you please help to collect the following information?
    1.       Could you connect to SQL Server Configuration Manager?
    2.       The logs of SQL Server Reporting Services.
    3.       Does the Reporting Services windows service work fine?
    4.       The more detailed error message.
    5.       Any more information.
    If there is anything unclear, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • SQL Server Configuration Manager – Cannot connect to WMI provider – Invalid class [0x80041010]

    look at this post am getting the same
    http://social.msdn.microsoft.com/Forums/en-US/sqlkjmanageability/thread/4c8ca86c-105f-4f0a-ac18-6e33dda2bc46
    but when I tried the solution given there , It is not working
    the error I am getting is mofcomp is not recognized as internal or external command
    I tried in  C:\program files\Microsoft sql server\90\shared  and in Windows\system32
    I am getting the same error

    Hi sql393,
    Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid class [0x80041010].
    The solution is to go to a command prompt and then run mofcomp.
     C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
    For more information, please refer to
    http://blogs.msdn.com/b/echarran/archive/2006/01/03/509061.aspx
    http://msmvps.com/blogs/martinpoon/archive/2009/11/27/sql-server-configuration-manager-cannot-connect-to-wmi-provider-invalid-class-0x80041010.aspx.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Import JavaBean Model - Invalid class

    Hi,
    I wanted to import a JavaBean Model as described in the Tutorial "Using EJBs in Web Dynpro Applications" (see: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c).
    Problem: i always get an error "Invalid class - JavaBean not available for import", when i want to select a local jar file as JavaBean source, althrough the jar-file contains a valid bean.
    Note:I also dont have a radio button in my GUI for selecting "Deploy time" as mentioned in the Tutorial and as i have seen in a screenshot in the Blog /people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes . in this Blog there is already a question about this, but this question has never been aswered...

    Wolfgang,
    See my tips on troubleshooting JavaBean Model Import: /people/valery.silaev/blog/2005/08/30/javabean-model-import-when-it-really-works
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Invalid class file format... major.minor version '49.0' is too recent ...

    I am using the Eclipse 3.1 and Oracel BPEL designer 0.9.13
    After I created a new BPEL process (named: trybpel), I got the following output in the console:
    uildfile: D:\eclipse\workspace\trybpel\build.xml
    main:
    [bpelc] &#27491;&#22312;&#39564;&#35777; "D:\eclipse\workspace\trybpel\trybpel.bpel" ...
    [bpelc] error: Invalid class file format in D:\Java\jre1.5.0\lib\rt.jar(java/lang/Object.class). The major.minor version '49.0' is too recent for this tool to understand.
    [bpelc] error: Class java.lang.Object not found in class com.collaxa.cube.engine.core.BaseCubeProcess.
    [bpelc] 2 errors
    BUILD FAILED: D:\eclipse\workspace\trybpel\build.xml:28: ORABPEL-01005
    Total time: 8 seconds
    I am puzzled with the information in bold. Would anyone tell me how to fix this problem? Thank you very much.

    the same error ORABPEL-01005, but not the same error message,
    Errors occurred when compile the bpel process using bpel designer for Eclipse:
    (com.oracle.bpel.designer_0.9.13)
    using PM: bpel_jboss_101200
    More error infomation following:
    Buildfile: E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml
    main:
    [bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: Invalid expression statement.
    [bpelc] retun true;
    [bpelc] ^
    [bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: ';' expected.
    [bpelc] retun true;
    [bpelc] ^
    [bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:208: Method setPartneLinkBinding(com.collaxa.cube.rm.suitcase.PartnerLinkBindingDescriptor) not found in class com.collaxa.cube.engine.types.bpel.CXPartnerLink.
    [bpelc] __pl.setPartneLinkBinding(getProcessDescriptor().getPartnerLinkBindings().getPartnerLinkBinding(__pl.getName()));
    [bpelc] ^
    [bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:584: Undefined variable: __ctx
    [bpelc] __setOutgoingLinks(__sc, __ctx);
    [bpelc] ^
    [bpelc] 4 errors
    BUILD FAILED
    E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml:28: ORABPEL-01005
    Error in java files auto-generated when compiling ,why?
    Thanks!

  • 'invalid class-java beans not available for import

    Hi Experts,
    i am using java bean model in my Web Dynpro Application.
    for that one i have created command bean(Customer) and in my command bean i am using some other class(CustomerInfo) as reference. this CustomerInfo class contains 4 attribtes(name ,id ,etc  all are of type String)
    when i try to import these 2 class into web dynpro (using java bean model),for the Customer class it
    is giving an error message 'invalid class-java beans not
    available for import'.but 2nd class(CustomerInfo) is imported successfully with out giving the error.what might be reason.
    any help will be appriciated
    Thanks in advance
    With Regards
    Naidu

    Naidu,
    Please try to repeat JavaBean model import when running IDE in console mode (correspondign short-cut should be available in Windows Start menu, otherwise just copy original short-cut, edit it and change in command string "javaw" to java).
    Post here what is shown on console during import.
    VS

  • SSRS 2008 configuration Manager - "Invalid Class"

    Reporting Services Configuration Manager is throwing an error when I try to "Find" the server. The manager starts up and takes me to the "Reporting Services Configuration Connection" window. I click on the "Find" button (leaving the default comptuer name as-is; the local machine)  and get the error message "Invalid Class" with the title "Reporting Services Configuration Manager".
    I've been searching around the interner and only found one forum post with a similar problem to my own. It was on this forum and the advice seemed to be pointing towards a problem with WMI, but it seemed that the user never found a solution. I've downloaded and ran the WMI diagnostics program and the log does contain quite a few warnings, but I don't know how to go about solving most of them. I did run regsvr32 on some dll files though :)
    I won't post any logs yet, as I have no idea where the problem may be based. Please advise and I will post the required information.

    Hi SiM99,
    The issue shoule be caused by the case onpnt mentioned and you are trying to use Reporting Services Configuration Manager 2008 to connect to Reporting Services 2005. From your post, I am sure you never install SQL Server 2005 in the server. But, sometimes, SQL Server Express 2005 may be installed with other program. So, I would suggest you checking if SQL Server Expree 2005 is installed in the server using Services control(by running command services.msc). If SQL Server Express 2005 is installed, please uninstall it.
    The issue should be caused by the uncompleted installation too. There may be a error during the installation.
    Could you please check if there is any error in the installation error message?
    By default, we can get the installation logs from:
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Log\Summary.txt
    By the way, could you please follow these steps to check if the Reporting Services WMI provider is installed correctly?
    1. Run command wbemtest
    2. Click "Connect"and connect to “ROOT\Microsoft\SqlServer\ReportServer”(type this path in the Namespace textbox)
    3. After connecting to the name space, click "Query" to query “SELECT * from __namespace”. There would be one data in the record window(while the server only have one RS instance).
    4. Double-click the record, in the new properties windows, get the path value such as “\\<server>\ROOT\Microsoft\SqlServer\ReportServer:__NAMESPACE.Name="RS_MSSQLSERVER" ”
    5. Now, close all sub dialogs, and then re-connect to “ROOT\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER”. "RS_MSSQLSERVER"  is the Namespace.Name in step4
    6. Query “SELECT * from __namespace” again.
    7. Repeat step4,5, we will get the new path “ROOT\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER\v10”
    8. Repeat step2 to 7 until there is no record in the Query result dialog. Finally, the path is \\server\ROOT\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER\v10\admin
    If we can't get the final path \\server\ROOT\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER\v10\admin, it means the Reporting Services WMI provider is not installed correctly.
    Please try using the following method to solve it:
    1.Execute the Command windows.
    2.Go to the folder C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin
    3.Run the command: MOFCOMP reportingservices.mof
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • INVALID CLASS:model_cmd_bean as model class already exists.

    Hello all,
    I am gettin the following error:INVALID CLASS:model_cmd_bean as model class already exists. while creating a java bean Model.
    but this is the 1st time i m using these wraper class and cmd class for creating a model.
    Sugest what shoul i do?

    Hi,
    Welcome to SDN Community
    Check these forum links,
    Import JavaBean Error : Invalid Class
    invalid class - ..as Model Class already exist
    Hope this helps.
    Regards
    Srinivasan T

  • Invalid class: Javabean not available for import

    hi all,
    I have developed a very simple javabean in my WDJ DC in folder src/packages like this:
    package test.beans;
    public class TreeBean {
         private String name;
          * @return
         public String getName() {
              return name;
          * @param string
         public void setName(String string) {
              name = string;
    however when I try to import that into a model in NWDS 7.0.11, I get Invalid class: javabean not available for import.
    When I try to do the same in NWDS7.1SP5 it succeeds.
    What's wrong?
    Thanks for your help
    Vincenzo

    Rebuild and reload the DC/project

  • Import JavaBean Error : Invalid Class

    previously , i have 3 commandbean class , after that i add another 2 commandbean class,
    i hit the following error,
    Invalid Class -JavaBean not available for import class
    :net/solutions/model/ExternalToGateway
    Jar: c:\documents and settings\yzme\sap\workspace\SmsGatewaywebdynpro\lib\SmsGatewayCommandBean.jar
    Message was edited by:
            yzme yzme
    Message was edited by:
            yzme yzme

    Hi yzme yzme,
    These problems occur when you are not following the specification for the java Beans that the netweaver platform expects:
    Please check the following for eradicating the error:
    1. Is there a setter which doe'snt have a consequent getter for the variable.If so provide it because its considered mandatory from the bean Specs.
    2.If you have used your own methods for fetching and setting the value rather then using the getter setter for the same this will give a generational error on import.
    Above listed mistakes are made by developers ona regular basis. Please go through the java bean specs on sun.java.com for more details
    Regards
    Amit
    Allocate points if found Helpful.

  • Invalid Classes ( Objects)

    I am running 8.1.7 and I just look for all Objects that are Java classes and found that I have alot as INVALID, how can I recompile them or REVALIDATE them ?
    Any help will be great

    Hi Francisco,
    If the invalid classes are ones that you explicitly loaded using the
    "loadjava" tool, then the only way I know how to "revalidate" those
    classes would be to first remove them from the database (using the "dropjava"
    tool) and then reload them (using the "loadjava" tool).
    When you load the classes, make sure you use the "-resolve" flag, since
    this forces "validation" of the classes as they are loaded.
    You don't say what database version you are using, but you should look
    at the "Java Developer's Guide" (if you haven't already done so). It
    is available from here:
    http://tahiti.oracle.com
    If the "invalid" classes are those that get loaded as part of the
    database installation process, then you may need to re-install java
    in the database. This usually means executing the "initjvm.sql" script.
    Again, there are more details in the documentation available from
    the above-mentioned URL.
    Hope this has helped you.
    Good Luck,
    Avi.

  • ASP Error message: Invalid class string

    Server object, ASP 0177 (0x800401F3)
    Invalid class string
    /asap/admin/insert.asp
    I have seen that the installation of MSXML 2.0 may be the solution to this error message I am getting. How do I go about installing this? I have downloaded and thought I installed, but still get this message. Anybody else seen this and know of possible solution?
    Please help...

    I just noticed the customer is on PL39 and the version I am on here is PL43.  Could that be presenting a problem?
    Thanks,
    EJD

Maybe you are looking for

  • Upgrade to 7.5.2 broke WDS network

    For the past 6 months I have used a Time Capsule and 2 Airport Express to configure a WDS network. The TC is the Main station and then I have one AE as a relay and one as a remote station. It has worked perfectly fine until I was prompted to upgrade.

  • Problems with Windows 7 & jinitiator 1.3.1.26

    Hi everyone, I'm having a problem with jinitiator 1.3.1.26 on Windows 7 64-bit. I install jinitiator without problems but every time that I want to open my application the browser (IE8 or firefox 3.5) hangs and close with an error. Any idea? I tried

  • RMAN Help

    Hi all, My Os is Red Hat Linux 4 Oracle 9i RMAN> show all; RMAN configuration parameters are: CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 30 DAYS; CONFIGURE BACKUP OPTIMIZATION ON; CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTR

  • Flex 2 TFS FlexGrocer project

    I have been studying the FlexBuilder 2 TFS book. By the end of lesson 8 you have built a horizontal list custom component (CategoryView.mxml) and a VBox custom component (FoodList.mxml). The former supposedly displays a row of categories, each consis

  • I have an I Pad 1 with 64 gigs. It constantly drops me off the Internet for no apparent reason. Is there any fix for this problem?

    My I Pad 1 constantly drops me off the Internet and programs. Is there any fix for this problem?  It started after the last update and continues to get worse. Doug