[11/18/08 15:17:53:900 EST] 00000364 ApplicationMg A WSVR0200I: Starting application: PortletsEAR
[11/18/08 15:17:54:025 EST] 00000364 ApplicationMg A WSVR0204I: Application: PortletsEAR Application build level: Unknown
[11/18/08 15:17:54:885 EST] 00000364 WebGroup A SRVE0169I: Loading Web Module: Store Search Portlet.
[11/18/08 15:17:55:448 EST] 00000364 VirtualHost I SRVE0250I: Web Module Store Search Portlet has been bound to default_host[*:10000,*:80,*:10002,*:10015,*:10016,*:443,*:10023,*:10026,*:10017,*:10040,*:10035].
[11/18/08 15:17:55:683 EST] 00000367 ObjectModelRe I com.ibm.wps.services.registry.ObjectModelRegistry registerPortletApplication EJPPG0024I: Web application with context root /.StoreSearchPortlet is deployed in the application server but not registered with portal.
[11/18/08 15:17:56:293 EST] 00000364 WebGroup A SRVE0169I: Loading Web Module: SearchPortlet.
[11/18/08 15:17:56:824 EST] 00000364 VirtualHost I SRVE0250I: Web Module SearchPortlet has been bound to default_host[*:10000,*:80,*:10002,*:10015,*:10016,*:443,*:10023,*:10026,*:10017,*:10040,*:10035].
[11/18/08 15:17:57:028 EST] 0000034c ObjectModelRe I com.ibm.wps.services.registry.ObjectModelRegistry registerPortletApplication EJPPG0024I: Web application with context root /.SearchPortlet is deployed in the application server but not registered with portal.
[11/18/08 15:17:57:215 EST] 00000364 ApplicationMg A WSVR0221I: Application started: PortletsEAR
[11/18/08 15:19:49:397 EST] 0000016a Engine E com.ibm.wps.command.xml.Engine processSax EJPFB0002E: Exception occurred.
com.ibm.wps.command.xml.XmlCommandException: EJPXA0043E: An error occurred while creating or updating the resource. [web-app]
at com.ibm.wps.command.xml.UpdateEngine.execItem(UpdateEngine.java:307)
at com.ibm.wps.command.xml.UpdateEngine.processItem(UpdateEngine.java:202)
at com.ibm.wps.command.xml.UpdateEngine.updateTopLevelItem(UpdateEngine.java:168)
at com.ibm.wps.command.xml.XmlAccessHandler.fillObjectModel(XmlAccessHandler.java:343)
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)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ibm.wps.command.xml.XmlUtils.parseSax(XmlUtils.java:244)
at com.ibm.wps.command.xml.Engine.forInputSourceSax(Engine.java:206)
at com.ibm.wps.command.xml.XmlCommand.execute(XmlCommand.java:174)
at com.ibm.wps.command.xml.XmlCommandServlet.processInternal(XmlCommandServlet.java:313)
at com.ibm.wps.command.xml.XmlCommandServlet.process(XmlCommandServlet.java:300)
at com.ibm.wps.command.xml.XmlCommandServlet.doPost(XmlCommandServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1068)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:543)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:747)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: com.ibm.wps.command.applications.AppAlreadyExistsException: *EJPPF0181E: Error occurred. The id=WebContent already exists for stored standard portlet application* Application Name not available for this Application in the XML element portlet-app WebContent.
WrappedException is: com.ibm.wps.pe.mgr.exceptions.DuplicateAppException: EJPPF0181E: Error occurred. The id=WebContent already exists for stored standard portlet application Application Name not available for this Application in the XML element portlet-app WebContent.
at com.ibm.wps.command.applications.AbstractApplicationsCommand.throwAppMgrException(AbstractApplicationsCommand.java:465)
at com.ibm.wps.command.applications.InstallWebApplicationCommand.execute(InstallWebApplicationCommand.java:140)
at com.ibm.wps.command.xml.items.WebApplicationItem.createNormal(WebApplicationItem.java:529)
at com.ibm.wps.command.xml.items.WebApplicationItem.create(WebApplicationItem.java:480)
at com.ibm.wps.command.xml.UpdateEngine.execItem(UpdateEngine.java:266)
... 41 more
Caused by: com.ibm.wps.pe.mgr.exceptions.DuplicateAppException: EJPPF0181E: Error occurred. The id=WebContent already exists for stored standard portlet application Application Name not available for this Application in the XML element portlet-app WebContent.
at com.ibm.wps.pe.mgr.deployment.std.DeploymentManagerStandardImpl.checkIfGUIDExists(DeploymentManagerStandardImpl.java:910)
at com.ibm.wps.pe.mgr.deployment.std.DeploymentManagerStandardImpl.checkGUIDs(DeploymentManagerStandardImpl.java:893)
at com.ibm.wps.pe.mgr.deployment.AbstractDeploymentManagerImpl.install(AbstractDeploymentManagerImpl.java:327)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.installWebModule(AbstractApplicationManagerImpl.java:590)
at com.ibm.wps.pe.mgr.AbstractApplicationManagerImpl.installWebModule(AbstractApplicationManagerImpl.java:497)
at com.ibm.wps.command.applications.InstallWebApplicationCommand.execute(InstallWebApplicationCommand.java:132)
... 44 more
[11/18/08 15:19:49:506 EST] 0000016a Engine E com.ibm.wps.command.xml.Engine processSax EJPFB0002E: Exception occurred.
com.ibm.wps.command.xml.XmlCommandException: EJPXA0025E: The resource was not found in the portal, either because it does not exist or because you have not specified an identifying attribute in the XML input. [web-app]
at com.ibm.wps.command.xml.UpdateEngine.locateItem(UpdateEngine.java:385)
at com.ibm.wps.command.xml.UpdateEngine.processItem(UpdateEngine.java:201)
at com.ibm.wps.command.xml.UpdateEngine.updateTopLevelItem(UpdateEngine.java:168)
at com.ibm.wps.command.xml.XmlAccessHandler.fillObjectModel(XmlAccessHandler.java:343)
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)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at com.ibm.wps.command.xml.XmlUtils.parseSax(XmlUtils.java:244)
at com.ibm.wps.command.xml.Engine.forInputSourceSax(Engine.java:206)
at com.ibm.wps.command.xml.XmlCommand.execute(XmlCommand.java:174)
at com.ibm.wps.command.xml.XmlCommandServlet.processInternal(XmlCommandServlet.java:313)
at com.ibm.wps.command.xml.XmlCommandServlet.process(XmlCommandServlet.java:300)
at com.ibm.wps.command.xml.XmlCommandServlet.doPost(XmlCommandServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1068)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:543)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:747)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Thank You,
Tim Patton
Running the task.xml solved other annoying problem in my development environment. Such as recreating virtual portals using the same context.
We also noticed that one of my portal.xml files did not have an "id=..." attribute defined. Since these portlets are deployed (in development) using using RAD7 they are placed in the WebContent web module (regular deployments will typically have war files defined here). We believe this may have caused the duplicate application exception.
Running task.xml and adding the id to my portlet.xml file solved the problem.
Thanks again,
Tim Patton