You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Sie, Yang" <ya...@fmr.com> on 2006/04/03 21:35:19 UTC

ClassCastException in JS2 with CastorFileSystemDocumenthandler

Hello all:

Here is some Exception when I use JS2 on WebSphere 5.0.18. the error
happened when I do a 
     page = pageManager.getPage(portletPagePath);
The page turned out fine with no error. But the log file shows the
following...

Please advise if you have any idea. Thank you.

ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl
    at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
    at
org.apache.jetspeed.page.document.psml.CastorFileSystemDocumentHandler.u
nmarshallDocument(CastorFileSystemDocumentHandler.java:360)
    at
org.apache.jetspeed.page.document.psml.CastorFileSystemDocumentHandler.g
etDocument(CastorFileSystemDocumentHandler.java:598)
    at
org.apache.jetspeed.page.document.psml.CastorFileSystemDocumentHandler.g
etDocument(CastorFileSystemDocumentHandler.java:147)
    at
org.apache.jetspeed.om.folder.psml.FolderImpl.getAllNodes(FolderImpl.jav
a:546)
    at
org.apache.jetspeed.om.folder.psml.FolderImpl.getPage(FolderImpl.java:30
8)
    at
org.apache.jetspeed.om.folder.psml.FolderImpl.getPage(FolderImpl.java:33
0)
    at
org.apache.jetspeed.page.psml.CastorXmlPageManager.getPage(CastorXmlPage
Manager.java:170)

method call to get page = pageManager.getPage(portletPagePath);


---Yang


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: ClassCastException in JS2 with CastorFileSystemDocumenthandler

Posted by David Sean Taylor <da...@bluesunrise.com>.
Sie, Yang wrote:
> Hello all:
> 
> Here is some Exception when I use JS2 on WebSphere 5.0.18. the error
> happened when I do a 
>      page = pageManager.getPage(portletPagePath);
> The page turned out fine with no error. But the log file shows the
> following...
> 
> Please advise if you have any idea. Thank you.
> 
> ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl
>     at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>     at

Check to see if you have another version of xerces in your class path.
Websphere may keep a copy of xerces in its lib directory

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org