Kavin's SOA Blog

June 18, 2009

Error: Cannot load page due to truncated or corrupt class

Filed under: Debugging, Setup — Tags: , , , , , , — Kavin @ 12:30 pm

One of the reason for it could be some hiccup while applying patch.

I would recommend comparing ORACLE_HOME\bpel\system\services\lib\orabpel.ear file sizes in your ORACLE_HOME. In fact, you might want to go trough tedious process of making sure that all files mentioned in post.sh [or .bat] are updated correctly.

  1. Compare $ORACLE_HOME/bpel/system/services/lib/orabpel.ear with $ORACLE_HOME/j2ee/$CONTAINER/applications/orabpel.ear
  2. Delete any EAR file if present in $ORACLE_HOME/j2ee/$CONTAINER/application-deployments/ folder
  3. Check if size of $ORACLE_HOME/bpel/system/j2ee/orabpel.ear equals $PATCH_HOME/files/bpel/system/j2ee/orabpel.ear. If not then move $ORACLE_HOME/bpel/system/j2ee/orabpel.ear to backup directory and copy $PATCH_HOME/files/bpel/system/j2ee/orabpel.ear. You might need to run additional steps as per post.sh (or.bat) file.
  4. Check if size of $ORACLE_HOME/bpel/system/services/lib/orabpel.ear equals $ORACLE_HOME/j2ee/$CONTAINER/applications/orabpel.ear. if not then move $ORACLE_HOME/j2ee/$CONTAINER/applications/orabpel.ear to backup folder and copy the one from $ORACLE_HOME/bpel/system/services/lib/orabpel.ear
  5. Repeat same process for hw_services.ear and other files in post.sh (or.bat) file.

April 15, 2009

Error Resolution

  • JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Premature EOF encountered

      The cause is a timeout on the load balancer. The fix is to add the following java parameter to the container
      -DHTTPClient.disableKeepAlives=true

  • LPX-00200: could not convert from encoding UTF-8 to WINDOWS-1252
    • Open document in Notepad and goto File > Save As > Select Encoding as “UTF-8” and save it. Your problem is solved.

 

image

  • WARNING: OC4J will not send ONS ProcReadyPort messages to opmn for service: OC4JServiceInfo id: null protocol: jms hostname: null port: 12601 description: null
    • Try deleting jms.state file located in <ORACLE_HOME>\j2ee\<OC4J>\persistence\<OC4J>_<OC4J_GROUP>_1
    • Also delete .lock files in the <ORACLE_HOME>\j2ee\<OC4J>\persistence folder
    • Restart the server
  • OPMN on IPv6
    • -Djava.net.preferIPv4Stack=true to the java start and stop parameters in the OC4J module sections
  • OPATCH_JAVA_ERROR: Wrong number of arguments.  VerifyPatch needs ORACLE_HOME, OUI location, patch location, patch ID and path to ‘ar’ command, no_inventory, OS_ID.
    • Set OPATCH_PLATFORM_ID environment variable to 0. This should fix the problem.

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.