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 stuff can help )
  to the jetspped instance to see what is going on.
  I used to work on J1 last year and I did found some scalability issues on 
  it.
  I donno if they still exist on not.
 
 
 If our resident performance expert doesn't mind, could I also recommend
 trying the delay rendering feature, which allows for J1 to render
 portlets in parallel.
 By default, J1 will render portlet sequentially, meaning that portlet 2
 doesnt start rendering until portet 1 completes and so on.
 
 --
 
 
 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]
 
 


-- 
Regards, Youssef

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 left.vm to a JSP template ?


Thanks,
Tom

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 11:58 PM
To: Jetspeed Users List
Subject: Re: What do you need to do to add a new screen ?

Hampton, Thomas wrote:

 Right, so I changed it to $jslink.getTemplate() but it still does not
bring up my screen.  Still a blank screen.
 Is there anything else that needs to be done besides creating the
Page2.vm file and putting it in the correct directory and then calling
$jslink.getTemplate(Page2) from the Left.vm file ?
 
 Where are things like jslink, link, jlink, and clink documented, I've
looked around but am not finding where these things are documented.  How
do I know what these references are and what methods are available on
them ?
  
Its documented in the JetspeedLink.java interface

http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed/src/java/org/apache/j
etspeed/util/template/JetspeedLink.java?rev=1.15view=markup

The $jslink is self-documented with examples in the JSLink Examples 
portlet.
Add this portlet to your page with the customizer and you will see
The other variations ($clink, $link, $jlink) we tried to deprecate.

 Thanks for your help.
 Tom
 
 
 
 From: David Sean Taylor [mailto:[EMAIL PROTECTED]
 Sent: Tue 11/16/2004 6:38 PM
 To: Jetspeed Users List
 Subject: Re: What do you need to do to add a new screen ?
 
 
 
 Hampton, Thomas wrote:
 
 
I created a new screen template in the
webapp\WEB-INF\templates\vm\screens\html directory.  Then I modified
the
left.vm file as follows.

td
  a href=$jslink.getPage(Page2)
img src=images/leftnav_api.gif border=0
  /a
/td
  /tr
  tr
td
  a href=$jslink.getTemplate(EditAccount)
img src=images/leftnav_api.gif border=0
  /a
/td
  /tr

What I want to happen is for the Page2 screen to come up the same
way
the EditAccount screen does.  But I just get a blank page.  The
EditAccount screen comes up ok.  So I'm sure that I have not done
something that is needed to register the Page2 screen template,
but
I don't know what I'm missing.  The Page2 template just has static
text in it right now.

What am I missing ?


 
 $jslink.getPage gets a PSML page, not a turbine template
 I think you may be confusing it with $link.getPage
 Why not use $jslink.getTemplate here too
 
 --
 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]
 
 
 
 
 
 
 


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-- 
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]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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.
 
 
 -
 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: 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 stack trace I showed earlier.  This happens in the
StrutsPortlet at:
rd.include(new PortletServletRequestWrapper(servletContext, req,
query_string), res);

I found a post on the Weblogic website that mentions this problem, but
I'm not sure that it is fully related: 
http://support.bea.com/application?namespace=askbeaorigin=ask_bea_answer.jspevent=link.view_answer_page_solutionanswerpage=solutionpage=wls/S-17206.htm

Also, I haven't verified this, but I think this problem exists in
Jetspeed2 as well as Fusion.

