Stop Xerces to resolve Entities

Hi,
1) Question:
============
I've got the following problem. In one of my swing-projects i need the possiblity to edit XML-Code. Now when reading in the XML-File Xerces expands ENTITITES like & and in my Swing-App only & is shown. I have not found a property or something like this to prevent Xerces from expanding the entities. Does anybody know how to do this?
2) Question:
============
At the moment I have solved the problem from above by using the xml-Parser which comes with java-1.4. It does not expand Entities when setting
-----------------cut----------------------
factory.setExpandEntityReferences( false );
-----------------cut----------------------
Now there's the problem. For some of the XML-Files I need Schema-Validation which could only be done by Xerces (am I right?). Still at the moment when I add the xercesImpl.jar to my classpath the sun-parser does not resolve entities any more. Does anybody know what's going on there?
thx
tom

XML does not allow & by itself to appear in a text node. The rule is that it must be escaped, i.e. you must put & when you want that ampersand character. That rule, however, only specifies how the ampersand character must appear when it is in an XML file. When it is extracted from the XML file by software, Xerces or other, it will be treated as an ampersand.
So that's the rule. Presumably what you said about "expanding entities" was a confusion of that rule, but I couldn't really tell.
Anyway, what your Swing app should display for the ampersand character depends on what it is designed to display. If you are just putting raw XML into a text box and allowing the user to edit it, then you should put valid XML there, and that means the escaped version (&). But I wouldn't recommend that approach, because humans are likely to violate XML rules, like the escaping rule for example and many others. You are likely to end up with malformed XML if you do that.
However, if you have something like a tree structure with an element or an attribute at each node, then you should certainly display the unescaped version (&). This is what you will get when you extract a text node from a DOM anyway, and it's a correct representation of what is actually in the XML file from the user's point of view.
That's how you should treat the ampersand character, in my view. But the escaped ampersand character is normally not considered to be an entity. If you are declaring it as an entity in your schema, perhaps you should not do that as it seems to be leading to a lot of confusion.

