[Announce] Migrating Jetspeed 2 to Portals
The Portals PMC has decided to soon complete the migration of all Jetspeed related resources from Jakarta to Portals as well as use this occasion to restructure somewhat the organisation of the project. You can find the details of the plan on the wiki page : http://wiki.apache.org/portals/JetspeedMigration In short: We'll migrate all resources in 2 phases, first Jetspeed 2 related repositories with the creation of new dedicated mailing lists and then Jetspeed 1 resources with new mailing lists as well. All repositories will be converted from CVS to SVN during this process. Consequences: * All current subscribers of these mailing-lists will be migrated to the Portals Jetspeed 1 mailing-lists but will have to manually subscribe to the Jetspeed 2 lists. * We'll have to lock down the CVS repositories for possibly 1 or 2 days during the SVN conversion. If enough people are available next week for testing the converted repository, I'd like to convert J2 repository sometimes next week (ideally on Tuesday or Wednesday). -- Raphaël Luta - [EMAIL PROTECTED] Apache Portals - Enterprise Portal in Java http://portals.apache.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Exception Handling
Hello All, I use Jetspeed 1.5. What is the best way to redirect users to different screen templates for different exceptions thrown from my VelocityPortletAction-based classes ? For example, I want to throw my AccessNotGrantedException from many different Action classes and I want to forward users to special screen with some explanation text. Can I handle this exception in one point? -- Best regards, Peter mailto:[EMAIL PROTECTED]
Write a my personal GenericMVCPortlet
Hi all.. i'm newbie in jetspeed. i have not understood two things: 1) I want to use Jetspeed 1.5 under JBoss 3.2.5 how can i use JBoss datasources? I think i must change the file Torque.properties... but how? 2) I want to write a my portlet that has as parent a GenericMVC; by starting from a sample found on javaworld, i have written some java classes; i have written my vm files, merge files and xreg files; the xreg file is: Link Farm Portlet Create and maintain lists of URL's for quick links org.apache.jetspeed.portal.portlets.GenericMVCPortlet View View links in condensed, expanded or JavaScriptPowered view. example Now how can i use it? What must i do in order to use my Portlet and my classes? Thanks Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Write a my personal GenericMVCPortlet
-- Met vriendelijke groet, Sebastien BLANC, E-ID! Internet Strategies 06 11 00 37 65 -Original Message- From: Sebastien BLANC [mailto:[EMAIL PROTECTED] Sent: woensdag 22 december 2004 14:22 To: 'Jetspeed Users List' Subject: RE: Write a my personal GenericMVCPortlet Hi, For 2) You can use your portlet by putting a reference to it in the psml file (or psml database), use the tag : ... put here some info <-- you can also add a control tag,a skin tag and a security tag --> ... -Original Message- From: angeloimm [mailto:[EMAIL PROTECTED] Sent: woensdag 22 december 2004 13:55 To: Jetspeed Jetspeed Subject: Write a my personal GenericMVCPortlet Hi all.. i'm newbie in jetspeed. i have not understood two things: 1) I want to use Jetspeed 1.5 under JBoss 3.2.5 how can i use JBoss datasources? I think i must change the file Torque.properties... but how? 2) I want to write a my portlet that has as parent a GenericMVC; by starting from a sample found on javaworld, i have written some java classes; i have written my vm files, merge files and xreg files; the xreg file is: Link Farm Portlet Create and maintain lists of URL's for quick links org.apache.jetspeed.portal.portlets.GenericMVCPortlet View View links in condensed, expanded or JavaScriptPowered view. example Now how can i use it? What must i do in order to use my Portlet and my classes? Thanks Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Write a my personal GenericMVCPortlet
Hi, For 2) You can use your portlet by putting a reference to it in the psml file (or psml database), use the tag : ... put here some info <-- you can also add a control tag,a skin tag and a security tag --> ... -Original Message- From: angeloimm [mailto:[EMAIL PROTECTED] Sent: woensdag 22 december 2004 13:55 To: Jetspeed Jetspeed Subject: Write a my personal GenericMVCPortlet Hi all.. i'm newbie in jetspeed. i have not understood two things: 1) I want to use Jetspeed 1.5 under JBoss 3.2.5 how can i use JBoss datasources? I think i must change the file Torque.properties... but how? 2) I want to write a my portlet that has as parent a GenericMVC; by starting from a sample found on javaworld, i have written some java classes; i have written my vm files, merge files and xreg files; the xreg file is: Link Farm Portlet Create and maintain lists of URL's for quick links org.apache.jetspeed.portal.portlets.GenericMVCPortlet View View links in condensed, expanded or JavaScriptPowered view. example Now how can i use it? What must i do in order to use my Portlet and my classes? Thanks Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Write a my personal GenericMVCPortlet
Hi all. first of all thanks for your replay. There is a thing that i'm not able to understand. how can i create a project for jetspeed? I think that i must create a project with my java src directory, my templates and all resources i need. Then i create a maven.xml where i set all my project properties, is it so? Then i re-compile all the project jetspeed and i'll deploy it, am i right? Thanks -- Initial Header --- >From : "Sebastien BLANC" [EMAIL PROTECTED] To : jetspeed-user@jakarta.apache.org Cc : Date : Wed, 22 Dec 2004 14:32:20 +0100 (CET) Subject : RE: Write a my personal GenericMVCPortlet > Hi, > For 2) > You can use your portlet by putting a reference to it in the psml file (or > psml database), use the tag : > ... > > > put here some info > > <-- you can also add a control tag,a skin tag and a security tag --> > > > > > ... > > > > -Original Message- > From: angeloimm [mailto:[EMAIL PROTECTED] > Sent: woensdag 22 december 2004 13:55 > To: Jetspeed Jetspeed > Subject: Write a my personal GenericMVCPortlet > > Hi all.. i'm newbie in jetspeed. i have not understood two things: > > 1) I want to use Jetspeed 1.5 under JBoss 3.2.5 how can i use JBoss > datasources? I think i must change the file Torque.properties... but how? > 2) I want to write a my portlet that has as parent a GenericMVC; by starting > from a sample found on javaworld, i have written some java classes; i have > written my vm files, merge files and xreg files; the xreg file is: > > > parent="GenericMVCPortlet" application="false"> > > Link Farm Portlet > Create and maintain lists of URL's for quick links > > org.apache.jetspeed.portal.portlets.GenericMVCPortlet > cachedOnName="true" cachedOnValue="true"/> > cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"> > > View > View links in condensed, expanded or JavaScriptPowered > view. > > > cachedOnName="true" cachedOnValue="true"/> > > cachedOnName="true" cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"/> > > > example > > > Now how can i use it? > What must i do in order to use my Portlet and my classes? Thanks > > > > Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di > musica, film, video e sport. > Abbonati subito senza costi di attivazione su http://www.libero.it > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetspeed deploy portlet problem
Hello all. I have installed jetspeed 1.5, deployed tutorial. In page http://localhost:8080/jportal/portal/media-type/html/user/turbine/page/default.psml/js_peid/100?action=controls.Customize item "Add portlet" is not active.What i must to do to activate it? Thanks -- Best wishes, Aleksandr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using jsp:include params inside a JSR-168 Portlet
I hate to reply to my own post, but I have some more information that might help in solving the problem. After doing the jsp:include with the jsp:param of jeffstest = 15, I then get this output inside the portal: querystring: jeffstest=26 param.jeffstest: null request.paramNames: action, _spage Outside of the portal, by hitting the jsp directly, I get: querystring:jeffstest=26 param.jeffstest: 26 request.paramNames: jeffstest So now the question is, why on a jsp:include does the param get placed into the querystring but not added to the request.getParameters? It's as if the parameters cannot be updated once the page is already being rendered in the portal? If this is true, than are jsp:param and c:param tags not functional in a portlet when doing jsp:include or c:import? -- Jeff Sheets On Tue, 21 Dec 2004 22:43:09 -0600, Jeff Sheets <[EMAIL PROTECTED]> wrote: > I'm trying to do something like this in a portlet: > > > > > And then in mypage.jsp: > jeffstest = > > This works fine if I hit the jsp directly, but doesn't work inside the > portal. I've also tried the jstl way of: > > > > > Does anyone know how I can get the param passed? The page is included > okay, but the param does not show up in any scope. It does show up if > I do a <%=request.getQueryString()%> but that doesn't really help me. > > Thank you, > -- Jeff Sheets > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed deploy portlet problem
If your layout is "TabPane" then you must add a Pane first, and then add your portlets to that Pane. From the Pane screen, the Add Portlet button should be activated. -- Jeff Sheets On Wed, 22 Dec 2004 18:10:45 +0200, Aleksandr Vushkan <[EMAIL PROTECTED]> wrote: > Hello all. > I have installed jetspeed 1.5, deployed tutorial. > In page > http://localhost:8080/jportal/portal/media-type/html/user/turbine/page/default.psml/js_peid/100?action=controls.Customize > item "Add portlet" is not active.What i must to do to activate it? > > Thanks > > -- > Best wishes, > Aleksandr > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
errors when loging as 'jetspeed' user
Hi, I can't seem to login as the 'jetspeed' user anymore... First time I logged in - I was requested to change my password. So, I changed it, say, from password1 to password2. Then I tried to login using the password2 - and I was getting the following exception: javax.servlet.ServletException: Fatal error encountered while processing portal request: org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.aggregator.FailedToRenderFragmentException: Unable to render fragment because: org.apache.jetspeed.container.window.FailedToRetrievePortletWindow: org.apache.jetspeed.container.window.FailedToCreateWindowException: Error generating new PortletEntity: org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedException: Failed to retrieve Portlet Definition for jetspeed::TwoColumns org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:234) I restarted Jetspeed, logged in as 'admin' , and set password for the 'jetspeed' user back to 'password1'. Then I tried to login as 'jetspeed' and neither of the passwords was working anymore... Two questions: 1. how could I cleanup the 'jetspeed' user and reset its password? 2. how could I stop Jetspeed from requiring me to change the passwords all the time ? (drives me crazy to remember all changed passwords :-) ) Thank you! Marina __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: errors when loging as 'jetspeed' user
Marina, The last time I had these kinds of problems I was using an out of date database and/or sql files. What version of J2 are you running? Have you run "quickStart" recently? Randy Marina wrote: Hi, I can't seem to login as the 'jetspeed' user anymore... First time I logged in - I was requested to change my password. So, I changed it, say, from password1 to password2. Then I tried to login using the password2 - and I was getting the following exception: javax.servlet.ServletException: Fatal error encountered while processing portal request: org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.aggregator.FailedToRenderFragmentException: Unable to render fragment because: org.apache.jetspeed.container.window.FailedToRetrievePortletWindow: org.apache.jetspeed.container.window.FailedToCreateWindowException: Error generating new PortletEntity: org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedException: Failed to retrieve Portlet Definition for jetspeed::TwoColumns org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:234) I restarted Jetspeed, logged in as 'admin' , and set password for the 'jetspeed' user back to 'password1'. Then I tried to login as 'jetspeed' and neither of the passwords was working anymore... Two questions: 1. how could I cleanup the 'jetspeed' user and reset its password? 2. how could I stop Jetspeed from requiring me to change the passwords all the time ? (drives me crazy to remember all changed passwords :-) ) Thank you! Marina __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: errors when loging as 'jetspeed' user
Randy, thanks for a quick reply! I'm using J2 M1 release - but I built it out of CVS a few days ago. I have just ran 'maven quickStart' (it wiped out all my custom portlets :( - but that's Ok), and tried to login as 'jetspeed'. Again, it asked me to change the password. When I typed in a new password and clicked 'Save' button I've got exactly the same error as below... It seems it is 'jetspeed' user only that has this problem - I was able to log in as other users with no problem. Thanks! Marina --- Randy Watler <[EMAIL PROTECTED]> wrote: > Marina, > > The last time I had these kinds of problems I was > using an out of date > database and/or sql files. What version of J2 are > you running? Have you > run "quickStart" recently? > > Randy > > Marina wrote: > > >Hi, > >I can't seem to login as the 'jetspeed' user > >anymore... > >First time I logged in - I was requested to change > my > >password. So, I changed it, say, from password1 to > >password2. Then I tried to login using the > password2 - > >and I was getting the following exception: > > > >javax.servlet.ServletException: Fatal error > >encountered while processing portal request: > >org.apache.jetspeed.pipeline.PipelineException: > >org.apache.jetspeed.pipeline.PipelineException: > >org.apache.jetspeed.pipeline.PipelineException: > >org.apache.jetspeed.aggregator.FailedToRenderFragmentException: > >Unable to render fragment because: > >org.apache.jetspeed.container.window.FailedToRetrievePortletWindow: > >org.apache.jetspeed.container.window.FailedToCreateWindowException: > >Error generating new PortletEntity: > >org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedException: > >Failed to retrieve Portlet Definition for > >jetspeed::TwoColumns > > > >org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:234) > > > >I restarted Jetspeed, logged in as 'admin' , and > set > >password for the 'jetspeed' user back to > 'password1'. > >Then I tried to login as 'jetspeed' and neither of > the > >passwords was working anymore... > > > >Two questions: > >1. how could I cleanup the 'jetspeed' user and > reset > >its password? > >2. how could I stop Jetspeed from requiring me to > >change the passwords all the time ? (drives me > crazy > >to remember all changed passwords :-) ) > > > >Thank you! > >Marina > > > > > > > >__ > >Do you Yahoo!? > >Take Yahoo! Mail with you! Get it on your mobile > phone. > >http://mobile.yahoo.com/maildemo > > > >- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do you Yahoo!? Dress up your holiday email, Hollywood style. Learn more. http://celebrity.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
A new portlet was added to the Gems project
The first edition of the ImageViewer Portlet was added to the Gems project this week. This portlet allows the user to store images in a folder named "images" on the server. At runtime, the end-user can specify an image name, and the image is retrieved using an || tag within the JSP page of the view. The portlet also provides an "Edit" mode that allows the end-user to select a different color for the background. Although, this portlet provides a very simple implementation , it provides many of the JSR-168 features and shows how they can be used in a realistic and functional portlet. The portlet can currently be built using Ant to provide a JSR-168 compliant portlet. Furthermore, the folder and file structure follow the recommended project structure. Thus, this portlet provides a good template for building other portlets in the future. Later next week, a maven.xml file will be provided to allow user of this portlet to build the portlet using Maven. Once a good amount of portlets are added to the project, binary editions may become available. Currently, the portlet downloads with a pluto-web.xml file, which is changable via the build.properties. Later, more web.xml files will become available for using this portlet on other platforms. The code can be downloaded from the Gems project at http://gems.dev.java.net -- ************ Stay on top of all things to do with JSR-168 Portlet and Portal development by bookmarking the authority on the subject: http://community.java.net/portlet * * News * Weblogs * Community Tips * Portlet and Portal Projects * Featured Articles * And much more * ************ Ken Ramirez Send mail to: mailto://[EMAIL PROTECTED] Check out the website: http://www.TheJavaThinkTank.org Check out my Blog at: http://weblogs.java.net/blog/ken_ramirez ************
Re: errors when loging as 'jetspeed' user
On Dec 22, 2004, at 1:29 PM, Marina wrote: I restarted Jetspeed, logged in as 'admin' , and set password for the 'jetspeed' user back to 'password1'. Then I tried to login as 'jetspeed' and neither of the passwords was working anymore... Two questions: 1. how could I cleanup the 'jetspeed' user and reset its password? I assume you are using the Hypersonic database. If so, run the manageProd.bat or manageProd.sh script found in the src/database/hsql directory From there you can edit or reset your data with SQL 2. how could I stop Jetspeed from requiring me to change the passwords all the time ? (drives me crazy to remember all changed passwords :-) ) I know what you mean with the passwords, I started just typing in the first 2 characters as the new password. I don't think there's an option for turning off the feature short of changing the db population scripts A quick fix: remove the password-credential valve completely from the jetspeed-pipeline.xml JetspeedPipeline < REMOVE THIS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
which jetspeed to start a project?
i will develop a web project with jetspeed. which version is better to start my project? is j2m1 as stable as use on web? i can not use some j1 tutorials on j2. does it mean if i start my project with j1, i will not be able to use it with j2? --- -News Hunter- --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jetspeed-api-2.0-M2-dev.jar
building process of j2 cvs tries to download jetspeed-api-2.0-M2-dev.jar but it is failed. where can i find this file? --- -News Hunter- --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]