-
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 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,
TURBINE_USER.LAST_NAME
, TURBINE_USER.EMAIL, TURBINE_USER.CONFIRM_VALUE,
TURBINE_USER.MODIFIED, TURBINE
_USER.CREATED, TURBINE_USER.LAST_LOGIN, TURBINE_USER.DISABLED,
TURBINE_USER.OBJE
CTDATA, TURBINE_USER.PASSWORD_CHANGED FROM TURBINE_USER WHERE
TURBINE_USER.LOGIN
_NAME='17215'
1099788107976|15|1|statement||SELECT TURBINE_USER_GROUP_ROLE.USER_ID,
TURBINE_US
ER_GROUP_ROLE.GROUP_ID, TURBINE_USER_GROUP_ROLE.ROLE_ID FROM
TURBINE_USER_GROUP_
ROLE WHERE TURBINE_USER_GROUP_ROLE.USER_ID='17215'
1099788108002|10|1|statement||SELECT TURBINE_ROLE.ROLE_ID,
TURBINE_ROLE.ROLE_NAM
E, TURBINE_ROLE.OBJECTDATA FROM TURBINE_ROLE WHERE
TURBINE_ROLE.ROLE_ID=1
1099788108032|10|1|statement||SELECT TURBINE_GROUP.GROUP_ID,
TURBINE_GROUP.GROUP
_NAME, TURBINE_GROUP.OBJECTDATA FROM TURBINE_GROUP WHERE
TURBINE_GROUP.GROUP_ID=1

Many many times.  In fact, these four statements were repeated around
60 times for one page load with 9 portlets.  I don't know why, since
this property was set in JetspeedSecurity.properties:

services.JetspeedSecurity.caching.enable=true

This obviously slowed portlet rendering down quite a bit.  Since we are
not using any of Jetspeed's authorization capabilities, we turned it
off by setting this property:

services.PortalAccessController.classname=org.apache.jetspeed.services.security.
nosecurity.NoSecurityAccessController

This helped a lot.  We saw no more of the statements mentioned above,
and page load times go down dramatically.  

Thanks for all your help.

Dan



--- 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 stuff can help
 )
  to the jetspped instance to see what is going on.
  I used to work on J1 last year and I did found some scalability
 issues on it. 
  I donno if they still exist on not. 
  
 
 If our resident performance expert doesn't mind, could I also
 recommend 
 trying the delay rendering feature, which allows for J1 to render 
 portlets in parallel.
 By default, J1 will render portlet sequentially, meaning that portlet
 2 
 doesnt start rendering until portet 1 completes and so on.
 
 
 -- 
 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]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 these three lines (near line 170) in
StrutsPortlet that use the EmptyHttpServletResponseImpl:

