RE: How to deal with user images ?

2002-03-20 Thread Emmanuel Bardet

Paul, Chris,

Thank you for your views. I wanted to get the image source through
Turbine/Jetspeed and RawScreen seems to be the right way. However, as I will
also need to generate jpg dynamically in the future I'll take the external
servlet path, Cocoon.

Thanks.

Emmanuel.

-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: 20 March 2002 13:48
To: Jetspeed Users List
Subject: Re: How to deal with user images ?


Emmanuel,
I have 2 suggesstion, neither involves Jetspeed.

1) Write you own webapp that returns an image, url =
http://localhost/db_image/mylogo.jpg.

2) Use Cocoon2 to generate the image.

Paul Spencer

Emmanuel Bardet wrote:

> Hello all,
>
> I'm after a solution to display in a velocity portlet an image stored in a
> db. Has anybody faced this before ?
>
> Thanks for your help.
>
> Emmanuel.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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




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




How to deal with user images ?

2002-03-20 Thread Emmanuel Bardet

Hello all,

I'm after a solution to display in a velocity portlet an image stored in a
db. Has anybody faced this before ?

Thanks for your help.

Emmanuel.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: problem with VelocityPortlet and VelocityPortletAction

2002-03-19 Thread Emmanuel Bardet

PEID = PSML/Portlet Entry ID

E.

-Original Message-
From: Xavier Michel [mailto:[EMAIL PROTECTED]]
Sent: 19 March 2002 19:16
To: Jetspeed Users List
Subject: RE: problem with VelocityPortlet and VelocityPortletAction


Paul,

what is PEIDs ?

Xa.

-Message d'origine-
De : Paul Spencer [mailto:[EMAIL PROTECTED]]
Envoye : mardi 19 mars 2002 04:27
A : Jetspeed Users List
Objet : Re: problem with VelocityPortlet and VelocityPortletAction


Michel,
This is a problem we are looking to solve with the implementation of PEIDs.

Paul Spencer

Xavier Michel wrote:

> Hi everyone,
>
> I define PortletA and PortletB in my registry, two VelocityPortlet :
>
>  application="false">
>
> org.apache.jetspeed.portal.portlets.VelocityPortlet
> ...
> 
> 
> 
>  application="false">
>
> org.apache.jetspeed.portal.portlets.VelocityPortlet
> ...
> 
> 
> 
>
> PortletA use ActionA and PortletB use ActionB.
>
> In ActionA I wrote method doAdd.
> In ActionB I wrote method doAdd, same name but different method.
>
> If I use this two Portlets on the same screen and call the method doAdd
for
> one of them, both will be execute, ActionA.doAdd() and ActionB.doAdd().
>
>
> In fact, the problem come from VelocityPortlet. In getContext method of
> VelocityPortlet, the action is load each time.
> When you call an action and pass the param eventsubmit_doAdd, all the
> VelocityPortlet present on your page, will be execute the methods doAdd of
> there VelocityPortletAction's.
>
> I'm sorry, but I dont understand why VelocityPortlet use the Action
> mechanisme of turbine? Why not just write an abstract VelocityPortlet with
> BuildMaximiseContext(), BuildCustomiseContext() BuildNormalContext()
method
> to overwrite ?
>
> I hope that help.
> Regards
>
> Xa.
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Page Expired problem when click "back" after login

2002-03-19 Thread Emmanuel Bardet

Paul,

Actually, I guess my problem resides on the client side as the server
doesn't seem to get any hit. Which is why I questioned you about the scope
of http.lifetime.

Emmanuel.

-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: 19 March 2002 16:16
To: Jetspeed Users List
Subject: Re: Page Expired problem when click "back" after login


Emmanuel,
I was hoping the answer was WebPagePortlet :(  Anyway.

The CustomizerVelocity is not cacheable, this the content is generated
each time.  For what ever reason the database query is not being
executed every time getContent() is called by Jetspeed.  Suggest you add
some debugging around the database query.  Also check jetspeed.log for
clues.

Paul Spencer


Emmanuel Bardet wrote:

> Paul,
>
> It's a velocity portlet.
>
>  parent="CustomizerVelocity" application="false">
>
> Thank you for your interrest.
>
> Emmanuel.
>
> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED]]
> Sent: 19 March 2002 15:00
> To: Jetspeed Users List
> Subject: Re: Page Expired problem when click "back" after login
>
>
> Emmanuel,
> What is portlet type are you using, i.e. WebPagePortlet?
>
> Paul Spencer
>
>
> Emmanuel Bardet wrote:
>
>
>>Ok Paul. I just need to understand what's going on with my app.
>>
>>Say that I have two portlets 1. and 2.
>>
>>The 1st allows me to list the ducks I have in the db, for each duck
>>
> there's
>
>>a link to the edit form (ie the second portlet), another to delete. And
>>finally a link to New duck. Pretty common portlet.
>>
>>Now, here's the steps.
>>
>>1. I log in
>>2. I go to  where there are 10 ducks
>>3. I go to  to add a new one.
>>4. The duck added I log out.
>>5. I log in again
>>6. I go to  where there are still 10 ducks in place of 11
>>
>>http.lifetime is set to 0 and all this drives me nuts. ;-)
>>
>>Any idea ?
>>
>>Emmanuel.
>>
>>
>>-Original Message-
>>From: Paul Spencer [mailto:[EMAIL PROTECTED]]
>>Sent: 19 March 2002 14:25
>>To: Jetspeed Users List
>>Subject: Re: Page Expired problem when click "back" after login
>>
>>
>>Emmanuel Bardet wrote:
>>
>> > I see. So, if I understand it the right way the page might be cached
>> >  on the server. In case this statement is true, how can I disable
>> > it for all or specific pages ?
>> >
>>
>>A proxy server or other server/firewall may cache a page, not the
>>jetspeed server.  Currently http.lifetime affects all pages.
>>
>>
>>Paul Spencer
>>
>>
>>--
>>To unsubscribe, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:
>>
> <mailto:[EMAIL PROTECTED]>
>
>>For additional commands, e-mail:
>>
> <mailto:[EMAIL PROTECTED]>
>
>>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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




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




RE: Page Expired problem when click "back" after login

2002-03-19 Thread Emmanuel Bardet

Paul,

It's a velocity portlet.



Thank you for your interrest.

Emmanuel.

-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: 19 March 2002 15:00
To: Jetspeed Users List
Subject: Re: Page Expired problem when click "back" after login


Emmanuel,
What is portlet type are you using, i.e. WebPagePortlet?

Paul Spencer


Emmanuel Bardet wrote:

> Ok Paul. I just need to understand what's going on with my app.
>
> Say that I have two portlets 1. and 2.
>
> The 1st allows me to list the ducks I have in the db, for each duck
there's
> a link to the edit form (ie the second portlet), another to delete. And
> finally a link to New duck. Pretty common portlet.
>
> Now, here's the steps.
>
> 1. I log in
> 2. I go to  where there are 10 ducks
> 3. I go to  to add a new one.
> 4. The duck added I log out.
> 5. I log in again
> 6. I go to  where there are still 10 ducks in place of 11
>
> http.lifetime is set to 0 and all this drives me nuts. ;-)
>
> Any idea ?
>
> Emmanuel.
>
>
> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED]]
> Sent: 19 March 2002 14:25
> To: Jetspeed Users List
> Subject: Re: Page Expired problem when click "back" after login
>
>
> Emmanuel Bardet wrote:
>
>  > I see. So, if I understand it the right way the page might be cached
>  >  on the server. In case this statement is true, how can I disable
>  > it for all or specific pages ?
>  >
>
> A proxy server or other server/firewall may cache a page, not the
> jetspeed server.  Currently http.lifetime affects all pages.
>
>
> Paul Spencer
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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




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




