You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Eric Chow <ec...@macaucabletv.com> on 2004/04/07 12:13:57 UTC
Unknown exception !!!!
Hello,
I can deploy to Tomcat 5.0.21 successful and workes fine WITHOUT MODIFY
ANYTHING !!!!
I wonder if we can modify the portletentityregistry.xml ?????
I found that if I modified that XML, orI just add a blank space or just
remove the remark part(license part).
It will cause the following exception !!!
Is there any problem or bug?
I use the latest source in CVS, JDK1.4.2, Win98 SE, and Tomcat 5.0.21aplha.
Eric
2004-04-07 18:03:46 StandardContext[/pluto]PortletEntityRegistryService
initializing...
2004-04-07 18:03:46 StandardContext[/pluto]ServiceManager: An unidentified
error occurred
java.io.IOException: org.xml.sax.SAXException: Parsing Error : Content is
not allowed in prolog.
Line : 1
Column : 1
{file: [not available]; line: 1; column: 1}
at
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
stryServiceFileImpl._load(PortletEntityRegistryServiceFileImpl.java:199)
at
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
stryServiceFileImpl.load(PortletEntityRegistryServiceFileImpl.java:151)
at
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
stryServiceFileImpl.init(PortletEntityRegistryServiceFileImpl.java:93)
at
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java
:213)
at
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java
:88)
at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:73)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
11)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:679)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:144)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
at java.lang.Thread.run(Thread.java:534)
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================
Re: Unknown exception !!!!
Posted by Eric Chow <ec...@macaucabletv.com>.
I use UltraEdit, and I found that there is some UNEXPECTED CHARACTER (NULL, \u0000, \u00FE, etc) inserted in the document(viewed it in HEX mode). It is beacused I set the editor to detect Unicode automatic.
And after I converted the portletentityregistry.xml to ASCII, and saved it, everything workes fine.
Hope this help.
Eric
----- Original Message -----
From: Marcel Dullaart
To: pluto-user@jakarta.apache.org
Sent: Thursday, April 08, 2004 5:03 PM
Subject: Re: Unknown exception !!!!
Can you tell us what the problem with th eeditor was, in case we run into the same problem?
Marcel
"Eric Chow" <ec...@macaucabletv.com>
08-04-2004 04:18 Please respond to
pluto-user@jakarta.apache.org
To <pl...@jakarta.apache.org>, "Eric Chow" <ec...@macaucabletv.com>
cc
Subject Re: Unknown exception !!!!
I am sorry, it is the editor problem .
----- Original Message -----
From: "Eric Chow" <ec...@macaucabletv.com>
To: <pl...@jakarta.apache.org>
Sent: Wednesday, April 07, 2004 6:13 PM
Subject: Unknown exception !!!!
> Hello,
>
> I can deploy to Tomcat 5.0.21 successful and workes fine WITHOUT MODIFY
> ANYTHING !!!!
>
> I wonder if we can modify the portletentityregistry.xml ?????
>
> I found that if I modified that XML, orI just add a blank space or just
> remove the remark part(license part).
> It will cause the following exception !!!
>
> Is there any problem or bug?
>
> I use the latest source in CVS, JDK1.4.2, Win98 SE, and Tomcat
5.0.21aplha.
>
> Eric
>
>
> 2004-04-07 18:03:46 StandardContext[/pluto]PortletEntityRegistryService
> initializing...
> 2004-04-07 18:03:46 StandardContext[/pluto]ServiceManager: An unidentified
> error occurred
> java.io.IOException: org.xml.sax.SAXException: Parsing Error : Content is
> not allowed in prolog.
> Line : 1
> Column : 1
> {file: [not available]; line: 1; column: 1}
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl._load(PortletEntityRegistryServiceFileImpl.java:199)
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl.load(PortletEntityRegistryServiceFileImpl.java:151)
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl.init(PortletEntityRegistryServiceFileImpl.java:93)
> at
>
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java
> :213)
> at
>
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java
> :88)
> at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:73)
> at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
> 11)
> at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:679)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:144)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
> Valve.java:198)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:152)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
> )
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
> )
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:102)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :109)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:702)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:644)
> at java.lang.Thread.run(Thread.java:534)
>
>
>
>
>
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================
>
Re: Unknown exception !!!!
Posted by Marcel Dullaart <md...@epo.org>.
Can you tell us what the problem with th eeditor was, in case we run into
the same problem?
Marcel
"Eric Chow" <ec...@macaucabletv.com>
08-04-2004 04:18
Please respond to
pluto-user@jakarta.apache.org
To
<pl...@jakarta.apache.org>, "Eric Chow" <ec...@macaucabletv.com>
cc
Subject
Re: Unknown exception !!!!
I am sorry, it is the editor problem .
----- Original Message -----
From: "Eric Chow" <ec...@macaucabletv.com>
To: <pl...@jakarta.apache.org>
Sent: Wednesday, April 07, 2004 6:13 PM
Subject: Unknown exception !!!!
> Hello,
>
> I can deploy to Tomcat 5.0.21 successful and workes fine WITHOUT MODIFY
> ANYTHING !!!!
>
> I wonder if we can modify the portletentityregistry.xml ?????
>
> I found that if I modified that XML, orI just add a blank space or just
> remove the remark part(license part).
> It will cause the following exception !!!
>
> Is there any problem or bug?
>
> I use the latest source in CVS, JDK1.4.2, Win98 SE, and Tomcat
5.0.21aplha.
>
> Eric
>
>
> 2004-04-07 18:03:46 StandardContext[/pluto]PortletEntityRegistryService
> initializing...
> 2004-04-07 18:03:46 StandardContext[/pluto]ServiceManager: An
unidentified
> error occurred
> java.io.IOException: org.xml.sax.SAXException: Parsing Error : Content
is
> not allowed in prolog.
> Line : 1
> Column : 1
> {file: [not available]; line: 1; column: 1}
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl._load(PortletEntityRegistryServiceFileImpl.java:199)
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl.load(PortletEntityRegistryServiceFileImpl.java:151)
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl.init(PortletEntityRegistryServiceFileImpl.java:93)
> at
>
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java
> :213)
> at
>
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java
> :88)
> at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:73)
> at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
> 11)
> at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:679)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:144)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
> Valve.java:198)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:152)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
> )
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
> )
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:102)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :109)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:702)
> at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:644)
> at java.lang.Thread.run(Thread.java:534)
>
>
>
>
>
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================
>
Re: Unknown exception !!!!
Posted by Eric Chow <ec...@macaucabletv.com>.
I am sorry, it is the editor problem .
----- Original Message -----
From: "Eric Chow" <ec...@macaucabletv.com>
To: <pl...@jakarta.apache.org>
Sent: Wednesday, April 07, 2004 6:13 PM
Subject: Unknown exception !!!!
> Hello,
>
> I can deploy to Tomcat 5.0.21 successful and workes fine WITHOUT MODIFY
> ANYTHING !!!!
>
> I wonder if we can modify the portletentityregistry.xml ?????
>
> I found that if I modified that XML, orI just add a blank space or just
> remove the remark part(license part).
> It will cause the following exception !!!
>
> Is there any problem or bug?
>
> I use the latest source in CVS, JDK1.4.2, Win98 SE, and Tomcat
5.0.21aplha.
>
> Eric
>
>
> 2004-04-07 18:03:46 StandardContext[/pluto]PortletEntityRegistryService
> initializing...
> 2004-04-07 18:03:46 StandardContext[/pluto]ServiceManager: An unidentified
> error occurred
> java.io.IOException: org.xml.sax.SAXException: Parsing Error : Content is
> not allowed in prolog.
> Line : 1
> Column : 1
> {file: [not available]; line: 1; column: 1}
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl._load(PortletEntityRegistryServiceFileImpl.java:199)
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl.load(PortletEntityRegistryServiceFileImpl.java:151)
> at
>
org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegi
> stryServiceFileImpl.init(PortletEntityRegistryServiceFileImpl.java:93)
> at
>
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java
> :213)
> at
>
org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManager.java
> :88)
> at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:73)
> at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
> 11)
> at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:679)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:144)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
> Valve.java:198)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:152)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
> )
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
> )
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:102)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :109)
> at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:702)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:644)
> at java.lang.Thread.run(Thread.java:534)
>
>
>
>
>
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================
>