Sealing exception problems - S.O.S!!!!

Hi,
I am trying to solve this problem of 'sealing exception' that I have been encountering with Unix/Tomcat/JAXP platform. The way I found out is through a thread in this forum itself.
It says to unjar the 3 jar files in the JAXP folder (crimson, jaxp and xalan) and change sealed property in the Manifest file from true to false.
I did this accordingly, but now could anyone please help me in how do I go about again doing a jar on these files. I know it should be a simple thing but please forgive my ignorance folks.
An earliest help in this regard would be highly appreciated.
Thanks.

It says to unjar the 3 jar files No. Your configuration is wrong. The JAR files are OK.
My best guess: you installed something like Xerces for your XML parsing? Tomcat itself also ships with an XML parser -- an old one, with old versions of org.w3c.Element etc. This is the cause of your problems. By the way: a "No such method" exception may also be caused by this...
Replace the JAR files with the original ones. Next, revise your classpath. Make sure to get your newer XML stuff in the classpath prior to the Tomcat stuff. Or replace the Tomcat provided parser.jar / xml.jar (whatever) with your choice.
Use the -verbose option to see that some XML related things are loaded from another file than you may expect.
See also http://forums.java.sun.com/thread.jsp?forum=60&thread=159824
a.

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)

  • Sealing Exception

    A while back I installed Forte4J 2.0 on Win2000/Pro using JDK1.3...after 'updating' a Forte4J JAR file (or two), I went to launch the IDE and received a SEALING VIOLATION error. My bad. Now, when I go to re-install Forte (or install 3.0), no matter what I do, I receive the Sealing Violation error ad nauseum...Any way around this? I've uninstalled, re-installed, looked in the Win registry but to no avail...

    I greatly appreciate your response...I cleared the classpath (after uninstalling) but let the installer change the classpath. I did unistall the JAR files but also deleted the directory, re-booted, etc. I do understand the "sealing violation" exception and now am wondering if, in fact, the sharing of JARs (by Forte) is causing the problem and/or whether my other installations are conflicting - i.e., Tomcat, Cocoon, and/or other Java SDKs (i.e., messaging, JavaCard, J2MEWTK, etc.) ??
    One possible solution that might help is upgrading my J2SE SDK. I had been running 1.3 and now have updated to 1.3.1 - in essence, a 'clean' install...unfortunately, this did not work either.
    Still cannot use Forte4J, though I can use PointBase - which, by the way, is great. I guess tha gripe is simply that there is no 'graceful' error handle - the startup of the Forte IDE just 'locks' - I needed to (a) look at the log file or (b) edit the runide.bat file to even figure out that it was, in fact, a sealing violation that was the problem.

  • 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.

  • 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.

  • Exception - sealing exception while starting weblogic

    i get the following exception while starting weblogic ,
    pls let me know what changes needs to be done!!
    D:\bea\user_projects\mapos>"d:\bea\jdk131_06\bin\java" -hotspot -Xms64m -Xmx256m
    -Dserver.id=01:7001 -Ddomain.home=D:\bea\user_projects\mapos -Dweblogic.securi
    ty.SSL.trustedCAKeyStore=D:\bea\weblogic700\server\lib\cacerts -Dweblogic.Name=m
    yserver -Dbea.home="d:\bea" -Dweblogic.management.username=system -Dweblogic.man
    agement.password=password -Dweblogic.ProductionModeEnabled= -Djava.security.poli
    cy="d:\bea\weblogic700\server\lib\weblogic.policy" weblogic.Server
    <Aug 27, 2003 4:08:37 AM PDT> <Critical> <WebLogicServer> <000364> <Server faile
    d during initialization. Exception:java.lang.SecurityException: sealing violatio
    n
    java.lang.SecurityException: sealing violation
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:229)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    6)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    6)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at weblogic.t3.srvr.T3Srvr.checkAccess(T3Srvr.java:419)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:627)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >

    Your server certificate expired. You need to update your identity keystore with a new certificate.
    The expired certificate was issued by the demo BEA certificate authority (CA). These certs are not adequate for production but if you want to take this approach for your new cert you'll have to use the BEA CertGen utility. Have a look at http://edocs.bea.com/wls/docs70/secmanage/ssl.html for more details.
    Your other option is to use Java's keytool utility to create a private key. You'd then generate a certificate signing request (CSR) that you'd send to a CA such as Verisign. You might even have a CA in-house. The CA will then send you a signed certificate that you load in your keystore. Assuming you've configured WebLogic to use this keystore you should be back in business with SSL.
    Mike
    Weblogic/J2EE Security Blog: http://monduke.com

  • Adobe render exception problem with EP6 SP18

    hi Gurus,
    I have created an application with Interactive forms and it was working fine with SP16 and the application was created on NWDS SP16 version only.
    Now I have upgraded my portal from SP16 to SP18.now my application is not working properly and throwing an error:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation. Request start time: Tue Sep 12 03:09:40 CDT 2006 com.adobe.ProcessingError: PDF render exception: org.omg.CORBA.BAD_OPERATION Exception Stack Trace: com.adobe.ProcessingError: PDF render exception: org.omg.CORBA.BAD_OPERATION at com.adobe.ads.request.RemoteRenderer.renderAllRemote(Unknown Source) at com.adobe.ads.request.RemoteRenderer.renderAll(Unknown Source) at com.adobe.ads.request.RemoteRenderer.renderAll(Unknown Source) at com.adobe.ads.request.Renderer.renderWithoutCache(Unknown Source) at com.adobe.ads.request.Renderer.execute(Unknown Source) at com.adobe.BaseADSRequest.doWork(Unknown Source) at com.adobe.AdobeDocumentServicesWorker.processRender(Unknown Source) at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: org.omg.CORBA.BAD_OPERATION: vmcid: 0x41540000 minor code: 38 completed: No at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at com.sap.engine.services.iiop.server.portable.Delegate.invoke(Delegate.java:341) at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457) at com.adobe.document.xmlform._FormFactoryStub.renderAll(Unknown Source) ... 36 more
    Are there any limitations for SP18 and Adobe Interactive forms. Can anybody help me in solving this issue.
    Thanks,
    kris

    When upgrading your WebAS Java from SP16 to SP18, did you upgrade also all the Adobe-related components ?
    If no this could be the source of your problem...

  • 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

Maybe you are looking for

  • Hooking a ipod hi-fi up to my macbook.

    Is there a cable produced by any company that will allow me to connect my macbook to a ipod hi-fi speaker box? If so , any information would be appriciated.

  • Planning version

    there are one new cost center has been added into a existing cost center group and when we are trying to pull one report s_alr_87013620 and putting a planning version 0 and planning version BI , output of report in 0 version is showing all the cost c

  • How to install applications on the 8700c

    I am new to Blackberry, just started using a 8700c.  I found numerous applications I would like to try, but cannot figure out how to install them.  I loaded app world on my device, but I get a message that says App. World is not available on devices

  • My iPad will not turn on at all any suggestions?

    My iPad will not turn on at all, any suggestions??

  • Boot screen error

    Just installed some software after the assistant prompted me. Machine wouldn't get past the boot screen showing first the apple then showing this: [img]http://farm5.static.flickr.com/4047/4191378577d8a957076ao.jpg[/img] I did a hard shut down and gav