Posix Exception problem

when i used weblogic6.0 with sp1 for linux,
i found an Exception like this:
####<Apr 27, 2001 12:34:30 PM EDT> <Error> <Posix Performance Pack>
<webserver> <myserver> <ExecuteThread: '12' for queue: 'default'
<> <> <000000> <Uncaught Throwable in processSockets>java.io.IOException: unexpected result from poll: -1
at weblogic.socket.PosixSocketMuxer.poll(Native Method)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java(Compil
ed Code))
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
what is it means??

"yuanli" <[email protected]> wrote in message
news:[email protected]..
when i used weblogic6.0 with sp1 for linux,
i found an Exception like this:
####<Apr 27, 2001 12:34:30 PM EDT> <Error> <Posix Performance Pack>
<webserver> <myserver> <ExecuteThread: '12' for queue: 'default'
<> <> <000000> <Uncaught Throwable in processSockets>java.io.IOException: unexpected result from poll: -1
at weblogic.socket.PosixSocketMuxer.poll(Native Method)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java(Compil
ed Code))
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
what is it means??Yuanli,
You should contact support with regards to this issue. It is a known
problem, you can reference CR042529.
Cheers!
Adam

Similar Messages

  • Exception:Problem building schema

    Hi all,
    I want to make a web service call to a service deployed in weblogic, I copied the wsdl to a local file and I created a PartnerLink referring to the wsdl in my local file. I put an Invoke action, create an input variable, everything work fine. However when I try to explore the input variable I got exception:Problem building schema.
    Is there anything wrong with the WSDL? I've validate it and it was ok.
    Thanks in advance,
    santoso
    Here is the WSDL of the service:
    <?xml version='1.0' encoding='UTF-8'?>
    <definitions name="ProposalWSServiceDefinitions" targetNamespace="http://com/my/ws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.my.com/opl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.my.com/opl">
    <complexType name="Proposal">
    <sequence>
    <element name="id" type="int"/>
    <element name="title" type="string"/>
    <element name="creator" type="string"/>
    <element name="status" type="string"/>
    <element name="customerId" type="int"/>
    </sequence>
    </complexType>
    <element name="ProposalData" type="tns:Proposal"/>
    </schema>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://com/my/ws" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="insertProposal">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="proposal" type="opl:Proposal" xmlns:opl="http://www.my.com/opl"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </types>
    <message name="insertProposal">
    <part element="s0:insertProposal" name="parameters"/>
    </message>
    <portType name="ProposalWS">
    <operation name="insertProposal" parameterOrder="parameters">
    <input message="s0:insertProposal"/>
    </operation>
    </portType>
    <binding name="ProposalWSServiceSoapBinding" type="s0:ProposalWS">
    <s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="insertProposal">
    <s1:operation soapAction="" style="document"/>
    <input>
    <s1:body parts="parameters" use="literal"/>
    </input>
    </operation>
    </binding>
    <service name="ProposalWSService">
    <port binding="s0:ProposalWSServiceSoapBinding" name="ProposalWSSoapPort">
    <s1:address location="http://172.16.208.45:7001/SBSWebService/ProposalWS"/>
    </port>
    </service>
    </definitions>

    I've solved it just by upgrading to BPEL 10.1.3.1 (was 10.1.2.0)

  • About Posix exception

    when i used weblogic6.0 with sp1 for linux,
    i found an Exception like this:
    ####<Apr 27, 2001 12:34:30 PM EDT> <Error> <Posix Performance Pack>
    <webserver> <myserver> <ExecuteThread: '12' for queue: 'default'
    <> <> <000000> <Uncaught Throwable in processSockets>java.io.IOException: unexpected result from poll: -1
    at weblogic.socket.PosixSocketMuxer.poll(Native Method)
    at
    weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java(Compil
    ed Code))
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    what is it means??

    Thank you very much!I has solved this problem follow your point.
    now,i have encounter another problem with below exception,i also didn't know where the exception be throw out.
    java.lang.NullPointerException
         at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1123)
         at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4771)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4724)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4668)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4477)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

  • Posix Exception

    I get the following exception running constantly in the background for 6.0 beta 2 running on Solaris. I believe it happens when making a URLConnection. Any ideas?
    <Critical> <Posix Performance Pack> <Failure in ti
    meout callback
    java.lang.NullPointerException
    at weblogic.socket.PosixSocketMuxer.hasCompleteMessageTimeoutExpired(Pos
    ixSocketMuxer.java:277)
    at weblogic.socket.PosixSocketMuxer.trigger(PosixSocketMuxer.java:254)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
    edTrigger.java:225)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
    er.java:216)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:6
    5)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >

    I think I solved the problem myself. I noticed when it couldn't resolve the name of the host I was attempting to connect to it would give this error. Fixing the name, the error went away.
    andy
    "Andrew Monroe" <[email protected]> wrote:
    >
    I get the following exception running constantly in the background for 6.0 beta 2 running on Solaris. I believe it happens when making a URLConnection. Any ideas?
    <Critical> <Posix Performance Pack> <Failure in ti
    meout callback
    java.lang.NullPointerException
    at weblogic.socket.PosixSocketMuxer.hasCompleteMessageTimeoutExpired(Pos
    ixSocketMuxer.java:277)
    at weblogic.socket.PosixSocketMuxer.trigger(PosixSocketMuxer.java:254)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
    edTrigger.java:225)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
    er.java:216)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:6
    5)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >

  • 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

  • SOAP receiver exception problem

    Hi XI expert,
    I am using scenario as following:
    ABAP proxy -> xi -> soap receiver -> webservice
    in sxmb_moni, the message runs ok. but in RWB, there are some error in CC monitor.
    2007-07-07 11:33:54 Success SOAP: continuing to response message e305dd90-2c3a-11dc-95af-0015c5f7cd3b
    2007-07-07 11:33:54 Error SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault:     Compilation Errors
    2007-07-07 11:33:54 Success SOAP: sending a delivery error ack ...
    2007-07-07 11:33:54 Success SOAP: sent a delivery error ack
    2007-07-07 11:33:54 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault:     Compilation Errors
    2007-07-07 11:33:54 Error Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault:     Compilation Errors
    2007-07-07 11:33:54 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault:     Compilation Errors.
    2007-07-07 11:33:54 Success The asynchronous message was successfully scheduled to be delivered at Sat Jul 07 11:38:54 CST 2007.
    2007-07-07 11:33:54 Success The message status set to WAIT.
    What is the problem? and how can I deal with to identify the problem?

    hi
    Go through this links
    Check out these threads..
    RFC -> XI -> External web service
    How to resolve this RFC_adapter_sender to SOAP_adapter_receiver Exception?
    Why getting "DeliveryExcetion" in SOAP->XI->RFC scenario?
    You may refer these fallowing weblogs
    /people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    Thanks & Regards
    Sridhar.Bommireddy

  • (Class cast Exception)Problem while loading data fro database in java class

    Dear all,
    Please help me...to solve this
    I have a database having two columns of String and Date Types.
    In my java code i was trying to load the data to a UI.
    I am successfull in loading the String type value.
    But while loading date field value,is showing Class cast Exception.
    What i am doing is Getting the values from database to a String[] array.
    So my question is how to
    get the Date field as date field itself,Then convert it to a String..Then put it in to String[] array...
    Any body please help...If any one want more clarification in question i will give......

    Hi,
    I am using GWT to display my data in a Grid.
    So it will accept a Single two dimensional String array....Here i have one as String and other as Date.
    So i was trying to get each row in a sindle dimensional array array[] then store it in a list.
    Iteration goes up to 10 rows.After i am setting it in to a list
    ie list.add(array);
    Now while returning this list i am doing this
    "return (String[][])list.toArray(new String[0][]);"
    When i tried to get the date element to String array it is showing class cast exception. When i tried with toString() method it is showing the same problem.

  • Quick question about an exception problem

    Hi all,
    I'm doing a homework problem with exceptions and there is an outline I have to fill in with some exception handling. There are 2 parts of the problem I'm not sure about that deal with checked and unchecked exceptions and passing exceptions to a calling method.
    Here's the problem: in the following method, the call to getStudentNumber( ) may throw a BadNumberException or a FileIOException. Modify the code (aka add try/catch blocks etc.) to do the following.
    1. Pass the BadNumberException on to the calling method. It is not a checked exception.
    2. Pass FileIOException on to the calling method. It is a checked exception.
    Here is the code outline:
    public void reportStudents() {
    int number;
    while(true) {
    number = getStudentNumber();
    setStudentNumber(number);
    } }I know I need to declare the 2nd exception but I'm not sure the syntax of doing so. Any help would be appreciated. Thanks.

    See this tutorial for the information:
    http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html

  • ** JCO$Exception Problem in RFC to RFC scenario

    Hi Friends,
    I am doing RFC to RFC scenario. We have two IDES system. One XI system. The scenario is to send the Vendor data from First IDES system (Z_APPLE_VENDOR_SEND) to call the RFC (Z_APPLE_VENDOR_INSERT) in the second RFC system. Sync to Sync Scenario. In this case data is passed from source system and mapped to target RFC soruce Structure. But, not able to login into target system. The following error is occured in SXMB_MONI.
    com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=aprins05 SYSNR=01 GWHOST=aprins05 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '172.25.12.23:sapgw01' not reached TIME Fri Oct 17 23:28:55 2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER
    Friends, I have tested the following : SLDCHECK, Connection between IDES and XI system. Checked the Gateway of receiver side IDES system thru tcode SMGW. All are working fine. But, still the problem comes.
    Kindly help me to solve this issue.
    Kind Regards,
    Jegathees P.

    Hi
    Restart the Receiver System once and try again.
    Go throgh the following thread
    (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Regards
    Sridhar Goli

  • JButton and exception problem

    Hi all,
    I created a JButton, named open _DB, and add an ActionListener to this. I want that when I click the button the methods in the loop executed (see below for code). However, I always get exceptions. How can I catch these exceptions?
    If I use a try-catch loop I got the error:
    ModelClipTest.java:559: ';' expected
    public void actionPerformed(ActionEvent e)
    ModelClipTest.java:559: missing method body, or declare abstract
    public void actionPerformed(ActionEvent e)
    How can I solve this problem. Can anybody help me?
    Thanks
    Murat
    //CODE
    open_DB.addActionListener
    (new ActionListener()
    public void actionPerformed(ActionEvent e)
    try
    ifcdemo = new IFC_Demo();
    ifcdemo.execute();
    IFC_RelFillsElement_Query.query_fill(ifcdemo);
    IFC_RelVoidsElement_Query.query_void_ids(ifcdemo);
    IFC_BuildingStorey_Query.query_buildingstorey(ifcdemo);
    } //CLOSE TRY
    catch(Exception ex)
    System.out.println("Exception caught");
    System.out.println(":-(");
    } //CLOSE CATCH
    );

    yes, sorry. However, I still get these exceptions for the methods inside.
    What should I do to get rid of these exceptions?
    Thanks.
    ModelClipTest.java:579: unreported exception java.lang.Throwable; must be caught or declared to be thrown
                                  IFC_RelFillsElement_Query.query_fill(ifcdemo);
    ModelClipTest.java:580: unreported exception java.lang.Throwable; must be caught or declared to be thrown
                                  IFC_RelVoidsElement_Query.query_void_ids(ifcdemo);
    ModelClipTest.java:582: unreported exception java.lang.Throwable; must be caught or declared to be thrown
                                  IFC_BuildingStorey_Query.query_buildingstorey(ifcdemo);

  • Mapping Exception problem

    Hi ,
    I have some problem when i was trying to excute my mapping
    it throws below exception.
    RuntimeException in Message-Mapping transformation: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: Too many values in first queue in function useOneAsMany. It must have the same number of contexts as second queue.] in class com.sap.aii.mappingtool.flib3.NodeFunctions method useOneAsMany[com.sap.aii.mappingtool.tf3.CBufIter@52c052c0, com.sap.aii.mappingtool.tf3.CBufIter@5c195c19, com.sap.aii.mappingtool.tf3.CBufIter@65726572]
    can anybody please look into this. and suggest me ..
    Regards,
    Sandeep

    Hi,
    One as many node function takes 3 inputs, first is the source value second is the Howmany times the source value should repeat and third one is where the context should change, here 2nd and 3rd input count should same, otherwise it shows an exception.
    Follow this link
    Introduction to Context Handling in Message Mapping
    And one more is we should pass some value to the One as many node function, so put map with default.

  • IPhone OS + POSIX Thread problem!

    Hi,
    I'm doing major software porting to iPhone and so far things where going quite smoothly. But right now I've a strange problem with PThreads. Function pthreadgetschedparam(pthreadt thread, int *restrict policy, struct sched_param *restrict param) gives odd priority values related to scheduler policy.
    With scheduler policies SCHED_RR and SCHED_FIFO the priority should be 1..99 and with SCHED_OTHER policy the priority should be 0. But in my case (in iPhone Simulator) the scheduler policy is SCHED_OTHER and priority value is 31 which is strange since POSIX standard says that with SCHED_OTHER it should be 0.
    So any idea why this? Is it because of iPhone Simulator, is it kernel bug or what?
    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/pthreadgetschedparam.3.html#//apple_ref/doc/man/3/pthreadgetschedparam

    Ok, POSIX Standard has changed a little bit since the code was written So problem solved, priority can be between min and max while scheduler policy is SCHED_OTHER.

  • Exception problem

    I have A custom exception class say "GroupAdminException"
    I am using the catch block in the servlet to throw this exception.
    This exception is caught in the error.jsp-a jsp file.
    but on compilation it is giving following error: C:\engr\project\OMT-TOOL\omt\src\servlets\GroupServlet.java:159: unreported exception org.synchronoss.omt.exception.GroupAdminException; must be caught or declared to b
    e thrown
    if i remove try and catch then too Custom exception is not caught by jsp page but NullPointerException is by same jsp as I have specified that in web.xml
    where the problem is
    thanks in advance.

    String      sSelectedGrps      =          
    oReq.getParameter("hidSelGrps");
                             String      sSelectedQs           =          oReq.getParameter("hidSelQs");
                             String      sSelectedQTs           =          oReq.getParameter("hidSelQTs");
                             boolean     bResult     =oGAction.addRemoveQueueToGroup(sSelectedGrps, sSelectedQs, sSelectedQTs);     
                             oReq.getSession().setAttribute("dataclass",oUaDataBean);
    if(bResult)
    getServletConfig().getServletContext().getRequestDispatcher("/public_html/group/SearchGroup.jsp").forward(oReq, oResp);
                        else
                   throw new GroupAdminException("Groups and Queues are not updated");
    this is the code jsp page is not catching this exception
    JSP Page is
    <%@page isErrorPage="true" %>
    <%@ page import="org.synchronoss.omt.exception.*" %>
    <TABLE>
    <tr>
    <td><b>Exception Class:</b></td>
    <td><%= exception.getClass() %></td>
    </tr>
    <tr>
    <td><b>Message:</b></td>
    <td><%= exception.getMessage() %></td>
    </tr>
    </TABLE>

  • HttpsURLConnection class cast exception problem

    Hy everyone,
    I have next java code to send xml file over https.
    //          Create a trust manager that does not validate certificate chains
              TrustManager[] trustAllCerts = new TrustManager[] {
                        new X509TrustManager() {
                             public java.security.cert.X509Certificate[] getAcceptedIssuers() {
                                  return null;
                             public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType) {
                             public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType) {
    //          Install the all-trusting trust manager
              try {
              SSLContext sc = SSLContext.getInstance("SSL");
              sc.init(null, trustAllCerts, new java.security.SecureRandom());
              javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
              } catch (Exception e) {
              e.printStackTrace();
              //Make the output file for xml response
              DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd_kk-mm-ss");
                   _xmlResponseIme = dateFormat.format(new Date());
                   try {
                        if (createOutXML(_xmlResponseIme)){
                             this.set_xmlResponseIme(_xmlResponseIme);
                   } catch (IOException e2) {
                        //System.out.println("SSLClient :: createOutXML catch");
                        e2.printStackTrace();
              //translate request.xml file to String
              File xmlRequest = new File(_path + "/XMLFiles/request.xml");
              String xmlFile="";
                   try {
                        xmlFile = this.getStringFromXMLFile(xmlRequest);
                   } catch (FileNotFoundException e) {
                        e.printStackTrace();
                   } catch (Exception e) {
                        e.printStackTrace();
                   this.registerMyHostnameVerifier();
                   try {
                   path = "https://"+host+_config.getString("path");
                        url = new URL(path);
                   } catch (MalformedURLException e1) {
                             e1.printStackTrace();
                   try {
                             conn = (javax.net.ssl.HttpsURLConnection) url.openConnection();
                             conn.setRequestMethod("POST");
                             conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded;charset=Cp1250");
                             conn.setDoInput(true);
                             conn.setDoOutput(true);
                             //conn.setDefaultUseCaches(false);
                             conn.setRequestProperty("xml", xmlFile);
                             conn.setAllowUserInteraction(true);
                             System.out.println("Response kod = " + conn.getResponseCode());
                   } catch (IOException e2) {
                             e2.printStackTrace();
                   try {
              //receive answer
              InputStream in = conn.getInputStream();
              FileOutputStream fout;
              fout = new FileOutputStream(_xmlOut);
              StringBuffer sb = new StringBuffer();
              Reader reader = new InputStreamReader(in, "Cp1250");
              int c;
              while ((c = in.read()) != -1){
                   sb.append((char) c);
                   fout.write((byte) c);
              String document = sb.toString();
              System.out.println(document);
              fout.close();
              in.close();
                   } catch (IOException e3) {
                        e3.printStackTrace();
    Problem is that on one WebSphere Application Server 6 is everithing OK, but on another I receive error :
    On both server I have same jdk.
    Error 500: com.ibm.net.ssl.internal.www.protocol.https.HttpsURLConnection
    in line
    conn = (javax.net.ssl.HttpsURLConnection) url.openConnection();
    Where is the problem ??

    Sorry, should have been:
    javax.net.ssl.trustStore=path/to/etc/etc/DummyServerTrustFile.jks
    javax.net.ssl.trustStorePassword=WebAS
    Didn't get it to actually work like that though. trustStore & trustStorePassword were always null when I ran my program under WAS5.1.
    Here is what I did. If running from command line using WAS5.1 as JRE, first setup the environment:
    set JAVA_HOME=C:\Program Files\IBM\SDP70\runtimes\base_v51\java\jre
    java -Djava.protocol.handler.pkgs=com.ibm.net.ssl.internal.www.protocol myProgramIndependent of whether running from command line or in RAD7, code in program:
    System.setProperty("javax.net.ssl.trustStore",
    "C:\\Program Files\\IBM\\SDP70\\runtimes\\base_v51\\etc\\DummyServerTrustFile.jks");
    System.setProperty("javax.net.ssl.trustStorePassword","WebAS");(would be better to be able to specify trustStorePassword in WAS than in code though,
    but works as such)
    One can use some other file but I just added the certificate to DummyServerTrustFile.jks.
    Then, unlike I said, one CAN use the HttpsURLConnection, like this:
    com.ibm.net.ssl.internal.www.protocol.https.HttpsURLConnection conn = null;
    URL urli = new URL("https://some.address.com");
    conn = (com.ibm.net.ssl.internal.www.protocol.https.HttpsURLConnection)urli.openConnection();
    Note this uses classes from C:\Program Files\IBM\SDP70\runtimes\base_v51\java\jre\lib\ibmjsseprovider.jar, so it needs to be in classpath when compiling.
    Now this way I didn't get a cast exception from using HttpsURLConnection. The point is one can't instantiate javax.net.ssl.HttpsURLConnection, because RAD7's WAS5.1 can't cast it into its own class (wish it could).
    Also, I still couldn't use the javax.net.ssl.HttpsURLConnection.setHostnameVerifier method, because com.ibm.net.ssl.internal.www.protocol.https.HttpsURLConnection doesn't have it... So the result was pretty much the same as using a HttpURLConnection as I previously instructed. Well, I don't really need that method in practice, but I suppose one might need it in some situation. The IBM URL I quoted said WAS5.1 doesn't really compare DNS host name with the certificate host name though, so I suppose one doesn't need to programmatically set a dummy HostnameVerifier in WAS5.1.

  • POSIX permission problems

    I am running an Xserve, OS 104.11. Straight POSIX permissions, nothing fancy, not using ACLS. For some reason clients can't open files from the server or even copy them to their desktop.
    I need to keep the files read only, with the exception of the photolab group, and all others have the ability to open and copy the files to their desktops.
    Permissions are set to:
    drwxrwxr-x 34 admin photolab 8192 Apr 14 10:14 Master Fashion Archive
    Any ideas or suggestions??
    Thanks

    I assume that you are using workgroup manager? And all users are members of the photolab group? "Master Fashion Archive" is the mount point that the users start at?
    Are the permissions on the files inside "Master Fashion Archive" different than those on the enclosing folder maybe? That would explain the clients not having read access...

Maybe you are looking for

  • Cannot copy and paste text into Photoshop CS6

    I am not able to copy and paste text from non-Adobe programs (like Keynote or Word) into Photoshop CS6. I get an error message reading "Could not complete the Paste Text command because the clipboard data is empty or invalid." I have tried shutting d

  • Social Miner - UCCX and position in Chat queue

    Hi Position in queue for web chat customer. It is possible? UCCX is integrated with Social Miner for webchat. Alex

  • Is there an easier way to transfer album artwork to all songs on album?

    ok. i found the album artwork, now how do i transfer it other than one song at a time?? this is really frustrating. someone please help me! iPod video Windows XP

  • Row_number()  with distinct

    How to use row_number() with distinct ? I want all the selected in distinct display but it only can display (a) table. How can i add more table in select row_number() ?? Here is my query. SELECT ROW_NUMBER() OVER (ORDER BY a.student_number) as No FRO

  • Users created in ABAP tool cannot login to Portal

    Hello, I have created a user in abap and assigned them the role SAP_J2EE_ADMIN but cannot login into Portal (Message: User authentication failed) with that user. If I login to portal as J2EE_ADMIN and search for that user I get "No element found." Is