Rajat,
It appears that the portletentitymapping.xml file could not be found. That file is used by Castor to create Java objects out of portletentityregistry.xml records. I'm not sure how to configure Pluto to work inside Geronimo, but you might want to check out how the Geronimo Web Console is configured. The Web Console uses Pluto 1.0.1 under the covers.
/Craig

-----rajat karnwal <[EMAIL PROTECTED]> wrote: -----

>To: [email protected]
>From: rajat karnwal <[EMAIL PROTECTED]>
>Date: 07/17/2006 04:27PM
>Subject: [PortletEntityRegistryServiceFileImpl] Failed to load
>mapping file
>
>Hi,
>  I have recently started using Pluto. I am getting
>the following exception. Can someone help me out in
>resolveing it
>
>12:42:50,563 ERROR
>[PortletEntityRegistryServiceFileImpl] Failed to load
>mapping file C:\Program
>Files\IBM\WebSphere\AppServerCommunityEdition\config-store\26\pluto-p
>ortal-web.war\WEB-INF\data\xml\portletentitymapping.xml
>java.io.FileNotFoundException: C:\Program
>Files\IBM\WebSphere\AppServerCommunityEdition\config-store\26\pluto-p
>ortal-web.war\WEB-INF\data\xml\C:\Program
>Files\IBM\WebSphere\AppServerCommunityEdition\config-store\26\pluto-p
>ortal-web.war\WEB-INF\data\xml\portletentitymapping.xml
>(The filename, directory name, or volume label syntax
>is incorrect)
>     at java.io.FileInputStream.open(Native Method)
>     at
>java.io.FileInputStream.<init>(FileInputStream.java:129)
>     at
>java.io.FileInputStream.<init>(FileInputStream.java:89)
>     at
>sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
>.java:103)
>     at
>sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
>nection.java:191)
>     at java.net.URL.openStream(URL.java:942)
>     at
>org.exolab.castor.util.DTDResolver.resolveEntity(DTDResolver.java:257
>)
>     at
>org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:47
>3)
>     at
>org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:407)
>     at
>org.apache.pluto.portalImpl.services.portletentityregistry.PortletEnt
>ityRegistryServiceFileImpl.init(PortletEntityRegistryServiceFileImpl.
>java:87)
>     at
>org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManag
>er.java:223)
>     at
>org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManag
>er.java:98)
>     at
>org.apache.pluto.portalImpl.Servlet.init(Servlet.java:78)
>     at
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
>java:1091)
>     at
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
>a:750)
>     at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>alve.java:130)
>     at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>alve.java:178)
>     at
>org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
>bjectValve.java:46)
>     at
>org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
>invoke(GeronimoStandardContext.java:275)
>     at
>org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
>nimoBeforeAfterValve.java:31)
>     at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>ava:126)
>     at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>ava:105)
>     at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>ve.java:107)
>     at
>org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
>va:365)
>     at
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
>526)
>     at
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>a:148)
>     at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>:856)
>     at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>ssConnection(Http11Protocol.java:744)
>     at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
>int.java:527)
>     at
>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
>lowerWorkerThread.java:80)
>     at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
>ool.java:684)
>     at java.lang.Thread.run(Thread.java:570)
>12:42:50,578 ERROR [[/pluto-portal-web]]
>ServiceManager: An unidentified error occurred
>java.io.FileNotFoundException: C:\Program
>Files\IBM\WebSphere\AppServerCommunityEdition\config-store\26\pluto-p
>ortal-web.war\WEB-INF\data\xml\C:\Program
>Files\IBM\WebSphere\AppServerCommunityEdition\config-store\26\pluto-p
>ortal-web.war\WEB-INF\data\xml\portletentitymapping.xml
>(The filename, directory name, or volume label syntax
>is incorrect)
>     at java.io.FileInputStream.open(Native Method)
>     at
>java.io.FileInputStream.<init>(FileInputStream.java:129)
>     at
>java.io.FileInputStream.<init>(FileInputStream.java:89)
>     at
>sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
>.java:103)
>     at
>sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
>nection.java:191)
>     at java.net.URL.openStream(URL.java:942)
>     at
>org.exolab.castor.util.DTDResolver.resolveEntity(DTDResolver.java:257
>)
>     at
>org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:47
>3)
>     at
>org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:407)
>     at
>org.apache.pluto.portalImpl.services.portletentityregistry.PortletEnt
>ityRegistryServiceFileImpl.init(PortletEntityRegistryServiceFileImpl.
>java:87)
>     at
>org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManag
>er.java:223)
>     at
>org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManag
>er.java:98)
>     at
>org.apache.pluto.portalImpl.Servlet.init(Servlet.java:78)
>     at
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
>java:1091)
>     at
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
>a:750)
>     at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>alve.java:130)
>     at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>alve.java:178)
>     at
>org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
>bjectValve.java:46)
>     at
>org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
>invoke(GeronimoStandardContext.java:275)
>     at
>org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
>nimoBeforeAfterValve.java:31)
>     at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>ava:126)
>     at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>ava:105)
>     at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>ve.java:107)
>     at
>org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
>va:365)
>     at
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
>526)
>     at
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>a:148)
>     at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>:856)
>     at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>ssConnection(Http11Protocol.java:744)
>     at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
>int.java:527)
>     at
>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
>lowerWorkerThread.java:80)
>     at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
>ool.java:684)
>     at java.lang.Thread.run(Thread.java:570)
>
>
>
>My file is as follows
>
><?xml version="1.0"?>
>
><mapping
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>  xmlns="http://castor.org/"
>  xsi:schemaLocation="http://castor.org/mapping.xsd">
>
>    <class
>name="org.apache.pluto.portalImpl.om.common.impl.PreferenceImpl">
>
>      <field name="name" type="java.lang.String">
>        <bind-xml name="pref-name" node="element"/>
>      </field>
>      <field name="castorValues"
>type="java.lang.String" collection="collection">
>        <bind-xml name="pref-value" node="element"/>
>      </field>
>      <field name="readOnly" type="java.lang.String">
>        <bind-xml name="read-only" node="element"/>
>      </field>
>
>    </class>
>
>  <class
>name="org.apache.pluto.portalImpl.om.entity.impl.PortletEntityImpl">
>
>    <field name="castorId" type="java.lang.String">
>
>      <bind-xml name="id" node="attribute"/>
>    </field>
>
>    <field name="definitionId"
>type="java.lang.String">
>      <bind-xml name="definition-id" node="element"/>
>    </field>
>    <field name="castorPreferences"
>          
>type="org.apache.pluto.portalImpl.om.common.impl.PreferenceImpl"
>           collection="collection">
>      <bind-xml name="preferences" node="element"/>
>    </field>
>
>  </class>
>
>  <class
>name="org.apache.pluto.portalImpl.om.entity.impl.PortletApplicationEn
>tityImpl">
>
>    <field name="castorId" type="java.lang.String">
>
>      <bind-xml name="id" node="attribute"/>
>    </field>
>
>    <field name="definitionId"
>type="java.lang.String">
>      <bind-xml name="definition-id" node="element"/>
>    </field>
>    <field name="castorPortlets"
>          
>type="org.apache.pluto.portalImpl.om.entity.impl.PortletEntityImpl"
>           collection="collection">
>      <bind-xml name="portlet" node="element"/>
>    </field>
>
>  </class>
>
>  <class
>name="org.apache.pluto.portalImpl.om.entity.impl.PortletApplicationEn
>tityListImpl">
>    <map-to xml="portlet-entity-registry"/>
>
>    <field name="castorApplications"
>          
>type="org.apache.pluto.portalImpl.om.entity.impl.PortletApplicationEn
>tityImpl"
>           collection="collection">
>      <bind-xml name="application" node="element"/>
>    </field>
>  </class>
>
></mapping>
>
>
>Regards,
>Rajat Karnwal
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>

Reply via email to