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 Sumit Ranjan <s_...@rti.daimlerchrysler.com> on 2001/07/18 09:42:23 UTC
problems aplenty .....
hi !
please help me out in solving these problems...
1) when i give url http://localhost:8080/jetspeed i get the directory
listings and not the jetspeed welcome page .............
2)when i give http://localhost:8080/jetspeed/index.jsp i get the welcome
page allright but when i try to log in as a user(any user ) it gives me
errors like....
Error encountered processing a template:
/layouts/html/en/default.jspjavax.servlet.ServletException at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at
org.apache.tomcat.core.Handler.service(Handler.java:287) at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at
org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(RequestDispatcherIm
pl.java:400) at
org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl
.java:270) at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:414)
at
WEB_0002dINF.templates.jsp.layouts.html.en._0002fWEB_0002dINF_0002ftemplates
_0002fjsp_0002flayouts_0002fhtml_0002fen_0002fdefault_0002ejspdefault_jsp_0.
_jspService(_0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002flayouts_0002fhtm
l_0002fen_0002fdefault_0002ejspdefault_jsp_0.java:173) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at
org.apache.tomcat.core.Handler.service(Handler.java:287) at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at
org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(RequestDispatcherIm
pl.java:400) at
org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl
.java:270) at
org.apache.turbine.services.jsp.TurbineJspService.handleRequest(TurbineJspSe
rvice.java:191) at
org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(JetspeedJspLay
out.java:101) at org.apache.turbine.modules.Layout.build(Layout.java:91) at
org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123) at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:166)
at org.apache.turbine.modules.Page.build(Page.java:90) at
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) at
org.apache.turbine.Turbine.doGet(Turbine.java:447) at
org.apache.turbine.Turbine.doPost(Turbine.java:537) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at
org.apache.tomcat.core.Handler.service(Handler.java:287) at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213) at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
3) still if i move ahead and click the "customize" button i get errors
like........
org.apache.turbine.util.TurbineException: Error rendering Velocity template:
/controls/html/jetspeed.vm: Error rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method 'getContent' in class
org.apache.jetspeed.portal.portlets.customize.CustomizePortlet threw
exception class java.lang.StackOverflowError
4)yesterday , for the first time i could run my portlet successfully....made
several changes in the feed-local.xreg file.....but this morning it seems
everything has been overwritten back....
5) my jetspeed.log shows error like.........
Wed Jul 18 13:05:15 GMT+05:30 2001] -- ERROR -- CustomizePortlet: Could not
get Portlet Apacheweek from PortletFactory!
[Wed Jul 18 13:05:15 GMT+05:30 2001] -- ERROR -- CustomizePortlet: Could not
get Portlet HelloHello from PortletFactory!
[Wed Jul 18 13:05:15 GMT+05:30 2001] -- INFO -- cache miss, object
expired: -1683332112|template-/WEB-INF/templates/jsp/portlets/html/hello.jsp
[Wed Jul 18 13:05:15 GMT+05:30 2001] -- DEBUG --
PortletFactory.getPortlet(): took a total of 0
millisecond(s) -> -1683332112|template-/WEB-INF/templates/jsp/portlets/html/
hello.jsp
[Wed Jul 18 13:05:15 GMT+05:30 2001] -- ERROR -- Error rendering Velocity
template: /controls/html/jetspeed.vm: Invocation of method 'getContent' in
class org.apache.jetspeed.portal.portlets.customize.CustomizePortlet threw
exception class java.lang.StackOverflowError
[Wed Jul 18 13:05:15 GMT+05:30 2001] -- ERROR -- Error rendering Velocity
template: /controls/html/jetspeed.vm: Error rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method 'getContent' in class
org.apache.jetspeed.portal.portlets.customize.CustomizePortlet threw
exception class java.lang.StackOverflowError
Wed Jul 18 13:05:15 GMT+05:30 2001] -- WARN -- Cache getEntry Called with
http://www.apacheweek.com/issues/apacheweek-headlines.xml
[Wed Jul 18 13:05:15 GMT+05:30 2001] -- ERROR -- RSSPortlet: Couldn't parse
out XML document ->
http://www.apacheweek.com/issues/apacheweek-headlines.xml
Exception:
org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
following URL is not available because it is considered invalid:
http://www.apacheweek.com/issues/apacheweek-headlines.xml
Stack Trace follows:
org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
following URL is not available because it is considered invalid:
http://www.apacheweek.com/issues/apacheweek-headlines.xml
at
org.apache.jetspeed.services.urlmanager.URLFetcher.fetch(URLFetcher.java:119
)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.fetch(JetspeedDiskCache.jav
a:411)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.add(JetspeedDiskCache.java:
366)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.getEntry(JetspeedDiskCache.
java:257)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.getEntry(JetspeedDiskCache.
java:191)
at
org.apache.jetspeed.portal.portlets.NewRSSPortlet.init(NewRSSPortlet.java:15
0)
has anybody else also facing/faced similar problem ?
6) can anybody please tell me a few resources from where to get info on the
various registry files(.xreg) and their domains?
please help.
TIA
Sumit Ranjan
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: problems aplenty .....
Posted by Paul Spencer <pa...@mikon.com>.
Sumit Ranjan wrote:
>
> > Sumit Ranjan wrote:
> > >
> > > hi !
> > > please help me out in solving these problems...
> > >
> > > 1) when i give url http://localhost:8080/jetspeed i get the directory
> > > listings and not the jetspeed welcome page .............
> >
> > I this a function of the Web server, i.e. defaulting to
> > index.html/jsp/... ?
>
> you mean...is this anything to do with tomcat/apache ???
Yes, the problem can be related to your web server. A web server will
receive the request from you browser and pass it some to Tomcat, if
tomcat is not the web server, and then to Jetspeed.
Check web server, tomcat, and jetspeed log files.
>
> > >
> > > 4)yesterday , for the first time i could run my portlet
> successfully....made
> > > several changes in the feed-local.xreg file.....but this morning it
> seems
> > > everything has been overwritten back....
> > >
> >
> > The obvious question is what else has changed?
> > System restarted?
> > Still using the same Web server configuration?
>
> my web server configuration is still the same ....never changed it.
> as regards system restart....yes.... but do tell me....is jetspeed not
> supposed to remember the changes i do in its config or registry files ?
Jetspeed may write .xreg files when it shutdown down. But, it should
write out its current configuration. In this case I am not sure why
your files where changed to a non-working state since they where
working when jetspeed shutdown (I assume this a correct statement).
>
> > > 5) my jetspeed.log shows error like.........
> > >
> > > [Wed Jul 18 13:05:15 GMT+05:30 2001] -- ERROR -- RSSPortlet: Couldn't
> parse
> > > out XML document ->
> > > http://www.apacheweek.com/issues/apacheweek-headlines.xml
> > > Exception:
> > > org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
> > > following URL is not available because it is considered invalid:
> > > http://www.apacheweek.com/issues/apacheweek-headlines.xml
> > > Stack Trace follows:
> > > org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
> > > following URL is not available because it is considered invalid:
> > > http://www.apacheweek.com/issues/apacheweek-headlines.xml
> > > at
> > >
> org.apache.jetspeed.services.urlmanager.URLFetcher.fetch(URLFetcher.java:119
> > > has anybody else also facing/faced similar problem ?
> >
> > Can you browse to
> > http://www.apacheweek.com/issues/apacheweek-headlines.xml?
>
> i am behind a firewall which does not allow me to browse these sites....
If you cannot browse these sites, then Jetspeed can not fetch the page!
The error message may be confusing, but the problem occurred while
fetching the page. Thus, this is not a jetspeed problem!
You can comment out the portlet(s) from portlets.xreg.
>
> > >
> > > 6)can anybody please tell me a few resources from where to get info on
> the
> > > various registry files(.xreg) and their domains?
> > >
> > > please help.
> > > TIA
> > >
> Sumit Ranjan
>
Paul Spencer
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: problems aplenty .....
Posted by Sumit Ranjan <s_...@rti.daimlerchrysler.com>.
> Sumit Ranjan wrote:
> >
> > hi !
> > please help me out in solving these problems...
> >
> > 1) when i give url http://localhost:8080/jetspeed i get the directory
> > listings and not the jetspeed welcome page .............
>
> I this a function of the Web server, i.e. defaulting to
> index.html/jsp/... ?
you mean...is this anything to do with tomcat/apache ???
> >
> > 4)yesterday , for the first time i could run my portlet
successfully....made
> > several changes in the feed-local.xreg file.....but this morning it
seems
> > everything has been overwritten back....
> >
>
> The obvious question is what else has changed?
> System restarted?
> Still using the same Web server configuration?
my web server configuration is still the same ....never changed it.
as regards system restart....yes.... but do tell me....is jetspeed not
supposed to remember the changes i do in its config or registry files ?
> > 5) my jetspeed.log shows error like.........
> >
> > [Wed Jul 18 13:05:15 GMT+05:30 2001] -- ERROR -- RSSPortlet: Couldn't
parse
> > out XML document ->
> > http://www.apacheweek.com/issues/apacheweek-headlines.xml
> > Exception:
> > org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
> > following URL is not available because it is considered invalid:
> > http://www.apacheweek.com/issues/apacheweek-headlines.xml
> > Stack Trace follows:
> > org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
> > following URL is not available because it is considered invalid:
> > http://www.apacheweek.com/issues/apacheweek-headlines.xml
> > at
> >
org.apache.jetspeed.services.urlmanager.URLFetcher.fetch(URLFetcher.java:119
> > has anybody else also facing/faced similar problem ?
>
> Can you browse to
> http://www.apacheweek.com/issues/apacheweek-headlines.xml?
i am behind a firewall which does not allow me to browse these sites....
> >
> > 6)can anybody please tell me a few resources from where to get info on
the
> > various registry files(.xreg) and their domains?
> >
> > please help.
> > TIA
> >
Sumit Ranjan
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Profiler
Posted by Anthony Smith <an...@fedex.com>.
In Home.java, I edited the following line:
from:
Profiler profiler = ProfilerFactory.getProfiler();
to:
Profiler profiler = ProfilerFactory.getProfiler("Home");
In ProfileFactory.java it gets all the way to this line:
profiler = (Profiler)Class.forName( classname ).newInstance();
than it crashes..
classname is the String "home", but I am wonderign does it need some type of
full path to it or what?
Basically what I am trying to do is have more than just a home that can
bring up portlets but several screens. I have this in place right now, but
it is setup where each screen pulls up the same set of portlets.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: problems aplenty .....
Posted by Paul Spencer <pa...@mikon.com>.
Sumit Ranjan wrote:
>
> hi !
> please help me out in solving these problems...
>
> 1) when i give url http://localhost:8080/jetspeed i get the directory
> listings and not the jetspeed welcome page .............
I this a function of the Web server, i.e. defaulting to
index.html/jsp/... ?
>
> 4)yesterday , for the first time i could run my portlet successfully....made
> several changes in the feed-local.xreg file.....but this morning it seems
> everything has been overwritten back....
>
The obvious question is what else has changed?
System restarted?
Still using the same Web server configuration?
> 5) my jetspeed.log shows error like.........
>
> [Wed Jul 18 13:05:15 GMT+05:30 2001] -- ERROR -- RSSPortlet: Couldn't parse
> out XML document ->
> http://www.apacheweek.com/issues/apacheweek-headlines.xml
> Exception:
> org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
> following URL is not available because it is considered invalid:
> http://www.apacheweek.com/issues/apacheweek-headlines.xml
> Stack Trace follows:
> org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
> following URL is not available because it is considered invalid:
> http://www.apacheweek.com/issues/apacheweek-headlines.xml
> at
> org.apache.jetspeed.services.urlmanager.URLFetcher.fetch(URLFetcher.java:119
> has anybody else also facing/faced similar problem ?
Can you browse to
http://www.apacheweek.com/issues/apacheweek-headlines.xml?
>
> 6) can anybody please tell me a few resources from where to get info on the
> various registry files(.xreg) and their domains?
>
> please help.
> TIA
>
> Sumit Ranjan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org