RE: Creation of PSMLs files
First sorry david, I send it to you only at first so you'll have it twice ! De : David Sean Taylor [mailto:[EMAIL PROTECTED]] I think that perhaps you have found a new feature to add to the core. That is, if the user doesn't have a profile, create one or direct them to the customizer. I (for my project needs) will implement a fully working one, cause we already have an application that creates user, but we don't want to completely modify it so that it creates psml, roles... so I said I'll do it at the login, all that our other app will have to do is create a turbine_user (or equivalent). I saw Pierre has completed my first draw and is not so far from the solution too, so when I'll get back to user creation in jetspeed I may have not much to do ! Another feature that I'd like to have : CHECK that the psml retrieved is still good... Else you have a Unable to fetch pane error (it happens when tomcat is not properly shut down, and recently I had this error on the anonymous pane... and noone here do log as anonymous so I don't understand how it happened ). This bug is clearly awful, you have to rebuild the psml at the end in db... So I wanted something that checked if the psml was good, and if not replace it by the default one... Or better, I'll take a look at the part where Tomcat writes those psml (in my case I'm using dbpsml, nice work) cause I think it should commit after checking that the psml is good or something like that. However, if one were extending JLoginUser and wanted to still get the default logon behavior, wouldn't you call its doPerform first like this: public class MyLogin extends JLoginUser { public void doPerform(RunData data) throws Exception { super.doPerform(data); } Sure, that's what my own login does (also I do it at the end if there was no trouble in my part ...), this was only a try to understand the working of classes :) Also take a look at the JetspeedAccessController. It is responsible for getting the profile. Didn't know that one, I'll take a look. Thx for comments, Aurelien -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: dynamic pane population upon startup?
You have several way to tackle this depending on how transparent you want this to be and what kind of customization features you need: - Easiest way: Rewrite a PortalTopolkit implementation and overload the getSet(...) method to create your PortletSet dynamically. Since you only have access to the PSML Portlets object in these methods you'll want to either extend the PSML markup to code your cloning policy or use system parameters for this purpose, ie parameters that start with _, they won't show up in the customizer. - A bit more complex: In addition to the PortalToolkit implementation that you'll have to override in any case, you can also develop a new DynamicPortletSet implementation of the PortletSet which would responsible for the actual cloning process or even would not hold a vector of Portlets as the default version but would query a DB to generate it on the fly. The main advantage of doing this is that you'll have access to the Rundata context and thus your query may use context information. - Alternate: Instead of your custom PortletSet implementation, you can write a custom PortletController that would use a static PortletSet with cloning information to dynamically layout multiple cloned portlets. The greatest advantage of this approach over the previous one is that it's the controller responsability to build the page customization template, and thus you have full control on how you want to customize your page. Finally if you plan to dynamically react to user context, I'd recommend extending the BaseProfile and Profiler service to store your profiling information in the BaseProfile object based on User request + possible db connections. You'll be able to reuse your profile information when ever you have access to RunData and it guarantees separation of your profiling logic and the way you build this profiling information. De : Eric White [mailto:[EMAIL PROTECTED]] I'd like to define a single portlet then, upon startup, dynamically populate a pane with several instances of the aforementioned portlet, each driven with different configuration data (most likely driven from a database). Can anybody point me to reference material (or, better yet, example code) for how to do this? thanks eric -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Creation of PSMLs files
De : Aurelien Pernoud [mailto:[EMAIL PROTECTED]] First sorry david, I send it to you only at first so you'll have it twice ! De : David Sean Taylor [mailto:[EMAIL PROTECTED]] I think that perhaps you have found a new feature to add to the core. That is, if the user doesn't have a profile, create one or direct them to the customizer. I (for my project needs) will implement a fully working one, cause we already have an application that creates user, but we don't want to completely modify it so that it creates psml, roles... so I said I'll do it at the login, all that our other app will have to do is create a turbine_user (or equivalent). I saw Pierre has completed my first draw and is not so far from the solution too, so when I'll get back to user creation in jetspeed I may have not much to do ! Sorry to jump late on this thread but I think a clean way to proceed would be to add to the Profile interface a new method: public boolean isNew() And change the Profiler algorithm so that if it doesn't find any user PSML resource, it'll load a default PSML resource based either on group/role membership or default user and mark the profile as new. That way, the accesscontroller can check the Profile status and if is new can redirect the user to customize its profile and then save it. Would that work for you ? Another feature that I'd like to have : CHECK that the psml retrieved is still good... Else you have a Unable to fetch pane error (it happens when tomcat is not properly shut down, and recently I had this error on the anonymous pane... and noone here do log as anonymous so I don't understand how it happened ). This bug is clearly awful, you have to rebuild the psml at the end in db... So I wanted something that checked if the psml was good, and if not replace it by the default one... Or better, I'll take a look at the part where Tomcat writes those psml (in my case I'm using dbpsml, nice work) cause I think it should commit after checking that the psml is good or something like that. This should be pretty simple to fix, we simply need to act on the execptions recieved rather than simply log them. -- Raphaël Luta - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: An input form portlet.
Carlos it will be of interest if you can send the tutorial or a link of it to the list too. Thanks -Original Message- From: David Sean Taylor [mailto:[EMAIL PROTECTED]] Sent: 27 November 2002 07:56 To: Jetspeed Users List Subject: RE: An input form portlet. -Original Message- From: Carlos A. Andrade Olmos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 2:42 PM To: [EMAIL PROTECTED] Subject: An input form portlet. Hello list: I'm new to Jetspeed, as you'll see after reading my question. I'm trying to build a small protoype of a portal. Jetspeed seems like the ideal tool for that, however i've been unable to create a portlet with a form in it to feed the database (could be as simple as name, last name). I've read the jetspeed documentation, blusunrise tutorials and the threads here in the list, but I didn't found an example of this. could you point me in the right direction? maybe post and example? Thanks in advance. Hi Carlos, Funny I just started working on an example that does exactly that in the new tutorial. From my past experiences, this type of portlet is one of the most common. Give me a day or two. I'll send you an email directly when its ready. Welcome to the list :) David -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Getting crazy with MySQL!!!
Hi all, I still cannot make Jetspeed work properly with MySQL... I am using MySQL 3.23.51 for Windows, the mm.mysql-2.0.4 driver and Jetspeed 1.4b1. My database is populated (I have used the scripts given with Jetspeed sources) and I have modified TurbineResources.props... First, I run MySQL Server, then Tomcat and finally, I try to hit http://localhost:8080/jetspeed. But I get this error : Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user: org.apache.jetspeed.services.security.UserException: Failed to retrieve user 'anon': Connection object is null! at org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony mousUser(TurbineAuthentication.java:194) at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee dAuthentication.java:107) at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur ity.java:157) at org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Templ ateSessionValidator.java:97) at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp eedSessionValidator.java:103) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:468) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm pl.java:272) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl .java:174) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423) at index_1._jspService(index_1.java:51) 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:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I nterceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:516) at java.lang.Thread.run(Thread.java:479) I cannot figure out what I am doing wrong. If anyone could point me to the right direction, I would appreciate it a lot! Thanx in advance. Ced __ Cédric BARDE Disneyland Resort Paris - Information Services Bâtiment Robin Hood - BP 100 7 Marne-La-Vallée Tél : 01 64 74 65 49 Fax : 01 64 74 65 65 Email : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Getting crazy with MySQL!!!
This is most likely an access right issue between Tomcat and MySQL: Jetspeed doesn't seem to be able to connect to MySQL. Check your MySQL access rights and tests with the command line utility to makje sure that the user Jetspeed is configured with can indeed connect to the database. -Message d'origine- De : BARDE, CEDRIC [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 27 novembre 2002 14:15 À : 'Jetspeed Users' Objet : Getting crazy with MySQL!!! Hi all, I still cannot make Jetspeed work properly with MySQL... I am using MySQL 3.23.51 for Windows, the mm.mysql-2.0.4 driver and Jetspeed 1.4b1. My database is populated (I have used the scripts given with Jetspeed sources) and I have modified TurbineResources.props... First, I run MySQL Server, then Tomcat and finally, I try to hit http://localhost:8080/jetspeed. But I get this error : Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user: org.apache.jetspeed.services.security.UserException: Failed to retrieve user 'anon': Connection object is null! at org.apache.jetspeed.services.security.turbine.TurbineAuthentic ation.getAnony mousUser(TurbineAuthentication.java:194) at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymo usUser(Jetspee dAuthentication.java:107) at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser (JetspeedSecur ity.java:157) at org.apache.jetspeed.modules.actions.TemplateSessionValidator.d oPerform(Templ ateSessionValidator.java:97) at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.d oPerform(Jetsp eedSessionValidator.java:103) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:468) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandl er.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler .java:485) at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(Reque stDispatcherIm pl.java:272) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(Request DispatcherImpl .java:174) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextI mpl.java:423) at index_1._jspService(index_1.java:51) 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(ServletHandl er.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler .java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextM anager.java:91 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConn ection(Http10I nterceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi nt.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.jav a:516) at java.lang.Thread.run(Thread.java:479) I cannot figure out what I am doing wrong. If anyone could point me to the right direction, I would appreciate it a lot! Thanx in advance. Ced __ Cédric BARDE Disneyland Resort Paris - Information Services Bâtiment Robin Hood - BP 100 7 Marne-La-Vallée Tél : 01 64 74 65 49 Fax : 01 64 74 65 65 Email : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Getting crazy with MySQL!!!
Hi Cedric, I would expect it be a problem with access rights, i. e. the user you define in TR.properties has not the appropriate access rights on the database. This is according to my experience a very common problem which shows up various error messages not really giving hints to the problem. For example, it could be that you can access the database vi mysql and not via torque, because your machine is called localhost and in TR.properties you define the connection with 127.0.0.1. It the user has only the right to access the database from localhost, but not from 127.0.01, Turbine/Jetspeed will not work HTH Stefan Am Mittwoch, 27. November 2002 14:14 schrieben Sie: Hi all, I still cannot make Jetspeed work properly with MySQL... I am using MySQL 3.23.51 for Windows, the mm.mysql-2.0.4 driver and Jetspeed 1.4b1. My database is populated (I have used the scripts given with Jetspeed sources) and I have modified TurbineResources.props... First, I run MySQL Server, then Tomcat and finally, I try to hit http://localhost:8080/jetspeed. But I get this error : Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user: org.apache.jetspeed.services.security.UserException: Failed to retrieve user 'anon': Connection object is null! at org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnon y mousUser(TurbineAuthentication.java:194) at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspe e dAuthentication.java:107) at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecu r ity.java:157) at org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Temp l ateSessionValidator.java:97) at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jets p eedSessionValidator.java:103) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:468) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherI m pl.java:272) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImp l .java:174) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423) at index_1._jspService(index_1.java:51) 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:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:9 1 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10 I nterceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja v a:516) at java.lang.Thread.run(Thread.java:479) I cannot figure out what I am doing wrong. If anyone could point me to the right direction, I would appreciate it a lot! Thanx in advance. Ced __ Cédric BARDE Disneyland Resort Paris - Information Services Bâtiment Robin Hood - BP 100 7 Marne-La-Vallée Tél : 01 64 74 65 49 Fax : 01 64 74 65 65 Email : [EMAIL PROTECTED] -- Stefan Kuhn M. A. MPI of Chemical Ecology, Winzerlaer Str. 10, Beutenberg Campus, 07745 Jena, Germany Tel: +49(0)3641 571261 - Fax: +49(0)3641 571202 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: dynamic pane population upon startup?
Wow! this is great info, thanks. On Wed, 2002-11-27 at 03:41, Luta, Raphael (VUN) wrote: You have several way to tackle this depending on how transparent you want this to be and what kind of customization features you need: - Easiest way: Rewrite a PortalTopolkit implementation and overload the getSet(...) method to create your PortletSet dynamically. Since you only have access to the PSML Portlets object in these methods you'll want to either extend the PSML markup to code your cloning policy or use system parameters for this purpose, ie parameters that start with _, they won't show up in the customizer. - A bit more complex: In addition to the PortalToolkit implementation that you'll have to override in any case, you can also develop a new DynamicPortletSet implementation of the PortletSet which would responsible for the actual cloning process or even would not hold a vector of Portlets as the default version but would query a DB to generate it on the fly. The main advantage of doing this is that you'll have access to the Rundata context and thus your query may use context information. - Alternate: Instead of your custom PortletSet implementation, you can write a custom PortletController that would use a static PortletSet with cloning information to dynamically layout multiple cloned portlets. The greatest advantage of this approach over the previous one is that it's the controller responsability to build the page customization template, and thus you have full control on how you want to customize your page. Finally if you plan to dynamically react to user context, I'd recommend extending the BaseProfile and Profiler service to store your profiling information in the BaseProfile object based on User request + possible db connections. You'll be able to reuse your profile information when ever you have access to RunData and it guarantees separation of your profiling logic and the way you build this profiling information. De : Eric White [mailto:[EMAIL PROTECTED]] I'd like to define a single portlet then, upon startup, dynamically populate a pane with several instances of the aforementioned portlet, each driven with different configuration data (most likely driven from a database). Can anybody point me to reference material (or, better yet, example code) for how to do this? thanks eric -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Getting crazy with MySQL!!!
Hi Cedric. I think you're french, but i'll try to write in english in the case you're not. You say you modified TurbineResources.props... What kind of modification have you made in TR.p to configure MySQL ? I think the modifications need to be made to Torque.properties. (commented in my Torque.props) #database.default=default #database.default.driver=org.hsql.jdbcDriver #database.default.url=jdbc:HypersonicSQL:${webappRoot}/WEB-INF/db/jetspeed #database.default.username=sa #database.default.password= Let me know if you still cannot connect. I use JS with MySQL, had problems to configure it, but can't really remember them all :o) Hi all, I still cannot make Jetspeed work properly with MySQL... I am using MySQL 3.23.51 for Windows, the mm.mysql-2.0.4 driver and Jetspeed 1.4b1. My database is populated (I have used the scripts given with Jetspeed sources) and I have modified TurbineResources.props... First, I run MySQL Server, then Tomcat and finally, I try to hit http://localhost:8080/jetspeed. But I get this error : Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user: org.apache.jetspeed.services.security.UserException: Failed to retrieve user 'anon': Connection object is null! at org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony mousUser(TurbineAuthentication.java:194) at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee dAuthentication.java:107) at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur ity.java:157) at org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Templ ateSessionValidator.java:97) at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp eedSessionValidator.java:103) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:468) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm pl.java:272) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl .java:174) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423) at index_1._jspService(index_1.java:51) 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:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I nterceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:516) at java.lang.Thread.run(Thread.java:479) I cannot figure out what I am doing wrong. If anyone could point me to the right direction, I would appreciate it a lot! Thanx in advance. Ced __ Cédric BARDE Disneyland Resort Paris - Information Services Bâtiment Robin Hood - BP 100 7 Marne-La-Vallée Tél : 01 64 74 65 49 Fax : 01 64 74 65 65 Email : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Getting crazy with MySQL!!!
Not to be to simplistic, but - as you are on windows - remember case sensitivity when it comes to database name, username, and password in your .properties file Steve B. - Original Message - From: BARDE, CEDRIC [EMAIL PROTECTED] To: 'Jetspeed Users' [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 8:14 AM Subject: Getting crazy with MySQL!!! Hi all, I still cannot make Jetspeed work properly with MySQL... I am using MySQL 3.23.51 for Windows, the mm.mysql-2.0.4 driver and Jetspeed 1.4b1. My database is populated (I have used the scripts given with Jetspeed sources) and I have modified TurbineResources.props... First, I run MySQL Server, then Tomcat and finally, I try to hit http://localhost:8080/jetspeed. But I get this error : Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user: org.apache.jetspeed.services.security.UserException: Failed to retrieve user 'anon': Connection object is null! at org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony mousUser(TurbineAuthentication.java:194) at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee dAuthentication.java:107) at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur ity.java:157) at org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Templ ateSessionValidator.java:97) at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp eedSessionValidator.java:103) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:468) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm pl.java:272) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl .java:174) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423) at index_1._jspService(index_1.java:51) 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:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I nterceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:516) at java.lang.Thread.run(Thread.java:479) I cannot figure out what I am doing wrong. If anyone could point me to the right direction, I would appreciate it a lot! Thanx in advance. Ced __ Cédric BARDE Disneyland Resort Paris - Information Services Bâtiment Robin Hood - BP 100 7 Marne-La-Vallée Tél : 01 64 74 65 49 Fax : 01 64 74 65 65 Email : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: An input form portlet.
David: Thanks a lot. I'll really appreciate your help. Martin: The link where I found the tutorial is: http://www.bluesunrise.com/jetspeed-docs/ Greetings. Carlos Olmos. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Jetspeed on the farm -yee-ha
Will jetspeed work on a multi server farm behind a load balancer ? Has anyone tried it, if it should work? thanks, Jim Arnott Reuters RD -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Cached JSP
Does content caching work with JSP? It does not seem to. Any plans on this feature being added? thanks, Jim Arnott Reuters RD -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: It is possible to refresh Portlets ?
I put the string META HTTP-EQUIV=\REFRESH\ CONTENT=0,01 in a get content of a portlet ,one time to force the refresh the page,(content = specify the second after reload a page) and remove in the the next call to the portlet. Use a flag to verify if the string has been put in the portlet one time, to remove it at the second call. Is' not a elegance method but it's the only that i found. Excuse for my bad english. Massimiliano Dessì - Original Message - From: Heine, Christian (Extern) [EMAIL PROTECTED] To: 'Jetspeed Users List' [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 12:58 PM Subject: It is possible to refresh Portlets ? Hi all, i try to develop an portlet which is usable like the windows explorer. For that i create an AbstractPortlet and using the ECS to define the layout. The problem i have is, that i am forced to use actions on the Elements (the folder images). To realize that actions i can't use real JAVA-Actions like the MouseListener because they are ignored by the Turbine-Engine. Now i have tried to use JAVA-Skript elements like onMouseOver to realize some actions. My idea is to force jetspeed by this action to refresh the page, analyses the parameters and repaint the table by using the parameters. The refresh works, but only my portlet is not refreshed and i got the following exception message where my portlet is: org.apache.turbine.util.TurbineException: Error rendering Velocity template: /controls/html/jetspeed.vm: Invocation of method 'getContent' in class org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper threw exception class java.util.NoSuchElementException : null Where is my failure? Knows anybody a solution or a better way to realize actions (perhaps execute real java actions)? In every action i must read out some parameters and repaint the explorer-Portlet by checking these params... Thanks in advance Christian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Jetspeed on the farm -yee-ha
Depends mainly on the load-balancer but I don't see any issue as long as you can have sticky sessions. -Message d'origine- De : Jim Arnott [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 27 novembre 2002 16:19 À : [EMAIL PROTECTED] Objet : Jetspeed on the farm -yee-ha Will jetspeed work on a multi server farm behind a load balancer ? Has anyone tried it, if it should work? thanks, Jim Arnott Reuters RD -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Jetspeed on the farm -yee-ha
Luta, Raphael (VUN) wrote: Depends mainly on the load-balancer but I don't see any issue as long as you can have sticky sessions. I have done some experiments. You will need: - sticky sessions (i.e. all sessions go to the same server) - Well replicated content - Well replicated psml resources (either files or use DBPSML) - A common or replicated DB to handle USER information (and possibly PSML). The issue of replicating PSML (or having DBPSML) arises from the ability of a session to write a customized PSML, logout, and then get a new session in a different server. External resources (such as the ones that the URL cache handles) will be fetched repeatedly unless you fix it either by having a external proxy or you rewrite the URL cache as a remote one. Using a proxy will not work completely, as most or the external feeds are marked by their origin servers as non-cacheable. Regards, Santiago -Message d'origine- De : Jim Arnott [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 27 novembre 2002 16:19 À : [EMAIL PROTECTED] Objet : Jetspeed on the farm -yee-ha Will jetspeed work on a multi server farm behind a load balancer ? Has anyone tried it, if it should work? thanks, Jim Arnott Reuters RD -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: It is possible to refresh Portlets ?
-Original Message- From: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 3:58 AM To: 'Jetspeed Users List' Subject: It is possible to refresh Portlets ? Hi all, i try to develop an portlet which is usable like the windows explorer. For that i create an AbstractPortlet and using the ECS to define the layout. The problem i have is, that i am forced to use actions on the Elements (the folder images). Dont recommend using ECS, try JSP or Velocity To realize that actions i can't use real JAVA-Actions like the MouseListener because they are ignored by the Turbine-Engine. Now i have tried to use JAVA-Skript elements like onMouseOver to realize some actions. My idea is to force jetspeed by this action to refresh the page, analyses the parameters and repaint the table by using the parameters. The refresh works, but only my portlet is not refreshed and i got the following exception message where my portlet is: org.apache.turbine.util.TurbineException: Error rendering Velocity template: /controls/html/jetspeed.vm: Invocation of method 'getContent' in class org.apache.jetspeed.portal.security.portlets.CacheableStatefulPort letWrapper threw exception class java.util.NoSuchElementException : null Where is my failure? Knows anybody a solution or a better way to realize actions (perhaps execute real java actions)? In every action i must read out some parameters and repaint the explorer-Portlet by checking these params... I believe Struts has a tree view control. This looks cool, not sure if its part of Jakarta Struts or add-on http://struts.application-servers.com/tags/treeview.html Do you know about Turbine actions in Jetspeed? http://jakarta.apache.org/turbine/turbine-2/howto/action-event-howto.html http://jakarta.apache.org/turbine/turbine-2/fsd.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: It is possible to refresh Portlets ?
-Original Message- From: Massimiliano Dessi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 7:53 AM To: Jetspeed Users List Subject: Re: It is possible to refresh Portlets ? I put the string META HTTP-EQUIV=\REFRESH\ CONTENT=0,01 in a get content of a portlet ,one time to force the refresh the page,(content = specify the second after reload a page) and remove in the the next call to the portlet. Use a flag to verify if the string has been put in the portlet one time, to remove it at the second call. Is' not a elegance method but it's the only that i found. You cannot have this setting per portlet. See the JR.p for page setting: # # HTTP Page header # # # http.lifetime is the lifetime of the page as set in the # HTTP Headers # -1 = Do not set cache related headers (Jetspeed 1.3a1 behavior) # 0 = set the following http headers # Cache-Control = no-cache # Last-Modified = (current time) # Pragma= no-cache # Expires = 0 # n where n is the number of seconds: # Cache-Control = max-age: n where n is the number of seconds # Last-Modified = (current time) # Expires = (current time + n seconds) http.lifetime=0 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Jetspeed Images
Hi y'all, I'm trying to configure Jetspeed and have been running into a weird problem. When I remove the left navigation bar from my portal, none of the pictures work. All I do is change left.nav.enable=false in JetspeedResources.properties and restart tomcat. This makes the picture non-available because it looks for: http://dolt/tomcat/jetspeed/images/images/jetspeed-powered.gif INSTEAD OF http://dolt/tomcat/jetspeed/images/jetspeed-powered.gif If I change things back, then the pics find the correct url. Does anyone know why this is happening? Is this possibly a bug in Jetspeed 1.41? Please let me know! Thank you for your time in advance! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
New User Please Help me
Hi I have just started using jetsped i could able to add my website pages as default portlets but now i need something more... 1.Once somebody logs in i need to show yahoo as a portlet so that the user can login to yahoo but the page should run inside the portlet or when he maximizes the portlet he can see his yahoo mails or yahoo personal folders inside the same portlet or same window. Is it possible ? Please tell me how to start for that? 2. Is it possible that i can change the content of any portlet dynamically? I mean the user can add some website URL and when he comes again to see it the URLs show up in the portlet space. Please help me out thanks sangam dash -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Fulcrum.properties Database entries
hello, I was wondering what is the use of entries for databse in Fulcrum.properties file? As we specify the Databse details in Torque.properties file. Is there any special importance of specifying the details in Fulcrum.properties file? Thanks Javed -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Fulcrum.properties Database entries
hello, I was wondering what is the use of entries for databse in Fulcrum.properties file? As we specify the Databse details in Torque.properties file. Is there any special importance of specifying the details in Fulcrum.properties file? Thanks Javed -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Customized Title Page
Hi, It will sound quite trivial but I would like to ask. The index page or the layout which contains the Jetspeed Logo and other stuff. Is it possible to change them and provide your own customized layout and index page? Thanks Javed -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Customized Title Page
-Original Message- From: Javed Mahmud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 5:15 PM To: [EMAIL PROTECTED] Subject: Customized Title Page Hi, It will sound quite trivial but I would like to ask. The index page or the layout which contains the Jetspeed Logo and other stuff. Is it possible to change them and provide your own customized layout and index page? Try out the new tutorial for version 1.4b2. See Tutorial #1 http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm#_Toc26150235 David -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Customized Title Page
Hi David, If you or any other person can point me to the site for version 1.4b2. I have currently 1.4b1 version. Do I have to get from CVS checkout and build it... Or is there some release version? Thanks -Original Message- From: Javed Mahmud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 5:15 PM To: [EMAIL PROTECTED] Subject: Customized Title Page Hi, It will sound quite trivial but I would like to ask. The index page or the layout which contains the Jetspeed Logo and other stuff. Is it possible to change them and provide your own customized layout and index page? Try out the new tutorial for version 1.4b2. See Tutorial #1 http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm#_Toc26150235 David -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] *---* |Research Assistant | |Building 10| |Room 4405 | |Faculty of Information Technology | |Department of Computer Systems | |University of Technology Sydney| |Phone: 9514 4513 | |Mobile : 0413 607172 | *---* -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JetSpeed on WebSphere
Are there any pointers/docs/url's that can help us to install JetSpeed on WebSphere. I tried searching for information... but found none. We have Jetspeed running all out-of-the-box on Tomcat but we want to run this on WebSphere. I found messages that indicate to me that people have tried this successfully. Currently I do not know what are all the components needed to get this running successfully on WebSphere. Thanks in Advance, Sakar - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Where is JetSpeed v1.4b2 ....
hi, I have looked into the tutorial at http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm#_Toc26150235 for Beta 2 Version and the link from there although says http://jakarta.apache.org/builds/jakarta-jetspeed/release/v1.4b2/ but it takes to http://jakarta.apache.org/builds/jakarta-jetspeed/release/v1.4b1/ I dont know where to find the Beta 2 version? Thanks Javed -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Where is JetSpeed v1.4b2 ....
Best to download from CVS. Follow instructions at: http://jakarta.apache.org/site/cvsindex.html I downloaded the tree on 11/25/2002 and it worked. If you get the build now, it will probably be fine. Do not wait for a nightly build. On the Jetspeed dev list, the developers are thinking Dec. 9, 2002 will be the 1.4b2 release. Have fun! Glen Javed Mahmud wrote: hi, I have looked into the tutorial at http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm#_Toc26150235 for Beta 2 Version and the link from there although says http://jakarta.apache.org/builds/jakarta-jetspeed/release/v1.4b2/ but it takes to http://jakarta.apache.org/builds/jakarta-jetspeed/release/v1.4b1/ I dont know where to find the Beta 2 version? Thanks Javed -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Customized Title Page
-Original Message- From: Javed Mahmud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 6:17 PM To: [EMAIL PROTECTED] Subject: RE: Customized Title Page Hi David, If you or any other person can point me to the site for version 1.4b2. I have currently 1.4b1 version. Do I have to get from CVS checkout and build it... That will work Or is there some release version? Or http://cvs.apache.org/builds/jakarta-jetspeed/nightly/ There is no version 1.4b2 release, yet. The tutorial will be a part of the 1.4b2 release when its ready -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]