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-portal-web.war\WEB-INF\data\xml\portletentitymapping.xml
java.io.FileNotFoundException: C:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\config-store\26\pluto-portal-web.war\WEB-INF\data\xml\C:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\config-store\26\pluto-portal-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(FileURLConnection.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:473)
at
org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:407)
at
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegistryServiceFileImpl.init(PortletEntityRegistryServiceFileImpl.java:87)
at
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java:223)
at
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.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.java:750)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:275)
at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:365)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.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-portal-web.war\WEB-INF\data\xml\C:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\config-store\26\pluto-portal-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(FileURLConnection.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:473)
at
org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:407)
at
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegistryServiceFileImpl.init(PortletEntityRegistryServiceFileImpl.java:87)
at
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java:223)
at
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.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.java:750)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:275)
at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:365)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.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.PortletApplicationEntityImpl">
<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.PortletApplicationEntityListImpl">
<map-to xml="portlet-entity-registry"/>
<field name="castorApplications"
type="org.apache.pluto.portalImpl.om.entity.impl.PortletApplicationEntityImpl"
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