Similar Messages

  • My iPad screen rotation has been stopped.how to resolve.

    My iPad screen rotation has been stopped.how to resolve.

    In addition to the previous answer, if Settings > General > Use Side Switch To is set to mute notifications, then rotation lock will be set via the taskbar (double-click the home button, slide the taskbar to the right, and it's the icon far left). More info on the side switch/taskbar here http://support.apple.com/kb/HT4085

  • Stop Xalan Transform From Resolves Entities

    I'm trying to write a DOM tree to an XML file, so I've been using Xalan to do a transformation. My code is quite simple:
    DOMSource source = new DOMSource( domDocument );
    StreamResult result = new StreamResult( new File( "out.xml" ));
    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer transformer = tf.newTransformer();
    transformer.setOutputProperty( OutputKeys.METHOD, "xml" );
    transformer.setOutputProperty( OutputKeys.ENCODING, "utf-8" );
    transformer.transform( source, result )
    The problem is that my DOM document has character entity references that the transformer seems intent on converting. For example XML that looks like this in the DOM tree:
    <value>Here is a weird character: &eacute;</value>
    Gets output like this in the xml file:
    <value>Here is a weird character: ?</value>
    Since I'm not actually transforming anything, just outputting the XML, I need to preserve any character entity references. Oddly enough the source XML file contains the &amp; entity, which gets converted to a regular & character when the file is parsed into the DOM tree. It's the only character entity that isn't stored as an actual EntityReference object in the tree, but the only one that gets converted back to &amp; on a transform. Any help would be greatly appreciated.

    Yes, the character entities are declared in the DTD. At one point in development I was including it with:
    transformer.setOutputProperty( OutputKeys.DOCTYPE_PUBLIC,domDocument.getDoctype().getPublicId());
    transformer.setOutputProperty( OutputKeys.DOCTYPE_SYSTEM,domDocument.getDoctype().getSystemId());
    transformer.transform( source, result );
    (I'm writing this code from memory; sorry if there are any syntax errors)
    The code compiled and did correctly add the DOCTYPE entry to the file, but the references are still being converted. It does matter for us that the references remain intact. Eventually the XML will go into a publishing system that uses a different set of proprietary character codes for that software; utf-8 won't work :-(

  • Resolving entities with crimson/SAX

    Hello,
    I am using the crimson parser and SAX to read XML files. In the following DTD I use two entities. The second one (<!ENTITY part "downtown" >) is automatically resolved. However, the first one (<!ENTITY net SYSTEM "entity.txt" NDATA txt>) is not. I would expect a statement like: "start element: Billy Here speaks entity.txt".
    Why is the data from entity.txt not included into the XML file? Is NDATA the reason ("non XML Data"). How can I include it?
    DTD:
    <!ENTITY net SYSTEM "entity.txt" NDATA txt>
    <!NOTATION txt SYSTEM "text/plain">
    <!ENTITY part "downtown" >
    <!ELEMENT Customer (Adress)*>
    <!ATTLIST Customer number ENTITY #REQUIRED>
    <!ELEMENT Adresse (Title?,Name)>
    <!ELEMENT Title (#PCDATA)>
    <!ELEMENT Name (#PCDATA)>
    XML:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE Kunde SYSTEM "file:///C:/Programs/Eclipse/eclipse/workspace/Saxxer/Customer.dtd">
    <Customer number="net">
    <Adress>
    <Name>Billy &part;</Name>
    </Adresse>
    </Kunde>
    entity.txt
    Here speaks entity.txt
    Program:
    import java.io.FileReader;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.DefaultHandler;
    public class Saxxer extends DefaultHandler {
         public static void main(String[] args) throws Exception {
         XMLReader xr = new org.apache.crimson.parser.XMLReaderImpl();
         Saxxer handler = new Saxxer();
         xr.setContentHandler(handler);
         xr.setErrorHandler(handler);
         for (int i = 0; i < args.length; i++) {
         FileReader r = new FileReader(args);
         xr.parse(new InputSource(r));
    public void startDocument () {
         System.out.println("Start document");
    public void endDocument () {
         System.out.println("End document");
    //public InputSource resolveEntity(,java.lang.String systemId);
    public void startElement (String uri, String name, String qName, Attributes atts) {
              if ("".equals (uri)) {
              System.out.println("Start element: " + qName);
              for (int cnt=0; cnt<atts.getLength(); cnt++) {
                   System.out.println("Attribut " + atts.getLocalName(cnt) + ": " + atts.getValue(cnt));
              else
              System.out.println("Start element: {" + uri + "}" + name);
    public void endElement (String uri, String name, String qName) {
              if ("".equals (uri))
              System.out.println("End element: " + qName);
              else
              System.out.println("End element: {" + uri + "}" + name);
    public void skippedEntity(java.lang.String name) {
         System.out.println("SKIPPTED ENTITY");
    public void unparsedEntityDecl(java.lang.String name,
    java.lang.String publicId,
    java.lang.String systemId,
    java.lang.String notationName) {
         System.out.println("Unparsed Entity Declaration");
    public void notationDecl(java.lang.String name,
    java.lang.String publicId,
    java.lang.String systemId) {
         System.out.println("notation Declaration");
    public InputSource resolveEntity(java.lang.String publicId,
              java.lang.String systemId) {
         System.out.println("resolve Entity");
         return null;
    public void characters (char ch[], int start, int length) {
              System.out.print("Characters: \"");
              for (int i = start; i < start + length; i++) {
              switch (ch[i]) {
              case '\\':
                   System.out.print("\\\\");
                   break;
              case '"':
                   System.out.print("\\\"");
                   break;
              case '\n':
                   System.out.print("\\n");
                   break;
              case '\r':
                   System.out.print("\\r");
                   break;
              case '\t':
                   System.out.print("\\t");
                   break;
              default:
                   System.out.print(ch[i]);
                   break;
              System.out.print("\"\n");
    Regards,
    Massala

    One more question: althouth I use the ISO-8859-1 encoding in the header of the XML file I get the warning: declared coding "ISO-8859-1" does not comply with the actual used coding "Cp1252"
    Why is that?

  • WU Explorer stops working

    Windows 7 SP1
    In Windows Update, I have 2 optional updates available.
    When I click on it, I always get this message.
    Windows Explorer.exe has stopped working
    A problem caused the program to stop working correctly.
    Please close the program
    This has been going on for weeks and I need any suggestions to resolve this error.
    Thank you
    trocom

    Hi Trocom,
    This issue can be caused due to any of the following issues:
    You may be using an outdated or corrupted video driver
    System files on your PC may be corrupt or mismatched with other files
    You may have a Virus or Malware infection on your PC
    Some applications or services running on your PC may be causing Windows Explorer to stop working
    To resolve it, we could follow these methods:
    Update your current video driver
    Run System File Checker (CFS) to check your files
    Scan your PC for Virus or Malware infections
    Start your PC in Safe Mode to check for startup issues
    Start your PC in a Clean Boot environment and troubleshoot the issue
    For more information, please refer to this article:
    Error: Windows Explorer has stopped working
    http://support.microsoft.com/kb/2694911
    Karen Hu
    TechNet Community Support

  • XMLDecoder and Entities

    Hi,
    I would like to restore a couple of beans using XMLDecoder. However I would like to include entities in the XML source that should point to other XML sources. So I would like to restore the beans from multiple XML files which are 'connected' by <!ENTITY name  SYSTEM "otherFile.xml"> declarations.
    Everything works fine so fare except that the SAX parser looks for the entities at the wrong place. If no absolute path is given, the parser uses the current working directory as base folder for resolving the entity location, not the location of the declaring file!
    Question: Is there a way to tell XMLDecoder to resolve entites relative to the declaring document, not to some "arbitrary" working directory? (I guess this is what the XML specification says how it should work, right?)
    Thanks,
    Marcus

    Hi,
    it seems to me that XMLEncoder retrieves the hash map with get, excepting to get the original and modifiable reference to the hash map and executes put-statements on this reference.
    Instead of the way I had expected (and should be logical way too), that XMLDecoder creates a new hash map (with stored values) and to set it via the set-method.
    Is my assumption correct?
    If yes, does anybody knows, why this way this way (get-method) is used and not the other way (set-method) ?
    Cause the current way limits your modifications to the get-method and the Hash map itself to a minimum. (e.g. Collections.unmodifiableMap() isn't possible, also returning a new Map with putAll isn't possible)
    Thanks a lot in advance.
    Greetings Michael

  • EntityResolver problem with InputStream other than FileInputStream

    Hi everybody,
    I have problems with resolving entities. I tried parsing xml-data with JAXP / Xerces 2.6 Sax and needed an EntityResolver for including xml-data, stored in an external-file:
    <!ENTITY test SYSTEM "test.xml">
    <a>
    &test;
    </a>It was working, as long as I put the xml above in a file and used a fileInputStream for creating the inputSource-object. Of course I set a SystemId with the path to test.xml. When I used a fileInputStream, the EntityResolver was called (I implemented it just for tracing reasons) and my data was processed correctly. As soon as I put the xml above e.g. in a ByteArrayInputStream, and used this for creating a InputSource-object, the my EntityResolver wasn't called and it didn't work. So why is this problem with EntityResolver and other Streams but FileInputStream?? Is it a bug? Did I miss something??
    Thanks for any help!!!

    I appologize for my mistake with my first post.
    While I was copying the code for this forum today, I recognized a typing error in my xml-string:
    String xmlString = "<?xml version=\"1.0\"?> <!DOCTYPE staticinc [ <!ENTITY test SYSTEM \"test.xml\">]><a>%test;</a>";I used a percent-sign instead of amp for the test-entity, and as stupid this is - this was of course the reason for my entity resolver not being called. I get a warning by xml-editors if I have this error in a file, but not during parse of a string.
    Somehow I got on the wrong track, because of the description I found in the other thread about entityResolver problems for "none-file-sources" and it seemed to fit.
    Again, sorry !! Thanks for your offer to help!!

  • How to protect your IP from skype resolvers!

    This is a guide on how to stop your Skype username resolved and your IP found.
    NOTE: This is for PC machines not for other devices (Unless you can locate to this area on your device, then do so and see if it works then great!), a side note if you have 2 devices logged into skype (I recommend only having one.) if you have to have 2 or you cannot change these settings for both devices then unfortunately they will be able to get the IP from the device that is not protected unless you sign out of the device that you cannot change the connection settings on.
    Follow these steps carefully.
    STEP 1- Tools > Options > Advanced > Connection
    On the top of the Skype application there should be headers, Skype, Contacts, Conversation, ect. Navigate to "Tools" and press, then go to "Options" after that locate to the "Advanced" header and find "Connection", press this and you will have settings ready to be changed.
    Images showing step 1.
    STEP 2- Read carefully.
    Follow these steps from the top of the settings to the bottom and you should do fine.
    1. "Use port [32535] for incoming connections." 
    2. Check "Use port 80 and 443 for additional incoming connections."
    3. Select "HTTPS" from the dropdown menu.
    4. Put the Host as [127.0.0.1] and the Port as [40031].
    5. Uncheck "Enable Proxy Authentication" if it is checked.
    6. Uncheck "Enable uPnP" if it is checked.
    7. Check "Allow direct connections to your contacts only."
    8. Then press "Save" in the bottom right corner.
    Images showing step 2. Check if yours looks the same.
    STEP 3- Finishing up step 1-3. Changing IP.
    Now that you have saved the editing of connection settings you should now sign out of your skype account, quit Skype and end any Skype.exe's running in the backround using Task Manager. If you do not have any knowledge on it, I recommend just restarting your PC machine for safer measures.
    When that is done this people most likley will still be able to get the IP address you have after changing them settings but if you change your IP address they will still have the old IP, not your new one. Now you are probably thinking "How do I change my IP then?", well Step 4.
    STEP 4- Changing your IP address.
    To change your IP there is two things you can do to my knowledge. To start CLICK HERE this will give you your IP address write or type that down somewhere so you can tell if your IP has changed later. First way to change your IP: Allot of ISP's (Internet Service Providers) these days will allow you to turn off your Networking Modem/Router (In Australia atleast.), for an extended duration of time (5-10+ minutes.) which would then change your IP this is called Dynamic. After doing this check back on the website or refresh the page and see if your IP has changed, if it has then you are done. You are safe from having your skype username resolved if your IP hasn't changed. follow the, Second way to change your IP: Simply call up support and ask them a way to change your IP address or look on online support, they will surely help guide you through and help you change it. Just tell them that people are DDOS'ing or are doing things with your IP online (explain what it is) or are going to and you want to protect yourself from it, that is if they ask why. If they do not allow you to change your IP then there is nothing I can do, unless you want to research another way on how to do it. One way or another most of the time there should be a way somewhere out there on how to change your IP just research on it. After your IP being changed you should be scott free if you have followed these steps correctly. To test use some Skyper resolving websites and use your own Skype username, if my guide has worked it shouldnt give a IP
    I really suck at English, sorry about how messy this is. I found out how to stop people from resolving my IP and I wanted other people to know about this really badly. If you find this guide not understandable please tell me, I can always make a youtube video and post it on this guide or edit it.
    You could also use a proxy to stop being resolved but it lowers your connection speeds for a gamer like myself this really affects me, that is why I posted this.
    Mod Edit: Edited post to comply with the Skype Community Guidelines and Skype Etiquette

    I apologies for the late reply, but if you read the whole thing your problem should be solved. If the person that is retrieving your I.P has gotten it before my steps, he then has your I.P, no matter if you stop anyone else from retrieving it, you need to change your I.P. I personally have a dynamic I.P so I can turn my router off to 5+ minutes and my I.P will change. This way when they then try to resolve my Skype, and try to retrieve my new I.P they are left blocked. There are also other ways to get your I.P, via streaming Skype calls he can get your I.P directly. You can always ring up your ISP (Internet Service Provider) and ask them for help on how to change your I.P address. You can also look around on the internet on how to set up a proxy, proxies pretty much defeat all the DDOS'ers that are wannabe hackers.

  • Simple GUI playing mp3 files

    Hi everyone , i am building a simple GUI playing mp3 files in a certain directory.
    A bug or something wrong with the codes listed down here is very confusing me and makes me desperate. Can anyone help me please ?
    import javax.swing.*;
    import javax.media.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    class PlayMP3Thread
    extends Thread
    private URL url;
    String[] filenames ;
    File[] files ;
    boolean condition=true;
    boolean pause=false;
    int count ;
    public PlayMP3Thread() { }
    public PlayMP3Thread(File[] files)
    //try
              this.files = files;
         filenames = new String[files.length];
         count = -1;
         // this.url = mp3.toURL();
         //catch ( MalformedURLException me )
    public void run()
    try
         while (condition)
              count++;
              if (count > (filenames.length - 1)) {
                        count = 0;
              this.url = files[count].toURL();
    MediaLocator ml = new MediaLocator(url);
    final Player player = Manager.createPlayer(ml);
    /*player.addControllerListener(
    new ControllerListener()
    public void controllerUpdate(ControllerEvent event)
    if (event instanceof EndOfMediaEvent)
    player.stop();
    player.close();
    player.realize();
    player.start();
    catch (Exception e)
    e.printStackTrace();
    public void stops()
    //stop the thread
    condition=false;
    pause=false;
    public void pause()
    while(!pause)
    //pause the thread
    try
    wait();
    catch(Exception ex){}
    pause=true;
    public void resumes()
    while(pause)
    notify();
    pause=false;
    } // end of class MP3Thread
    public class mp3Play extends JFrame {
    JTextField direcText ;
    JFileChooser fc;
    static final String
    TITLE="MP3 PLAYER",
    DIRECTORY="Directory : ",
    BROWSE="Browse...",
    START="Start up",
    STOP="Stop",
    PAUSE="Pause",
    RESUME="Resume",
    EXIT="Exit";
    public static void main(String args[])
         PlayMP3Thread play = new PlayMP3Thread();
         mp3Play pl = new mp3Play();
    } // End of main()
    public mp3Play() {
    setTitle(TITLE);
         Container back = getContentPane();
         back.setLayout(new GridLayout(0,1));
         back.add(new JLabel(new ImageIcon("images/hello.gif")));
         fc = new JFileChooser();
         fc.setFileSelectionMode(fc.DIRECTORIES_ONLY);
         JPanel p1 = new JPanel();
         p1.add(new JLabel(DIRECTORY, new ImageIcon("images/directory.gif"), JLabel.CENTER));
    p1.add(direcText = new JTextField(20));
         JButton browseButton = new JButton(BROWSE, new ImageIcon("images/browse.gif"));
         browseButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    int returnVal = fc.showOpenDialog(mp3Play.this);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
              direcText.setText(fc.getSelectedFile().toString());
              File[] files = (new File(direcText.getText())).listFiles(this);
         p1.add(browseButton);
         back.add(p1);
         JPanel p2 = new JPanel();
              JPanel butPanel = new JPanel();
              butPanel.setBorder(BorderFactory.createLineBorder(Color.black));
              JButton startButton = new JButton(START, new ImageIcon("images/start.gif"));
              startButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
                        PlayMP3Thread play = new PlayMP3Thread(files);
                        play.start();
         butPanel.add(startButton);
         p2.add(butPanel);
         JButton stopButton = new JButton(STOP, new ImageIcon("images/stop.gif"));
         stopButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
              play.stops();
         p2.add(stopButton);
         JButton pauseButton = new JButton(PAUSE, new ImageIcon("images/pause.gif"));
         pauseButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
              play.pause();
         p2.add(pausetButton);
         JButton resumeButton = new JButton(RESUME, new ImageIcon("images/resume.gif"));
              resumeButton.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e) {
                   play.resumes();
         p2.add(resumeButton);
         back.add(p2);
    JButton exitButton = new JButton(EXIT, new ImageIcon("images/exit.gif"));
              exitButton.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e) {
                   System.exit(0);
              p2.add(exitButton);
              back.add(p2);
              addWindowListener(new WindowAdapter() {
         public void windowClosing(WindowEvent e) {
         System.exit(0);
              pack();
         setVisible(true);
    }

    Actually I don't know much about fixing technical error or logical error.
    When it compiled , there are 6 errors showed up :
    can't resolve symbol : method listFiles (<anonymous java.awt.event.ActionListener>)
    location: class java.io.File
              File[] files = (new File(direcText.getText())).listFiles(this);
    can't resolve symbol: variable files
                        PlayMP3Thread play = new PlayMP3Thread(files);
    can't resolve symbol: variable play
              play.stops();
    can't resolve symbol: variable play
              play.pause();
    ^
    can't resolve symbol : variable pausetButton
    location: class mp3Play
         p2.add(pausetButton);
    ^
    can't resolve symbol: variable play
                   play.resumes();
    Any suggestions ?

  • How can i download photos to my IPhone after Disable and Delete ICloud Photo Library?

    I`ve started to use Icloud Photo Library, but i`ve decided to not use anymore because just a few photos were uploaded to the cloud.
    So, I`ve turned off my ICloud Photo Library entirely at Manage Storage section of ICloud Settings. After that i`ve been trying to re-download my photos to my IPhone, by "Transfer and Keep Originals" set up, but it isn`t working!

    You cannot.  this is how the iphone handles photos.
    ALL PHOTOS synced to iphone can be accessed via the "Photo Library".  Those same photos can also be accessed from the folders that you synced.  Just as you can find a book in your public library and you find the same book in the fiction section.
    Stop trying to resolve it as there is nothign to resolve.  All is working as it should.

  • Dute date type in ical

    I am having sync issues with ical and two third party apps (iGTD/Life Balance).
    I get conflicts all the time about a field in ical called Due Date Type which is set to Yes in ical and No in the third party apps.
    Is there any info anyone can give me about this, or possibly a way to edit that field in ical tasks to stop my conflict resolver going off all the time.
    Thanks
    Kaz

    Hi,
    Please maintain the length field as 12 months or 365 days in Base Entitlement table and re-try.
    Regards,
    Dilek

  • PDF Files in Oracle Database

    First of all Hi and Thanks to All Respected Gurus of this forum for providing non-stop services to resolve problems on world-wide level.
    I am using Oracle Database 11g-R1 with Oracle Application Express 4.1.
    My clients (end-users) have the access to upload PDF files into database via an application built-in Oracle Application Express.
    Suddenly ".dmp" size has been increased rapidly from 360 MB to 2.7 Gb and all it happened due to uploading of PDF Files.
    I want to know is it alarming for Oracle Database? Because users have lot-of files to upload, so I am in doubt that will Oracle Database Services / Performance will be disturbed by increasing of database size or Oracle Database Server could be crashed?
    Please confirm. Thanks in advance.
    Regards: Muhammad Uzair Awan

    Performance may be impacted.
    Backup time would increase.
    Backup space (Disk / Tape) requirements would increase.
    There shouldn't be a "crash" of the database
    Since you are running 11gR1, I presume that you are not running the Express Edition.
    Hemant K Chitale

  • DocumentBuilder.Parse() if converting & amp; into &

    Hi,
    I have a dom document which I have converted into a String and one of the Nodes had & amp; in it.
    When I then parse the string back into a Dom Document the parser converts the & amp; back into a &.... and this causes my problems later on.
    Does anyone know How I can get round this.
    The whole I am converting a document into a string and back again is because the Dom document isn't serializable.
    Any ideas?
    Jag

    well, that's the job of the parser to resolve entities, therefore converting &amp; into a & is correct.

  • How can I add photos to my contacts? It only shows default, recent and video cam

    I will not find the way to add images to my contacs, Mountain Lion shows only default, recent and videocam

    You cannot.  this is how the iphone handles photos.
    ALL PHOTOS synced to iphone can be accessed via the "Photo Library".  Those same photos can also be accessed from the folders that you synced.  Just as you can find a book in your public library and you find the same book in the fiction section.
    Stop trying to resolve it as there is nothign to resolve.  All is working as it should.

  • Service Pack 3 Problem (maybe host2ior)

    Hello,
    I use RMI over IIOP from C++, the client(Client.exe), and It is accessing to
    RMI object.
    When Servcie Pack 3 was applied, Client.exe stopped in
    'NamingContext::resolve()'. And couldn't get RMI Object.
    Length was wrong when it was compared with IOR of Service Pack 2.
    Get IOR under JDK1.3 and Service Pack 3 and run WebLogic Server with Service
    Pack 3 failed.
    Get IOR unser JDK1.3 and Service Pack 2 and run WebLogic Server with Service
    Pack 3 failed. Though it was natural because the format of IOR was wrong.
    Get IOR under JDK1.3 and Service Pack 3 and run WebLogic Server with Service
    Pack 2 failed.
    Get IOR under JDK1.3 and Service Pack 2 and run WebLogic Server with Service
    Pack 2 only successed.
    Is this the problem of ServicePack?
    When new ServicePack release if this is a bug?
    Thanks.

    And.....
    7.utils.host2ior
    8.run *.exe
    "watuki" <[email protected]> wrote in message
    news:8hr4sa$8hp$[email protected]..
    Yes. I did all process under Service Pack 3 from beginning.
    1.Create Server Srouce(RMI)
    2.javac
    3.weblogic.rmic
    4.idl2cpp
    5.Create Client Source(C++)
    6.cl
    "Eduardo Ceballos" <[email protected]> wrote in message
    news:[email protected]..
    Under service pack 3, you need to regenerate the string representation
    of
    the ior for the naming service. Did you do that?
    watuki wrote:
    Hello,
    I use RMI over IIOP from C++, the client(Client.exe), and It is
    accessing to
    RMI object.
    When Servcie Pack 3 was applied, Client.exe stopped in
    'NamingContext::resolve()'. And couldn't get RMI Object.
    Length was wrong when it was compared with IOR of Service Pack 2.
    Get IOR under JDK1.3 and Service Pack 3 and run WebLogic Server withService
    Pack 3 failed.
    Get IOR unser JDK1.3 and Service Pack 2 and run WebLogic Server withService
    Pack 3 failed. Though it was natural because the format of IOR waswrong.
    Get IOR under JDK1.3 and Service Pack 3 and run WebLogic Server withService
    Pack 2 failed.
    Get IOR under JDK1.3 and Service Pack 2 and run WebLogic Server withService
    Pack 2 only successed.
    Is this the problem of ServicePack?
    When new ServicePack release if this is a bug?
    Thanks.

Maybe you are looking for

  • Extracting a distinct list of values using the Index formula

    In Xcelsius, I am trying to retrieve a distinct list of values from data imported using the Reporting Services button. In the spreadsheet I am using the following formula: =INDEX($A2:$A831,MATCH(0,COUNTIF($B$2:B2,$A2:$A831),0)) The above formula work

  • Batch Determination in IW3K

    Hi, I have maintained 2 Valuation Types for a Part. I am selecting this Part for consumption based on BOM (Structure List) in Transaction IW3K. Is there any way to make only one particular Valuation Type appear by default in the "Batch" column? I wan

  • Xfa.layout has no properties

    When I import a PDF and use it as a fixed background for my forms, I get an error inside my validation script that runs through all the fields by using xfa.layout.pageContent(nPageCount,"field"); how can I solve this issue? thanks a lot. fabian

  • ScrollPane!!!!! Help please!!!!

    Hi guys, i'm trying to create a scrollPane to put into a captivate project... I downloaded a version of a tutorial and that works fine in captivate... But when i have created my own i can't seem to attach any files to it... I need to attach a big tex

  • JCA 1.5 Resource Adapter integration

    Hi, I'm trying to create a custom JCA 1.5 Resource Adapter that has to be integrated with the BPEL PM. I already have the JCA Resource Adapter done, and I want to integrate it with BPEL. I'm following the document http://www.oracle.com/technology/pro