RE: Page Expired problem when click "back" after login

2002-03-19 Thread Emmanuel Bardet

Ok Paul. I just need to understand what's going on with my app.

Say that I have two portlets 1. and 2.

The 1st allows me to list the ducks I have in the db, for each duck there's
a link to the edit form (ie the second portlet), another to delete. And
finally a link to New duck. Pretty common portlet.

Now, here's the steps.

1. I log in
2. I go to  where there are 10 ducks
3. I go to  to add a new one.
4. The duck added I log out.
5. I log in again
6. I go to  where there are still 10 ducks in place of 11

http.lifetime is set to 0 and all this drives me nuts. ;-)

Any idea ?

Emmanuel.


-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: 19 March 2002 14:25
To: Jetspeed Users List
Subject: Re: Page Expired problem when click "back" after login


Emmanuel Bardet wrote:

 > I see. So, if I understand it the right way the page might be cached
 >  on the server. In case this statement is true, how can I disable
 > it for all or specific pages ?
 >

A proxy server or other server/firewall may cache a page, not the
jetspeed server.  Currently http.lifetime affects all pages.


Paul Spencer


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




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




RE: Page Expired problem when click "back" after login

2002-03-19 Thread Emmanuel Bardet

I see. So, if I understand it the right way the page might be cached on the
server. In case this statement is true, how can I disable it for all or
specific pages ?

-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: 19 March 2002 14:04
To: Jetspeed Users List
Subject: Re: Page Expired problem when click "back" after login


Emmanuel Bardet wrote:

> Paul,
>
> Does that mean that each time I request a page I should have a newly
> generated instance ? If so, this is not the case on my server even with
> http.lifetime=0 in JR.p. Any idea ?
>
> Emmanuel.


No,  It just means the browser, and proxy servers, will not cache the page.

Paul Spencer

>
> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED]]
> Sent: 18 March 2002 22:02
> To: Jetspeed Users List
> Subject: Re: Page Expired problem when click "back" after login
>
>
> By default jetspeed generates pages that will not be cached and are
> "expired".  You can control the lifetime of a page with the property
> http.lifetime in JR.p.  Keep in mind that caching can occur in many
> places, including the browser and any proxy servers between your browser
> and the Jetspeed server.
>
> Paul Spencer
>
> Irene Huang wrote:
>
>
>>Hello,
>>
>>After I login jetpeed and click "Back", I got "Warning: Page has Expired".
>>And I have to click refresh to get to the page.  How should I fix it?
>>
>>
>>Thank your for the help :)
>>
>>
>>Irene
>>
>>--
>>To unsubscribe, e-mail:
>>
> <mailto:[EMAIL PROTECTED]>
>
>>For additional commands, e-mail:
>>
> <mailto:[EMAIL PROTECTED]>
>
>>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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




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




RE: Page Expired problem when click "back" after login

2002-03-19 Thread Emmanuel Bardet

Paul,

Does that mean that each time I request a page I should have a newly
generated instance ? If so, this is not the case on my server even with
http.lifetime=0 in JR.p. Any idea ?

Emmanuel.

-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: 18 March 2002 22:02
To: Jetspeed Users List
Subject: Re: Page Expired problem when click "back" after login


By default jetspeed generates pages that will not be cached and are
"expired".  You can control the lifetime of a page with the property
http.lifetime in JR.p.  Keep in mind that caching can occur in many
places, including the browser and any proxy servers between your browser
and the Jetspeed server.

Paul Spencer

Irene Huang wrote:

> Hello,
>
> After I login jetpeed and click "Back", I got "Warning: Page has Expired".
> And I have to click refresh to get to the page.  How should I fix it?
>
>
> Thank your for the help :)
>
>
> Irene
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:

For additional commands, e-mail:





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Trying to make a confirmation page after login.

2002-03-13 Thread Emmanuel Bardet

Down to the Jetspeed gurus...

Quick thought though. What about having the check box in the login screen ?
Or in the login form which stands in the home page ?

