Thanks for the answer but maybe it's also me who makes plenty of
mistakes ... ;-)

I tried also :

<%
 BasePortletEntry newEntry = new BasePortletEntry();
 newEntry.setParent("RSS");
 newEntry.setApplication(false);
 newEntry.setType("ref");
 newEntry.setURL("http://station6.geomath.fr/portail/rss/Geomath.rss";);

 Registry.addEntry(Registry.PORTLET, newEntry);
%>

The error what I obtain follows  ...

I would like to know what is wrong and also what do Registry.addEntry
do:
Registry.addEntry creates a physically Entry in a file *.xreg? If True,
in which file?
If the file "http://station6.geomath.fr/portail/rss/Geomath.rss"; doesn't
exist, there is an Exception?

Very Thanks,
vincent.




Internal Servlet Error:

javax.servlet.ServletException
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:455)

        at rssGenerator.addRss_2._jspService(addRss_2.java:121)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)

        at org.apache.tomcat.core.Handler.service(Handler.java:223)
        at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)

        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:911)

        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:824)
        at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:167)

        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:438)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)

        at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.NullPointerException
        at java.util.Hashtable.get(Hashtable.java:320)
        at
org.apache.jetspeed.services.registry.CastorRegistryService.addEntry(CastorRegistryService.java:204)

        at
org.apache.jetspeed.services.Registry.addEntry(Registry.java:123)
        at rssGenerator.addRss_2._jspService(addRss_2.java:101)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)

        at org.apache.tomcat.core.Handler.service(Handler.java:223)
        at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)

        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:911)

        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:824)
        at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:167)

        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:438)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)

        at java.lang.Thread.run(Thread.java:484)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to