Re: search examples anyone?

2004-05-24 Thread Christophe Lombart
See the search service interface. The API is quite simple ( see 
http://portals.apache.org/jetspeed-1/apidocs/index.html).
What you need is :
1. get a reference to the Search service.
2. add some object into the Lucene index via the SearchService methods ( 
add(...))
3. Later, search objects via the search method.

Christophe
Vince Taluskie wrote:
I'd like to add search capability for our jetspeed portal, but I'm not
finding much in the way of articles about doing this - does anyone have
some examples or pointers that they can share on using the lucene search
service within jetspeed?
I'm having excellent results on our non-portal content with nutch, but I'd
like to provide that kind of search capability within the portal too...
Thanks in advance,
Vince

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


search examples anyone?

2004-05-24 Thread Vince Taluskie

I'd like to add search capability for our jetspeed portal, but I'm not
finding much in the way of articles about doing this - does anyone have
some examples or pointers that they can share on using the lucene search
service within jetspeed?

I'm having excellent results on our non-portal content with nutch, but I'd
like to provide that kind of search capability within the portal too...

Thanks in advance,

Vince



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



WG: Saving a cookie for auto-login

2004-05-24 Thread Remo Waller
How can I save a cookie or somthing else on the client-side for activating
autologin in Jetspeed 1.5?
Do I have to override a special method? Or is it already implemented?

Please advise
Regards
Remo


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



Re: What is the default Group Profile?

2004-05-24 Thread David Sean Taylor
On May 21, 2004, at 2:48 PM, Bob Fleischman wrote:
And where is it created?
I am familiar with services.Profiler.newuser.template for new users,  
but I
did not see anything similar for groups.

I would like to intercept the process and customize the Profile/PSML  
that is
created for each group so that I can quickly create team workspaces.

Has anyone else tried this??
Easy to change the default behavior, see  
o.a.j.services.security.turbine.TurbineGroupManagement.addDefaultGroupPS 
ML, and then see the  
o.a.j.services.profiler.JetspeedProfilerService.createProfile
You can extend these services, or better yet if we can come up with a  
generic solution to your problem, commit it back to CVS head

I noticed 2 issues that can be improved on:
1. The Turbine User (the default User template) was copied over and  
used as a default Group template.
2. The Security constraint applied (owner-only) makes this PSML  
unaccessible

I propose
1. enhancing the TurbineGroupManagement : adding a default Group  
template
2. changing the default security constraint to admin-all / owner-only  
for user resources, and admin-all + particular role or group for new  
group or role resources
This will require creating a new role or group constraint on template  
creation

See JIRA issue:
http://nagoya.apache.org/jira/browse/JS1-480
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[J2] : Deploying J2 on JBoss

2004-05-24 Thread Vikas Gupta

Hi All,

Has anybody successfully deployed Jetspeed 2 on Jboss 3.2.3??
Please let me know about it,
Thanks in advance

Regards
Vikas


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



Re: Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise

2004-05-24 Thread OlsonE
I am getting further in the build, only now I have failing test cases:

test:test:
[copy] Warning: Could not find file 
C:\cvs-dev\jakarta-jetspeed-2\components\jetspeed\src\test\repository_database.xml 
to copy.
Overriding previous definition of reference to jdbc.drivers.path
[junit] Running org.apache.jetspeed.rewriter.TestRewriterController
[junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 3.595 sec
[junit] [ERROR] TEST 
org.apache.jetspeed.rewriter.TestRewriterController FAILED

BUILD FAILED
File.. file:/C:/cvs-dev/jakarta-jetspeed-2/maven.xml
Element... maven:reactor
Line.. 107
Column 40
Unable to obtain goal [test:test] -- file:/C:/Documents and 
Settings/olsone/.maven/plugins/maven-test-plugin-1.5/plugin.jelly:148:54: 
 There were test failures.
Total time: 3 minutes 12 seconds
Finished at: Mon May 24 10:02:43 CDT 2004

Any ideas (refreshed source at 5/24, 9:30am CST?)
Thanks,
Eric Olson




Ate Douma <[EMAIL PROTECTED]> 
05/21/2004 08:39 AM
Please respond to
"Jetspeed Users List" <[EMAIL PROTECTED]>


To
Jetspeed Users List <[EMAIL PROTECTED]>
cc
Scott Weaver <[EMAIL PROTECTED]>
Subject
Re: Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise






I think I understand what's happening.
There are major refactorings going on in J2 since yesterday.
One of which is the definition of a new subproject jetspeed-api.
I haven't had the time to update my version to the latest cvs HEAD but I 
guess there is already a jetspeed-api dependency defined but not yet 
configured to be installed into the local maven repository.

Scott Weaver is leading these refactorings so maybe he can give some 
feedback on the current state of cvs HEAD.

Scott, is the current HEAD buildable or should we wait until the 
jetspeed-api refactoring is ready?
Please give an indication then when we can expect it to be ready.

Regards,

Ate

[EMAIL PROTECTED] wrote:

> I am seeing the same problems Dan is when trying to run the instructions 

> from http://portals.apache.org/jetspeed-2/getting-started.html - early 
in 
> the build, I get the following warnings:
> 
> Attempting to download content-server-2.0-a1-dev.jar.
> WARNING: Failed to download content-server-2.0-a1-dev.jar.
> Attempting to download jetspeed-prefs-2.0-a1-dev.jar.
> WARNING: Failed to download jetspeed-prefs-2.0-a1-dev.jar.
> Attempting to download jetspeed-security-2.0-a1-dev.jar.
> WARNING: Failed to download jetspeed-security-2.0-a1-dev.jar.
> Attempting to download jetspeed-registry-2.0-a1-dev.jar.
> WARNING: Failed to download jetspeed-registry-2.0-a1-dev.jar.
> Attempting to download jetspeed-id-generator-2.0-a1-dev.jar.
> WARNING: Failed to download jetspeed-id-generator-2.0-a1-dev.jar.
> Attempting to download jetspeed-file-cache-2.0-a1-dev.jar.
> WARNING: Failed to download jetspeed-file-cache-2.0-a1-dev.jar.
> Attempting to download jetspeed-api-2.0-a1-dev.jar.
> WARNING: Failed to download jetspeed-api-2.0-a1-dev.jar.
> Attempting to download jetspeed-locator-2.0-a1-dev.jar.
> WARNING: Failed to download jetspeed-locator-2.0-a1-dev.jar.
> Attempting to download pluto-1.0.1-SNAPSHOT.jar.
> 
> Then the build continues to run a bit, then finally fails with this 
> message:
> 
> +
> | Build and Install the Misc. Components jar Jetspeed-2 File Cache
> | Memory: 34M/55M
> +
> Attempting to download jetspeed-api-2.0-a1-dev.jar.
> WARNING: Failed to download jetspeed-api-2.0-a1-dev.jar.
> Attempting to download picocontainer-1.0-RC-1-SNAPSHOT.jar.
> 
> BUILD FAILED
> File.. file:/C:/cvs-dev/jakarta-jetspeed-2/maven.xml
> Element... maven:reactor
> Line.. 93
> Column 40
> The build cannot continue because of the following unsatisfied 
dependency:
> 
> jetspeed-api-2.0-a1-dev.jar (no download url specified)
> 
> What am I missing?  I checked Ate's theory, but I only have a 
> 'build.properties.sample' file in JS2 root (I haven't changed anything 
> within JS2 root.)  I am getting the other jar dependencies, just not the 

> ones listed above.
> 
> Thanks,
> Eric Olson
> 
> 
> 
> 
> Ate Douma <[EMAIL PROTECTED]> 
> 05/21/2004 04:24 AM
> Please respond to
> "Jetspeed Users List" <[EMAIL PROTECTED]>
> 
> 
> To
> Jetspeed Users List <[EMAIL PROTECTED]>
> cc
> 
> Subject
> Re: Jetspeed 2 build failure -- jars not found at ibiblio or bluesunrise
> 
> 
> 
> 
> 
> 
> 
> 
> Jetspeed wrote:
> 
> 
>>Hello -
>>
>>I've just downloaded via cvsgrab the HEAD-tagged sources for Jetspeed 2.
>>Maven is configured to use ibiblio and bluesunrise as remote 
> 
> repositories.
> 
>>It appears to be working, but when I attempt to run the indicated
>>build command "maven allClean allBuild", I get a number of warnings 
>>indicating
>>that various jars have not been downloaded (some are), then the build
>>fails with
>>
>>"Class Not Found: JDBC driver com.p6spy.engine.spy.P6SpyDriver could not 

> 
> 
>>be loaded"
> 
> You must be using the sample bui

RE: [J2] Jetspeed 2 - Jboss compatibility

2004-05-24 Thread Vikas Gupta

Hi All,
Does J2 work with Jboss 3.2.3
I am planning to deploy it in Jboss,
Any suggesstions for the same
Regards
Vikas 

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