-Original Message-
From: Burmeister, Mark [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2002 21:55
To: 'Jetspeed Users List'
Subject: RE: Trying to make a confirmation page after login.


This is a requirement that was handed down to me.
They want a user to agree everytime they login.
I was thinking of using the
screen.homepage=Home in the turbine properties but that only displays the
first time they login, not at everylogin.
Any ideas are welcome...


-Original Message-----
From: Emmanuel Bardet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 4:53 PM
To: Jetspeed Users List
Subject: RE: Trying to make a confirmation page after login.


Not sure about it but you could just add a check box in the user creation
page, couldn't you ? I can't see why you need to have the user to agree to
your terms at each login.

-Original Message-
From: Burmeister, Mark [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2002 21:40
To: '[EMAIL PROTECTED]'
Subject: Trying to make a confirmation page after login.


I am tring to implement a confirmation page after every successfull login to
Jetspeed.
I want the user to have to agree to the terms of my site before continuing.
I have successfully been able to do this modifying the home.vm file.  The
main problem I keep encountering is that every other action performed by the
page causes the confirmation page to be shown again.
I only want this to happen right after login, have the user hit agree and
not be presented with this page until they login again.
Any idea how best I could implement this feature?

I tried setting extending the JLoginClass and setting a message.  The I
tested for that message in the home.vm file.
The problem with this is it causes the agreement page to show up everytime
you perform an action.

Newbee at java and Jetspeed.

please help.
Thanks
Mark



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



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




RE: Trying to make a confirmation page after login.

2002-03-13 Thread Emmanuel Bardet

Not sure about it but you could just add a check box in the user creation
page, couldn't you ? I can't see why you need to have the user to agree to
your terms at each login.

-Original Message-
From: Burmeister, Mark [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2002 21:40
To: '[EMAIL PROTECTED]'
Subject: Trying to make a confirmation page after login.


I am tring to implement a confirmation page after every successfull login to
Jetspeed.
I want the user to have to agree to the terms of my site before continuing.
I have successfully been able to do this modifying the home.vm file.  The
main problem I keep encountering is that every other action performed by the
page causes the confirmation page to be shown again.
I only want this to happen right after login, have the user hit agree and
not be presented with this page until they login again.
Any idea how best I could implement this feature?

I tried setting extending the JLoginClass and setting a message.  The I
tested for that message in the home.vm file.
The problem with this is it causes the agreement page to show up everytime
you perform an action.

Newbee at java and Jetspeed.

please help.
Thanks
Mark



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Permission not work in 1.3a2

2002-02-20 Thread Emmanuel Bardet

Just pop in for a sec, Gus.

Can the security entry handles a list ?

Something like

#

or




> -Original Message-
> From: gus [mailto:[EMAIL PROTECTED]]
> Sent: mercredi 20 fevrier 2002 07:56
> To: Jetspeed Users List
> Subject: Re: Permission not work in 1.3a2
>
>
> Eric Chow schrieb:
> > When I disabled the "customize" and "personalize" for
> > some specific users in admin role, those users still
> > can customize their page. Or I disable the "customize"
> > permission in the "Security Role Browser" for the role
> > of "user", it still not work.
>
> To make the permissions have an effect the portlets must have a  role="rolename"/> entry in the .xreg files.
> E.g. you want to disable maximize and minimize on the
> HelloVelocity portlet:
> - Disable maximize and minimize permission in role "user"
> - Add the  entry to the HelloVelocity entry in the .xreg:
>  parent="CustomizerVelocity" application="false">
> 
> [...]
> 
>
> Fur further information refer to
> http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg01868.html
>
>
> > Platform: JetSpeed 1.3a2 with (Tomcat4.0.2 + JDK1.4)
>
> I recently upgraded to 1.3a3-dev (see "Nightly build" on the web
> page). IMHO
> it's more stable and some bugs concerning customization and security are
> fixed.
>
>   gus
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Proxy configuration for Jetspeed

2002-02-05 Thread Emmanuel Bardet

Does your proxy requires a username/password pair ? If so, you need to
specify those info as well.

Following is not the solution but a rep of what I'm talking about. I don't
know how to implement this within jetspeed though.

URL url = new URL("Some URL");

String authString = "username:password";
String auth = "Basic " + (new
sun.misc.BASE64Encoder()).encode(authString.getBytes());

URLConnection con = url.openConnection() ;
con.setRequestProperty("Proxy-Authorization", auth);

Another brick in the wall. ;-)

Emmanuel.

> -Original Message-
> From: Gaab, Joel - Belle Plaine [mailto:[EMAIL PROTECTED]]
> Sent: mardi 5 février 2002 14:30
> To: 'Jetspeed Users List'
> Subject: RE: Proxy configuration for Jetspeed
>
>
> Thanks but I have tried setting CATALINA_OPTS as a system environment
> variable and also in the Catalina.bat file.  In both cases the proxy seems
> to fail.
>
>
> -Original Message-
> From: Michel Bergijk [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 05, 2002 7:50 AM
> To: Jetspeed Users List
> Subject: RE: Proxy configuration for Jetspeed
>
>
> Joel,
>
> Did you try to set CATALINA_OPTS in your Environment Variables?
>
> As in Start -> Settings -> System, Advanced tab, Environment Variables
> button. In the user settings box, press new and enter your data
> in the next
> window.
>
> See the FAQ of your installation.
>
> Regards,
> Michel
>
>
> -Original Message-
> From: Gaab, Joel - Belle Plaine [mailto:[EMAIL PROTECTED]]
> Sent: dinsdag 5 februari 2002 14:37
> To: Jetspeed Users List
> Subject: Proxy configuration for Jetspeed
>
>
> Hello
>
> I am having a difficult time getting Jetspeed to work with my company's
> proxy.  I have searched the mailing list archives and the available
> documentation and I still can't find what I am doing wrong.
>
> I am running tomcat 4 with JDK1.3 and jetspeed 1.3a2 on W2K Pro
> I have edited the catalina.bat file with the following:
>
> set CATALINA_OPTS=-DproxySet=true -DproxyHost=proxy.mycompany.com
> -DproxyPort=0080
> also tried
> set CATALINA_OPTS=-DproxySet=true -DproxyHost=proxy.mycompany.com
> -DproxyPort=80
> it made no difference.
>
> I am cleaning out the offending URLs in the
> Datasources.properties file each
> time I try something different.
>
> The Datasources.properties file looks like this after a failure:
>
> entry.1.url=jndi:/localhost/jetspeed/WEB-INF/xsl/ocs.xsl
> entry.1.status=1
> entry.2.url=http://jakarta.apache.org/jetspeed/channels/jetspeed.rss
> entry.2.status=14
> entry.3.url=http://www.xmlhack.com/rsscat.php
> entry.3.status=14
> entry.4.url=jndi:/localhost/jetspeed/rss/admin.rss
> entry.4.status=1
> entry.5.url=jndi:/localhost/jetspeed/rss/Jetspeed.rss
> entry.5.status=1
> entry.6.url=jndi:/localhost/jetspeed/welcome.html
> entry.6.status=1
> entry.7.url=jndi:/localhost/jetspeed/WEB-INF/xsl/jpc-full.xsl
> entry.7.status=1
> entry.8.url=http://www.mozilla.org/news.rdf
> entry.8.status=14
> entry.9.url=jndi:/localhost/jetspeed/jcm/jetspeed-content.xml
> entry.9.status=1
> entry.10.url=jndi:/localhost/jetspeed/search/index.html
> entry.10.status=1
> entry.11.url=http://jakarta.apache.org/jetspeed/channels/turbine.rss
> entry.11.status=14
> entry.12.url=jndi:/localhost/jetspeed/WEB-INF/xsl/rss.xsl
> entry.12.status=1
> entry.13.url=http://www.apacheweek.com/issues/apacheweek-headlines.xml
> entry.13.status=14
> entry.14.url=jndi:/localhost/jetspeed/ocs/local.ocs
> entry.14.status=1
>
> Please help me!!!
>
> Joel
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
> --
> To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: help me plz!

2002-02-04 Thread Emmanuel Bardet

Try a search on "tutorial", you'll find a couple of links.

> -Original Message-
> From: Jason CHENG [mailto:[EMAIL PROTECTED]]
> Sent: lundi 4 février 2002 08:53
> To: [EMAIL PROTECTED]
> Subject: help me plz!
>
>
> hi,
>
> I am new to Jetspeed and I was wondering if anyone could direct
> me to some
> good refereces or web sites to learn this product in a shortest time
> possible.
>
> thank you!
>
> Jason  :-)
>
> _
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Jetspeed Pages and Refresh

2002-02-01 Thread Emmanuel Bardet

Hello gents,

Sorry to come back on this but I don't get it,... yet.

As far as I understand, I can set the parameter http.lifetime to 0 to have
the header set to:

Cache-Control = "no-cache"
Last-Modified = (current time)
Pragma= "no-cache"
Expires   = "0"

As stated in the JR.p.

However, I always need to refresh manually the pages in order to load the
latest version. Is there anything I'm missing or doing wrong here ? It'd be
nice if I could get some help on this matter.

Thanks.

Emmanuel.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Finding native-language definitions

2002-02-01 Thread Emmanuel Bardet

I was about to reply the same ;-)

Seriously, it would be nice to use English only, thus you share the info
with all of us.

> -Original Message-
> From: Jaap Gorjup [mailto:[EMAIL PROTECTED]]
> Sent: vendredi 1 fevrier 2002 13:29
> To: Jetspeed Users List
> Subject: Re: Finding native-language definitions
>
>
> Beste Michel,
>
> Draait Tomcat wel standaard bij jou? Welke Java Virtual Machine en
> TomCat gebruik je ?
> In dit geval kan de Java Virtual Machine niet de Java classes laden.
> Deze zitten in een .jar file die beschikbaar moet zijn voor de TomCat
> engine (dus in de directory /WEB-INF/lib).
>
> Maar JetSpeed moet out-of-the-box draaien, dus het kan zijn dat je
> TomCat er niet goed in zit.
>
> Grtz,
>
> Jaap Gorjup
> marviQ Professional Services
>
> - Original Message -
> From: Michel Bergijk <[EMAIL PROTECTED]>
> Date: Friday, February 1, 2002 2:19 pm
> Subject: Finding native-language definitions
>
> > Hello Jetspeed users,
> >
> > For proof of concept of portals I am trying to connect to a system
> > that is
> > available by our intranet. When I start a comparable program from
> > the prompt
> > the program can connect to that system. When I try to obtain the
> > same with a
> > portal, I get a java.lang.NoClassDeffFoundError. The JavaDoc gives
> > me the
> > following explanation of this error:
> > Thrown if the Java Virtual Machine cannot find an appropriate
> > native-language definition of a method declared native.
> > Now I know that when I start the program from the prompt, native
> > librariesare used, stored as dll's in the c:\WINNT\system32
> > directory (I work on a
> > Win2000 client platform, using the jetspeed-1.3a2 release). Will find
> > Apache/Tomcat/Jetspeed these libraries? It seems to me this is not
> > the case.
> >
> >
> > With regards,
> >
> > Michel Bergijk
> > ABAP/4 Engineer
> > CMG Oost-Nederland B.V.
> > Division Trade, Transport & Industry
> > Meander 901
> > 6825 MH Arnhem
> > PO Box 7015
> > 6801 HA Arnhem
> > The Netherlands
> >
> >
> > --
> > To unsubscribe, e-mail:    > [EMAIL PROTECTED]>For additional commands, e-mail:
> > 
> >
> >
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Portal/Content Management alternatives

2002-01-29 Thread Emmanuel Bardet

Brad,

There was several messages about content management sent to the cocoon user
mailing list, have a look at those in the archive. Alternatively, You can go
to http://groups.yahoo.com/group/contentmanagementgroup/,
http://www.wyona.org/download/index.html (see the related projects).

Jetspeed is very fine for my own use.

Have fun.



> -Original Message-
> From: Brad Smith [mailto:[EMAIL PROTECTED]]
> Sent: mardi 29 janvier 2002 16:00
> To: Jetspeed Users List
> Subject: Portal/Content Management alternatives
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I am looking for content management system based in java that
> will allow me
> to create a intranet web site which provides:
>
> 1. news and information about the projects we have on-going as
> well as links
> to documentation, etc. (nothing special here).
>
> 2. log-in / authentication for team members which provides access to
> additional pages so that each team member can (a) post / edit /
> archive news
> items; (b) upload files with annotation for public distribution.
> Files and
> news have categories so that they are placed on appropriate
> sections of the
> web site.
>
> 3. rss feeds of news items so that other intranet web sites can
> pick up and
> display our news items.
>
> It seems to me after looking carefully over Jetspeed
> documentation, that it
> is too powerful for the items above, and Velocity too basic. I am
> looking for
> something that is a java-based equivalent to php-nuke or postnuke.
>
> Am I correct that Jetspeed is a poor fit for my purposes? Can someone
> recommend alternatives?
>
> Thanks
>
> Brad Smith
> [EMAIL PROTECTED]
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8Vsb2z+N9ZUywevwRAs5fAJ9umBkMgcX+XhfA7tLNfmOjHbQitACdHW4E
> T7tDseJG4laJQxT5cdixY3s=
> =SC7E
> -END PGP SIGNATURE-
>
> --
> To unsubscribe, e-mail:

For additional commands, e-mail:




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Who generated a portal page? Please, help!

2002-01-25 Thread Emmanuel Bardet

Paul,

Does that mean that it should appear in my html page ? If so, it doesn't on
mine for some reason, here's what I get:
  
http://test-cpt:8080/"; />

  

which corresponds to what I have in default.vm ie:
  


  

I was about to put the meta tags manually but you seem to point out a
prettiest solution I don't get. I must be missing something.

Emmanuel.

> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED]]
> Sent: vendredi 25 janvier 2002 17:44
> To: Jetspeed Users List
> Subject: Re: Who generated a portal page? Please, help!
>
>
> Sergei,
>
> See the JR.p parameter http.lifetime on controlling the cache.  I have
> found the some proxy server do not use META tags, thus we set the cache
> control in the header.  Bellow is from JR.p
>
> #
> # HTTP Page header  #
> #
> # http.lifetime is the lifetime of the page as set in the
> # HTTP Headers
> #  -1 = Do not set cache related headers (Jetspeed 1.3a1 behavior)
> #   0 = set the following http headers
> #   Cache-Control = "no-cache"
> #   Last-Modified = (current time)
> #   Pragma= "no-cache"
> #   Expires   = "0"
> #   n where n is the number of seconds:
> #   Cache-Control = "max-age: n" where n is the number of seconds
> #   Last-Modified = (current time)
> #   Expires   = (current time + n seconds)
> http.lifetime=0
>
> Paul Spencer
>
> Sergei O. Naumov wrote:
>
> > On Wed, 23 Jan 2002 19:07:23 +0100
> > Santiago Gala <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>>This is precisely what I want but... I edited
> vm/layouts/html/default.vm
> >>>and it affected only the page that gets displayed BEFORE a
> user logs in.
> >>>After a user logs in it still shows a page without my changes.
> So, I wondered
> >>>if this gets generated from an another template which I could not find.
> >>>
> >>>
> >>Which version are you running? With current CVS (or a recent build) it
> >>
> >
> > 1.3a2.
> >
> >
> >>looks impossible. So maybe we have a new bug. Also, check if you
> >>restarted. It could be some funny caching issue with the session.
> >>
> >
> > The funny thing is that it started working. Probably it really
> was a caching
> > problem. The whole reason I need it is to add a  tag to
> force a browser
> > Mozilla or IE to switch encoding to UTF-8. For some reason,
> adding it to does
> > not make it switch - I always have to do it manually. Is there
> any other way
> > I can do it?
> >
> > Sergei
> >
> >
> > --
> > To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Success... Re: Converting from PSML files to a PSML Database

