Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4665105

jwsdponj2ee: SAXParseException invalid encoding name Cp1252

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • jwsdp-1.0
    • xml

      I ran jwsdponj2ee.bat so that I could create a web service on the J2EE SDK 1.3.1.
      The service deployed and ran with no errors. However, several of the EARs
      distributed with the J2EE Tutorial no longer work (ex.-- CartApp.ear).

      When I tried to deploy one of these EARs on the J2EE SDK 1.3.1, the deploytool
      throws the following exception:

      [Fatal Error] :1:40: Invalid encoding name "Cp1252".
      org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".
              at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
              at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
      java:201)
              at com.sun.enterprise.deployment.ApplicationArchivist.getApplicationName
      (ApplicationArchivist.java:1722)
              at com.sun.enterprise.tools.deployment.main.Main.main(Main.java:155)
      Deploy the application in WarehouseApp.ear on the server localhost saving the cl
      ient jar as WarehouseAppClient.jar
      Sender object Deploy Tool : Deploy null on localhost
      Remote message: Contacted Server....
      Remote message: Application null transferred.
      Sender object Deploytool (Main) : RemoteException occurred in server thread; nes
      ted exception is:
              java.rmi.RemoteException: Error saving/opening

            nbajajsunw Neeraj Bajaj (Inactive)
            dgreensunw Dale Green (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: