Topic
  • 1 reply
  • Latest Post - ‏2013-08-07T14:57:23Z by VictorSosa
ShivaCBE
ShivaCBE
3 Posts

Pinned topic EAR publish Fails on WAS 7

‏2013-08-06T19:05:59Z |

Hi,

           I have set up a project ear project from existing code base.Compile and build of the workspace was successful.Publisg of EAR to WAS 7 profile failes with the below error.

The publish encountered some problems and the application may not have been installed or it may have been successfully installed but was unable to start. View the Details to display the exceptions and server logs that occurred during the publish. 
 
  ======== Sample========
 
  Application Failed to Install. Sample
  [8/6/13 14:52:30:830 EDT] 00000008 FFDCJanitor   I com.ibm.ws.ffdc.impl.FFDCJanitor doCleanupIfNeeded FFDCJANITOR_DELETED_FILES
  [8/6/13 14:52:30:846 EDT] 00000008 DMAdapter     I com.ibm.ws.ffdc.impl.DMAdapter getAnalysisEngine FFDC1009I: Analysis Engine using data base: C:\Program Files\ibm\SDP\runtimes\base_v7\profiles\was70profile1\properties\logbr\ffdc\adv\ffdcdb.xml
  [8/6/13 14:52:31:064 EDT] 00000008 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\ibm\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_67a667a6_13.08.06_14.52.30.8301104026521414333605.txt com.ibm.ws.management.AdminServiceImpl.invoke 679
  [8/6/13 14:52:36:986 EDT] 00000017 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\ibm\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_7fd37fd3_13.08.06_14.52.36.9704843176358745034262.txt com.ibm.ws.webservices.admin.deploy.VerifyEJBandItsRoutersTaskImpl.verifyInstallOrEdit 232
  [8/6/13 14:52:37:048 EDT] 00000017 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\ibm\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_7fd37fd3_13.08.06_14.52.36.9864068395145013525862.txt com.ibm.ws.webservices.admin.deploy.ServiceIndexServerTask.performTask 172
  [8/6/13 14:52:37:142 EDT] 00000017 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\ibm\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_7fd37fd3_13.08.06_14.52.37.0648229806213072056710.txt com.ibm.ws.management.application.SchedulerImpl.run 298
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1$DiagnosticWrappedException: org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:307)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:268)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:390)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at com.ibm.ws.webservices.WSModelsLoader.getWSBinding(WSModelsLoader.java:118)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at com.ibm.ws.rrd.component.RRDWSModelsLoader.getWSBinding(RRDWSModelsLoader.java:203)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at com.ibm.wsspi.webservices.models.WSModels.getWSBinding(WSModels.java:142)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at com.ibm.ws.webservices.admin.deploy.VerifyEJBandItsRoutersTaskImpl.verifyInstallOrEdit(VerifyEJBandItsRoutersTaskImpl.java:213)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at com.ibm.ws.webservices.admin.deploy.ServiceIndexServerTask.performTask(ServiceIndexServerTask.java:127)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:285)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at java.lang.Thread.run(Thread.java:736)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R Caused by: org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:179)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:180)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:900)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.load(CompatibilityXMIResourceImpl.java:259)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:338)
  [8/6/13 14:52:37:158 EDT] 00000017 SystemErr     R  ... 7 more
 

Could some one guide me what the issue is and how I could get the application succesfully published.

Regards,

Shiva

  • VictorSosa
    VictorSosa
    24 Posts

    Re: EAR publish Fails on WAS 7

    ‏2013-08-07T14:57:23Z  

    Not sure about the problem yet, the description seems incomplete to me, like how's your project structure? can you show the deployment descriptors? which version of EAR you are using.

    Looking at the log, it is complaining about a bad parsing of an XML file, so my first shot would be checking the deployment descriptors are written fine.