2002-01-25 Thread Emmanuel Bardet

I guess the message disappear because once the PSML files are imported in
your database, you're done. Thereafter, every time you restart your server,
you should get a message telling you there's nothing to import unless you
have created a new psml file in the meantime. When your files are imported
in your db, you can comment out the import service.

> -Original Message-
> From: Frans Thamura [mailto:[EMAIL PROTECTED]]
> Sent: vendredi 25 janvier 2002 08:19
> To: Jetspeed Users List
> Subject: Success... Re: Converting from PSML files to a PSML Database
>
>
> Hi all,
>
> I think if you want to convert your psml to PSML database,,
>
> you must see this in your console
>
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.1
> data instanceof ServletConfig
> Running PSMLImporter...
> PSMLImporter completed. Exported 19 profiles
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.1
>
> If you shutdown and restart , those messages still disappear, mean you
> jetspeed is still using PSML XML.
>
> cheers.
>
> Frans
>
> - Original Message -
> From: "Frans Thamura" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Friday, January 25, 2002 2:45 AM
> Subject: Re: Converting from PSML files to a PSML Database
>
>
> > Hi All,
> >
> > I were not follow the db_psml documentation, because it is use Oracle,
> >
> > I want to test it in Hypersonic.. to used dbPSML
> >
> > I just move the PSMLManager service in JSP become like this
> >
> #services.PsmlManager.classname=org.apache.jetspeed.services.psmlm
> anager.Cas
> > torPsmlManagerService
> >
> services.PsmlImportManager.classname=org.apache.jetspeed.services.
> psmlmanage
> > r.CastorPsmlManagerService
> >
> services.PsmlManager.classname=org.apache.jetspeed.services.psmlma
> nager.db.D
> > atabasePsmlManagerService
> >
> > i think this is the correct way, right.
> >
> > I try to run the ManageDb.bat from
> C:\tomcat4\webapps\jetspeed\WEB-INF\db
> >
> > and see there is a JETSPEED_USER_PROFILE, JETSPEED_GROUP_PROFILE,
> > JETSPEED_ROLE_PROFILE, JETSPEED_ANON_PROFILE which this file is exactly
> same
> > with the dbpsml-schema.sql from torque directory, which i have generated
> it
> > using ant...this steps are clear and correct, i think... ;)
> >
> > Afterthat, i run the tomcat (I used tomcat 4.01), and run the jetspeed
> like
> > usually (http://localhost:8080/jetspeed)
> >
> > and wow, the Jetspeed run, and there is a 1.3a3-dev.. and run well..
> >
> > and, i try to register new user, and wow several question show:
> >
> > 1. how can the jetspeed still create a psml files in psml directory.
> > 2. and no action has done to create a record in hypersonic table. this
> mean
> > the services is not working
> > 3. what is the steps that i can debug or know something that the db psml
> > services is running..
> >
> > Oke thanks ALl
> >
> > Frans
> > - Original Message -
> > From: "David Sean Taylor" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Thursday, January 10, 2002 11:57 PM
> > Subject: Re: Converting from PSML files to a PSML Database
> >
> >
> > > Im looking at the code now - om/dbpsml/JetspeedUserProfilePeer.java,
> line
> > > 158.
> > > It would appear that its an easy fix, but the problem is that
> this same
> > code
> > > is in two different cases:
> > >
> > > 1. public PSMLDocument getDocument(ProfileLocator locator)
> > > 2. public Iterator query(QueryLocator locator)
> > >
> > > In the first case, it would be OK to set the language to NULL, but not
> in
> > > the second.
> > >
> > > - Original Message -
> > > From: "Emmanuel Bardet" <[EMAIL PROTECTED]>
> > > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > > Sent: Thursday, January 10, 2002 1:51 AM
> > > Subject: RE: Converting from PSML files to a PSML Database
> > >
> > >
> > > > Gents,
> > > >
> > > > I know this is a boring thread but hey I guess it references a bug.
> > Shall
> > > I
> > > > raise it on Bugzilla or dig the source code myself ?
> > > >
> > > > Rgds,
> > > >
> > > > Emmanuel.
> > > >
> > > >
> > > >

How to work with two Velocity forms in a page ?

2002-01-17 Thread Emmanuel Bardet

Hello, s'me again!

How do I differentiate actions between two Velocity forms so that the right
portlet is used ?

...
VelocityPortlet1
http://cpt:8080/portal/template/Home"; method="post">



...
VelocityPortlet2
http://cpt:8080/portal/template/Home"; method="post">



...

This also refers the posted message
http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg01547.html

Thanks for your help,

Emmanuel.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Requested Action not found

2002-01-17 Thread Emmanuel Bardet

For those interrested, I have found the solution to this problem. It resides
in point 5.

The line  should
de facto read
.

Oh man! All this hassle for a single word. I hope this can help some buddy.

-Original Message-
From: Emmanuel Bardet [mailto:[EMAIL PROTECTED]]
Sent: mercredi 16 janvier 2002 21:31
To: [EMAIL PROTECTED]
Subject: Requested Action not found


Hello Gents,

I need help again. I want to set up my own Action package but I keep getting
"Requested Action not found". I tried to start with something I thought
easy, yo. Here's what I did so far:

1. In TR.p
module.packages=com.test.modules
module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules

2. Copied HelloAction.java to MenuAction.java + some modifications ie:
a. package com.test.modules.actions.portlets;
b. import
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction;
c. public class MenuAction extends VelocityPortletAction

3. Placed the compiled file MenuAction.class in
WEB-INF\classes\com\tousauregime\modules\actions\portlets\

4. Copied hello-customize.vm and hello.vm to respectively menu-customize.vm
and menu.vm

5. Added a test-portlets.xreg in conf with:




MenuVelocity
Simple Velocity Portlet Example








But I keep getting the following error in my log file:

...
[Wed Jan 16 21:11:43 GMT 2002] -- INFO -- cache miss, object
expired: -1653569551|template-menu|action-MenuAction|text-Hello World in
MenuVelocity
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- PortletFactory.getPortlet(): took
a total of 0
millisecond(s) -> -1653569551|template-menu|action-MenuAction|text-Hello
World in MenuVelocity
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage: requested
template = Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\screens\html\Customize.vm returning
/html/Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage: calculated
template = /html/Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\layouts\html\default.vm returning
/html/default.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage:
layoutTemplate is finally /html/default.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\navigations\html\top.vm returning /html/top.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\navigations\html\left.vm returning /html/left.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\controls\html\jetspeed.vm returning
/html/jetspeed.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- VelocityPortlet found action
MenuAction context org.apache.velocity.VelocityContext@71bd98
[Wed Jan 16 21:11:43 GMT 2002] -- ERROR --
Exception:  java.lang.ClassNotFoundException:

Requested Action not found: MenuAction
Turbine looked in the following modules.packages path:
[com.test.modules, org.apache.jetspeed.modules, org.apache.turbine.modules]

Stack Trace follows:
java.lang.ClassNotFoundException:

Requested Action not found: MenuAction
Turbine looked in the following modules.packages path:
[com.test.modules, org.apache.jetspeed.modules, org.apache.turbine.modules]

at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at
org.apache.jetspeed.portal.portlets.VelocityPortlet.getContent(VelocityPortl
et.java:139)
  ...


Could anybody help me on this ?

Thanks in advance.

Emmanuel.


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



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




Requested Action not found

2002-01-16 Thread Emmanuel Bardet

Hello Gents,

I need help again. I want to set up my own Action package but I keep getting
"Requested Action not found". I tried to start with something I thought
easy, yo. Here's what I did so far:

1. In TR.p
module.packages=com.test.modules
module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules

2. Copied HelloAction.java to MenuAction.java + some modifications ie:
a. package com.test.modules.actions.portlets;
b. import
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction;
c. public class MenuAction extends VelocityPortletAction

3. Placed the compiled file MenuAction.class in
WEB-INF\classes\com\tousauregime\modules\actions\portlets\

4. Copied hello-customize.vm and hello.vm to respectively menu-customize.vm
and menu.vm

5. Added a test-portlets.xreg in conf with:




MenuVelocity
Simple Velocity Portlet Example








But I keep getting the following error in my log file:

...
[Wed Jan 16 21:11:43 GMT 2002] -- INFO -- cache miss, object
expired: -1653569551|template-menu|action-MenuAction|text-Hello World in
MenuVelocity
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- PortletFactory.getPortlet(): took
a total of 0
millisecond(s) -> -1653569551|template-menu|action-MenuAction|text-Hello
World in MenuVelocity
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage: requested
template = Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\screens\html\Customize.vm returning
/html/Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage: calculated
template = /html/Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\layouts\html\default.vm returning
/html/default.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage:
layoutTemplate is finally /html/default.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\navigations\html\top.vm returning /html/top.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\navigations\html\left.vm returning /html/left.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\controls\html\jetspeed.vm returning
/html/jetspeed.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- VelocityPortlet found action
MenuAction context org.apache.velocity.VelocityContext@71bd98
[Wed Jan 16 21:11:43 GMT 2002] -- ERROR --
Exception:  java.lang.ClassNotFoundException:

Requested Action not found: MenuAction
Turbine looked in the following modules.packages path:
[com.test.modules, org.apache.jetspeed.modules, org.apache.turbine.modules]

Stack Trace follows:
java.lang.ClassNotFoundException:

Requested Action not found: MenuAction
Turbine looked in the following modules.packages path:
[com.test.modules, org.apache.jetspeed.modules, org.apache.turbine.modules]

at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at
org.apache.jetspeed.portal.portlets.VelocityPortlet.getContent(VelocityPortl
et.java:139)
  ...


Could anybody help me on this ?

Thanks in advance.

Emmanuel.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Converting from PSML files to a PSML Database

2002-01-10 Thread Emmanuel Bardet

Gents,

I know this is a boring thread but hey I guess it references a bug. Shall I
raise it on Bugzilla or dig the source code myself ?

Rgds,

Emmanuel.



-Original Message-
From: Emmanuel Bardet [mailto:[EMAIL PROTECTED]]
Sent: mercredi 9 janvier 2002 14:01
To: Jetspeed Users List
Subject: RE: Converting from PSML files to a PSML Database


As the French nor the German entries exist in the table, Jetspeed tries to
load an entry regardless of the language.

SELECT JETSPEED_ANON_PROFILE.PSML_ID, JETSPEED_ANON_PROFILE.MEDIA_TYPE,
JETSPEED_ANON_PROFILE.LANGUAGE, JETSPEED_ANON_PROFILE.COUNTRY,
JETSPEED_ANON_PROFILE.PAGE, JETSPEED_ANON_PROFILE.PROFILE FROM
JETSPEED_ANON_PROFILE WHERE (JETSPEED_ANON_PROFILE.MEDIA_TYPE='html') AND
(JETSPEED_ANON_PROFILE.PAGE='default.psml')

This returns 3 entries: the default, the English and the Spanish.

+-++--+-+--+-
| PSML_ID | MEDIA_TYPE | LANGUAGE | COUNTRY | PAGE |
+-++--+-+--+-
| 120 | html   | NULL | NULL| default.psml |  PROFILES...
| 121 | html   | en   | NULL| default.psml |
| 123 | html   | es   | NULL| default.psml |
+-++--+-+--+-

Jetspeed seems to take the last returned ie the Spanish which is why I get
the tabs in Spanish. Jetspeed should query for the default:

SELECT JETSPEED_ANON_PROFILE.PSML_ID, JETSPEED_ANON_PROFILE.MEDIA_TYPE,
JETSPEED_ANON_PROFILE.LANGUAGE, JETSPEED_ANON_PROFILE.COUNTRY,
JETSPEED_ANON_PROFILE.PAGE, JETSPEED_ANON_PROFILE.PROFILE FROM
JETSPEED_ANON_PROFILE WHERE (JETSPEED_ANON_PROFILE.MEDIA_TYPE='html') AND
(JETSPEED_ANON_PROFILE.PAGE='default.psml') AND
(JETSPEED_ANON_PROFILE.LANGUAGE IS NULL)

In order to get:

+-++--+-+--+-
| PSML_ID | MEDIA_TYPE | LANGUAGE | COUNTRY | PAGE | PROFILE
+-++--+-+--+-
| 120 | html   | NULL | NULL| default.psml |
+-++--+-+--+-

It's really cosmetic and not high priority however I wouldn't mind a fix. In
the meantime, I'll create my local version.

Thanks for your great efforts.

Emmanuel.



-Original Message-
From: Emmanuel Bardet [mailto:[EMAIL PROTECTED]]
Sent: mercredi 9 janvier 2002 11:29
To: Jetspeed Users List
Subject: RE: Converting from PSML files to a PSML Database


Thanks David.


It works fine except that I did not expect anonymous users to have their
tabs in Spanish (i.e. Página de Inicio, RSS, Dinámicos) if the language is
either French or German.

Can anybody help ?

Thanks.

Emmanuel
-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: mardi 8 janvier 2002 23:04
To: Jetspeed Users List
Subject: Re: Converting from PSML files to a PSML Database


INSERT INTO ID_TABLE VALUES(8,'JETSPEED_USER_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(9,'JETSPEED_GROUP_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(10,'JETSPEED_ROLE_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(11,'JETSPEED_ANON_PROFILE',120,10);

looks like I did this for Hypersonic, but not the other databases, sorry
bout that, I'll try to update the cvs tonight


- Original Message -
From: "Emmanuel Bardet" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 2:41 PM
Subject: Converting from PSML files to a PSML Database


> Hi all,
>
> Well guessed! I was not lucky on this one. From jetspeed.log file, I can
see
> the PSMLImporter starting, then loading
> ${webappRoot}\WEB-INF\psml\anon\html\default.psml (just a sec the "but" is
> coming) but from this point Oops...
>
> [Tue Jan 08 22:02:50 GMT 2002] -- INFO -- Forced id retrieval - no
available
> vector
> [Tue Jan 08 22:02:50 GMT 2002] -- DEBUG -- BasePeer.doUpdate:
> whereClause=TABLE_NAME='JETSPEED_ANON_PROFILE'
> [Tue Jan 08 22:02:50 GMT 2002] -- ERROR -- Error saving
> profile:BaseProfile[:{},null,null,anon,html,null,null,default.psml]
> [Tue Jan 08 22:02:50 GMT 2002] -- ERROR -- Error occurred in Database PSML
> Manager:
> Exception:  org.apache.turbine.util.TurbineException: The table
> JETSPEED_ANON_PROFILE does not have a proper entry in the ID_TABLE
> Stack Trace follows:
> org.apache.turbine.util.TurbineException: The table JETSPEED_ANON_PROFILE
> does not have a proper entry in the ID_TABLE
> at org.apache.turbine.util.db.IDBroker.selectRow(IDBroker.java:723)
> at org.apache.turbine.util.db.IDBroker.storeIDs(IDBroker.java:571)
> at org.apache.turbine.util.db.IDBroker.getNextIds(IDBroker.java:380)
> at
org.apache.turbine.util.db.IDBroker.getIdAsBigDecimal(IDBroker.java:29

RE: Converting from PSML files to a PSML Database

2002-01-09 Thread Emmanuel Bardet

As the French nor the German entries exist in the table, Jetspeed tries to
load an entry regardless of the language.

SELECT JETSPEED_ANON_PROFILE.PSML_ID, JETSPEED_ANON_PROFILE.MEDIA_TYPE,
JETSPEED_ANON_PROFILE.LANGUAGE, JETSPEED_ANON_PROFILE.COUNTRY,
JETSPEED_ANON_PROFILE.PAGE, JETSPEED_ANON_PROFILE.PROFILE FROM
JETSPEED_ANON_PROFILE WHERE (JETSPEED_ANON_PROFILE.MEDIA_TYPE='html') AND
(JETSPEED_ANON_PROFILE.PAGE='default.psml')

This returns 3 entries: the default, the English and the Spanish.

+-++--+-+--+-
| PSML_ID | MEDIA_TYPE | LANGUAGE | COUNTRY | PAGE |
+-++--+-+--+-
| 120 | html   | NULL | NULL| default.psml |  PROFILES...
| 121 | html   | en   | NULL| default.psml |
| 123 | html   | es   | NULL| default.psml |
+-++--+-+--+-

Jetspeed seems to take the last returned ie the Spanish which is why I get
the tabs in Spanish. Jetspeed should query for the default:

SELECT JETSPEED_ANON_PROFILE.PSML_ID, JETSPEED_ANON_PROFILE.MEDIA_TYPE,
JETSPEED_ANON_PROFILE.LANGUAGE, JETSPEED_ANON_PROFILE.COUNTRY,
JETSPEED_ANON_PROFILE.PAGE, JETSPEED_ANON_PROFILE.PROFILE FROM
JETSPEED_ANON_PROFILE WHERE (JETSPEED_ANON_PROFILE.MEDIA_TYPE='html') AND
(JETSPEED_ANON_PROFILE.PAGE='default.psml') AND
(JETSPEED_ANON_PROFILE.LANGUAGE IS NULL)

In order to get:

+-++--+-+--+-
| PSML_ID | MEDIA_TYPE | LANGUAGE | COUNTRY | PAGE | PROFILE
+-++--+-+--+-
| 120 | html   | NULL | NULL| default.psml |
+-++--+-+--+-

It's really cosmetic and not high priority however I wouldn't mind a fix. In
the meantime, I'll create my local version.

Thanks for your great efforts.

Emmanuel.



-Original Message-
From: Emmanuel Bardet [mailto:[EMAIL PROTECTED]]
Sent: mercredi 9 janvier 2002 11:29
To: Jetspeed Users List
Subject: RE: Converting from PSML files to a PSML Database


Thanks David.


It works fine except that I did not expect anonymous users to have their
tabs in Spanish (i.e. Página de Inicio, RSS, Dinámicos) if the language is
either French or German.

Can anybody help ?

Thanks.

Emmanuel
-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: mardi 8 janvier 2002 23:04
To: Jetspeed Users List
Subject: Re: Converting from PSML files to a PSML Database


INSERT INTO ID_TABLE VALUES(8,'JETSPEED_USER_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(9,'JETSPEED_GROUP_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(10,'JETSPEED_ROLE_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(11,'JETSPEED_ANON_PROFILE',120,10);

looks like I did this for Hypersonic, but not the other databases, sorry
bout that, I'll try to update the cvs tonight


- Original Message -
From: "Emmanuel Bardet" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 2:41 PM
Subject: Converting from PSML files to a PSML Database


> Hi all,
>
> Well guessed! I was not lucky on this one. From jetspeed.log file, I can
see
> the PSMLImporter starting, then loading
> ${webappRoot}\WEB-INF\psml\anon\html\default.psml (just a sec the "but" is
> coming) but from this point Oops...
>
> [Tue Jan 08 22:02:50 GMT 2002] -- INFO -- Forced id retrieval - no
available
> vector
> [Tue Jan 08 22:02:50 GMT 2002] -- DEBUG -- BasePeer.doUpdate:
> whereClause=TABLE_NAME='JETSPEED_ANON_PROFILE'
> [Tue Jan 08 22:02:50 GMT 2002] -- ERROR -- Error saving
> profile:BaseProfile[:{},null,null,anon,html,null,null,default.psml]
> [Tue Jan 08 22:02:50 GMT 2002] -- ERROR -- Error occurred in Database PSML
> Manager:
> Exception:  org.apache.turbine.util.TurbineException: The table
> JETSPEED_ANON_PROFILE does not have a proper entry in the ID_TABLE
> Stack Trace follows:
> org.apache.turbine.util.TurbineException: The table JETSPEED_ANON_PROFILE
> does not have a proper entry in the ID_TABLE
> at org.apache.turbine.util.db.IDBroker.selectRow(IDBroker.java:723)
> at org.apache.turbine.util.db.IDBroker.storeIDs(IDBroker.java:571)
> at org.apache.turbine.util.db.IDBroker.getNextIds(IDBroker.java:380)
> at
org.apache.turbine.util.db.IDBroker.getIdAsBigDecimal(IDBroker.java:294)
> at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:776)
> at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:687)
> at
>
org.apache.jetspeed.om.dbpsml.BaseJetspeedAnonProfilePeer.doInsert(BaseJetsp
> eedAnonProfilePeer.java:111)
> at
>
org.apache.jetspeed.om.dbpsml.BaseJetspeedAnonProfilePeer.doInsert(BaseJetsp
> eed

RE: Converting from PSML files to a PSML Database

2002-01-09 Thread Emmanuel Bardet

Thanks David.


It works fine except that I did not expect anonymous users to have their
tabs in Spanish (i.e. Página de Inicio, RSS, Dinámicos) if the language is
either French or German.

Can anybody help ?

Thanks.

Emmanuel
-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: mardi 8 janvier 2002 23:04
To: Jetspeed Users List
Subject: Re: Converting from PSML files to a PSML Database


INSERT INTO ID_TABLE VALUES(8,'JETSPEED_USER_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(9,'JETSPEED_GROUP_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(10,'JETSPEED_ROLE_PROFILE',120,10);
INSERT INTO ID_TABLE VALUES(11,'JETSPEED_ANON_PROFILE',120,10);

looks like I did this for Hypersonic, but not the other databases, sorry
bout that, I'll try to update the cvs tonight


- Original Message -
From: "Emmanuel Bardet" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 2:41 PM
Subject: Converting from PSML files to a PSML Database


> Hi all,
>
> Well guessed! I was not lucky on this one. From jetspeed.log file, I can
see
> the PSMLImporter starting, then loading
> ${webappRoot}\WEB-INF\psml\anon\html\default.psml (just a sec the "but" is
> coming) but from this point Oops...
>
> [Tue Jan 08 22:02:50 GMT 2002] -- INFO -- Forced id retrieval - no
available
> vector
> [Tue Jan 08 22:02:50 GMT 2002] -- DEBUG -- BasePeer.doUpdate:
> whereClause=TABLE_NAME='JETSPEED_ANON_PROFILE'
> [Tue Jan 08 22:02:50 GMT 2002] -- ERROR -- Error saving
> profile:BaseProfile[:{},null,null,anon,html,null,null,default.psml]
> [Tue Jan 08 22:02:50 GMT 2002] -- ERROR -- Error occurred in Database PSML
> Manager:
> Exception:  org.apache.turbine.util.TurbineException: The table
> JETSPEED_ANON_PROFILE does not have a proper entry in the ID_TABLE
> Stack Trace follows:
> org.apache.turbine.util.TurbineException: The table JETSPEED_ANON_PROFILE
> does not have a proper entry in the ID_TABLE
> at org.apache.turbine.util.db.IDBroker.selectRow(IDBroker.java:723)
> at org.apache.turbine.util.db.IDBroker.storeIDs(IDBroker.java:571)
> at org.apache.turbine.util.db.IDBroker.getNextIds(IDBroker.java:380)
> at
org.apache.turbine.util.db.IDBroker.getIdAsBigDecimal(IDBroker.java:294)
> at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:776)
> at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:687)
> at
>
org.apache.jetspeed.om.dbpsml.BaseJetspeedAnonProfilePeer.doInsert(BaseJetsp
> eedAnonProfilePeer.java:111)
> at
>
org.apache.jetspeed.om.dbpsml.BaseJetspeedAnonProfilePeer.doInsert(BaseJetsp
> eedAnonProfilePeer.java:317)
> at
>
org.apache.jetspeed.om.dbpsml.JetspeedAnonProfilePeer.doInsertOrUpdate(Jetsp
> eedAnonProfilePeer.java:76)
> at
>
org.apache.jetspeed.om.dbpsml.JetspeedAnonProfilePeer.insert(JetspeedAnonPro
> filePeer.java:49)
> at
>
org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService.creat
> eOrSaveDocument(DatabasePsmlManagerService.java:580)
> at
>
org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService.creat
> eDocument(DatabasePsmlManagerService.java:504)
> at
>
org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService.export(Cas
> torPsmlManagerService.java:1145)
> at
>
org.apache.jetspeed.services.psmlmanager.PsmlImporter.run(PsmlImporter.java:
> 116)
>
> Well, Turbine is right there is no entry for this table in ID_TABLE ie
>
> +-+-+-+--+
> | ID_TABLE_ID | TABLE_NAME  | NEXT_ID | QUANTITY |
> +-+-+-+--+
> |   1 | TURBINE_PERMISSION  | 100 |   10 |
> |   2 | TURBINE_ROLE| 120 |   10 |
> |   3 | TURBINE_GROUP   | 100 |   10 |
> |   4 | TURBINE_USER| 140 |   10 |
> |   5 | TURBINE_SCHEDULED_JOB   | 100 |   10 |
> |   6 | TURBINE_ROLE_PERMISSION | 100 |   10 |
> |   7 | TURBINE_USER_GROUP_ROLE | 100 |   10 |
> +-+-+-+--+
>
> Would you be kind enough to send me the INSERT statements ?
>
> Info: Jetspeed 1.3a2, MySQL, W2K
>
> By the way, you Jetspeed people are tremendous.
>
> Thanks a lot.
>
> Emmanuel.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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


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




Converting from PSML files to a PSML Database

2002-01-08 Thread Emmanuel Bardet

Hi all,

Well guessed! I was not lucky on this one. From jetspeed.log file, I can see
the PSMLImporter starting, then loading
${webappRoot}\WEB-INF\psml\anon\html\default.psml (just a sec the "but" is
coming) but from this point Oops...

[Tue Jan 08 22:02:50 GMT 2002] -- INFO -- Forced id retrieval - no available
vector
[Tue Jan 08 22:02:50 GMT 2002] -- DEBUG -- BasePeer.doUpdate:
whereClause=TABLE_NAME='JETSPEED_ANON_PROFILE'
[Tue Jan 08 22:02:50 GMT 2002] -- ERROR -- Error saving
profile:BaseProfile[:{},null,null,anon,html,null,null,default.psml]
[Tue Jan 08 22:02:50 GMT 2002] -- ERROR -- Error occurred in Database PSML
Manager:
Exception:  org.apache.turbine.util.TurbineException: The table
JETSPEED_ANON_PROFILE does not have a proper entry in the ID_TABLE
Stack Trace follows:
org.apache.turbine.util.TurbineException: The table JETSPEED_ANON_PROFILE
does not have a proper entry in the ID_TABLE
at org.apache.turbine.util.db.IDBroker.selectRow(IDBroker.java:723)
at org.apache.turbine.util.db.IDBroker.storeIDs(IDBroker.java:571)
at org.apache.turbine.util.db.IDBroker.getNextIds(IDBroker.java:380)
at org.apache.turbine.util.db.IDBroker.getIdAsBigDecimal(IDBroker.java:294)
at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:776)
at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:687)
at
org.apache.jetspeed.om.dbpsml.BaseJetspeedAnonProfilePeer.doInsert(BaseJetsp
eedAnonProfilePeer.java:111)
at
org.apache.jetspeed.om.dbpsml.BaseJetspeedAnonProfilePeer.doInsert(BaseJetsp
eedAnonProfilePeer.java:317)
at
org.apache.jetspeed.om.dbpsml.JetspeedAnonProfilePeer.doInsertOrUpdate(Jetsp
eedAnonProfilePeer.java:76)
at
org.apache.jetspeed.om.dbpsml.JetspeedAnonProfilePeer.insert(JetspeedAnonPro
filePeer.java:49)
at
org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService.creat
eOrSaveDocument(DatabasePsmlManagerService.java:580)
at
org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService.creat
eDocument(DatabasePsmlManagerService.java:504)
at
org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService.export(Cas
torPsmlManagerService.java:1145)
at
org.apache.jetspeed.services.psmlmanager.PsmlImporter.run(PsmlImporter.java:
116)

Well, Turbine is right there is no entry for this table in ID_TABLE ie

+-+-+-+--+
| ID_TABLE_ID | TABLE_NAME  | NEXT_ID | QUANTITY |
+-+-+-+--+
|   1 | TURBINE_PERMISSION  | 100 |   10 |
|   2 | TURBINE_ROLE| 120 |   10 |
|   3 | TURBINE_GROUP   | 100 |   10 |
|   4 | TURBINE_USER| 140 |   10 |
|   5 | TURBINE_SCHEDULED_JOB   | 100 |   10 |
|   6 | TURBINE_ROLE_PERMISSION | 100 |   10 |
|   7 | TURBINE_USER_GROUP_ROLE | 100 |   10 |
+-+-+-+--+

Would you be kind enough to send me the INSERT statements ?

Info: Jetspeed 1.3a2, MySQL, W2K

By the way, you Jetspeed people are tremendous.

Thanks a lot.

Emmanuel.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: problem connecting mysql to jetspeed

2002-01-08 Thread Emmanuel Bardet

I'm surprised your database.default.url is not equal to something like
jdbc:mysql://yourserver:3306/yourdatabasename

Check this out first. And look for default_roles_permissions.sql to populate
your db.

Emmanuel

-Original Message-
From: stefan [mailto:stefan]On Behalf Of Stefan Krause
Sent: mardi 8 janvier 2002 16:47
To: [EMAIL PROTECTED]
Subject: problem connecting mysql to jetspeed


Hi,

I would like to use jetspeed with mysql. Jetspeed worked well with the
Hypersonicsql database. I changed the settings in
TurbineResources.properties(binary version) to:

database.default.driver=org.gjt.mm.mysql.Driver
database.default.url=jdbc:mysql:${webappRoot}/WEB-INF/db/jetspeed
database.default.username=admin
database.default.password=admin
database.adaptor=DBMM
database.adaptor.DBMM=org.gjt.mm.mysql.Driver

Is it necessary to change these settings in the sources and to recompile
those?

The database on mysql exists with name 'turbine' and user 'admin'.
Is this the wrong database name? Do I have to use the populate-scripts
or does it jetspeed by itself?


Obviously I don't get access to the database when jetspeed tries to add
a new user to the database.
When I create a new user in Jetspeed I get the following exception:

Horrible Exception: java.lang.Error: Error in
BasePeer.initTableSchema(TURBINE_USER): Server configuration denies
access to data source
at
org.apache.turbine.om.peer.BasePeer.initTableSchema(BasePeer.java:232)
at
org.apache.turbine.om.peer.BasePeer.initTableSchema(BasePeer.java:194)
at
org.apache.turbine.om.security.peer.TurbineUserPeer.(TurbineUserPeer.java:17
5)
at
org.apache.turbine.services.security.db.DBUserManager.accountExists(DBUserMa
nager.java:124)
at
org.apache.turbine.services.security.BaseSecurityService.accountExists(BaseS
ecurityService.java:291)
at
org.apache.turbine.services.security.TurbineSecurity.accountExists(TurbineSe
curity.java:183)
at
org.apache.jetspeed.modules.actions.CreateNewUserAndConfirm.doPerform(Create
NewUserAndConfirm.java:153)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:143)
at org.apache.turbine.modules.Page.build(Page.java:90)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
at org.apache.turbine.Turbine.doGet(Turbine.java:565)
at org.apache.turbine.Turbine.doPost(Turbine.java:655)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
at org.apache.tomcat.core.Handler.invoke(Unknown Source)
at org.apache.tomcat.core.Handler.service(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)

I would be grateful for an advice.
Thanks in advance.
Stefan

--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: