PHP Demo Portlet
Hi all... i'm using Jetspeed version 2.0 and Tomcat 5.0.28; The PHP demo Portlet visualizes the following error: /Portlet is Not Available: php-demo Reason: no php4 in java.library.path / I have added /php4ts.dll/ and/ phpsrvlt.dll/ in /%JAVA_HOME%\lib/ but visualizing the same error... Someone can help me!!! Thanks, Paolo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jetspeed api
Hello Can anybody please tell if application that is deployed at the same server as JS2 is, can ccommunicate with Jetspeed2? I mean, I want my web applicaion to manage some of the portlets - create new portlet instances, manage their properties, etc. Marek
Struts and JSF
Hi, I have two applications. The first one is build in struts and the other one build with JSF framework. Are there some good resource/links/documents/how-to for converting the struts and JSF application to a portlet and deploying them in Jetspeed 2. Also, I assume that my two protlets I want to deploy will be able to talk to each other? Evian./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
J1.5: Remember me/auto-logon facility
Hi all Please, can anabody comment and suggest the solution in next problem ? I am filling the Login and PSW fields, flagging the checkbox " Remember me". Thereafter I see the cookie "[EMAIL PROTECTED]" in directory C:\Documents and Settings\Lisin.ELCOMGAZ\Cookies\ Then I make logout and see that cookie "[EMAIL PROTECTED]" was deleted. And at second login I haven't any "/auto-logon" :-( How must work the "Remember me/auto-logon facility" in J1.5 ? The next is the fragment of my JR.properties: . # Remember me/auto-logon facility automatic.logon.enable=true #number of seconds until logon expires (2592000 = 1 month, 30*24*60*60) automatic.logon.cookie.maxage=2592000 automatic.logon.cookie.comment=Jetspeed automatic logon cookie #domain, blank means use getServer to derive it. Is of the form .foo.com. automatic.logon.cookie.domain= #path, blank means use getContextPath, default to / - all paths automatic.logon.cookie.path=/ #specifies when the random portion of the cookie is regenerated- # - firstlogon, means it is only generated the first time the users # requests this feature, useful when you want to allow # them to use the feature across computers # - everylogon, means it is regenerated upon each successful logon # useful for getting a little added security (default) automatic.logon.cookie.generation=everylogon # automatically save user state on logout automatic.logout.save = true . Thanks in advance. Vladimir
Re: Jetspeed2 Personalization screen
Hi. This would be an interesting feature. Move the portlets in all direction is nice, but in production often not needed, because of layouts problems. Especially when working with an 70/30 twocolumn layout setup. We developed for our Jetspeed1 based solution www.geoportal.bund.de a new personalization customizer (unfortunately too special to contribute it back), that fit our needs. Is there an easy way to write an own personalization customizer an use it/configure it like a layout type? Wouldn't it be nice to have an option to disable horizontal movement of portlets? Joachim Randy Watler schrieb: Carlos, For J2, you might want to try using the jetspeed::VelocityOneColumn layout type in your page. Randy Carlos Ortiz wrote: Is it possible to limit the portlet personalization screen to only up/down instead of all four directions? I just want to setup a vertical or stacked personalization page. Thanks, Carlos. - 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] -- . frankfurt am main, 0°c, die gefühlte temperatur liegt bei -7°c. zur zeit ein wenig bewölkt in 914 m. die sichtweite reicht weiter als 10 km. < joachim müller [EMAIL PROTECTED] t +49 69 759003 11 wemove digital solutions GmbH www.wemove.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RDBMS permission failed
Hi, I already try to run Jetspeed2 on Jonas server. When Jetspeed is deploying I have a stackoverflowError when crating the bean "org.apache.jetspeed.security.AuthorizationProvider". In this Class, there is a "Policy.setPolicy(policy)" attempt which return the error. Why trying to replace the policy ? I have try comment the setpolicy line and jetspeed is deploying as well butt when I open the browser at the Jetspeed URL, there is this server error : Why I haven't the good permission for autogenerating a portlet entity? 2005-01-26 15:35:57,098 : CastorXmlPageManager.expandAndProfileDocumentSet : expandAndProfileDocumentSet(): Navigation profile locator docset unavailable for document set /top-pages.ds, ignored. 2005-01-26 15:35:57,252 : PortletWindowAccessorImpl.createPortletWindow : No portlet entity defined for fragment ID dp-3 attempting to auto-generate... 2005-01-26 15:35:57,264 : PersistenceBrokerPortletEntityAccess.generateEntityFromFragment : Failed to retrieve Portlet Definition for pam::LocaleSelector 2005-01-26 15:35:57,303 : PortletRendererImpl.renderNow : org.apache.jetspeed.container.window.FailedToRetrievePortletWindow: No PortletEntity exists for for id dp-3 removing window from cache. org.apache.jetspeed.container.window.FailedToRetrievePortletWindow: No PortletEntity exists for for id dp-3 removing window from cache. at org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.validateWindow(PortletWindowAccessorImpl.java:131) at org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.getPortletWindow(PortletWindowAccessorImpl.java:105) at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.getPortletWindow(PortletRendererImpl.java:215) at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.buildRenderingJob(PortletRendererImpl.java:236) at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:102) at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRender(PageAggregatorImpl.java:261) at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.aggregateAndRender(PageAggregatorImpl.java:244) at org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build(PageAggregatorImpl.java:148) at org.apache.jetspeed.aggregator.AggregatorValve.invoke(AggregatorValve.java:48) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke(ActionValveImpl.java:117) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:76) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValveImpl.java:133) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke(PasswordCredentialValveImpl.java:139) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.security.impl.AbstractSecurityValve$1.run(AbstractSecurityValve.java:116) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:437) at org.apache.jetspeed.security.impl.AbstractSecurityValve.invoke(AbstractSecurityValve.java:110) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke(PortalURLValveImpl.java:55) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:127) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(LocalizationValveImpl.java:122) at org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipeline.java:209) at org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.java:191) at org.apache.jetspeed.engine.AbstractEngine.service(AbstractEngine.java:257) at org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho
Re: Set proxy settings
Just set these properties in your app server at startup: -DproxySet=true -DproxyHost=your.proxy.address -DproxyPort=80 -DnonProxyHosts=localhost On Tue, 25 Jan 2005 21:27:41 -0800 (PST), Thilina Anjitha <[EMAIL PROTECTED]> wrote: > Hi, > > I'm try to expose the company Intranet to out side using the > Jetspeed(1.5 version). So in this case we need to set some proxy > settings. Is there any way to set these proxy settings in Jetspeed 1.5? > If so do we need to write any coding? Is it availalable in J2? > > Thilina. > > - > 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: J1.5: Remember me/auto-logon facility
Hi Vladimir, I believe you want to look at this source file: src/java/org/apache/jetspeed/modules/actions/JetspeedSessionValidator.java and src/java/org/apache/jetspeed/modules/actions/JLogoutUser.java to see how autologin is implemented on 1.5. >From a cursory examination, it appears that logging out actually removes the auto login cookies. If you want to test auto login, try logging in, then closing your browser, then opening your browser and revisiting the site. Hope this helps. Dan --- Vladimir Lisin <[EMAIL PROTECTED]> wrote: > Hi all > > Please, can anabody comment and suggest the solution in next problem > ? > > I am filling the Login and PSW fields, flagging the checkbox " > Remember > me". > Thereafter I see the cookie "[EMAIL PROTECTED]" in directory > C:\Documents and Settings\Lisin.ELCOMGAZ\Cookies\ > Then I make logout and see that cookie "[EMAIL PROTECTED]" was > deleted. > And at second login I haven't any "/auto-logon" :-( > How must work the "Remember me/auto-logon facility" in J1.5 ? > The next is the fragment of my JR.properties: > . ># Remember me/auto-logon facility > automatic.logon.enable=true > #number of seconds until logon expires (2592000 = 1 month, > 30*24*60*60) > automatic.logon.cookie.maxage=2592000 > automatic.logon.cookie.comment=Jetspeed automatic logon cookie > #domain, blank means use getServer to derive it. Is of the form > .foo.com. > automatic.logon.cookie.domain= > #path, blank means use getContextPath, default to / - all paths > automatic.logon.cookie.path=/ > #specifies when the random portion of the cookie is regenerated- > # - firstlogon, means it is only generated the first time the > users > # requests this feature, useful when you want to > allow > # them to use the feature across computers > # - everylogon, means it is regenerated upon each successful > logon > # useful for getting a little added security > (default) > automatic.logon.cookie.generation=everylogon > > # automatically save user state on logout > automatic.logout.save = true > . > > > Thanks in advance. > Vladimir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
newbie: compiling jetspeed-1.6-dev in eclipse
Hi, could someone please help me setting up jetspeed as a project in eclipse? i have checked out jetspeed1.6-dev from the cvs directly into eclipse as a new project. i can build the project from command line using maven and was able to deploy it into tomcat. everything appears to be fine. however, in eclipse, it keeps reporting there are many errors. firstly, it was complaining many jetspeed-xxx-2.0-a1-dev.jar files were missing. so i downloaded them manually into my MAVEN_REPO, but after that, it still gives many compiler errors: SeverityDescriptionResourceIn FolderLocationCreation Time 2The method _getHttpServletRequest() from the type ServletRequestImpl is not visibleFusionServletRequestImpl.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/engine/servlet line 125January 27, 2005 1:36:04 AM 2The import org.apache.jetspeed.container.state cannot be resolvedFusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 27January 27, 2005 1:36:04 AM 2The import org.apache.jetspeed.container.state cannot be resolvedFusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 28January 27, 2005 1:36:04 AM 2NavigationalStateComponent cannot be resolved or is not a type FusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 94January 27, 2005 1:36:04 AM 2NavigationalState cannot be resolved or is not a type FusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 119January 27, 2005 1:36:04 AM 2The method getNavigationalState() is undefined for the type PortalURLFusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 119January 27, 2005 1:36:04 AM 2The import org.apache.jetspeed.components.portletregistry.PortletRegistry cannot be resolvedAbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 21January 27, 2005 1:36:04 AM 2The import org.apache.jetspeed.tools.pamanager.DeploymentRegistration cannot be resolvedAbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 28January 27, 2005 1:36:04 AM 2DeploymentRegistration cannot be resolved (or is not a valid type) for the field AbstractPortletApplicationAction.registrar AbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 44January 27, 2005 1:36:04 AM 2PortletRegistry cannot be resolved (or is not a valid type) for the field AbstractPortletApplicationAction.registry AbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 45January 27, 2005 1:36:04 AM 2PortletRegistry cannot be resolved or is not a type AbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 51January 27, 2005 1:36:04 AM 2The method getRegistryComponent() is undefined for the type AbstractPortletApplicationAction AbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 51January 27, 2005 1:36:04 AM ... ... etc all the errors seem to be related to fusion. am i missing any jar or component for the fusion?? my second question is: should i create a new web project to develop my portlets and write a batch file to copy them into tomcat or should i put my project files inside jetspeed in the same way as the tutorial project? which one is the preferred way? i am using eclipse 3.0 with MyEclipse 3.8.2 win xp, jdk1.4.2-03 thanks, Walter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetspeed hangs Tomcat when starting up.
'tail -f' catalina.log shows that I get all the way up to "Starting Apache Jetspeed Portal/1.5" before Tomcat hangs. uname -a: Linux intranet01 2.4.21-15.0.4.ELsmp #1 SMP Sat Jul 31 01:25:25 EDT 2004 i686 i686 i386 GNU/Linux java version "1.4.2_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) Tomcat Version: Apache Tomcat/5.0.28 I've installed the latest binary versions of tomcat and jetspeed per the documentation. PS doesn't show any java processes or threads doing anything. This server is firewalled off from the world. -- Jeffrey Alan Rodriguez [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: J1.5: Remember me/auto-logon facility
Logging out deletes the cookie. To keep the auto-login active you must not logout. This way if you close the browser, reopen it and go back to the portal URL, you will be automatically logged in. Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://portals.apache.org/ > -Original Message- > From: Vladimir Lisin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 26, 2005 8:16 AM > To: Jetspeed Users List > Subject: J1.5: Remember me/auto-logon facility > > > Hi all > > Please, can anabody comment and suggest the solution in next > problem ? > > I am filling the Login and PSW fields, flagging the > checkbox " Remember > me". > Thereafter I see the cookie "[EMAIL PROTECTED]" in directory > C:\Documents and Settings\Lisin.ELCOMGAZ\Cookies\ > Then I make logout and see that cookie "[EMAIL PROTECTED]" > was deleted. > And at second login I haven't any "/auto-logon" :-( > How must work the "Remember me/auto-logon facility" in J1.5 > ? The next is the fragment of my JR.properties: > .. > ... ># Remember me/auto-logon facility automatic.logon.enable=true > #number of seconds until logon expires (2592000 = 1 month, > 30*24*60*60) > automatic.logon.cookie.maxage=2592000 > automatic.logon.cookie.comment=Jetspeed automatic logon cookie > #domain, blank means use getServer to derive it. Is of the form > .foo.com. > automatic.logon.cookie.domain= > #path, blank means use getContextPath, default to / - all paths > automatic.logon.cookie.path=/ > #specifies when the random portion of the cookie is regenerated- > # - firstlogon, means it is only generated the first time > the users > # requests this feature, useful when you > want to allow > # them to use the feature across computers > # - everylogon, means it is regenerated upon each successful logon > # useful for getting a little added > security (default) > automatic.logon.cookie.generation=everylogon > > # automatically save user state on logout > automatic.logout.save = true > .. > ... > > > Thanks in advance. > Vladimir > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed2 Personalization screen
Joachim, The J2 contributers are planning to pull out the layout portlets into separate portlet apps. The Customizer is part of these portlets. One can imagine how that might facilitate custom layout portlets and customization implementations... Stay tuned! If the jetspeed::VelocityOneColumn layout offers horizontal editing incorrectly, I'd be willing to look into fixing that if Carlos would be interested. Randy Joachim Müller wrote: Hi. This would be an interesting feature. Move the portlets in all direction is nice, but in production often not needed, because of layouts problems. Especially when working with an 70/30 twocolumn layout setup. We developed for our Jetspeed1 based solution www.geoportal.bund.de a new personalization customizer (unfortunately too special to contribute it back), that fit our needs. Is there an easy way to write an own personalization customizer an use it/configure it like a layout type? Wouldn't it be nice to have an option to disable horizontal movement of portlets? Joachim Randy Watler schrieb: Carlos, For J2, you might want to try using the jetspeed::VelocityOneColumn layout type in your page. Randy Carlos Ortiz wrote: Is it possible to limit the portlet personalization screen to only up/down instead of all four directions? I just want to setup a vertical or stacked personalization page. Thanks, Carlos. - 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: Jetspeed2 Personalization screen
Yeah, just tried it, the oneColumn thing. Laid it out properly, but when i went to personalize it, it still allowed the you to move the portlet left or right. So no luck there. I would definitely be interested in the ability to either customize the personalizer or have an optional layout that restricts to only up/down movement. Because like Joachim said, some of my portlets have layout problems when i move'em left/right, things get goofy looking. Thanks gents, let me know if i should try anything else. Carlos. Randy Watler <[EMAIL PROTECTED]> said: > Joachim, > > The J2 contributers are planning to pull out the layout portlets into > separate portlet apps. The Customizer is part of these portlets. > > One can imagine how that might facilitate custom layout portlets and > customization implementations... > > Stay tuned! > > If the jetspeed::VelocityOneColumn layout offers horizontal editing > incorrectly, I'd be willing to look into fixing that if Carlos would be > interested. > > Randy > > Joachim Müller wrote: > > > Hi. > > > > This would be an interesting feature. Move the portlets in all > > direction is nice, but in production often not needed, because of > > layouts problems. Especially when working with an 70/30 twocolumn > > layout setup. > > > > We developed for our Jetspeed1 based solution www.geoportal.bund.de a > > new personalization customizer (unfortunately too special to > > contribute it back), that fit our needs. > > > > Is there an easy way to write an own personalization customizer an use > > it/configure it like a layout type? > > > > Wouldn't it be nice to have an option to disable horizontal movement > > of portlets? > > > > Joachim > > > > > > Randy Watler schrieb: > > > >> Carlos, > >> > >> For J2, you might want to try using the jetspeed::VelocityOneColumn > >> layout type in your page. > >> > >> Randy > >> > >> Carlos Ortiz wrote: > >> > >>> Is it possible to limit the portlet personalization screen to only > >>> up/down > >>> instead of all four directions? > >>> > >>> I just want to setup a vertical or stacked personalization page. > >>> > >>> Thanks, > >>> > >>> Carlos. > >>> > >>> > >>> > >>> - > >>> 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] > -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed2 Personalization screen
Carlos, Ok. Thanks for the feedback. I will look into it more and let you know. Randy [EMAIL PROTECTED] wrote: Yeah, just tried it, the oneColumn thing. Laid it out properly, but when i went to personalize it, it still allowed the you to move the portlet left or right. So no luck there. I would definitely be interested in the ability to either customize the personalizer or have an optional layout that restricts to only up/down movement. Because like Joachim said, some of my portlets have layout problems when i move'em left/right, things get goofy looking. Thanks gents, let me know if i should try anything else. Carlos. Randy Watler <[EMAIL PROTECTED]> said: Joachim, The J2 contributers are planning to pull out the layout portlets into separate portlet apps. The Customizer is part of these portlets. One can imagine how that might facilitate custom layout portlets and customization implementations... Stay tuned! If the jetspeed::VelocityOneColumn layout offers horizontal editing incorrectly, I'd be willing to look into fixing that if Carlos would be interested. Randy Joachim Müller wrote: Hi. This would be an interesting feature. Move the portlets in all direction is nice, but in production often not needed, because of layouts problems. Especially when working with an 70/30 twocolumn layout setup. We developed for our Jetspeed1 based solution www.geoportal.bund.de a new personalization customizer (unfortunately too special to contribute it back), that fit our needs. Is there an easy way to write an own personalization customizer an use it/configure it like a layout type? Wouldn't it be nice to have an option to disable horizontal movement of portlets? Joachim Randy Watler schrieb: Carlos, For J2, you might want to try using the jetspeed::VelocityOneColumn layout type in your page. Randy Carlos Ortiz wrote: Is it possible to limit the portlet personalization screen to only up/down instead of all four directions? I just want to setup a vertical or stacked personalization page. Thanks, Carlos. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed2 Personalization screen
well, if you are in a hurry i have a very quick'n dirty solution: got to the layout templates of the customizer and comment out the left/right arrows. ;-) [EMAIL PROTECTED] wrote: Yeah, just tried it, the oneColumn thing. Laid it out properly, but when i went to personalize it, it still allowed the you to move the portlet left or right. So no luck there. I would definitely be interested in the ability to either customize the personalizer or have an optional layout that restricts to only up/down movement. Because like Joachim said, some of my portlets have layout problems when i move'em left/right, things get goofy looking. Thanks gents, let me know if i should try anything else. Carlos. Randy Watler <[EMAIL PROTECTED]> said: Joachim, The J2 contributers are planning to pull out the layout portlets into separate portlet apps. The Customizer is part of these portlets. One can imagine how that might facilitate custom layout portlets and customization implementations... Stay tuned! If the jetspeed::VelocityOneColumn layout offers horizontal editing incorrectly, I'd be willing to look into fixing that if Carlos would be interested. Randy Joachim Müller wrote: Hi. This would be an interesting feature. Move the portlets in all direction is nice, but in production often not needed, because of layouts problems. Especially when working with an 70/30 twocolumn layout setup. We developed for our Jetspeed1 based solution www.geoportal.bund.de a new personalization customizer (unfortunately too special to contribute it back), that fit our needs. Is there an easy way to write an own personalization customizer an use it/configure it like a layout type? Wouldn't it be nice to have an option to disable horizontal movement of portlets? Joachim Randy Watler schrieb: Carlos, For J2, you might want to try using the jetspeed::VelocityOneColumn layout type in your page. Randy Carlos Ortiz wrote: Is it possible to limit the portlet personalization screen to only up/down instead of all four directions? I just want to setup a vertical or stacked personalization page. Thanks, Carlos. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed2 Personalization screen
Carlos/Joachim: This issue has been addressed for the jetspeed::VelocityOneColumn layout portlet. The patch has been applied to CVS HEAD at: portal/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm HTH, Randy Joachim Müller wrote: well, if you are in a hurry i have a very quick'n dirty solution: got to the layout templates of the customizer and comment out the left/right arrows. ;-) [EMAIL PROTECTED] wrote: Yeah, just tried it, the oneColumn thing. Laid it out properly, but when i went to personalize it, it still allowed the you to move the portlet left or right. So no luck there. I would definitely be interested in the ability to either customize the personalizer or have an optional layout that restricts to only up/down movement. Because like Joachim said, some of my portlets have layout problems when i move'em left/right, things get goofy looking. Thanks gents, let me know if i should try anything else. Carlos. Randy Watler <[EMAIL PROTECTED]> said: Joachim, The J2 contributers are planning to pull out the layout portlets into separate portlet apps. The Customizer is part of these portlets. One can imagine how that might facilitate custom layout portlets and customization implementations... Stay tuned! If the jetspeed::VelocityOneColumn layout offers horizontal editing incorrectly, I'd be willing to look into fixing that if Carlos would be interested. Randy Joachim Müller wrote: Hi. This would be an interesting feature. Move the portlets in all direction is nice, but in production often not needed, because of layouts problems. Especially when working with an 70/30 twocolumn layout setup. We developed for our Jetspeed1 based solution www.geoportal.bund.de a new personalization customizer (unfortunately too special to contribute it back), that fit our needs. Is there an easy way to write an own personalization customizer an use it/configure it like a layout type? Wouldn't it be nice to have an option to disable horizontal movement of portlets? Joachim Randy Watler schrieb: Carlos, For J2, you might want to try using the jetspeed::VelocityOneColumn layout type in your page. Randy Carlos Ortiz wrote: Is it possible to limit the portlet personalization screen to only up/down instead of all four directions? I just want to setup a vertical or stacked personalization page. Thanks, Carlos. - 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] - 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]
non-portlet within Jetspeed2 layout
Ok Gents, try this one on for size, let's say I have a web application that is not a portlet, yet I still want to use it within my Jetspeed2 container so that i can still take advantage of the brilliant layout/navigation of jetspeed2. Is there a something like a PSML file I can setup to do this? So it can call a Servlet or non-portlet app, but within the jetspeed2 layouts? thanks, Carlos. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: non-portlet within Jetspeed2 layout
Carlos, Here is one suggestion: use a bridge portlet and pull it into a page as a portlet. You can then use a clear portlet decorator to remove the portlet window borders/header if you like. Randy [EMAIL PROTECTED] wrote: Ok Gents, try this one on for size, let's say I have a web application that is not a portlet, yet I still want to use it within my Jetspeed2 container so that i can still take advantage of the brilliant layout/navigation of jetspeed2. Is there a something like a PSML file I can setup to do this? So it can call a Servlet or non-portlet app, but within the jetspeed2 layouts? thanks, Carlos. - 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:Still JNDI Problem
Anybody can help me? Thanks - Initial Header --- From : "angeloimm" [EMAIL PROTECTED] To : "Jetspeed Jetspeed" jetspeed-user@jakarta.apache.org Cc : Date : Tue, 25 Jan 2005 13:14:55 +0100 Subject : Still JNDI Problem > Hi all... i'm using Jetspeed version 1.5; JBoss 3.2.5 and 3.2.6; in my > ${JBOSS_HOME}/server/defeault/deploy i have this datasource: > > > > > > >JetspeedDS > > jdbc:oracle:thin:@192.168.11.251:1521:SUNDB > oracle.jdbc.driver.OracleDriver > > jetspeed > jetspeed > 10 > 20 > 1 > -1 > > org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter > > > > Now in my Tourque.properties i have: > # --- > # > # T O R Q U E P R O P E R T I E S > # > # --- > # These are your database settings. Look in the > # org.apache.pool.* packages for more information. > # > # The parameters to connect to the default database. You MUST > # configure these properly. > # --- > > > torque.database.default=default > #torque.database.default.adapter=hypersonic > #torque.database.default.adapter=mysql > torque.database.default.adapter=oracle > ### torque.database.default.adapter=mssql > . > . > . > . > . > . > ## Using jndi > torque.dsfactory.default.factory=org.apache.torque.dsfactory.JndiDataSourceFactory > torque.dsfactory.default.jndi.path=JetspeedDS > torque.dsfactory.default.jndi.java.naming.factory.initial = > org.apache.naming.java.javaURLContextFactory > torque.dsfactory.default.jndi.java.naming.factory.url.pkgs = org.apache.naming > > #What must i put here?? > > #torque.dsfactory.default.datasource.classname=org.apache.torque.pool.TorqueClassicDataSource > #torque.dsfactory.default.datasource.dataSourceName=jdbc/DBdefault > #torque.dsfactory.default.datasource.jndiEnvironment.java.naming.factory.initial > = org.apache.naming.java.javaURLContextFactory > #torque.dsfactory.default.datasource.jndiEnvironment.java.naming.factory.url.pkgs > = org.apache.naming > #torque.dsfactory.default.datasource.defaultMaxConnections=10 > > > I have tried also: > torque.dsfactory.default.jndi.path=java/JetspeedDS > torque.dsfactory.default.jndi.path=env:java/jdbc/JetspeedDS > > But i have always this error: > 2005-01-25 13:06:14,810 [http-0.0.0.0-8080-Processor25] DEBUG > BaseClientRegistry - ClientRegistry: Looking for client with useragent > :Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) > 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG > BaseClientRegistry - ClientRegistry: Mozilla/4.0 (compatible; MSIE 6.0; > Windows NT 5.1; SV1; .NET CLR 1.1.4322) does not match .*MSIE 5.* > 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG > BaseClientRegistry - ClientRegistry: Mozilla/4.0 (compatible; MSIE 6.0; > Windows NT 5.1; SV1; .NET CLR 1.1.4322) matches .*Mozilla/4.* > 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG > CapabilityMapFactory - CapabilityMap: User-agent: Mozilla/4.0 (compatible; > MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) mapped to > ns4text/html-HTML_3_2/HTML_JAVA/HTML_JAVASCRIPT/HTML_TABLE/HTML_FORM/HTML_FRAME/HTML_IMAGE/HTML_CSS1/HTML_LAYER/HTML_PLUGIN/HTML_DOM_NS4/HTTP_COOKIE/ > 2005-01-25 13:06:15,030 [http-0.0.0.0-8080-Processor25] WARN IDBroker - > IDBroker is being used with db 'default', which does not support > transactions. IDBroker attempts to use transactions to limit the possibility > of duplicate key generation. Without transactions, duplicate key generation > is possible if multiple JVMs are used or other means are used to write to the > database. > 2005-01-25 13:06:15,040 [http-0.0.0.0-8080-Processor25] ERROR BasePeer - > org.apache.torque.TorqueException: The url cannot be null > 2005-01-25 13:06:15,050 [http-0.0.0.0-8080-Processor25] ERROR BasePeer - A > FATAL ERROR has occurred which should not have happened under any > circumstance. Please notify the Torque developers > and give as many details as possible > (including the error stack trace). > java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): The url > cannot be null > at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:274) > at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:249) > at > org.apache.jetspeed.om.security.turbine.TurbineUserPeer.(TurbineUserPeer.java:49) > at > org.apache.jetspeed.om.security.turbine.BaseTurbineUser.(BaseTurbineUser.java:36) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:141) > at > org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:141) > at > org.apache.jetspeed.om.security.tur
Re: Jetspeed2 Personalization screen
Joachim Müller wrote: Hi. This would be an interesting feature. Move the portlets in all direction is nice, but in production often not needed, because of layouts problems. Especially when working with an 70/30 twocolumn layout setup. We developed for our Jetspeed1 based solution www.geoportal.bund.de a new personalization customizer (unfortunately too special to contribute it back), that fit our needs. Is there an easy way to write an own personalization customizer an use it/configure it like a layout type? Wouldn't it be nice to have an option to disable horizontal movement of portlets? Are you asking for J1 or J2 ? in J1, to quickly disable the left/right arrow in the customizer, you just need to do the following: 1 copy the template /WEB-INF/templates/controllers/vm/html/multicolumn.vm to /WEB-INF/templates/controllers/vm/html/multicolumn-updown.vm 2 copy the template /WEB-INF/templates/controllers/vm/html/multicolumn-customize.vm to /WEB-INF/templates/controllers/vm/html/multicolumn-updown-customize.vm 3. edit multicolumn-updown-customize.vm to apply patch: @@ -53,11 +53,7 @@ #end -#if ($col == 0) -#else - -#end #if ($row == 0) #else @@ -68,11 +64,7 @@ #else #end -#if ($col == ($sizes.size() - 1)) -#else - -#end #if (${skin.PortletSkinClass}) 4. create a new controller definition in /WEB-INF/conf/local-controllers.xreg: org.apache.jetspeed.portal.controllers.VelocityPortletController Two columns (30/70) - Up/Down only 5. Use this controller in your PSML page. (If you already have a lot of PSML pages using the standard TwoColumns controller, just change the definition of the controller in the registry to use the multicolumn-updown.vm template) -- 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]
[J2] Newbie: Error 404 with login portlet
Hi, I've just installed Jetspeed2-M1 on Weblogic 8.1 Most of the modules work fine, however, I can't log in. I obtain a 404 error when I clik on the login button. There is no exception, neither in jetspeed nor in weblogic logs. The URL in my browser at this moment is "http://localhost:7001/security/login/proxy"; Did I forget something during the installation process? Thanks in advance if you have any clue!
Re: [J2] Newbie: Error 404 with login portlet
It seems Weblogic changes the contextPath for an included servlet to the contextPath of the servlet itself. According to the servlet spec 2.3 SRV.8.3.1 Included Request Parameters: "Except for servlets obtained by using the getNamedDispatcher method, a servlet being used from within an include has access to the path by which it was invoked." Jetspeed does *NOT* invoke portlets using getNamedDispatcher so the contextPath for the Portlet should still be that of the portal itself (/jetspeed). In the login portlet the form is posted to . The url tag will prefix this with the contextPath so it should be /jetspeed/login/proxy. You could temporarily fix this for Weblogic by adding attribute context="/jetspeed" to the tag: You can find the login.jsp in webapp security/WEB-INF/security/login/login.jsp. If you do, don't forget to also fix the <:url value="/login/logout"/> link which is a few lines above it. That should allow you to login and logout, but of course this isn't a real solution. I suggest you create a JIRA ticket for this problem so. I don't have Weblogic available but maybe one of the other developers does. Ate romain bisse wrote: Hi, I've just installed Jetspeed2-M1 on Weblogic 8.1 Most of the modules work fine, however, I can't log in. I obtain a 404 error when I clik on the login button. There is no exception, neither in jetspeed nor in weblogic logs. The URL in my browser at this moment is "http://localhost:7001/security/login/proxy"; Did I forget something during the installation process? Thanks in advance if you have any clue! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [J2] Newbie: Error 404 with login portlet
Ate Douma wrote: It seems Weblogic changes the contextPath for an included servlet to the contextPath of the servlet itself. According to the servlet spec 2.3 SRV.8.3.1 Included Request Parameters: "Except for servlets obtained by using the getNamedDispatcher method, a servlet being used from within an include has access to the path by which it was invoked." I should also have quoted the following part of SRV.8.3.1 I think: "The following request attributes are set: javax.servlet.include.request_uri javax.servlet.include.context_path javax.servlet.include.servlet_path javax.servlet.include.path_info javax.servlet.include.query_string These attributes are accessible from the included servlet via the getAttribute method on the request object. If the included servlet was obtained by using the getNamedDispatcher method these attributes are not set." After rereading this paragraph three times over, I must admit it does not explicitly say the request.getContextPath() for an included servlet should remain the same. But, if that would not be the intention of this paragraph, then one would never *need* the javax.servlet.include._context_path attribute or the others. So, my interpretation of this is that the request.getContextPath() *should* remain the same. Seems the Weblogic developers think differently... Jetspeed does *NOT* invoke portlets using getNamedDispatcher so the contextPath for the Portlet should still be that of the portal itself (/jetspeed). In the login portlet the form is posted to . The url tag will prefix this with the contextPath so it should be /jetspeed/login/proxy. You could temporarily fix this for Weblogic by adding attribute context="/jetspeed" to the tag: You can find the login.jsp in webapp security/WEB-INF/security/login/login.jsp. If you do, don't forget to also fix the <:url value="/login/logout"/> link which is a few lines above it. That should allow you to login and logout, but of course this isn't a real solution. I suggest you create a JIRA ticket for this problem so. I don't have Weblogic available but maybe one of the other developers does. Ate romain bisse wrote: Hi, I've just installed Jetspeed2-M1 on Weblogic 8.1 Most of the modules work fine, however, I can't log in. I obtain a 404 error when I clik on the login button. There is no exception, neither in jetspeed nor in weblogic logs. The URL in my browser at this moment is "http://localhost:7001/security/login/proxy"; Did I forget something during the installation process? Thanks in advance if you have any clue! - 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]
newbie: compiling jetspeed-1.6-dev in eclipse
Hi, could someone please help me setting up jetspeed as a project in eclipse? i have checked out jetspeed1.6-dev from the cvs directly into eclipse as a new project. i can build the project from command line using maven and was able to deploy it into tomcat. everything appears to be fine. however, in eclipse, it keeps reporting there are many errors. firstly, it was complaining many jetspeed-xxx-2.0-a1-dev.jar files were missing. so i downloaded them manually into my MAVEN_REPO, but after that, it still gives many compiler errors: SeverityDescriptionResourceIn FolderLocationCreation Time 2The method _getHttpServletRequest() from the type ServletRequestImpl is not visibleFusionServletRequestImpl.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/engine/servlet line 125January 27, 2005 1:36:04 AM 2The import org.apache.jetspeed.container.state cannot be resolvedFusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 27January 27, 2005 1:36:04 AM 2The import org.apache.jetspeed.container.state cannot be resolvedFusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 28January 27, 2005 1:36:04 AM 2NavigationalStateComponent cannot be resolved or is not a type FusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 94January 27, 2005 1:36:04 AM 2NavigationalState cannot be resolved or is not a type FusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 119January 27, 2005 1:36:04 AM 2The method getNavigationalState() is undefined for the type PortalURLFusionAccessController.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions line 119January 27, 2005 1:36:04 AM 2The import org.apache.jetspeed.components.portletregistry.PortletRegistry cannot be resolvedAbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 21January 27, 2005 1:36:04 AM 2The import org.apache.jetspeed.tools.pamanager.DeploymentRegistration cannot be resolvedAbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 28January 27, 2005 1:36:04 AM 2DeploymentRegistration cannot be resolved (or is not a valid type) for the field AbstractPortletApplicationAction.registrar AbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 44January 27, 2005 1:36:04 AM 2PortletRegistry cannot be resolved (or is not a valid type) for the field AbstractPortletApplicationAction.registry AbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 45January 27, 2005 1:36:04 AM 2PortletRegistry cannot be resolved or is not a type AbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 51January 27, 2005 1:36:04 AM 2The method getRegistryComponent() is undefined for the type AbstractPortletApplicationAction AbstractPortletApplicationAction.java jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/modules/actions/portlets line 51January 27, 2005 1:36:04 AM ... ... etc all the errors seem to be related to fusion. am i missing any jar or component for the fusion?? my second question is: should i create a new web project to develop my portlets and write a batch file to copy them into tomcat or should i put my project files inside jetspeed in the same way as the tutorial project? which one is the preferred way? i am using eclipse 3.0 with MyEclipse 3.8.2 win xp, jdk1.4.2-03 thanks, Walter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jetspeed hangs Tomcat when starting up.
How long do you give it? By default, Tomcat serializes objects and reloads them on restart which can cause a delay. On Wed, 26 Jan 2005 09:13:03 -0700, Jeff Rodriguez <[EMAIL PROTECTED]> wrote: > 'tail -f' catalina.log shows that I get all the way up to "Starting > Apache Jetspeed Portal/1.5" before Tomcat hangs. > > uname -a: Linux intranet01 2.4.21-15.0.4.ELsmp #1 SMP Sat Jul 31 > 01:25:25 EDT 2004 i686 i686 i386 GNU/Linux > > java version "1.4.2_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) > Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) > > Tomcat Version: Apache Tomcat/5.0.28 > > I've installed the latest binary versions of tomcat and jetspeed per > the documentation. PS doesn't show any java processes or threads doing > anything. > > This server is firewalled off from the world. > -- > Jeffrey Alan Rodriguez > [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -Art D'Alessandro - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: J1.5: Remember me/auto-logon facility
Hi, Mark and Dan ! Very thanks for help :- I assumed another, more simple, order for the auto-logon. And I shall look at source file. Best regards, Vladimir