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 Matthew Schmidt <ma...@javalobby.org> on 2002/09/17 16:11:11 UTC
Trouble With Nightly Build
Hi All,
I just downloaded and built the nightly CVS for Sept. 17th and it seemed to build ok. Once installed on my machine (Linux Redhat 7.3, OC4j 9.0.3.0.0, the J2EE 1.3 Compliant one) I get this errror on the homepage: Error retrieving Portal Page: Profile not found. It appears that I can login properly with the admin account, but it will not take me to the administration page.
The logs also appear to have several errors (jetspeed.log). I've pasted these below:
The error below occurs in other xsl sheets as well. Could this be because I have a different version of Xalan and Xerces included with OC4j?
[17 Sep 2002 10:09:49 INFO] - Adding Local to cache list: file:/usr/local/sites/gotjava/WEB-INF/xsl/ocs.xsl
[17 Sep 2002 10:09:49 INFO] - Returning local cached URL
[17 Sep 2002 10:09:49 ERROR] - Invalid SAX Transformer:
java.lang.ClassCastException
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1225)
at org.apache.jetspeed.util.SimpleTransform.SAXTransform(SimpleTransform.java:435)
at org.apache.jetspeed.daemon.impl.FeedDaemon.getEntries(FeedDaemon.java:256)
at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:194)
at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:145)
at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:110)
The following error also occurs in skins.xreg, security.xreg, porlets.xreg, media.xreg, demo-portlets.xreg, controls.xreg, controllers.xreg, and admin.xreg
[17 Sep 2002 10:09:50 ERROR] - Could not unmarshal: /usr/local/sites/gotjava/WEB-INF/conf/wml-examples.xreg
java.net.MalformedURLException: no protocol: /usr/local/sites/gotjava/WEB-INF/conf/wml-examples.xreg
at java.net.URL.<init>(URL.java:579)
at java.net.URL.<init>(URL.java:476)
at java.net.URL.<init>(URL.java:425)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:202)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:146)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:150)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at org.apache.jetspeed.services.registry.CastorRegistryService.loadFragment(CastorRegistryService.java:534)
at org.apache.jetspeed.services.registry.RegistryWatcher.findFiles(RegistryWatcher.java:247)
at org.apache.jetspeed.services.registry.RegistryWatcher.changeBase(RegistryWatcher.java:212)
at org.apache.jetspeed.services.registry.CastorRegistryService.init(CastorRegistryService.java:426)
at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:150)
at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:226)
at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:195)
at org.apache.turbine.Turbine.init(Turbine.java:241)
Thanks,
Matt
Re: Trouble With Nightly Build
Posted by Matthew Schmidt <ma...@javalobby.org>.
I removed the Xerces that comes with OC4j and the problem appears to
persist. In addition I also copied the included xerces, xalan and
xml-apis.jar files to the master lib level in OC4j. Still nothing.
Matt
PS> It is working as advertised on Tomcat 4.04 with JDK 1.4
----- Original Message -----
From: "Paul Spencer" <pa...@apache.org>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Tuesday, September 17, 2002 12:05 PM
Subject: Re: Trouble With Nightly Build
> Matthew,
> This looks like an XML parsing problem. We are using Castor to
> unmarshell the xreg files into registry entries. Castor does not
> support Xerses v2.x. Make sure that the only the Xerces distributed
> with Jetspeed is in classpath. See
>
http://jakarta.apache.org/jetspeed/site/install.html#Servlet%20Container%20N
otes
>
> Paul Spencer
>
> Matthew Schmidt wrote:
>
> > Hi All,
> > I just downloaded and built the nightly CVS for Sept. 17th and it
seemed to build ok. Once installed on my machine (Linux Redhat 7.3, OC4j
9.0.3.0.0, the J2EE 1.3 Compliant one) I get this errror on the homepage:
Error retrieving Portal Page: Profile not found. It appears that I can login
properly with the admin account, but it will not take me to the
administration page.
> >
> > The logs also appear to have several errors (jetspeed.log). I've pasted
these below:
> >
> > The error below occurs in other xsl sheets as well. Could this be
because I have a different version of Xalan and Xerces included with OC4j?
> >
> > [17 Sep 2002 10:09:49 INFO] - Adding Local to cache list:
file:/usr/local/sites/gotjava/WEB-INF/xsl/ocs.xsl
> > [17 Sep 2002 10:09:49 INFO] - Returning local cached URL
> > [17 Sep 2002 10:09:49 ERROR] - Invalid SAX Transformer:
> > java.lang.ClassCastException
> > at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1225)
> > at
org.apache.jetspeed.util.SimpleTransform.SAXTransform(SimpleTransform.java:4
35)
> > at
org.apache.jetspeed.daemon.impl.FeedDaemon.getEntries(FeedDaemon.java:256)
> > at
org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:194)
> > at
org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:145)
> > at
org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:110)
> >
> > The following error also occurs in skins.xreg, security.xreg,
porlets.xreg, media.xreg, demo-portlets.xreg, controls.xreg,
controllers.xreg, and admin.xreg
> > [17 Sep 2002 10:09:50 ERROR] - Could not unmarshal:
/usr/local/sites/gotjava/WEB-INF/conf/wml-examples.xreg
> > java.net.MalformedURLException: no protocol:
/usr/local/sites/gotjava/WEB-INF/conf/wml-examples.xreg
> > at java.net.URL.<init>(URL.java:579)
> > at java.net.URL.<init>(URL.java:476)
> > at java.net.URL.<init>(URL.java:425)
> > at
oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:202)
> > at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:146)
> > at
oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:150)
> > at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
> > at
org.apache.jetspeed.services.registry.CastorRegistryService.loadFragment(Cas
torRegistryService.java:534)
> > at
org.apache.jetspeed.services.registry.RegistryWatcher.findFiles(RegistryWatc
her.java:247)
> > at
org.apache.jetspeed.services.registry.RegistryWatcher.changeBase(RegistryWat
cher.java:212)
> > at
org.apache.jetspeed.services.registry.CastorRegistryService.init(CastorRegis
tryService.java:426)
> > at
org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:
108)
> > at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
java:150)
> > at
org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroke
r.java:226)
> > at
org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker
.java:195)
> > at org.apache.turbine.Turbine.init(Turbine.java:241)
> >
> > Thanks,
> > Matt
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Trouble With Nightly Build
Posted by Paul Spencer <pa...@apache.org>.
Matthew,
This looks like an XML parsing problem. We are using Castor to
unmarshell the xreg files into registry entries. Castor does not
support Xerses v2.x. Make sure that the only the Xerces distributed
with Jetspeed is in classpath. See
http://jakarta.apache.org/jetspeed/site/install.html#Servlet%20Container%20Notes
Paul Spencer
Matthew Schmidt wrote:
> Hi All,
> I just downloaded and built the nightly CVS for Sept. 17th and it seemed to build ok. Once installed on my machine (Linux Redhat 7.3, OC4j 9.0.3.0.0, the J2EE 1.3 Compliant one) I get this errror on the homepage: Error retrieving Portal Page: Profile not found. It appears that I can login properly with the admin account, but it will not take me to the administration page.
>
> The logs also appear to have several errors (jetspeed.log). I've pasted these below:
>
> The error below occurs in other xsl sheets as well. Could this be because I have a different version of Xalan and Xerces included with OC4j?
>
> [17 Sep 2002 10:09:49 INFO] - Adding Local to cache list: file:/usr/local/sites/gotjava/WEB-INF/xsl/ocs.xsl
> [17 Sep 2002 10:09:49 INFO] - Returning local cached URL
> [17 Sep 2002 10:09:49 ERROR] - Invalid SAX Transformer:
> java.lang.ClassCastException
> at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1225)
> at org.apache.jetspeed.util.SimpleTransform.SAXTransform(SimpleTransform.java:435)
> at org.apache.jetspeed.daemon.impl.FeedDaemon.getEntries(FeedDaemon.java:256)
> at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:194)
> at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:145)
> at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:110)
>
> The following error also occurs in skins.xreg, security.xreg, porlets.xreg, media.xreg, demo-portlets.xreg, controls.xreg, controllers.xreg, and admin.xreg
> [17 Sep 2002 10:09:50 ERROR] - Could not unmarshal: /usr/local/sites/gotjava/WEB-INF/conf/wml-examples.xreg
> java.net.MalformedURLException: no protocol: /usr/local/sites/gotjava/WEB-INF/conf/wml-examples.xreg
> at java.net.URL.<init>(URL.java:579)
> at java.net.URL.<init>(URL.java:476)
> at java.net.URL.<init>(URL.java:425)
> at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:202)
> at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:146)
> at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:150)
> at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
> at org.apache.jetspeed.services.registry.CastorRegistryService.loadFragment(CastorRegistryService.java:534)
> at org.apache.jetspeed.services.registry.RegistryWatcher.findFiles(RegistryWatcher.java:247)
> at org.apache.jetspeed.services.registry.RegistryWatcher.changeBase(RegistryWatcher.java:212)
> at org.apache.jetspeed.services.registry.CastorRegistryService.init(CastorRegistryService.java:426)
> at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
> at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:150)
> at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:226)
> at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:195)
> at org.apache.turbine.Turbine.init(Turbine.java:241)
>
> Thanks,
> Matt
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>