Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to Publish EAR with portlets.FOllowing exception occurs

60 views
Skip to first unread message

bikram...@hotmail.com

unread,
Aug 25, 2008, 9:58:38 AM8/25/08
to
The EAR was working perfectly till friday. Suddenly the following error is coming up.
Can someone help?


[8/25/08 9:54:00:984 EDT] 0000007f Engine E com.ibm.wps.command.xml.Engine XMLEngine EJPFB0002E: Exception occurred.
com.ibm.wps.command.xml.XmlFormatException: EJPXA0183E: The URL file://localhost/C:/IBM/WebSphere/profiles/wp_profile/installedApps/IBM-1/ABCEAR.ear/ABC.war does not point to a directory as required by predeployed portlets. Please adjust the URL. [web-app uid=com.ibm.faces.portlet.FacesPortlet.7b014d0471.webmod]
at com.ibm.wps.command.xml.items.WebApplicationItem.init(WebApplicationItem.java:226)
at com.ibm.wps.command.xml.DecodeEngine.makeItem(DecodeEngine.java:385)
at com.ibm.wps.command.xml.DecodeEngine.processNodeSax(DecodeEngine.java:323)
at com.ibm.wps.command.xml.DecodeEngine.decodeTopLevelNode(DecodeEngine.java:123)
at com.ibm.wps.command.xml.XmlAccessHandler.fillObjectModel(XmlAccessHandler.java:335)
at com.ibm.wps.command.xml.XmlAccessHandler.endElement(XmlAccessHandler.java:225)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

mages...@gmail.com

unread,
Aug 25, 2008, 10:23:52 AM8/25/08
to
Update

//localhost/C:/IBM/WebSphere/profiles/wp_profile/installedApps/IBM-1/ABCEAR.ear/ABC.war

to the followig in your register portlet xml

file:///C:/IBM/WebSphere/profiles/wp_profile/installedApps/IBM-1/ABCEAR.ear/ABC.war

If the problem still persists, upload the xml that you are using to register this portlet.

bikram...@hotmail.com

unread,
Aug 25, 2008, 10:57:48 AM8/25/08
to
Hey Maxis,
thanks for your help.Can you tell me where is this register portlet.xml located.
One note is using RSA I am attaching the ear(ADD Project option from IDE).
I am not starting WPS from Command Prompt and running XMLAccess .
0 new messages