if (rd != null)
{
//if (actionRequest) {
//res = new EmptyHttpServletResponseImpl();
//}
if (pageURL != null)
req.setAttribute(StrutsPortlet.PAGE_URL, pageURL);
req.setAttribute(StrutsPortlet.REQUEST_TYPE, requestType);
try
{
rd.include(new PortletServletRequestWrapper(servletContext,
req, query_string), res);
} catch (ServletException e)

I'm not sure what EmptyHttpServletResponseImpl is trying to do, so
there is probably a better fix to be found.

After this, I then got farther in the struts-demo, but came upon a jsp
compile error that was looking for a taglib class in the struts-demo. 
The classes were in the Mailreader demo on the struts website, so I
just extracted the struts-example.war into the struts-demo without
overwriting any of the struts-demo files.  Now the struts-demo works!

I just wanted to post my results in order to help anyone else who
tries to get the struts-demo working in Weblogic.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
The server is responding to me - but the file does not exist at this 
location. I checked for this file on the bluesunrise.com server  it 
does exist there, but I am having trouble convincing maven to use the 
bluesunrise.com server.

I updated the project.properties file and made the following change:
   # maven.repo.remote = http://www.bluesunrise.com/maven/, 
http://www.ibiblio.org/maven/, http://dist.codehaus.org/,  ...
   maven.repo.remote = http://www.bluesunrise.com/maven/
and restarted the test server (maven start.test.server) but maven is 
still trying to download packages from ibiblio. Where should I make 
the change to have it look for the packages on bluesunrise.com?

Look at your $HOME/build.properties, it overrides project.properties
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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.  What's even more weird is that the top  bottom are still
rendering top.vm  bottom.vm.

Any insight as to what I'm doing wrong ?  I feel like I'm missing
something simple here.


Thanks,
Tom

-Original Message-
From: Hampton, Thomas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 9:46 AM
To: Jetspeed Users List
Subject: RE: What do you need to do to add a new screen ?

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 left.vm to a JSP template ?


Thanks,
Tom

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 11:58 PM
To: Jetspeed Users List
Subject: Re: What do you need to do to add a new screen ?

Hampton, Thomas wrote:

 Right, so I changed it to $jslink.getTemplate() but it still does not
bring up my screen.  Still a blank screen.
 Is there anything else that needs to be done besides creating the
Page2.vm file and putting it in the correct directory and then calling
$jslink.getTemplate(Page2) from the Left.vm file ?
 
 Where are things like jslink, link, jlink, and clink documented, I've
looked around but am not finding where these things are documented.  How
do I know what these references are and what methods are available on
them ?
  
Its documented in the JetspeedLink.java interface

http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed/src/java/org/apache/j
etspeed/util/template/JetspeedLink.java?rev=1.15view=markup

The $jslink is self-documented with examples in the JSLink Examples 
portlet.
Add this portlet to your page with the customizer and you will see
The other variations ($clink, $link, $jlink) we tried to deprecate.

 Thanks for your help.
 Tom
 
 
 
 From: David Sean Taylor [mailto:[EMAIL PROTECTED]
 Sent: Tue 11/16/2004 6:38 PM
 To: Jetspeed Users List
 Subject: Re: What do you need to do to add a new screen ?
 
 
 
 Hampton, Thomas wrote:
 
 
I created a new screen template in the
webapp\WEB-INF\templates\vm\screens\html directory.  Then I modified
the
left.vm file as follows.

td
  a href=$jslink.getPage(Page2)
img src=images/leftnav_api.gif border=0
  /a
/td
  /tr
  tr
td
  a href=$jslink.getTemplate(EditAccount)
img src=images/leftnav_api.gif border=0
  /a
/td
  /tr

What I want to happen is for the Page2 screen to come up the same
way
the EditAccount screen does.  But I just get a blank page.  The
EditAccount screen comes up ok.  So I'm sure that I have not done
something that is needed to register the Page2 screen template,
but
I don't know what I'm missing.  The Page2 template just has static
text in it right now.

What am I missing ?


 
 $jslink.getPage gets a PSML page, not a turbine template
 I think you may be confusing it with $link.getPage
 Why not use $jslink.getTemplate here too
 
 --
 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]
 
 
 
 
 
 
 


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-- 
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]



-
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]



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 change
if they login again (even after a while). However, if the user login as the
first time, they could see the change. Of course, the change will be visible
to everyone after bouncing the tomcat. The sequence is like this.
-login as user1 then logout
-change the group psml that is referenced by user1's psml
-login as user2 to verify the referenced psml is changed.
-if yes from pervious step, login as user1
-too bad, the user1 still don't see the change.
It seems that there is caching happened for user1. However we are not sure
which setting could affect this. We also waited overnight expecting the
cache will expire. That did not happen either. 
Has anyone actively using reference? Any experience with this issue?
Thanks!
Andy

-
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
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.
 
 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,
 TURBINE_USER.LAST_NAME
 , TURBINE_USER.EMAIL, TURBINE_USER.CONFIRM_VALUE,
 TURBINE_USER.MODIFIED, TURBINE
 _USER.CREATED, TURBINE_USER.LAST_LOGIN, TURBINE_USER.DISABLED,
 TURBINE_USER.OBJE
 CTDATA, TURBINE_USER.PASSWORD_CHANGED FROM TURBINE_USER WHERE
 TURBINE_USER.LOGIN
 _NAME='17215'
 1099788107976|15|1|statement||SELECT TURBINE_USER_GROUP_ROLE.USER_ID,
 TURBINE_US
 ER_GROUP_ROLE.GROUP_ID, TURBINE_USER_GROUP_ROLE.ROLE_ID FROM
 TURBINE_USER_GROUP_
 ROLE WHERE TURBINE_USER_GROUP_ROLE.USER_ID='17215'
 1099788108002|10|1|statement||SELECT TURBINE_ROLE.ROLE_ID,
 TURBINE_ROLE.ROLE_NAM
 E, TURBINE_ROLE.OBJECTDATA FROM TURBINE_ROLE WHERE
 TURBINE_ROLE.ROLE_ID=1
 1099788108032|10|1|statement||SELECT TURBINE_GROUP.GROUP_ID,
 TURBINE_GROUP.GROUP
 _NAME, TURBINE_GROUP.OBJECTDATA FROM TURBINE_GROUP WHERE
 TURBINE_GROUP.GROUP_ID=1
 
 Many many times.  In fact, these four statements were repeated around
 60 times for one page load with 9 portlets.  I don't know why, since
 this property was set in JetspeedSecurity.properties:
 
 services.JetspeedSecurity.caching.enable=true
 
 This obviously slowed portlet rendering down quite a bit.  Since we are
 not using any of Jetspeed's authorization capabilities, we turned it
 off by setting this property:
 
 services.PortalAccessController.classname=org.apache.jetspeed.services.security.
 nosecurity.NoSecurityAccessController
 
 This helped a lot.  We saw no more of the statements mentioned above,
 and page load times go down dramatically.
 
 Thanks for all your help.
 
 Dan
 
 
 
 
 --- 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 stuff can help
  )
   to the jetspped instance to see what is going on.
   I used to work on J1 last year and I did found some scalability
  issues on it.
   I donno if they still exist on not.
  
 
  If our resident performance expert doesn't mind, could I also
  recommend
  trying the delay rendering feature, which allows for J1 to render
  portlets in parallel.
  By default, J1 will render portlet sequentially, meaning that portlet
  2
  doesnt start rendering until portet 1 completes and so on.
 
 
  --
  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]
 
 
 
 -
 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]



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 'C:\downloads\cvs\jakarta-jetspeed-2\components\capabi
lity\project.xml'
Total time: 3 seconds
Finished at: Tue Nov 16 18:41:00 GMT 2004
 
 
 
Seems to error on parsing project.xml while trying to resolve entities.
 
Any help appreciated.
 
Thanks,
 
Rob.



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 = new EmptyHttpServletResponseImpl();
}
to this:
if (actionRequest) {
res = new EmptyHttpServletResponseWrapper(res);
}

Weblogic seems to be okay with it, and now I feel much better about
the code itself.
-- Jeff

-
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 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 Moore [EMAIL PROTECTED] wrote:

 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,
 TURBINE_USER.LAST_NAME
 , TURBINE_USER.EMAIL, TURBINE_USER.CONFIRM_VALUE,
 TURBINE_USER.MODIFIED, TURBINE
 _USER.CREATED, TURBINE_USER.LAST_LOGIN, TURBINE_USER.DISABLED,
 TURBINE_USER.OBJE
 CTDATA, TURBINE_USER.PASSWORD_CHANGED FROM TURBINE_USER WHERE
 TURBINE_USER.LOGIN
 _NAME='17215'
 1099788107976|15|1|statement||SELECT TURBINE_USER_GROUP_ROLE.USER_ID,
 TURBINE_US
 ER_GROUP_ROLE.GROUP_ID, TURBINE_USER_GROUP_ROLE.ROLE_ID FROM
 TURBINE_USER_GROUP_
 ROLE WHERE TURBINE_USER_GROUP_ROLE.USER_ID='17215'
 1099788108002|10|1|statement||SELECT TURBINE_ROLE.ROLE_ID,
 TURBINE_ROLE.ROLE_NAM
 E, TURBINE_ROLE.OBJECTDATA FROM TURBINE_ROLE WHERE
 TURBINE_ROLE.ROLE_ID=1
 1099788108032|10|1|statement||SELECT TURBINE_GROUP.GROUP_ID,
 TURBINE_GROUP.GROUP
 _NAME, TURBINE_GROUP.OBJECTDATA FROM TURBINE_GROUP WHERE
 TURBINE_GROUP.GROUP_ID=1
 
 Many many times.  In fact, these four statements were repeated around
 60 times for one page load with 9 portlets.  I don't know why, since
 this property was set in JetspeedSecurity.properties:
 
 services.JetspeedSecurity.caching.enable=true
 
 This obviously slowed portlet rendering down quite a bit.  Since we are
 not using any of Jetspeed's authorization capabilities, we turned it
 off by setting this property:
 
 services.PortalAccessController.classname=org.apache.jetspeed.services.securit
 y.
 nosecurity.NoSecurityAccessController
 
 This helped a lot.  We saw no more of the statements mentioned above,
 and page load times go down dramatically.
 
 Thanks for all your help.
 
 Dan
 
 
 
 --- 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 stuff can help
 )
 to the jetspped instance to see what is going on.
 I used to work on J1 last year and I did found some scalability
 issues on it. 
 I donno if they still exist on not.
 
 
 If our resident performance expert doesn't mind, could I also
 recommend 
 trying the delay rendering feature, which allows for J1 to render
 portlets in parallel.
 By default, J1 will render portlet sequentially, meaning that portlet
 2 
 doesnt start rendering until portet 1 completes and so on.
 
 
 -- 
 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]
 
 
 
 
 -
 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: 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 refresh issue.
