Re: how to deploy JSR-168 portlets with fusion
Fabrice, Does the deployed war or webapp contains portlet.xml? Hema On Tue, 08 Feb 2005 12:29:51 +0100, Fabrice Dewasmes [EMAIL PROTECTED] wrote: Hi, I've built and installed fusion following instructions on the wiki (http://wiki.apache.org/portals/Jetspeed2/Fusion) and using latest from CVS. It seems to work fine but when I drop a war or exploded webapp into WEB-INF/deploy directory, I don't see anything happening in the logs and the portlet does not appear in portlet list when I want to add a portlet to a page. The JSR 168 portlets I tried to deploy were struts-demo and RSS demo taken from js2. Is there something special to do to deploy the portlets ? Thanks in advance for your replies, regards, Fabrice - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Admin password for jetspeed 2
M1 Release is available at http://www.apache.org/dist/portals/jetspeed-2/ Installer is available at http://www.binary-designs.net/downloads.html Hema On Tue, 08 Feb 2005 07:58:49 +0100, Marky Goldstein [EMAIL PROTECTED] wrote: Hi Jack, Where can I find the Release version of Jetspeed 2? Is there any? It's hard to see on the Jetspeed 2 website... Best regards, Marky Jack Lund wrote: Well, I finally got it working, but I had to a) upgrade to tomcat 5.0.28, b) go to the release version of jetspeed 2 rather than the version from CVS, c) make sure the mysql connection jar was in the right place (it was in 5.0.27, but I forgot it initially in 5.0.28), and d) undeploy and redeploy a few times. I'm still getting errors on the third party and test suite portlets, but at least I got logged in as admin finally. -Jack On Sun, 2005-02-06 at 23:05 -0500, Jason Negrette wrote: I'm actually getting this exact same problem. So please, if anyone else knows or you yourself figure it out, pass the answer on to me. I would be eternally grateful. Thank you! Jason Jack Lund wrote: Okay, here's what I can figure out: My initial problem seemed to be because, although I thought I was using tomcat 5.0.28, I was actually using 5.0.27. Once I switched to tomcat 5.0.28, it actually got worse. Now, I don't even get the welcome page, instead I get a 500 error: javax.servlet.ServletException: Failed to initalize jetspeed. org.apache.jetspeed.exception.JetspeedException: Unable to create Engine org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:206) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637) org.apache.jsp.index_jsp._jspService(index_jsp.java:44) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause org.apache.jetspeed.exception.JetspeedException: Unable to create Engine org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76) org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) org.apache.commons.digester.Rule.end(Rule.java:276) org.apache.commons.digester.Digester.endElement(Digester.java:1058) org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76) org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.commons.digester.Digester.parse(Digester.java:1567) org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483) org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) org.apache.catalina.startup.Catalina.start(Catalina.java:556) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
.jsp or .vm templates extension
Dear ALL, maybe a silly question for a JS1.4b3 expert... I'm using JS1.5 and my question is: should I use vm or jsp as templates extension? I used jsp (I don't even remember in how many places I had to change the extension in properties files!) but I still ask myself why the template\vm folder contains more folders and files... That is: if I use jsp, will Jetspeed use a mix of vm and jsp to render its contents? And who does what? Thank you guys Stefano Ing. Stefano Bianchi Softeco Sismat S.p.A. Via De Marini, 1 - WTC Tower 16149 Genoa (ITALY) e-mail: [EMAIL PROTECTED] tel: +39 010 60.26.368 fax: +39 010 60.26.350 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: .jsp or .vm templates extension
By the way the answer to the question: should I use vm or jsp as templates extension? If you are more comfortable using jsps then set the template extension to jsp otherwise vm. Whatever you set the extension to the layout pages are still vm since that is not supported in jsp(read this in one of the postings). Ideally according if we set the template extension to jsp then even the layout templates should be jsp but that is not supported. Regards, Archana -Original Message- From: Archana Turaga Sent: Tuesday, February 08, 2005 10:24 AM To: 'Jetspeed Users List' Subject: RE: .jsp or .vm templates extension why the template\vm folder contains more folders and files... I do not understand this issue...can you elaborate. As far as I know (and I'm no expert) Jetspeed does use a mix or vm and jsp. You can still define vm templates even after setting the template extension to jsp and what that drives is rendering of some pages like the navigational jsps (top, bottom,left),the error pages (When there is a exception the error.jsp is invoked rather than the error.vm...Look at the jsp directory of jetspeed). Does that clarify anything? Regards, Archana -Original Message- From: Stefano Bianchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 10:00 AM To: Jetspeed Users List Subject: .jsp or .vm templates extension Dear ALL, maybe a silly question for a JS1.4b3 expert... I'm using JS1.5 and my question is: should I use vm or jsp as templates extension? I used jsp (I don't even remember in how many places I had to change the extension in properties files!) but I still ask myself why the template\vm folder contains more folders and files... That is: if I use jsp, will Jetspeed use a mix of vm and jsp to render its contents? And who does what? Thank you guys Stefano Ing. Stefano Bianchi Softeco Sismat S.p.A. Via De Marini, 1 - WTC Tower 16149 Genoa (ITALY) e-mail: [EMAIL PROTECTED] tel: +39 010 60.26.368 fax: +39 010 60.26.350 - 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: .jsp or .vm templates extension
Dear Archana, folder [TOMCAT]\webapps\jetspeed\WEB-INF\templates\vm contains folders control, emails, includes, whereas folder jsp does not. Anyway you seem to confirm my opinion: that's a mix (thank you!). I find .jsp are better for graphical layout since they seem to refresh immediately (e.g. default.jsp). I simply changed TurbineResource.properties to set jsp instead of vm. Maybe should I change all .vm templates also in JetspeedResources.properties? Any hint from tech guys? Thank you! Stefano - Original Message - From: Archana Turaga [EMAIL PROTECTED] To: Archana Turaga [EMAIL PROTECTED]; Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Tuesday, February 08, 2005 5:27 PM Subject: RE: .jsp or .vm templates extension By the way the answer to the question: should I use vm or jsp as templates extension? If you are more comfortable using jsps then set the template extension to jsp otherwise vm. Whatever you set the extension to the layout pages are still vm since that is not supported in jsp(read this in one of the postings). Ideally according if we set the template extension to jsp then even the layout templates should be jsp but that is not supported. Regards, Archana -Original Message- From: Archana Turaga Sent: Tuesday, February 08, 2005 10:24 AM To: 'Jetspeed Users List' Subject: RE: .jsp or .vm templates extension why the template\vm folder contains more folders and files... I do not understand this issue...can you elaborate. As far as I know (and I'm no expert) Jetspeed does use a mix or vm and jsp. You can still define vm templates even after setting the template extension to jsp and what that drives is rendering of some pages like the navigational jsps (top, bottom,left),the error pages (When there is a exception the error.jsp is invoked rather than the error.vm...Look at the jsp directory of jetspeed). Does that clarify anything? Regards, Archana -Original Message- From: Stefano Bianchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 10:00 AM To: Jetspeed Users List Subject: .jsp or .vm templates extension Dear ALL, maybe a silly question for a JS1.4b3 expert... I'm using JS1.5 and my question is: should I use vm or jsp as templates extension? I used jsp (I don't even remember in how many places I had to change the extension in properties files!) but I still ask myself why the template\vm folder contains more folders and files... That is: if I use jsp, will Jetspeed use a mix of vm and jsp to render its contents? And who does what? Thank you guys Stefano Ing. Stefano Bianchi Softeco Sismat S.p.A. Via De Marini, 1 - WTC Tower 16149 Genoa (ITALY) e-mail: [EMAIL PROTECTED] tel: +39 010 60.26.368 fax: +39 010 60.26.350 - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: .jsp or .vm templates extension
Jetspeed as portal can work with either JSPs or Velocity .vm IMHO vm templates are much easier to customize especially if you need only to customize the GUI elements. Despite what will you use (vm or jsp) with Jetspeed as portal you still can write your own portlets in jsps or even vm it is irrelevant. Regards, Youssef On Tue, 8 Feb 2005 17:32:18 +0100, Stefano Bianchi [EMAIL PROTECTED] wrote: Dear Archana, folder [TOMCAT]\webapps\jetspeed\WEB-INF\templates\vm contains folders control, emails, includes, whereas folder jsp does not. Anyway you seem to confirm my opinion: that's a mix (thank you!). I find .jsp are better for graphical layout since they seem to refresh immediately (e.g. default.jsp). I simply changed TurbineResource.properties to set jsp instead of vm. Maybe should I change all .vm templates also in JetspeedResources.properties? Any hint from tech guys? Thank you! Stefano - Original Message - From: Archana Turaga [EMAIL PROTECTED] To: Archana Turaga [EMAIL PROTECTED]; Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Tuesday, February 08, 2005 5:27 PM Subject: RE: .jsp or .vm templates extension By the way the answer to the question: should I use vm or jsp as templates extension? If you are more comfortable using jsps then set the template extension to jsp otherwise vm. Whatever you set the extension to the layout pages are still vm since that is not supported in jsp(read this in one of the postings). Ideally according if we set the template extension to jsp then even the layout templates should be jsp but that is not supported. Regards, Archana -Original Message- From: Archana Turaga Sent: Tuesday, February 08, 2005 10:24 AM To: 'Jetspeed Users List' Subject: RE: .jsp or .vm templates extension why the template\vm folder contains more folders and files... I do not understand this issue...can you elaborate. As far as I know (and I'm no expert) Jetspeed does use a mix or vm and jsp. You can still define vm templates even after setting the template extension to jsp and what that drives is rendering of some pages like the navigational jsps (top, bottom,left),the error pages (When there is a exception the error.jsp is invoked rather than the error.vm...Look at the jsp directory of jetspeed). Does that clarify anything? Regards, Archana -Original Message- From: Stefano Bianchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 10:00 AM To: Jetspeed Users List Subject: .jsp or .vm templates extension Dear ALL, maybe a silly question for a JS1.4b3 expert... I'm using JS1.5 and my question is: should I use vm or jsp as templates extension? I used jsp (I don't even remember in how many places I had to change the extension in properties files!) but I still ask myself why the template\vm folder contains more folders and files... That is: if I use jsp, will Jetspeed use a mix of vm and jsp to render its contents? And who does what? Thank you guys Stefano Ing. Stefano Bianchi Softeco Sismat S.p.A. Via De Marini, 1 - WTC Tower 16149 Genoa (ITALY) e-mail: [EMAIL PROTECTED] tel: +39 010 60.26.368 fax: +39 010 60.26.350 - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Regards, Youssef - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: .jsp or .vm templates extension
Stefano Bianchi wrote: Dear Archana, folder [TOMCAT]\webapps\jetspeed\WEB-INF\templates\vm contains folders control, emails, includes, whereas folder jsp does not. Anyway you seem to confirm my opinion: that's a mix (thank you!). I find .jsp are better for graphical layout since they seem to refresh immediately (e.g. default.jsp). Velocity templates also refresh immediately, just make sure you have caching turned off in the jetspeed.properties file. I simply changed TurbineResource.properties to set jsp instead of vm. Maybe should I change all .vm templates also in JetspeedResources.properties? Any hint from tech guys? Thank you! Stefano - Original Message - From: Archana Turaga [EMAIL PROTECTED] To: Archana Turaga [EMAIL PROTECTED]; Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Tuesday, February 08, 2005 5:27 PM Subject: RE: .jsp or .vm templates extension By the way the answer to the question: should I use vm or jsp as templates extension? If you are more comfortable using jsps then set the template extension to jsp otherwise vm. Whatever you set the extension to the layout pages are still vm since that is not supported in jsp(read this in one of the postings). Ideally according if we set the template extension to jsp then even the layout templates should be jsp but that is not supported. Regards, Archana -Original Message- From: Archana Turaga Sent: Tuesday, February 08, 2005 10:24 AM To: 'Jetspeed Users List' Subject: RE: .jsp or .vm templates extension why the template\vm folder contains more folders and files... I do not understand this issue...can you elaborate. As far as I know (and I'm no expert) Jetspeed does use a mix or vm and jsp. You can still define vm templates even after setting the template extension to jsp and what that drives is rendering of some pages like the navigational jsps (top, bottom,left),the error pages (When there is a exception the error.jsp is invoked rather than the error.vm...Look at the jsp directory of jetspeed). Does that clarify anything? Regards, Archana -Original Message- From: Stefano Bianchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 10:00 AM To: Jetspeed Users List Subject: .jsp or .vm templates extension Dear ALL, maybe a silly question for a JS1.4b3 expert... I'm using JS1.5 and my question is: should I use vm or jsp as templates extension? I used jsp (I don't even remember in how many places I had to change the extension in properties files!) but I still ask myself why the template\vm folder contains more folders and files... That is: if I use jsp, will Jetspeed use a mix of vm and jsp to render its contents? And who does what? Thank you guys Stefano Ing. Stefano Bianchi Softeco Sismat S.p.A. Via De Marini, 1 - WTC Tower 16149 Genoa (ITALY) e-mail: [EMAIL PROTECTED] tel: +39 010 60.26.368 fax: +39 010 60.26.350 - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Admiral Hyman Rickover *** * Scott T. Weaver * * [EMAIL PROTECTED] * * http://www.einnovation.com* * -- * * Apache Jetspeed Enterprise Portal * * Apache Pluto Portlet Container * * * * OpenEdit, Website Content Management* * http://www.openedit.org * *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: portlet property
All, I am having an issue where the preferences are reset when I redeploy my portlet application. This seems like it should be a bug, would others agree? On Thu, 20 Jan 2005 11:02:07 +0100, Marek Nowak [EMAIL PROTECTED] wrote: Thanks David, you helped me a lot. So I understand that for each instance of my HtmlPortlet I can have a set of preferences. So HtmlPortlet that is displayed as the first one at the page can have preference file set to a.html, the same portlet that is displayed as the second one at the page can have preference file set to b.html. Am I right? I want to do something like this: MyApplication : - creates psml file (which contains 4 instances of HtmlPortlet) - for each instance of portlet sets file preference to a proper value How can I do this? Regards Marek - Original Message - From: David Sean Taylor [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Wednesday, January 19, 2005 7:21 PM Subject: Re: portlet property Marek Nowak wrote: Hello I want to write a portlet for Jetspeed2. This portlet should display a given html page. Let's call this portlet HtmlPortlet. I want to put 4 portlets on my page, each of them should display a given page. ++ | | | | | | | HtmlPortlet | HtmlPortlet | | | | |displays a.html | displays b.html | | | | | | | ++ | | | | | | | HtmlPortlet | HtmlPortlet | | | | |displays c.html | displays d.html | | | | | | | ++ Does anybody know how to set an myUrl property of these portlets? Is it possible? I know that properties of portlets are stored in database, but I would like to set the property myUrl in a file. If it is impossible, maybe you know how to make my application to set this property in database for each portlet. Regards Marek Think you mean preferences. The storage method of preferences is up to the portal impl. You shouldn't really be concerned with the details of how the portal stores preferences... Are you looking for an external link or a local file? We already have a web content portlet for external links in Jetspeed-2. For a local html file, I just took 5 minutes and wrote this portlet for you. I guess I should commit it to Gems if Ken doesnt already have something like this. --- package com.which.idtb.portlets; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.portlet.PortletConfig; import javax.portlet.PortletException; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; import javax.portlet.PortletPreferences; import org.apache.portals.bridges.common.GenericServletPortlet; /* * Copyright 2000-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * FilePortlet * * @author a href=mailto:[EMAIL PROTECTED]David Sean Taylor/a * @version $Id: $ */ public class FilePortlet extends GenericServletPortlet { public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException { response.setContentType(text/html); PortletPreferences prefs = request.getPreferences(); String fileName = prefs.getValue(file, null); if (fileName != null) { InputStream is = this.getPortletContext().getResourceAsStream(fileName); drain(is, response.getPortletOutputStream()); is.close(); } else { response.getWriter().println(Could not find file preference ); } } static final int BLOCK_SIZE=4096; public static void drain(InputStream r,OutputStream w)
Re: Read a psml file
angeloimm wrote: Hi all; if i know the psml name... how could i have a parameter in this psml file? Not sure if I understand the question, but I'll try. To change the parameters on a portlet instance, you can edit the psml file by hand, for example the StockQuote portlet, override the default init parameters on a portlet instance: entry id=P-f570871a5a-10008 parent=StockQuote layout position=-1 size=-1 property name=column value=0/ property name=row value=1/ /layout parameter name=symbols value=MSFT,IBM,ORCL,SUNW,ITGW/ /entry or change them from the running portlet. For example the StockQuote portlet provides an edit mode to edit the parameters For example let's suppose i have in the file a.psml a parameter called text. well in a portlet called b how can i have this parameter? Thanks Programatically a Jetspeed-1 portlet can access its PSML parameters by via the portlet instance http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/portal/PortletInstance.html The are a few variations on this, see the example portlets that come with the distribution -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: .jsp or .vm templates extension
Jetspeed as portal can work with either JSPs or Velocity .vm IMHO vm templates are much easier to customize especially if you need only to customize the GUI elements. Despite what will you use (vm or jsp) with Jetspeed as portal you still can write your own portlets in jsps or even vm it is irrelevant. Regards, Youssef -Original Message- From: Stefano Bianchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 6:00 PM To: Jetspeed Users List Subject: .jsp or .vm templates extension Dear ALL, maybe a silly question for a JS1.4b3 expert... I'm using JS1.5 and my question is: should I use vm or jsp as templates extension? I used jsp (I don't even remember in how many places I had to change the extension in properties files!) but I still ask myself why the template\vm folder contains more folders and files... That is: if I use jsp, will Jetspeed use a mix of vm and jsp to render its contents? And who does what? Thank you guys Stefano Ing. Stefano Bianchi Softeco Sismat S.p.A. Via De Marini, 1 - WTC Tower 16149 Genoa (ITALY) e-mail: [EMAIL PROTECTED] tel: +39 010 60.26.368 fax: +39 010 60.26.350 - 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: how to deploy JSR-168 portlets with fusion
Fabrice Dewasmes wrote: Hi, I've built and installed fusion following instructions on the wiki (http://wiki.apache.org/portals/Jetspeed2/Fusion) and using latest from CVS. It seems to work fine but when I drop a war or exploded webapp into WEB-INF/deploy directory, I don't see anything happening in the logs and the portlet does not appear in portlet list when I want to add a portlet to a page. The JSR 168 portlets I tried to deploy were struts-demo and RSS demo taken from js2. Is there something special to do to deploy the portlets ? Check your log files. There must be something going wrong . Did you run this target in a different shell to start the J2 database?: maven db.fusion.start -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: .jsp or .vm templates extension
Dear Scott (and ALL), my last question (to tech guys) on this issue: am I correct if I say: - if I use .jsp template, my portal will be rendered with a mix of .vm and .jsp pages - if I use .vm template, my portal will be rendered using only .vm pages ? Please consider I refer mainly to layout (deafult, controller, control, screens): I know I can always use .jsp portlets to develop my own applications... I will check for the cache option (can it be set separately for .jsp and .vm?) Thank you Stefano - Original Message - From: Scott T. Weaver [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Tuesday, February 08, 2005 6:03 PM Subject: Re: .jsp or .vm templates extension Stefano Bianchi wrote: Dear Archana, folder [TOMCAT]\webapps\jetspeed\WEB-INF\templates\vm contains folders control, emails, includes, whereas folder jsp does not. Anyway you seem to confirm my opinion: that's a mix (thank you!). I find .jsp are better for graphical layout since they seem to refresh immediately (e.g. default.jsp). Velocity templates also refresh immediately, just make sure you have caching turned off in the jetspeed.properties file. I simply changed TurbineResource.properties to set jsp instead of vm. Maybe should I change all .vm templates also in JetspeedResources.properties? Any hint from tech guys? Thank you! Stefano - Original Message - From: Archana Turaga [EMAIL PROTECTED] To: Archana Turaga [EMAIL PROTECTED]; Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Tuesday, February 08, 2005 5:27 PM Subject: RE: .jsp or .vm templates extension By the way the answer to the question: should I use vm or jsp as templates extension? If you are more comfortable using jsps then set the template extension to jsp otherwise vm. Whatever you set the extension to the layout pages are still vm since that is not supported in jsp(read this in one of the postings). Ideally according if we set the template extension to jsp then even the layout templates should be jsp but that is not supported. Regards, Archana -Original Message- From: Archana Turaga Sent: Tuesday, February 08, 2005 10:24 AM To: 'Jetspeed Users List' Subject: RE: .jsp or .vm templates extension why the template\vm folder contains more folders and files... I do not understand this issue...can you elaborate. As far as I know (and I'm no expert) Jetspeed does use a mix or vm and jsp. You can still define vm templates even after setting the template extension to jsp and what that drives is rendering of some pages like the navigational jsps (top, bottom,left),the error pages (When there is a exception the error.jsp is invoked rather than the error.vm...Look at the jsp directory of jetspeed). Does that clarify anything? Regards, Archana -Original Message- From: Stefano Bianchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 10:00 AM To: Jetspeed Users List Subject: .jsp or .vm templates extension Dear ALL, maybe a silly question for a JS1.4b3 expert... I'm using JS1.5 and my question is: should I use vm or jsp as templates extension? I used jsp (I don't even remember in how many places I had to change the extension in properties files!) but I still ask myself why the template\vm folder contains more folders and files... That is: if I use jsp, will Jetspeed use a mix of vm and jsp to render its contents? And who does what? Thank you guys Stefano Ing. Stefano Bianchi Softeco Sismat S.p.A. Via De Marini, 1 - WTC Tower 16149 Genoa (ITALY) e-mail: [EMAIL PROTECTED] tel: +39 010 60.26.368 fax: +39 010 60.26.350 - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Admiral Hyman Rickover *** * Scott T. Weaver * * [EMAIL PROTECTED] * * http://www.einnovation.com* * -- * * Apache Jetspeed Enterprise Portal * * Apache Pluto Portlet Container * * * * OpenEdit, Website Content Management* * http://www.openedit.org * *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: