Static content

2004-11-17 Thread lahsen abouenour
Hi, What is the best way to display static content (presentation of company, ...) ? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: performance slowdown for 100,000 users, all with same PSML

2004-11-17 Thread Youssef Mohammed
I don't mind at all :) On Tue, 16 Nov 2004 16:00:00 -0800, David Sean Taylor [EMAIL PROTECTED] wrote: Youssef Mohammed wrote: I think it has nothing to do with the portlets since the only changes he (Dan) made was the number of users. I suggest to do some profiling (both IBM and Oracle

RE: What do you need to do to add a new screen ?

2004-11-17 Thread Hampton, Thomas
David, Thank you. The jslink example helps a lot. The $jslink.getTemplate(Page2) is working. But I also have some templates that are JSP. The $jslink.getTemplate() method seems to only be finding VM templates and not the JSP templates. Is it possible to link from a VM template such as

Re: Static content

2004-11-17 Thread Dan Moore
http://portals.apache.org/jetspeed-1/portlet_config_HTML.html? Not sure what you mean by 'presentation of company'. Dan --- lahsen abouenour [EMAIL PROTECTED] wrote: Hi, What is the best way to display static content (presentation of company, ...) ? Thanks.

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
Well, this seems to be an issue with the struts-demo and Weblogic. I can hit the first page of the demo, and actually I can hit any page if I set it up as the first page in the portlet.xml. However I cannot click on a link and go to another page. When clicking on a link, weblogic throws the

Re: performance slowdown for 100,000 users, all with same PSML

2004-11-17 Thread Dan Moore
Well folks, we found the issue with the 100,000 users problem. I used p6spy to grab all the SQL statements going to the database, and we saw this: 1099788107943|13|1|statement||SELECT TURBINE_USER.USER_ID, TURBINE_USER.LOGIN_NA ME, TURBINE_USER.PASSWORD_VALUE, TURBINE_USER.FIRST_NAME,

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
Well, I was able to fix the issue for Weblogic, but I'm not sure if it is a good fix. I traced through some Weblogic classes to find that internally they are trying to cast to a Weblogic implementation of HttpServletResponse instead of using the interface itself. The quick fix is to comment out

Re: Problem installing jetspeed

2004-11-17 Thread Mark Miller
Thanks David - I added the maven.repo.remote line to this file the install worked. David Sean Taylor wrote: Mark Miller wrote: Thanks David, it actually looks like some of the files have been moved around on Ibiblio - for example: http://www.ibiblio.org/maven/pluto/jars/pluto-1.0.1-rc1.jar

RE: What do you need to do to add a new screen ?

2004-11-17 Thread Hampton, Thomas
Ok, so I changed the code in left.vm to the following Jslink.getTemplate(Page2.jsp) This caused the template to be found but also caused left.jsp to be rendered instead of left.vm which confuses me. I would have expected left.vm to be rendered using velocity and for Page2 to be rendered by JSP.

Refreshing a psml reference

2004-11-17 Thread Andy . Sun
We just implemented a Jetspeed 1.5 portal site with tomcat 4.1.18. The psml reference is used so that different users can share a group or role psml file. When we make a change to the group psml (e.g. adding a portlet to the page), the users who have previously login to the site won't see the

Re: performance slowdown for 100,000 users, all with same PSML

2004-11-17 Thread Youssef Mohammed
Glad that u solved your problem. I also wonder if anyone has explanation of what happened to Dan and other solution without turning the SecuirtyAccessControl off. On Wed, 17 Nov 2004 08:58:46 -0800 (PST), Dan Moore [EMAIL PROTECTED] wrote: Well folks, we found the issue with the 100,000 users

problem building jetspeed2

2004-11-17 Thread ROBERT GREGORY
Hi, I just checked out Jetspeed2 from CVS - but I'm having trouble building it. Output from Maven as follows : Starting the reactor... BUILD FAILED File.. C:\downloads\cvs\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 103 Column 31 Error parsing project.xml

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
I think I have a better fix now, and I would be happy to submit a patch if someone shows me how. I changed the EmptyHttpServletResponseImpl into a EmptyHttpServletResponseWrapper. Then I modified this line in StrutsPortlet, line 269: if (actionRequest) { res =

Re: performance slowdown for 100,000 users, all with same PSML

2004-11-17 Thread Michael Rothrock
I can verify that I saw this behavior on PostgreSQL back on 1.4, so I suspect it's not DB dependant. I use a custom authentication class and do my own caching, so never really pursued it. (And, in fact, forgot about it until this message jogged my memory.) -- Michael On 11/17/04 8:58 AM, Dan

RE: Refreshing a psml reference

2004-11-17 Thread Andy . Sun
After a little more research, we discovered one more way to get around this issue. There is a setting in JetspeedResource.properties file, services.PsmlManager.cacheSize. It is default to 100, meaning maximum 100 psml pages will be cached. We change that to 0 and it fixed this psml reference

RE: Refreshing a psml reference

2004-11-17 Thread Dan Moore
I'd think bypassing the cache would be a bad thing in the future. You might want to look at the 'refresh' method on the PSMLManager service interface:

Re: Fusion Struts Demo

2004-11-17 Thread Ate Douma
Jeff, Thanks for providing this information. I will look into this tonight but I expect your changes can be incorporated without harm or side-effect. I created the EmptyHttpServletResponseImpl as the lightest implementation to nullify any usage of the HttpServletResponse. Using a wrapper instead

RE: Refreshing a psml reference

2004-11-17 Thread Andy . Sun
I am looking into the getDocument method in the PsmlManagerService. The refresh method call getDocument() with the getCached set to false. I believe the tricky part is when and where to do refresh. When using a reference, the psml manager doesn't know if the referenced psml is changed or not. I am

getting user object in velocityportlet subclass to build localized title

2004-11-17 Thread Dan Moore
Hi folks, I'm interested in having localized titles for the portlets, but not really interested in maintaining different psml files, since the layout for each locale the same. I saw some pointers in this thread: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]by=threadfrom=305498 And have

Re: Fusion Struts Demo

2004-11-17 Thread Ate Douma
Jeff Sheets wrote: Ate, Actually, now that I look at it, it was only missing the src\java\org\apache\struts\webapp\example\CheckLogonTag.java file. I believe I saw the compile error when trying to access the logon screen, or possibly the register screen. I scanned the source tree and you are

RE: Static content

2004-11-17 Thread Pe, Win {PI}
I would assume what you want is static information like company information. I did similarthing using html page and publish as a portlet. See the welcome portlet under html.demo. It uses org.apache.jetspeed.portal.portlets.FileServerPortletorg.apache.jetspeed.portal.portlets.FileServerPortlet

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
Sorry for a second post, but I think I know where you are going with this now. I deployed the struts-demo in Jetspeed on Weblogic Server. I didn't try to deploy the struts-demo in Weblogic Portal. That hopefully answers your question... On Wed, 17 Nov 2004 17:48:24 -0600, Jeff Sheets [EMAIL

Re: Fusion Struts Demo

2004-11-17 Thread Ate Douma
Jeff Sheets wrote: Sorry for a second post, but I think I know where you are going with this now. I deployed the struts-demo in Jetspeed on Weblogic Server. I didn't try to deploy the struts-demo in Weblogic Portal. That hopefully answers your question... Your previous message hasn't reached

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
I never even looked at the ServletContextProvider spi interface. Deploying to Weblogic was nearly as easy as deploying to Tomcat or JBoss. I only needed to modify the two things that I mentioned earlier... On Wed, 17 Nov 2004 22:58:15 +0100, Ate Douma [EMAIL PROTECTED] wrote: Jeff Sheets

IFrame portlet

2004-11-17 Thread Thilina
Hi, I'm developing an application which exposes the Company intranet to out side restricted users. We can give the URL of the intranet to the IFrame Portlet's source. I have a global IP address assigned to my machine. I can access the intranet withing the company but i can't access it from the out

RE: IFrame portlet

2004-11-17 Thread Randy Watler
Thilina, If you are using J1, there is a WebContentPortlet that you'll have to use since the portlet needs to proxy the intranet to the internet. I and other dev team members are going to be developing an analog for J2 which currently lacks this capability. HTH, Randy -Original

RE: IFrame portlet

2004-11-17 Thread Thilina
Randy, Thank you for you information and I'm using jetspeed 1.5. I searched WebContentPortlet in the portlet browser in the admin console, but I'm not be able to find out such a portlet object there. And also I searched in the web, but I haven't found any thing regarding WebContentPortlet. So..

RE: IFrame portlet

2004-11-17 Thread Randy Watler
Thilina, Sorry, I got the name(s) of the J1 portlets wrong. Try these: WebPagePortlet WebPagePortlet2 WebClippingPortlet Randy -Original Message- From: Randy Watler To: 'JetSpeed ' Sent: 11/17/04 10:29 PM Subject: RE: IFrame portlet Thilina, If you are using J1, there is a