Is this change recommended? It is obviously for a performance reason
(probably save time on File I/O). With only limited users(500)using the
site now, we didn't notice a obvious impact. However, we will have more
users in the future and the psml cache will be a good thing to have. Without
turning it off, is there a setting to control the expiration of the psml
cache? 
Andy 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: Refreshing a psml reference


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 change
if they login again (even after a while). However, if the user login as the
first time, they could see the change. Of course, the change will be visible
to everyone after bouncing the tomcat. The sequence is like this.
-login as user1 then logout
-change the group psml that is referenced by user1's psml
-login as user2 to verify the referenced psml is changed.
-if yes from pervious step, login as user1
-too bad, the user1 still don't see the change.
It seems that there is caching happened for user1. However we are not sure
which setting could affect this. We also waited overnight expecting the
cache will expire. That did not happen either. 
Has anyone actively using reference? Any experience with this issue?
Thanks!
Andy

-
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: 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:

http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/services/psmlmanager/PsmlManagerService.html#refresh(org.apache.jetspeed.om.profile.ProfileLocator)

I'd dig into that class to gain a better understanding of how caching
of psml documents actually happens.  What you're experiencing implies
that it happens on a user by user basis, which does not make a whole
lot of sense to me, at least for group and role based psml documents.

Dan

--- [EMAIL PROTECTED] wrote:

 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 refresh issue.
 Is this change recommended? It is obviously for a performance reason
 (probably save time on File I/O). With only limited users(500)using
 the
 site now, we didn't notice a obvious impact. However, we will have
 more
 users in the future and the psml cache will be a good thing to have.
 Without
 turning it off, is there a setting to control the expiration of the
 psml
 cache? 
 Andy 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 17, 2004 11:05 AM
 To: [EMAIL PROTECTED]
 Subject: Refreshing a psml reference
 
 
 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
 change
 if they login again (even after a while). However, if the user login
 as the
 first time, they could see the change. Of course, the change will be
 visible
 to everyone after bouncing the tomcat. The sequence is like this.
 -login as user1 then logout
 -change the group psml that is referenced by user1's psml
 -login as user2 to verify the referenced psml is changed.
 -if yes from pervious step, login as user1
 -too bad, the user1 still don't see the change.
 It seems that there is caching happened for user1. However we are not
 sure
 which setting could affect this. We also waited overnight expecting
 the
 cache will expire. That did not happen either. 
 Has anyone actively using reference? Any experience with this issue?
 Thanks!
 Andy
 
 -
 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: 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 allows one to access the original response which is
exactly what I wanted to prevent, but anyone doing so should be careful anyway.
You also wrote in a previous message you encountered a problem with missing
taglib classes. Could you tell me which these were, and when they are accessed?
I'm puzzled because I created this portlet version of the mail-reader demo and
didn't have this problem yet.
Ate Douma
Jeff Sheets wrote:
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 = new EmptyHttpServletResponseImpl();
}
to this:
if (actionRequest) {
res = new EmptyHttpServletResponseWrapper(res);
}
Weblogic seems to be okay with it, and now I feel much better about
the code itself.
-- Jeff
-
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: 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
still digging and hopefully will find a good resolution.
This happened in a user by user basis because one user has psml cached but
the other one doesn't. 
Andy

-Original Message-
From: Dan Moore [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 2:05 PM
To: Jetspeed Users List
Subject: RE: Refreshing a psml reference


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:

http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/services/ps
mlmanager/PsmlManagerService.html#refresh(org.apache.jetspeed.om.profile.Pro
fileLocator)

I'd dig into that class to gain a better understanding of how caching
of psml documents actually happens.  What you're experiencing implies
that it happens on a user by user basis, which does not make a whole
lot of sense to me, at least for group and role based psml documents.

Dan

--- [EMAIL PROTECTED] wrote:

 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 refresh issue.
 Is this change recommended? It is obviously for a performance reason
 (probably save time on File I/O). With only limited users(500)using
 the
 site now, we didn't notice a obvious impact. However, we will have
 more
 users in the future and the psml cache will be a good thing to have.
 Without
 turning it off, is there a setting to control the expiration of the
 psml
 cache? 
 Andy 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 17, 2004 11:05 AM
 To: [EMAIL PROTECTED]
 Subject: Refreshing a psml reference
 
 
 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
 change
 if they login again (even after a while). However, if the user login
 as the
 first time, they could see the change. Of course, the change will be
 visible
 to everyone after bouncing the tomcat. The sequence is like this.
 -login as user1 then logout
 -change the group psml that is referenced by user1's psml
 -login as user2 to verify the referenced psml is changed.
 -if yes from pervious step, login as user1
 -too bad, the user1 still don't see the change.
 It seems that there is caching happened for user1. However we are not
 sure
 which setting could affect this. We also waited overnight expecting
 the
 cache will expire. That did not happen either. 
 Has anyone actively using reference? Any experience with this issue?
 Thanks!
 Andy
 
 -
 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]



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 been sucessful in overriding the getTitle() method on the
VelocityPortlet.  However, Kim asks the $64000 question:

Any pointers on how to get [the locale] inside the getTitle() method?

I was looking through some of the other Jetspeed source code and saw
this kind of call:

   this.runDataService =
   (JetspeedRunDataService)TurbineServices.getInstance()
   .getService(RunDataService.SERVICE_NAME);
rundata = this.runDataService.getCurrentRunData();

This seemed like it would work, since if the rundata can give me the
user object.  However, when I put this code in my subclass of
VelocityPortlet, I don't get a JetspeedRunDataService back from 
TurbineServices.getInstance().getService(RunDataService.SERVICE_NAME)

Instead, I get an instance of
org.apache.jetspeed.services.resources.JetspeedResourceService, even
though RunDataService.SERVICE_NAME is RunDataService.

I tried just instantiating JetspeedRunDataService and calling init on
it, but that give me a null pointer exception (and the Turbine services
webpage implies that that is not what I should be doing, since services
are singletons:
http://jakarta.apache.org/turbine/turbine/development/turbine-2.3/services/index.html).

What's the proper way to get the User object from a VelocityPortlet? 
I'm overriding getTitle(), so I need to get the User object in there.

Thanks,
Dan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 right: it is still referenced
from the app.tld although I stripped it usage from the sources.
It seems Weblogic actually scans the tld and requires each referenced
tag implementation class to be present. Tomcat/Jasper doesn't have this
'requirement' :-)
I'll remove the reference from the app.tld too this evening.
Thanks for the report!
Could you tell me if the ServletContextProvider spi interface implementation
was easy for Weblogic?
I have a report from another dev team using the Struts-Bridge on Vignette
Application Portal (successfully) who needed to change the interface to be able
to realize the implementation.
(Guys, if you are reading this: I haven't found the time yet to see if I
can incorporate your requirements but I have that still on my todo list.)
Maybe if could be interesting to create a repository of spi implementations
for different portals providing a quick start for new users.
Would you be allowed and willing to submit your implementation under ASF 
license?
Regards, Ate
Also, I suspect Weblogic might be accessing the original response
anyway, although this should be a bug in their code.
And I must say, great working in writing the struts bridge!  This will
save us many hours when we portletize our apps!
Thanks!
-- Jeff
On Wed, 17 Nov 2004 22:14:15 +0100, Ate Douma [EMAIL PROTECTED] wrote:
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 allows one to access the original response which is
exactly what I wanted to prevent, but anyone doing so should be careful anyway.
You also wrote in a previous message you encountered a problem with missing
taglib classes. Could you tell me which these were, and when they are accessed?
I'm puzzled because I created this portlet version of the mail-reader demo and
didn't have this problem yet.
Ate Douma

