Ok. This fixed the style sheet, but now I have a new
problem.  I checked the source code, but I could not
find what it was looking for.  Is there a way to check
what the method is looking for, short of running it in
a debugger.  Also, could someones config file be
uploaded into cvs.  I think it maybe the problem with
the cvs config file.  The error I get is at the
bottom.

Thanks,
  Anthony Mills

java.lang.NoSuchMethodError at
org.apache.jetspeed.profiler.UserProfiler.getResourceURL(UserProfiler.java:84)
at
org.apache.jetspeed.turbine.screens.Home.getPSMLContent(Home.java:271)
at
org.apache.jetspeed.turbine.screens.Home.doBuild(Home.java:179)
at
org.apache.turbine.modules.Screen.build(Screen.java:100)
at
org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:125)
at
org.apache.jetspeed.turbine.layouts.JetspeedLayout.doBuild(JetspeedLayout.java:120)
at
org.apache.turbine.modules.Layout.build(Layout.java:93)
at
org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:122)
at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:170)
at org.apache.turbine.modules.Page.build(Page.java:92)
at
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:372)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source) 
--- ingo schuster <[EMAIL PROTECTED]> wrote:
> At 21:06 2000-11-19, you wrote:
> 
> 
> >Anthony Mills wrote:
> >
> > > I thought the content was in the correct place. 
> I am
> > > using Apache /w Tomcat.  I am running on Windows
> NT.
> > > I put the content in E:\Program Files\Apache
> > > Group\jakarta-tomcat\webapps\examples.  This is
> the
> > > contexts the servlet is running in,
> > > http://localhost/examples/servlet/jetspeed.  I
> also
> > > put the content in E:\Program Files\Apache
> > > Group\Apache\htdocs.  This is the apache root.
> The
> > > JetspeedResources.properties file reads:
> > > site.stylesheet=/content/css/default.css.
> > >
> >
> >Everything look allright. I looked at the source
> code and I found that the 
> >getCSS call uses the
> >JetpeedResources.CONTENT_ROOT_URL_KEY, which is
> valued
> >content.root.url, and appends css/default.css to
> it.
> 
> Hang on, Santiago, that's something I changed last
> week (see my posting 
> "Configurable stylesheet").
> I introduced the key site.stylesheet to give
> administrators the posibility 
> of changeing the stylesheet without editing any
> code.
> I removed JetpeedResources.CONTENT_ROOT_URL_KEY
> usage - this was a mistake.
> 
> To fix it, change the getCSS in Util.java to
> 
>      public static Link getCSS() {
>        return new Link().setRel("stylesheet")
>                         .setType("text/css")
>                         .setHref(
> TurbineResources.getString( 
> JetspeedResources.CONTENT_ROOT_URL_KEY ) +
>                                  
> TurbineResources.getString( 
> "site.stylesheet" ) );
>      }
> 
> and set the key in JRP to
> 
>    site.stylesheet=/css/default.css
> 
> I'll fix this in CVS now. Sorry for the trouble,
> 
> ingo.
> 
> 
> >So, the content.root should contain
> >content.root.url=/content
> >in JetspeedResource.properties
> >
> >And, very important, the
> TurbineResources.properties should have a line 
> >stating
> >include=...path to JetspeedResources.properties
> >
> >I never got it working until I put there the
> absolute path to the file.
> >
> >We have lately experienced a lot of problems with
> the working directory. I 
> >guess different java VMs, and maybe
> >different OS versions, have different working
> directories.
> >
> >Try the absolute path in the include.
> >
> > >
> > > I does the stype sheet need to be an absolute
> path?  I
> > > thought it was a relative url.
> > >
> >
> >Curiously enough, this key is not used anywhere,
> and it looks it is not in 
> >the CVS base. Maybe it is a remainder
> >of an old installation?
> >
> >BTW, it should probably be there.
> >
> >
> > >
> > > Thanks,
> > >
> > > Anthony Mills
> > >
> > > --- Santiago Gala <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > Anthony Mills wrote:
> > > >
> > > > > I get an error tring to start jetspeed it is
> at
> > > > the
> > > > > bottom.  I can't seem to figure out what is
> wrong.
> > > >  Do
> > > > > I need to get a new version of ecs?  I am
> using
> > > > the
> > > > > one from cvs.  I built the cvs version, I am
> using
> > > > all
> > > > > the correct jars.  Any ideas?  I also copied
> the
> > > > > config files from the cvs a modified them to
> work.
> > > > >
> > > >
> > > > No. The problem is that, for one reason or
> other,
> > > > Jetspeed cannot find the stylesheet.
> > > >
> > > > It is in the distribution,
> > > > src/content/css/default.css
> > > >
> > > > It should be available to Jetspeed as
> > > > /content/css/default.css (or whatever property
> you
> > > > set up in your
> > > > configuration).
> > > >
> > > > Are you running Jetspeed with Apache/JServ,
> > > > Apache/Tomcat, Tomcat standalone?
> > > >
> > > > This can make a difference in the place where
> you
> > > > have to put your /content directory.
> > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Anthony Mills
> > > > >
> > > > > Exception: java.lang.NullPointerException
> > > > >         at java.util.Hashtable.put(Unknown
> Source)
> > > > >         at
> > > > >
> > > >
> > >
>
org.apache.ecs.ElementAttributes.addAttribute(ElementAttributes.java:279)
> > > > >         at
> > > > org.apache.ecs.html.Link.setHref(Link.java:85)
> > > > >         at
> > > >
> org.apache.jetspeed.util.Util.getCSS(Util.java:97)
> > > > >         at
> > > > >
> > > >
> > > 
> >
>
org.apache.jetspeed.turbine.layouts.JetspeedLayout.doBuild(JetspeedLayout.java:96)
> > > > >         at
> > > > >
> > > >
> > >
>
org.apache.turbine.modules.Layout.build(Layout.java:93)
> > > > >         at
> > > > >
> > > >
> > >
>
org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:122)
> > > > >         at
> > > > >
> > > >
> > >
>
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:170)
> > > > >         at
> > > > >
> > > >
> org.apache.turbine.modules.Page.build(Page.java:92)
> > > > >         at
> > > > >
> > > >
> > >
>
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:122)
> > > > >         at
> > > >
> org.apache.turbine.Turbine.doGet(Turbine.java:372)
> > > > >         at
> > > > >
> > > >
> > >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > > > >         at
> > > > >
> > > >
> > >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > > > >         at
> > > > >
> > > >
> > > 
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> > > > >         at
> > > > >
> > > >
> > > 
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
> > > > >         at
> > > > >
> > > >
> > >
>
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
> > > > >         at
> > > > >
> > > >
> > >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > > > >         at
> > > > >
> > > >
> > > 
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> > > > >         at
> > > > >
> > > >
> > >
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> > > > >         at
> > > > >
> > > >
> > > 
> >
>
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
> > > > >         at
> > > > >
> > > >
> > > 
> >
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
> > > > >         at java.lang.Thread.run(Unknown
> Source)
> > > > >
> > > > >
> __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Yahoo! Calendar - Get organized for the
> holidays!
> > > > > http://calendar.yahoo.com/
> > > > >
> > > > > --
> > > > >
> > > >
> > >
>
--------------------------------------------------------------
> > > > > Please read the FAQ!
> <http://java.apache.org/faq/>
> > > > > To subscribe:
> > > > [EMAIL PROTECTED]
> > > > > To unsubscribe:
> > > > [EMAIL PROTECTED]
> > > > > Archives and Other:
> > > > <http://marc.theaimsgroup.com/?l=jetspeed>
> > > > > Problems?:           [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > > --
> > > >
> > >
>
--------------------------------------------------------------
> > > > Please read the FAQ!
> <http://java.apache.org/faq/>
> > > > To subscribe:
> > > > [EMAIL PROTECTED]
> > > > To unsubscribe:
> > > > [EMAIL PROTECTED]
> > > > Archives and Other:
> > > > <http://marc.theaimsgroup.com/?l=jetspeed>
> > > > Problems?:           [EMAIL PROTECTED]
> > > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Calendar - Get organized for the
> holidays!
> > > http://calendar.yahoo.com/
> > >
> > > --
> > >
>
--------------------------------------------------------------
> > > Please read the FAQ!
> <http://java.apache.org/faq/>
> > > To subscribe:       
> [EMAIL PROTECTED]
> > > To unsubscribe:     
> [EMAIL PROTECTED]
> > > Archives and Other: 
> <http://marc.theaimsgroup.com/?l=jetspeed>
> > > Problems?:           [EMAIL PROTECTED]
> >
> >
> >
> >--
>
>--------------------------------------------------------------
> >Please read the FAQ! <http://java.apache.org/faq/>
> >To subscribe:       
> [EMAIL PROTECTED]
> >To unsubscribe:     
> [EMAIL PROTECTED]
> >Archives and Other: 
> <http://marc.theaimsgroup.com/?l=jetspeed>
> >Problems?:           [EMAIL PROTECTED]
> 
> 
> 
> --
>
--------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:       
> [EMAIL PROTECTED]
> To unsubscribe:     
> [EMAIL PROTECTED]
> Archives and Other: 
> <http://marc.theaimsgroup.com/?l=jetspeed>
> Problems?:           [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?:           [EMAIL PROTECTED]

Reply via email to