Jeff Sheets wrote:
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 = new EmptyHttpServletResponseImpl();
   }
to this:
   if (actionRequest) {
   res = new EmptyHttpServletResponseWrapper(res);
   }
Weblogic seems to be okay with it, and now I feel much better about
the code itself.
-- Jeff
-
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: 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

If you need more information, please let me know.

Win Pe



-Original Message-
From: Dan Moore [mailto:[EMAIL PROTECTED]
Sent: Thursday, 18 November 2004 02:16
To: Jetspeed Users List
Subject: Re: Static content


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.
 
 
 -
 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: 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 PROTECTED] wrote:
 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 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 right: it is still referenced
  from the app.tld although I stripped it usage from the sources.
  It seems Weblogic actually scans the tld and requires each referenced
  tag implementation class to be present. Tomcat/Jasper doesn't have this
  'requirement' :-)
  I'll remove the reference from the app.tld too this evening.
  Thanks for the report!
 
  Could you tell me if the ServletContextProvider spi interface implementation
  was easy for Weblogic?
  I have a report from another dev team using the Struts-Bridge on Vignette
  Application Portal (successfully) who needed to change the interface to be 
  able
  to realize the implementation.
  (Guys, if you are reading this: I haven't found the time yet to see if I
  can incorporate your requirements but I have that still on my todo list.)
 
  Maybe if could be interesting to create a repository of spi implementations
  for different portals providing a quick start for new users.
  Would you be allowed and willing to submit your implementation under ASF 
  license?
 
  Regards, Ate
 
 
 
  
   Also, I suspect Weblogic might be accessing the original response
   anyway, although this should be a bug in their code.
  
   And I must say, great working in writing the struts bridge!  This will
   save us many hours when we portletize our apps!
  
   Thanks!
   -- Jeff
  
  
   On Wed, 17 Nov 2004 22:14:15 +0100, Ate Douma [EMAIL PROTECTED] wrote:
  
  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 allows one to access the original response which 
  is
  exactly what I wanted to prevent, but anyone doing so should be careful 
  anyway.
  
  You also wrote in a previous message you encountered a problem with 
  missing
  taglib classes. Could you tell me which these were, and when they are 
  accessed?
  I'm puzzled because I created this portlet version of the mail-reader 
  demo and
  didn't have this problem yet.
  
  Ate Douma
  
  
  
  Jeff Sheets wrote:
  
  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 = new EmptyHttpServletResponseImpl();
  }
  to this:
  if (actionRequest) {
  res = new EmptyHttpServletResponseWrapper(res);
  }
  
  Weblogic seems to be okay with it, and now I feel much better about
  the code itself.
  -- Jeff
  
  -
  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]



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 me yet (?), so no worries about second 
posts :-)
Thanks for the answer.
Ate

On Wed, 17 Nov 2004 17:48:24 -0600, Jeff Sheets [EMAIL PROTECTED] wrote:
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 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 right: it is still referenced
from the app.tld although I stripped it usage from the sources.
It seems Weblogic actually scans the tld and requires each referenced
tag implementation class to be present. Tomcat/Jasper doesn't have this
'requirement' :-)
I'll remove the reference from the app.tld too this evening.
Thanks for the report!
Could you tell me if the ServletContextProvider spi interface implementation
was easy for Weblogic?
I have a report from another dev team using the Struts-Bridge on Vignette
Application Portal (successfully) who needed to change the interface to be able
to realize the implementation.
(Guys, if you are reading this: I haven't found the time yet to see if I
can incorporate your requirements but I have that still on my todo list.)
Maybe if could be interesting to create a repository of spi implementations
for different portals providing a quick start for new users.
Would you be allowed and willing to submit your implementation under ASF 
license?
Regards, Ate


Also, I suspect Weblogic might be accessing the original response
anyway, although this should be a bug in their code.
And I must say, great working in writing the struts bridge!  This will
save us many hours when we portletize our apps!
Thanks!
-- Jeff
On Wed, 17 Nov 2004 22:14:15 +0100, Ate Douma [EMAIL PROTECTED] wrote:

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 allows one to access the original response which is
exactly what I wanted to prevent, but anyone doing so should be careful anyway.
You also wrote in a previous message you encountered a problem with missing
taglib classes. Could you tell me which these were, and when they are accessed?
I'm puzzled because I created this portlet version of the mail-reader demo and
didn't have this problem yet.
Ate Douma

Jeff Sheets wrote:

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 = new EmptyHttpServletResponseImpl();
  }
to this:
  if (actionRequest) {
  res = new EmptyHttpServletResponseWrapper(res);
  }
Weblogic seems to be okay with it, and now I feel much better about
the code itself.
-- Jeff
-
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]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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 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 right: it is still referenced
 from the app.tld although I stripped it usage from the sources.
 It seems Weblogic actually scans the tld and requires each referenced
 tag implementation class to be present. Tomcat/Jasper doesn't have this
 'requirement' :-)
 I'll remove the reference from the app.tld too this evening.
 Thanks for the report!
 
 Could you tell me if the ServletContextProvider spi interface implementation
 was easy for Weblogic?
 I have a report from another dev team using the Struts-Bridge on Vignette
 Application Portal (successfully) who needed to change the interface to be 
 able
 to realize the implementation.
 (Guys, if you are reading this: I haven't found the time yet to see if I
 can incorporate your requirements but I have that still on my todo list.)
 
 Maybe if could be interesting to create a repository of spi implementations
 for different portals providing a quick start for new users.
 Would you be allowed and willing to submit your implementation under ASF 
 license?
 
 Regards, Ate
 
 
 
 
  Also, I suspect Weblogic might be accessing the original response
  anyway, although this should be a bug in their code.
 
  And I must say, great working in writing the struts bridge!  This will
  save us many hours when we portletize our apps!
 
  Thanks!
  -- Jeff
 
 
  On Wed, 17 Nov 2004 22:14:15 +0100, Ate Douma [EMAIL PROTECTED] wrote:
 
 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 allows one to access the original response which is
 exactly what I wanted to prevent, but anyone doing so should be careful 
 anyway.
 
 You also wrote in a previous message you encountered a problem with missing
 taglib classes. Could you tell me which these were, and when they are 
 accessed?
 I'm puzzled because I created this portlet version of the mail-reader demo 
 and
 didn't have this problem yet.
 
 Ate Douma
 
 
 
 Jeff Sheets wrote:
 
 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 = new EmptyHttpServletResponseImpl();
 }
 to this:
 if (actionRequest) {
 res = new EmptyHttpServletResponseWrapper(res);
 }
 
 Weblogic seems to be okay with it, and now I feel much better about
 the code itself.
 -- Jeff
 
 -
 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]



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 side.

So... is there any settings to be done to solve this problem?

Thank you.
Thilina.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 Message-
From: Thilina
To: JetSpeed
Sent: 11/17/04 10:07 PM
Subject: IFrame portlet

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 side.

So... is there any settings to be done to solve this problem?

Thank you.
Thilina.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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.. can u send me some guide link about WebContentPortlet?

Thank you.
Thilina.


On Thu, 2004-11-18 at 11:29, Randy Watler wrote:
 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 Message-
 From: Thilina
 To: JetSpeed
 Sent: 11/17/04 10:07 PM
 Subject: IFrame portlet
 
 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 side.
 
 So... is there any settings to be done to solve this problem?
 
 Thank you.
 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: 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 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 Message-
From: Thilina
To: JetSpeed
Sent: 11/17/04 10:07 PM
Subject: IFrame portlet

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 side.

So... is there any settings to be done to solve this problem?

Thank you.
Thilina.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]