Problem with build

2004-12-01 Thread Luiz Esmiralha
The build stops before finishing DB creation, witha foreign key during
the drop of SSO_SITE

Follows the log:

build:start:

allBuild:
check.required.properties:

torque:init:

db.scripts.gen:
[echo] Generating SQL schema creation scripts for HSQLDB
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for MySQL
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\mysql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for Oracle
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\oracle\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for MS SQL
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\mssql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for Postgres
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\postgres\report.portal.sql.generation

db.create.test:
db.test.properties:

db.create:
db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase3ojb-schema.sql
[sql] 16 of 16 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase1-schema.sql
[sql] 16 of 16 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase2-schema.sql
[sql] 29 of 29 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\registry-schema.sql
[sql] 40 of 40 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\prefs-schema.sql
[sql] 9 of 9 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\security-schema.sql
[sql] [ERROR] Failed to execute: drop table SSO_SITE if exists

BUILD FAILED
File.. E:\java\eclipse\jakarta\jakarta-jetspeed-2\maven.xml
Element... sql
Line.. 355
Column 39
java.sql.SQLException: Integrity constraint violation:
SYS_REF_SSO_SITE_TO_CREDENTIALS_FK_1_490 table:
SSO_SITE_TO_CREDENTIALS in statement [drop table SSO_SITE if exists]
Total time: 16 seconds
Finished at: Thu Dec 02 01:30:10 GMT-03:00 2004

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



Build failure

2004-12-01 Thread Luiz Esmiralha
I just had a build failure. Follows the log.

build:start:

allBuild:
check.required.properties:

torque:init:

db.scripts.gen:
[echo] Generating SQL schema creation scripts for HSQLDB
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for MySQL
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\mysql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for Oracle
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\oracle\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for MS SQL
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\mssql\report.portal.sql.generation
[echo] Generating SQL schema creation scripts for Postgres
[torque-sql] Using classpath
[torque-sql] Generating to file
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\postgres\report.portal.sql.generation

db.create.test:
db.test.properties:

db.create:
db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase3ojb-schema.sql
[sql] 16 of 16 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase1-schema.sql
[sql] 16 of 16 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\phase2-schema.sql
[sql] 29 of 29 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\registry-schema.sql
[sql] 40 of 40 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\prefs-schema.sql
[sql] 9 of 9 SQL statements executed successfully

db.execute:
[sql] Executing file:
E:\java\eclipse\jakarta\jakarta-jetspeed-2\target\src\sql\hsql\security-schema.sql
[sql] [ERROR] Failed to execute: drop table SSO_SITE if exists

BUILD FAILED
File.. E:\java\eclipse\jakarta\jakarta-jetspeed-2\maven.xml
Element... sql
Line.. 355
Column 39
java.sql.SQLException: Integrity constraint violation:
SYS_REF_SSO_SITE_TO_CREDENTIALS_FK_1_490 table:
SSO_SITE_TO_CREDENTIALS in statement [drop table SSO_SITE if exists]
Total time: 16 seconds
Finished at: Thu Dec 02 01:17:15 GMT-03:00 2004

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



JS 1.6 with Fusion Struts demo/JS1.6/ Sybase - AutoCommit failure

2004-12-01 Thread Hema Menon
Hi,

I am trying to deploy the struts and jsf demo portlets on jetspeed 1.6
with fusion. I find the following exception. It seems to be specific
to Sybase and might be related to OJB component. Also I was successful
in deploying these with Hsql database. Has anyone come across this
error? Any pointers?

Thanks in advance,
Hema
Stack trace
 INFO: Preparing to (re) deploy portlet app "jsf-demo"
 INFO: Deploying portlet applicaion WAR jsf-demo
 INFO: Portlet application deployment target directory is
D:\Tomcat5.0\webapps\ccportal/..//jsf-demo
 INFO: Did not load extended metadata as it most likely does not
exist.  java.io.FileNotFoundException: Unable to locate file or path
D:\Tomcat5.0\webapps\ccportal\..\jsf-demo\WEB-INF\jetspeed-portlet.xml
 INFO: Loading web.xml into memory
 INFO: Saving the portlet.xml in the registry...
[org.apache.ojb.broker.platforms.PlatformDefaultImpl] ERROR: Set
autoCommit(true) failed
SET CHAINED command not allowed within multi-statement transaction.

com.sybase.jdbc2.jdbc.SybSQLException: SET CHAINED command not allowed
within multi-statement transaction.
at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2884)
at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2206)
at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
at com.sybase.jdbc2.jdbc.SybStatement.updateLoop(SybStatement.java:1702)
at 
com.sybase.jdbc2.jdbc.SybStatement.executeUpdate(SybStatement.java:1685)
at 
com.sybase.jdbc2.jdbc.SybPreparedStatement.executeUpdate(SybPreparedStatement.java:115)
at com.sybase.jdbc2.tds.Tds.setOption(Tds.java:1206)
at 
com.sybase.jdbc2.jdbc.SybConnection.setAutoCommit(SybConnection.java:986)
at 
org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:268)
at 
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setAutoCommit(PoolingDataSource.java:293)
at 
org.apache.ojb.broker.platforms.PlatformDefaultImpl.changeAutoCommitState(PlatformDefaultImpl.java:199)
at 
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.restoreAutoCommitState(ConnectionManagerImpl.java:251)
at 
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.localCommit(ConnectionManagerImpl.java:195)
at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.commitTransaction(PersistenceBrokerImpl.java:434)
at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.commitTransaction(DelegatingPersistenceBroker.java:145)
at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.commitTransaction(DelegatingPersistenceBroker.java:145)
at 
org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl.getSequence(SequenceManagerHighLowImpl.java:195)
at 
org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl.getUniqueLong(SequenceManagerHighLowImpl.java:145)
at 
org.apache.ojb.broker.util.sequence.AbstractSequenceManager.getUniqueValue(AbstractSequenceManager.java:139)
at 
org.apache.ojb.broker.util.BrokerHelper.setAutoIncrementValue(BrokerHelper.java:317)
at 
org.apache.ojb.broker.util.BrokerHelper.getValuesForObject(BrokerHelper.java:364)
at 
org.apache.ojb.broker.util.BrokerHelper.getKeyValues(BrokerHelper.java:176)
at org.apache.ojb.broker.Identity.init(Identity.java:150)
at org.apache.ojb.broker.Identity.(Identity.java:119)
at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:691)
at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:175)
at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:175)
at 
org.springframework.orm.ojb.PersistenceBrokerTemplate$8.doInPersistenceBroker(PersistenceBrokerTemplate.java:239)
at 
org.springframework.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:152)
at 
org.springframework.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:237)
at 
org.apache.jetspeed.components.portletregistry.PersistenceBrokerPortletRegistry.registerPortletApplication(PersistenceBrokerPortletRegistry.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149

Jetspeed 1.x Wiki

2004-12-01 Thread chris holt
What is going on with the Jetspeed 1.x Wiki (This is also the case with
the Turbine Wiki)?
When you go to it you get the following:
 
go here instead (this wiki is now exclusively dedicated to Chinese spam)
  
 
When you follow the link to the main wiki page Jetspeed is not listed.
 
Thanks,
 
Chris


Re: Unable to build Jetspeed-2 from HEAD today

2004-12-01 Thread Luiz Esmiralha
On Wed, 1 Dec 2004 15:32:38 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> 
> 
> First let me state that I'm new to Jetspeed, so please forgive my
> ignorance.
> 
> Yesterday, after much help from the WIKI, and the list archive,  I was
> finally able to build Jetspeed-2.  Unfortunately, Jetspeed would not
> display.  Today I attempted to clean up my workspace, and start over from
> scratch (this included getting a fresh copy ffrom CVS) , but now I get the
> compile error below.  As you can tell, I am using Eclipse as build
> environment.  Any help would be appreciated.
> 
> Secondly, in order to get through Maven  allClean allBuild, it was
> necessary for me to manually download MANY jars for
> http://www.bluesunrise.com/maven.  I tried several suggestions to avoid
> this but all to no avail.  Is there something I can do to get Maven to
> perform these downloads?
> 
You'll need to run maven with
"-Dmaven.repo.remote=http://www.bluesunrise.com/maven/,http://www.ibiblio.org/maven/,http://dist.codehaus.org/,http://cvs.apache.org/repository";

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



Re: Unable to build Jetspeed-2 from HEAD today

2004-12-01 Thread Randy Watler
Stephen,
Try removing the extra import line and see what you get... which Java 
environment are you using?

Randy
[EMAIL PROTECTED] wrote:

First let me state that I'm new to Jetspeed, so please forgive my
ignorance.
Yesterday, after much help from the WIKI, and the list archive,  I was
finally able to build Jetspeed-2.  Unfortunately, Jetspeed would not
display.  Today I attempted to clean up my workspace, and start over from
scratch (this included getting a fresh copy ffrom CVS) , but now I get the
compile error below.  As you can tell, I am using Eclipse as build
environment.  Any help would be appreciated.
Secondly, in order to get through Maven  allClean allBuild, it was
necessary for me to manually download MANY jars for
http://www.bluesunrise.com/maven.  I tried several suggestions to avoid
this but all to no avail.  Is there something I can do to get Maven to
perform these downloads?
java:compile:
   [echo] Compiling to
C:\apache\jakarta-jetspeed-2\jetspeed-api/target/classes
   [javac] Compiling 181 source files to
C:\apache\jakarta-jetspeed-2\jetspeed-api\target\classes
   [javac]
C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\om\folder\Folder.java:20:
org.apache.jetspeed.om.folder.Folder is already defined in this
compilation unit
   [javac] import org.apache.jetspeed.om.folder.Folder;
   [javac] ^
   [javac] Note:
C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\mockobjects\MockHttpServletRequest.java
uses or overrides a deprecated API.
   [javac] Note: Recompile with -deprecation for details.
   [javac] 1 error
BUILD FAILED
File.. C:\apache\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line.. 133
Column 40
Unable to obtain goal [java:compile] -- C:\Documents and
Settings\PittmanS\.maven\cache\maven-java-plugin-1.4\plugin.jelly:53:48:
 Compile failed; see the compiler error output for details.
Total time: 2 minutes 10 seconds
Finished at: Wed Dec 01 14:07:41 EST 2004
-
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]


Unable to build Jetspeed-2 from HEAD today

2004-12-01 Thread stephen . pittman




First let me state that I'm new to Jetspeed, so please forgive my
ignorance.

Yesterday, after much help from the WIKI, and the list archive,  I was
finally able to build Jetspeed-2.  Unfortunately, Jetspeed would not
display.  Today I attempted to clean up my workspace, and start over from
scratch (this included getting a fresh copy ffrom CVS) , but now I get the
compile error below.  As you can tell, I am using Eclipse as build
environment.  Any help would be appreciated.

Secondly, in order to get through Maven  allClean allBuild, it was
necessary for me to manually download MANY jars for
http://www.bluesunrise.com/maven.  I tried several suggestions to avoid
this but all to no avail.  Is there something I can do to get Maven to
perform these downloads?

java:compile:
[echo] Compiling to
C:\apache\jakarta-jetspeed-2\jetspeed-api/target/classes
[javac] Compiling 181 source files to
C:\apache\jakarta-jetspeed-2\jetspeed-api\target\classes
[javac]
C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\om\folder\Folder.java:20:
 org.apache.jetspeed.om.folder.Folder is already defined in this
compilation unit
[javac] import org.apache.jetspeed.om.folder.Folder;
[javac] ^
[javac] Note:
C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\mockobjects\MockHttpServletRequest.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error

BUILD FAILED
File.. C:\apache\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line.. 133
Column 40
Unable to obtain goal [java:compile] -- C:\Documents and
Settings\PittmanS\.maven\cache\maven-java-plugin-1.4\plugin.jelly:53:48:
 Compile failed; see the compiler error output for details.
Total time: 2 minutes 10 seconds
Finished at: Wed Dec 01 14:07:41 EST 2004


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



Re: Fusion Compilation Error

2004-12-01 Thread Hema Menon
Glad to know. I will recompile with the latest source.

Thanks,
Hema


On Wed, 01 Dec 2004 10:01:42 -0800, David Sean Taylor
<[EMAIL PROTECTED]> wrote:
> Hema Menon wrote:
> 
> > Hi,
> >
> > Last week I was able to compile and run Jetspeed 1.6 with fusion. I
> > checked out the latest source from CVS, and  tried building
> > jetspeed1.6 with fusion as described in
> > http://wiki.apache.org/portals/Jetspeed2/Fusion The build fails with
> > the following compile error.
> >
> CVS head is fixed now
> 
> --
> 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]
> 
> 


-- 


~~
Hema Menon

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



Re: Any idea when Jetspeed 1.6 is likely to be released?

2004-12-01 Thread Hema Menon
Thanks David. 

Hema


On Wed, 01 Dec 2004 10:02:29 -0800, David Sean Taylor
<[EMAIL PROTECTED]> wrote:
> Hema Menon wrote:
> 
> > We need to move to Jetspeed version that offers struts support. Of
> > course, the choice is between 1.6 with fusion or jetspeed 2. I read
> > from the mailing list that 1.6 and 2(m1) are likely to be released
> > this month or maybe next. We don't want to move to 2.0 yet since it
> > means possibly rewriting our 1.5 portlets. Is jetspeed 1.6 likely to
> > be released anytime soon?
> > 
> By the end of the year
> Its dependent on the J2 release, and fixing a few introduced bugs in Fusion
> 
> --
> 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]
> 
> 


-- 


~~
Hema Menon

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



Re: contact for Licensing questions

2004-12-01 Thread Scott T. Weaver
Hi Brian,
Jetspeed uses the Apache Software License v2.0 which is very business 
friendly, much more so than any of *GPL licenses.  Basically you can use 
and change the software as you see fit without having to commit those 
changes back.  However, it is a nice gesture if the changes make are 
generally useful ;)

That being said, the general, non-technical apache email is 
[EMAIL PROTECTED] you may also want to direct them to the license page,  
http://www.apache.org/licenses/.

hth,*
*
Brian Bacsu wrote:
Hi
We would like to utilize Jetspeed as part of a project we are deploying, 
but our legal department has some questions regarding licensing issues for 
Jetspeed. 

I am wondering who I could contact regarding this.
Thanks,
Brian Bacsu
Sr. Technical Consultant
Computer Sciences Corporation
voice: (519) 454-4253
cell: (248) 797-8168
fax: (519) 454-4589
email: [EMAIL PROTECTED]


This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.


 


--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss 
people."  - Admiral Hyman Rickover
***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* *
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
*    *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Limiting customization available to users

2004-12-01 Thread Ruy Diaz Jara
Thanks David, I had already figured it out :D that it had to be done in the
PSML, I was trying to get it to work by including the security-ref in
controls.xreg and controllers.xreg, but this didn't seem to work. I have now
added it to the turbine user and everything (almost) is perfect... I would just
like to remove the ability to change the current security from the customizer,
so the user can only change custom parameters, but I think this is asking too
much... Anyways if I really need it, I guess I'll just modify the customizer's
Template.

Cheers!
Ruy


--- David Sean Taylor <[EMAIL PROTECTED]> wrote:

> Ruy Diaz Jara wrote:
> 
> > I've had no replies but I'd like to insist if anyone can help me. Sorry if
> I am
> > being pushy but I really can't figure this out.
> > 
> Sorry we missed this but there are times when I simply don't have time 
> to  read the lists  :(
> 
> 
> > What I am trying to do is to customize which action icons (maximize,
> minimize,
> > etc.) are available to users. I have tried changing the permissions but
> this
> > has absolutely no effect. The only way I have found to remove the icons
> > completely is by modifying JetspeedSecurity.properties by setting the line:
> > 
> > services.JetspeedSecurity.actions.allusers.disable=true
> > 
> 
> Try this security constraint as an example.
> It gives you view, min, max to the owner, all permissions to admin, and 
> locks everyone else out
> 
>  
>  
>  Special for Owner
>  Full access to the admin, view, min,max to the 
> owner.
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
> You can then enter it at various places in your psml
> Here is a sample "turbine" user psml
> note the security refs to 'special'
> 
> 
> 
>  
>  My Home
>  
>  
>  
>  
>  
>  
>  
>  Home
>  
>  
>  
>  
>  
> 
>  
>  
>  
>  
>  
>   parent="http://jakarta.apache.org/jetspeed/channels/jetspeed.rss";>
>  
>  
>  
>  
>  
>  
>  
> 
>  
>  
>  
>  
>  
>   parent="http://www.xmlhack.com/rsscat.php";>
>  
> 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>   parent="http://www.mozilla.org/news.rdf";>
>  
>  
>  
>  
>  
>   parent="http://jakarta.apache.org/jetspeed/channels/turbine.rss";>
>  
>  
>  
>  
>  
>  
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


=
---
I used to be an atheist, until I realized I was God.



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

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



Re: Limiting customization available to users

2004-12-01 Thread David Sean Taylor
Ruy Diaz Jara wrote:
I've had no replies but I'd like to insist if anyone can help me. Sorry if I am
being pushy but I really can't figure this out.
Sorry we missed this but there are times when I simply don't have time 
to  read the lists  :(


What I am trying to do is to customize which action icons (maximize, minimize,
etc.) are available to users. I have tried changing the permissions but this
has absolutely no effect. The only way I have found to remove the icons
completely is by modifying JetspeedSecurity.properties by setting the line:
services.JetspeedSecurity.actions.allusers.disable=true
Try this security constraint as an example.
It gives you view, min, max to the owner, all permissions to admin, and 
locks everyone else out



Special for Owner
Full access to the admin, view, min,max to the 
owner.















You can then enter it at various places in your psml
Here is a sample "turbine" user psml
note the security refs to 'special'



My Home







Home





   





http://jakarta.apache.org/jetspeed/channels/jetspeed.rss";>













http://www.xmlhack.com/rsscat.php";>

































http://www.mozilla.org/news.rdf";>





http://jakarta.apache.org/jetspeed/channels/turbine.rss";>








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


Re: contact for Licensing questions

2004-12-01 Thread Brian Bacsu
Hi

We would like to utilize Jetspeed as part of a project we are deploying, 
but our legal department has some questions regarding licensing issues for 
Jetspeed. 

I am wondering who I could contact regarding this.

Thanks,

Brian Bacsu
Sr. Technical Consultant
Computer Sciences Corporation
voice: (519) 454-4253
cell: (248) 797-8168
fax: (519) 454-4589
email: [EMAIL PROTECTED]




This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.



Re: Any idea when Jetspeed 1.6 is likely to be released?

2004-12-01 Thread David Sean Taylor
Hema Menon wrote:
We need to move to Jetspeed version that offers struts support. Of
course, the choice is between 1.6 with fusion or jetspeed 2. I read
from the mailing list that 1.6 and 2(m1) are likely to be released
this month or maybe next. We don't want to move to 2.0 yet since it
means possibly rewriting our 1.5 portlets. Is jetspeed 1.6 likely to
be released anytime soon?
By the end of the year
Its dependent on the J2 release, and fixing a few introduced bugs in Fusion
--
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]


Re: Fusion Compilation Error

2004-12-01 Thread David Sean Taylor
Hema Menon wrote:
Hi,
Last week I was able to compile and run Jetspeed 1.6 with fusion. I
checked out the latest source from CVS, and  tried building
jetspeed1.6 with fusion as described in
http://wiki.apache.org/portals/Jetspeed2/Fusion The build fails with
the following compile error.
CVS head is fixed now
--
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]


Re: JavaWorld

2004-12-01 Thread David Sean Taylor
Bob Fleischman wrote:
Sure. I would be honored. 

Now I'm going to try setting up J2 and recreating the portlet. I think I can
get a follow-up article published on J2 and JSR-168.
Added a link to both Bob's JavaWorld article and the new community at 
java.net

http://portals.apache.org/jetspeed-1/resources.html
--
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]


RE: Mintyblue and Metal Skins

2004-12-01 Thread Ruy Diaz Jara
I'll post them here so other people can use them as well. I'll send them as an
attachment to you directly too for convenience.

-
 jetspeed-box.vm
-
##
#if ( $conf.getInitParameter("thickness") )
  #set ( $thickness = $conf.getInitParameter("thickness") )
#else
  #set ( $thickness = 1 )
#end



  


$portlet.getContent($data)


  





--
 jetspeed-menu.vm
--

##
## --
## Set Skin Name
## --
#if (${skin.name})
  #set ($skinName="Skins/${skin.name}")
#end
#if (! $data.Customized )
#if ( ! $tabs )
#parse ("jetspeed.vm")
#else
#set ($width = $conf.getInitParameter("tab-width") )
#if (!$width)
  #set ($width = "" )
#end

  




  
 

   


#if ($jslink.UserName != "admin")
##foreach ($tab in $tabs)
##if ($tab.isSelected())
##$tab.Title
##end
##end

#end


  
#foreach ( $tab in $tabs )
#if ($tab.isSelected() )
  #set ($bgcolor = $!{skin.highlight-background-color} )
  #set ($color = $!{skin.highlight-text-color} )
  #set ($titleclass = $!{skin.highlight-title-style-class} )
#else
  #set ($bgcolor = $!{skin.title-background-color} )
  #set ($color = $!{skin.title-text-color} )
  #set ($titleclass = $!{skin.title-style-class} )
#end
#if (${bgcolor})
  #if (${color})
#set ($titlestyle = "background-color: $bgcolor; color: $color;" )
  #else
#set ($titlestyle = "background-color: $bgcolor;" )
  #end
#else
  #if (${color})
#set ($titlestyle = "color: $color;" )
  #else
#set ($titlestyle = "" )
  #end
#end
  



  #if ($tab.Link && ($tab.isSelected() == false))
 
$tab.Title
 
  #else
 
$tab.Title
 
  #end
  
  
#end
   

 
  

#foreach ( $action in $actions )
  
#end


  









  $portlet.getContent($data)


  

#end
#else
$portlet.getContent($data)
#end
##


-
 jetspeed-tab.vm
-


## --
## Set Skin Name
## --
#if (${skin.name})
  #set ($skinName="Skins/${skin.name}")
#end
#if (! $data.Customized )
  #if ( ! $tabs )
#parse ("jetspeed.vm")
  #else

  


  


#set ($i = 0)
#set ($TabSelected = 0)
#foreach ( $tab in $tabs )
  #set ($i = $i + 1)
  #if ($tab.isSelected() )
#set ($TabSelected = $i)
  #end
#end

#set ($TabWidth = $!{skin.tab-width} )
#set ($TabHeight = $!{skin.tab-height} )

#set ($j = 0)
#foreach ( $tab in $tabs )
  #set ($j = $j + 1)
  #if ($j == 1)
#if ($tab.isSelected() )
  #set ($bgcolor = $!{skin.highlight-background-color} )
  #set ($color = $!{skin.highlight-text-color} )
  #set ($titleclass = $!{skin.highlight-title-style-class} )
  #set ($TabLeft = $!{skin.tab-selected-left-alone} )
  #set ($TabMiddle = $!{skin.tab-selected-middle} )
  #if ($j == $i)
#set ($TabRight = $!{skin.tab-selected-right-alone} )
  #else
#set ($TabRight = $!{skin.tab-selected-right-together} )
  #end
  #set ($TabEdit = $!{skin.tab-selected-edit} )
#else
  #set ($bgcolor = $!{skin.title-background-color} )
  #set ($color = $!{skin.title-text-color} )
  #set ($titleclass = $!{skin.title-style-class} )
  #set ($TabLeft = $!{skin.tab-unselected-left-alone} )
  #set ($TabMiddle = $!{skin.tab-unselected-middle} )
  #if ($j == $i)
#set ($TabRight = $!{skin.tab-unselected-right-alone} )
  #else
#set ($TabRight = $!{skin.tab-unselected-together} )
  #end
  #set ($TabEdit = $!{skin.tab-unselected-edit} )
#end

  #else
#if ($j == $i)
  #if ($tab.isSelected() )
#set ($bgcolor = $!{skin.highlight-background-color} )
#set ($color = $!{skin.highlight-text-color} )
#set ($titleclass = $!{skin.highlight-title-style-class} )
#if ($j == $i)
  #set ($TabLeft = $!{skin.tab-selected-left-alone} )
#else
  #set ($TabLeft = $!{skin.tab-selected-left-together} )
 

RE: Mintyblue and Metal Skins

2004-12-01 Thread Rob Evans
Yes please send the files! You may have just made my life a LOT easier!!

 
-Original Message-
From: Ruy Diaz Jara [mailto:[EMAIL PROTECTED] 
Sent: 01 December 2004 4:45 PM
To: Jetspeed Users List
Subject: Re: Mintyblue and Metal Skins

Rob, I'm not sure how MintyBlue and Metal skins work (they reference a
portal-skin-class in skins.xreg, but I couldn't find the class
definitions
anywhere.

What we did, was to define my skin registry entry as follows:











































Where all the necessary images are defined. Afterwards, we modified the
templates for the controls (vm/controls/html): jetspeed.vm,
jetspeed-box.vm,
jetspeed-menu.vm and jetspeed-tab.vm to reflect these changes.

I can send these modified files if you want them.

Regards
Ruy

=
---
I used to be an atheist, until I realized I was God.



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


-
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: Mintyblue and Metal Skins

2004-12-01 Thread Ruy Diaz Jara
Rob, I'm not sure how MintyBlue and Metal skins work (they reference a
portal-skin-class in skins.xreg, but I couldn't find the class definitions
anywhere.

What we did, was to define my skin registry entry as follows:











































Where all the necessary images are defined. Afterwards, we modified the
templates for the controls (vm/controls/html): jetspeed.vm, jetspeed-box.vm,
jetspeed-menu.vm and jetspeed-tab.vm to reflect these changes.

I can send these modified files if you want them.

Regards
Ruy

=
---
I used to be an atheist, until I realized I was God.



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


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



Re: Mintyblue and Metal Skins

2004-12-01 Thread Stefano Bianchi

Dear Rob,
have a look at the file
jetspeed\WEB-INF\templates\vm\controls\html\jetspeed.vm...
I worked on this to change the portlet layout
Good luck
Stefano

- Original Message - 
From: "Rob Evans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 01, 2004 5:28 PM
Subject: Mintyblue and Metal Skins


Hi everyone,

I'm looking for a tutorial or a quick explanation of how I
can get my portals to display images as their skin instead of just
colours and text styles...

After A LOT of searching, I still cannot work out how to do
this but found references to the mintyblue and metal skins that both
seem to do what I'd like, although I cannot confirm this as I have never
seen them.

Can someone explain to me what files need changing, and how
I can specify the images to use for each bit of the table that makes up
the portlet? I'm assuming the skins have a similar setup to the standard
3x3, 9 celled table with top-left, top-middle, top-right, middle-left,
middle-right etc images defined in the form of:

-
|   |   |   |
-
|   |   |   |
-
|   |   |   |
-

PS, I searched the mailing list and couldn't find anything for keywords:
mintyblue, metal or skins

Cheers,

Rob Evans




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



Mintyblue and Metal Skins

2004-12-01 Thread Rob Evans
Hi everyone,
 
I'm looking for a tutorial or a quick explanation of how I
can get my portals to display images as their skin instead of just
colours and text styles...
 
After A LOT of searching, I still cannot work out how to do
this but found references to the mintyblue and metal skins that both
seem to do what I'd like, although I cannot confirm this as I have never
seen them.
 
Can someone explain to me what files need changing, and how
I can specify the images to use for each bit of the table that makes up
the portlet? I'm assuming the skins have a similar setup to the standard
3x3, 9 celled table with top-left, top-middle, top-right, middle-left,
middle-right etc images defined in the form of:
 
-
|   |   |   |
-
|   |   |   |
-
|   |   |   |
-
 
PS, I searched the mailing list and couldn't find anything for keywords:
mintyblue, metal or skins
 
Cheers,
 
Rob Evans
 


Re: Tutorial Jetspeed 1.5

2004-12-01 Thread Dan Moore
Hi Marco,

Did you search the mailing list?  That's available here:
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]

I searched the mailing list for this exception, and found this message,
which seems to address your problem.
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=13325

Dan

--- Marco Wallbaum <[EMAIL PROTECTED]> wrote:

> hello!
> I have got a problem installing Jetspeed 1.5. I have downloaded the
> source-files and than I have followed these steps:
> 1. Install a Java compiler (1.3 or greater) 
> 2. Install Ant (1.5 or greater) 
> 3. Install Maven 
> 4. Install Tomcat 4 (4.1.12 or higher (last tested on 4.1.30)) or
> Tomcat 5 
> 5. Install Jetspeed (1.5 release or higher). Release 1.5 includes the
> tutorial and examples. You can also checkout Jetspeed from the CVS
> head
> to get the tutorial. 
> 6. Build Jetspeed. From the root jetspeed directory, type maven
> dist:install
> 
> But the result of step 6 is the following error message:
> 
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.1
> 
> Tag library requested that is not present: 'maven' in plugin: 'null'
> build:start:
> 
> dist:build-setup:
> [mkdir] Created dir:
> H:\java\Testumgebung\jetspeed-1.5\target\distributions
> 
> dist:prepare-bin-filesystem:
> [mkdir] Created dir:
>
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed-1.5\bin\jetspeed-1.5
> [echo] 
>
++
> | C R E A T I N G  J E T S P E E D  B I N A R Y  D I S T R I B U T I
> O
> N |
>
++
>   
> [copy] Copying 7 files to
>
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed-1.5\bin\jetspeed-1.5
> Tag library requested that is not present: 'maven' in plugin: 'null'
> war:init:
> 
> war:war-resources:
> [mkdir] Created dir:
> H:\java\Testumgebung\jetspeed-1.5\target\jetspeed
> [mkdir] Created dir:
> H:\java\Testumgebung\jetspeed-1.5\target\jetspeed\WEB-INF
> [copy] Copying 457 files to
> H:\java\Testumgebung\jetspeed-1.5\target\jetspeed
> [copy] Copied 1 empty directory to
> H:\java\Testumgebung\jetspeed-1.5\target\jetspeed
> [copy] Copying 1 file to
> H:\java\Testumgebung\jetspeed-1.5\target\jetspeed\WEB-INF
> 
> java:prepare-filesystem:
> [mkdir] Created dir:
> H:\java\Testumgebung\jetspeed-1.5\target\classes
> Tag library requested that is not present: 'maven' in plugin: 'null'
> 
> java:compile:
> prepare.apis:
> [echo] Generating Jetspeed XML bindings
> [java] -- Suppressing non fatal warnings.
> 
> torque:init:
> 
> torque:om-check:
> 
> torque:om:
> torque:init:
> Overriding previous definition of reference to torque-classpath
> 
> torque:om-generate:
> [torque-data-model] Using classpath
> [torque-data-model] Generating to file
>
H:[EMAIL PROTECTED]
> 
> 
> BUILD FAILED
> File.. C:\Dokumente und
> Einstellungen\WallM\.maven\cache\maven-torqu
> -3.2\plugin.jelly
> Element... torque-data-model
> Line.. 228
> Column 49
> org.apache.torque.engine.EngineException: Connection timed out:
> connect
> 
> Please I really need a helping hand!!!
> So if you just only have an idea, please let me know!
> Thank's!
> 
> marco
> 
> 
> --
> 
> VERTRAULICHKEITSHINWEIS:
>  Der Inhalt dieser E-Mail ist vertraulich und fuer den Nutzer der
> E-Mail Adresse bestimmt, an den die Nachricht geschickt wurde; sie
> kann darueber hinaus durch besondere Bestimmungen geschuetzt sein.
> Wenn Sie nicht der Adressat dieser E-Mail sind, duerfen Sie diese
> nicht kopieren, weiterleiten, weitergeben oder sie ganz oder
> teilweise in irgendeiner Weise nutzen. Wenn Sie diese E-Mail
> faelschlicherweise erhalten haben, benachrichtigen Sie bitte den
> Absender, indem Sie auf diese Nachricht antworten.
> 
>  CONFIDENTIALITY NOTICE
>  The contents of this e-mail are confidential to the ordinary
> user of the e-mail address to which it was addressed and may also be
> privileged. If you are not the addressee of this e-mail you may not
> copy, forward, disclose or otherwise use it or any part of it in any
> form whatsoever. If you have received this e-mail in error please
> e-mail the sender by replying to this message.
> 
> 
> 
> -
> 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: Limiting customization available to users

2004-12-01 Thread Ruy Diaz Jara
Hi all,

I got it. I added the  to the psml of my turbine user and the
problem is solved. I added it to both the portlet .xreg and the .psml and I
achieved what I wanted: no customization of panes, and selective customization
of portlets.

Regards
Ruy

--- Stefano Bianchi <[EMAIL PROTECTED]> wrote:

> << COPIED FROM A PREVIOUS ANSWER - it works fine for JS 1.4b3... >>
> 
> each single portlet has its own security defined through administration psml
> browser.
> Then, if you want portlets for a specific role to have different security
> constraints, you have to specify them one by one.
> E.g. I have for anon user portlets with only customize button and portlets
> with customize, minimize and maximize buttons.
> I defined the local-security.xreg file you can find below :
> 
> 
> 
> 
> 
> MY Use
> Users can print, minimize and maximize, Admin
> have full access.
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
> 
> 
> MY Customize
> Users customize.
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
> 
> 
> They grant all to admin users but only some actions to users (it' easy to
> find them!).
> NOTE: the one you used was only an entry of the file, not the whole one!!!
> I don't remember well where to do it (some property file) but you can also
> set your security as the default one so that once you create a portlet you
> do have not to change its definition.
> 
> Let us know your advancements!
> Stefano
> 
> - Original Message - 
> From: "Ruy Diaz Jara" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 01, 2004 1:33 AM
> Subject: RE: Limiting customization available to users
> 
> 
> > I've had no replies but I'd like to insist if anyone can help me. Sorry if
> I am
> > being pushy but I really can't figure this out.
> >
> > What I am trying to do is to customize which action icons (maximize,
> minimize,
> > etc.) are available to users. I have tried changing the permissions but
> this
> > has absolutely no effect. The only way I have found to remove the icons
> > completely is by modifying JetspeedSecurity.properties by setting the
> line:
> >
> > services.JetspeedSecurity.actions.allusers.disable=true
> >
> > Unfortunately this doesn't solve my problem because I do want to have the
> > 'customize' icon on certain portlets, but I dont want users to go changing
> > their PSML for example. I have also tried adding
> >
> >   
> >
> > to the controllers.xreg in each of the controller entries, but this also
> has no
> > effect. This is also pretty confusing because the DTD doesnt't mention
> this
> > element, but http://portals.apache.org/jetspeed-1/registry_syntax.html
> says
> > that  is common to all entries. I also put the security-ref
> > element in the controls.xreg but nothing happened again.
> >
> > Please people, I guess I must be missing something really stupid in order
> to
> > get this to work. If someone could just point me in the right direction
> I'd
> > really appreciate it.
> >
> > Regards
> > Ruy
> >
> > P.S.: Could anyone just reply to this message even if they don't have the
> > answer? I'm starting to think my messages are not reaching the list
> because of
> > the AAD bouncing my messages back (as I mentioned in an earlier email), I
> don't
> > know if it's related or not, just want to make sure.
> >
> >
> >
> >
> > 

RE: jetspeed-newbie Roles-Groups-Users

2004-12-01 Thread Randy Watler
Marina,

Yes, many on the dev team have J2 in production or in prototypes. Comments
below.

>What I meant was:
>I see there is some relationship between directory
>names under the WEB-INF/pages directory and user
>like:
>WEB-INF/pages/_role
>manager/
>user/
>WEB-INF/pages/_user
>user/
>
>So, for me to create a new user, should I use the same
>naming convention?
>For example, to add a new user "scott" with the role
>"admin"
>should I create corresponding directories 
>WEB-INF/pages/_role/admin
>WEB-INF/pages/_user/scott

In general, yes. However, the directories that are used are determined by
the profiling rules. Here, the _user directory is aggregated by the "j1"
rule and the _role directory is aggregated by the "role-fallback" or
"role-group" rules. You have the right idea though.

>By the way, where is the login takes place?
>I tried login through the "Login" portlet - but it did
>not change content of the portal window accordingly (I
>logged in as 'user')

To login as scott, you must add logins, passwords, profiling rules for the
Jetspeed user principal. There are admin portlets to do some of this, (login
as admin/admin). Many of us simply extend the
populate-userinfo-for-default-psml.sql script to add new users. Look at the
definitions in there for principals, security, and profiling rules.

>Another question:
>How do you add new users programmatically? Do I have
>to create those new directories every time I add a new
>user? What if I want users to be able to register
>themselves, how would all this directory/files setup
>work? Or do I have to write my own code to insert new
>users into the DB (by the way, I'm assuming that's
>what the populate-userinfo-for-default-psml.sql does,
>is it?) ?

Like I said, there are admin portlets to do some of the work. There are
plans in the immediate future to make these portlets more powerful that will
fill in the gaps betwwen the existing capabilites and editing
opulate-userinfo-for-default-psml.sql. So, all you will need to do is allow
the "guest" user access to pages that contain these portlets or to the
existing admin pages. You should not have to write any code unless you are
interfacing to another system and need external
authentication/authorization/single-signon.  

>Sorry, I do feel somewhat confused here.
>Did anybody succeed in setting up the user management
>in J2? It's hard to believe I'm the first one
>struggling with this :)

Well, you are probably one of the first non-dev-team people to attempt it!
Not to worry, it is complex but does work... :). Keep the questions coming:
it gives us all a chance to spread the word and see where we need to
improve!

Thanks for hanging in there!

Randy


RE: jetspeed-newbie Roles-Groups-Users

2004-12-01 Thread Randy Watler
No worries Marina, lets get it figured out... :)

Randy 

-Original Message-
From: Marina
To: Jetspeed Users List
Sent: 12/1/04 8:47 AM
Subject: Re: jetspeed-newbie Roles-Groups-Users

Hi,

sorry, I'm still struggling with the user management/
access control. The documentation from J2's profiler
directory helped somewhat but now I have even more
questions than before :)

First, I looked at the jetspeed.xml - and I see

--- Randy Watler <[EMAIL PROTECTED]> wrote:

> Marina,
> 
> There are two different Roles/Groups/Users domains
> in effect: Tomcat's 
> and Jetspeed's. Jetspeed has its own JAAS
> login/logout that is managed 
> separately from the global Tomcat configuration,
> (see jetspeed.xml for 
> the JAAS Realm definition). Configuration of
> Tomcat's Realm is only 
> necessary for running the manager/admin application
> to deploy portlet 
> webapps.
> 
> I am not sure why your Tomcat security configuration
> did not control 
> access to the Jetspeed application as a whole, (I am
> not an expert there 
> to say the least; I've never had to use that believe
> it or not).
> 
> To use the portlet security, you'll probably need to
> configure the 
> Jetspeed realm correctly or use the demo logins.
> Like I said, I am not 
> sure portlet security is implemented at this time,
> YMMV. See the 
> populate-userinfo-for-default-psml.sql script.
> 
> For page level security, see the demo psml pages
> under 
> jetspeed/WEB-INF/pages. No document on this stuff
> yet... it is very new 
> and still settling in.
> 
> I will mail a PDF version of the profiling document
> to you in few minutes.
> 
> Randy
> 
> Marina wrote:
> 
> >Randy,
> >Thanks a lot for your response.
> >
> >I indeed have more specific question on the
> security
> >setup in J2. 
> >I should note right away that I apologize if these
> >questions are answered in the documentation you
> >mentioned - I was not able to read it as it seems
> to
> >be in the .sxw format (StarOffice, I think ?). Any
> >idea how to convert them into some other format if
> I
> >don't have StarOffice readily available?
> >
> >Now to my questions.
> >I'm trying to do a very common thing: require a
> user
> >to log in when he access the portal for the first
> >time, and then show only those portlets that this
> user
> >is authorized to see, and give him only those
> access
> >rights  to some functionality (buttons, links in
> the
> >portlets) that he is authorized to do.
> >
> >First of, I was not sure how to limit access to the
> >portal as a whole - usually you do that kind of
> thing
> >in the web.xml descriptor of the web application. I
> >guess that would be the
> >$TOMCAT_HOME/webapps/jetspeed/WEB-INF/web.xml
> >But then, would not it be overwritten when Jetspeed
> is
> >redeployed using the Maven build scripts? And what
> > would I have to specify - /jetspeed/*
> or
> >something like that?
> >
> >Anyway, I decided to try to protect the main
> portlet
> >as the first step. In my potlet's web.xml I
> specified:
> >  
> >
> >  Secure EventCalendar
> >  
> > /EventsCalendarPortlet/*
> > 
> >  GET
> >  POST
> >
> >
> >  dce_admin
> >
> >  
> >  
> >BASIC
> >  
> >  
> >dce_admin
> >  
> >
> >and I have a corresponding role defined in the
> >tomcat-users.xml:
> >  
> >   password="some_password"
> >roles="dce_admin"/>
> >
> >Since I could not find any Jetspeed-specific
> >information on specifying security constraints for
> >individual portlets, I just used the Portlet
> >Specification as the guide and added this to the
> >portlet's portlet.xml:
> >
> >
> >dce_admin
> >dce_admin
> >
> >
> >The EventsCalendarPortlet got deployed into J2 just
> >fine, but it was displayed in the portal without
> >prompting me for any username/password.
> >
> >If you could give me any pointers as to what I'm
> >missing and what would the main steps be to achieve
> >what I'm trying to do it would be great!
> >
> >Sorry for such a long e-mail,
> >
> >thanks!
> >Marina
> >
> >--- Randy Watler <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>MP,
> >>
> >>I am more or less responsible for the J2 profiling
> >>and security features.
> >>
> >>There is some documentation in the J2 design-docs
> >>under the profiler
> >>directory, (pull from CVS).
> >>
> >>Also the demo configuration for user/user,
> >>(username=user, password=user),
> >>uses profiling extensively to customize its view
> and
> >>security to limit its
> >>access to the admin pages/portlets.
> >>
> >>BTW, this functionality is page based, not portlet
> >>based. Portlet security
> >>constraints can be specified in the portlet.xml,
> but
> >>I am not sure if they
> >>are 100% implemented at this point.
> >>
> >>Feel free to send more specific J2 questions to
> the
> >>list.
> >>
> >>HTH,
> >>
> >>Randy Watler
> >>
> >>-Original Message-
> >>From: M P
> >>To: Jetspeed Users List
> >>Sent: 11/27/04 12:10 PM
> >>Subject: Re: jetspeed-newbie Roles-Group

Re: jetspeed-newbie Roles-Groups-Users

2004-12-01 Thread Marina
Sorry, I hit "Send " button before I finished the mail
:)

What I meant was:
I see there is some relationship between directory
names under the WEB-INF/pages directory and user
like:
WEB-INF/pages/_role
manager/
user/
WEB-INF/pages/_user
user/

So, for me to create a new user, should I use the same
naming convention?
For example, to add a new user "scott" with the role
"admin"
should I create corresponding directories 
WEB-INF/pages/_role/admin
WEB-INF/pages/_user/scott

??

And then, will the pages (.psml) in the scott/
directory be what is shown in the portal when 'scott'
logs in?

By the way, where is the login takes place?
I tried login through the "Login" portlet - but it did
not change content of the portal window accordingly (I
logged in as 'user')

Another question:
How do you add new users programmatically? Do I have
to create those new directories every time I add a new
user? What if I want users to be able to register
themselves, how would all this directory/files setup
work? Or do I have to write my own code to insert new
users into the DB (by the way, I'm assuming that's
what the populate-userinfo-for-default-psml.sql does,
is it?) ?

Sorry, I do feel somewhat confused here.
Did anybody succeed in setting up the user management
in J2? It's hard to believe I'm the first one
struggling with this :)

Thanks a lot!
Marina


--- Randy Watler <[EMAIL PROTECTED]> wrote:

> Marina,
> 
> There are two different Roles/Groups/Users domains
> in effect: Tomcat's 
> and Jetspeed's. Jetspeed has its own JAAS
> login/logout that is managed 
> separately from the global Tomcat configuration,
> (see jetspeed.xml for 
> the JAAS Realm definition). Configuration of
> Tomcat's Realm is only 
> necessary for running the manager/admin application
> to deploy portlet 
> webapps.
> 
> I am not sure why your Tomcat security configuration
> did not control 
> access to the Jetspeed application as a whole, (I am
> not an expert there 
> to say the least; I've never had to use that believe
> it or not).
> 
> To use the portlet security, you'll probably need to
> configure the 
> Jetspeed realm correctly or use the demo logins.
> Like I said, I am not 
> sure portlet security is implemented at this time,
> YMMV. See the 
> populate-userinfo-for-default-psml.sql script.
> 
> For page level security, see the demo psml pages
> under 
> jetspeed/WEB-INF/pages. No document on this stuff
> yet... it is very new 
> and still settling in.
> 
> I will mail a PDF version of the profiling document
> to you in few minutes.
> 
> Randy
> 
> Marina wrote:
> 
> >Randy,
> >Thanks a lot for your response.
> >
> >I indeed have more specific question on the
> security
> >setup in J2. 
> >I should note right away that I apologize if these
> >questions are answered in the documentation you
> >mentioned - I was not able to read it as it seems
> to
> >be in the .sxw format (StarOffice, I think ?). Any
> >idea how to convert them into some other format if
> I
> >don't have StarOffice readily available?
> >
> >Now to my questions.
> >I'm trying to do a very common thing: require a
> user
> >to log in when he access the portal for the first
> >time, and then show only those portlets that this
> user
> >is authorized to see, and give him only those
> access
> >rights  to some functionality (buttons, links in
> the
> >portlets) that he is authorized to do.
> >
> >First of, I was not sure how to limit access to the
> >portal as a whole - usually you do that kind of
> thing
> >in the web.xml descriptor of the web application. I
> >guess that would be the
> >$TOMCAT_HOME/webapps/jetspeed/WEB-INF/web.xml
> >But then, would not it be overwritten when Jetspeed
> is
> >redeployed using the Maven build scripts? And what
> > would I have to specify - /jetspeed/*
> or
> >something like that?
> >
> >Anyway, I decided to try to protect the main
> portlet
> >as the first step. In my potlet's web.xml I
> specified:
> >  
> >
> >  Secure EventCalendar
> >  
> > /EventsCalendarPortlet/*
> > 
> >  GET
> >  POST
> >
> >
> >  dce_admin
> >
> >  
> >  
> >BASIC
> >  
> >  
> >dce_admin
> >  
> >
> >and I have a corresponding role defined in the
> >tomcat-users.xml:
> >  
> >   password="some_password"
> >roles="dce_admin"/>
> >
> >Since I could not find any Jetspeed-specific
> >information on specifying security constraints for
> >individual portlets, I just used the Portlet
> >Specification as the guide and added this to the
> >portlet's portlet.xml:
> >
> >
> >dce_admin
> >dce_admin
> >
> >
> >The EventsCalendarPortlet got deployed into J2 just
> >fine, but it was displayed in the portal without
> >prompting me for any username/password.
> >
> >If you could give me any pointers as to what I'm
> >missing and what would the main steps be to achieve
> >what I'm trying to do it would be great!
> >
> >Sorry for such a long e-mail,
> >
> >thanks!
> >Marina
> >
> >--- Randy Watler

Re: jetspeed-newbie Roles-Groups-Users

2004-12-01 Thread Marina
Hi,

sorry, I'm still struggling with the user management/
access control. The documentation from J2's profiler
directory helped somewhat but now I have even more
questions than before :)

First, I looked at the jetspeed.xml - and I see

--- Randy Watler <[EMAIL PROTECTED]> wrote:

> Marina,
> 
> There are two different Roles/Groups/Users domains
> in effect: Tomcat's 
> and Jetspeed's. Jetspeed has its own JAAS
> login/logout that is managed 
> separately from the global Tomcat configuration,
> (see jetspeed.xml for 
> the JAAS Realm definition). Configuration of
> Tomcat's Realm is only 
> necessary for running the manager/admin application
> to deploy portlet 
> webapps.
> 
> I am not sure why your Tomcat security configuration
> did not control 
> access to the Jetspeed application as a whole, (I am
> not an expert there 
> to say the least; I've never had to use that believe
> it or not).
> 
> To use the portlet security, you'll probably need to
> configure the 
> Jetspeed realm correctly or use the demo logins.
> Like I said, I am not 
> sure portlet security is implemented at this time,
> YMMV. See the 
> populate-userinfo-for-default-psml.sql script.
> 
> For page level security, see the demo psml pages
> under 
> jetspeed/WEB-INF/pages. No document on this stuff
> yet... it is very new 
> and still settling in.
> 
> I will mail a PDF version of the profiling document
> to you in few minutes.
> 
> Randy
> 
> Marina wrote:
> 
> >Randy,
> >Thanks a lot for your response.
> >
> >I indeed have more specific question on the
> security
> >setup in J2. 
> >I should note right away that I apologize if these
> >questions are answered in the documentation you
> >mentioned - I was not able to read it as it seems
> to
> >be in the .sxw format (StarOffice, I think ?). Any
> >idea how to convert them into some other format if
> I
> >don't have StarOffice readily available?
> >
> >Now to my questions.
> >I'm trying to do a very common thing: require a
> user
> >to log in when he access the portal for the first
> >time, and then show only those portlets that this
> user
> >is authorized to see, and give him only those
> access
> >rights  to some functionality (buttons, links in
> the
> >portlets) that he is authorized to do.
> >
> >First of, I was not sure how to limit access to the
> >portal as a whole - usually you do that kind of
> thing
> >in the web.xml descriptor of the web application. I
> >guess that would be the
> >$TOMCAT_HOME/webapps/jetspeed/WEB-INF/web.xml
> >But then, would not it be overwritten when Jetspeed
> is
> >redeployed using the Maven build scripts? And what
> > would I have to specify - /jetspeed/*
> or
> >something like that?
> >
> >Anyway, I decided to try to protect the main
> portlet
> >as the first step. In my potlet's web.xml I
> specified:
> >  
> >
> >  Secure EventCalendar
> >  
> > /EventsCalendarPortlet/*
> > 
> >  GET
> >  POST
> >
> >
> >  dce_admin
> >
> >  
> >  
> >BASIC
> >  
> >  
> >dce_admin
> >  
> >
> >and I have a corresponding role defined in the
> >tomcat-users.xml:
> >  
> >   password="some_password"
> >roles="dce_admin"/>
> >
> >Since I could not find any Jetspeed-specific
> >information on specifying security constraints for
> >individual portlets, I just used the Portlet
> >Specification as the guide and added this to the
> >portlet's portlet.xml:
> >
> >
> >dce_admin
> >dce_admin
> >
> >
> >The EventsCalendarPortlet got deployed into J2 just
> >fine, but it was displayed in the portal without
> >prompting me for any username/password.
> >
> >If you could give me any pointers as to what I'm
> >missing and what would the main steps be to achieve
> >what I'm trying to do it would be great!
> >
> >Sorry for such a long e-mail,
> >
> >thanks!
> >Marina
> >
> >--- Randy Watler <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>MP,
> >>
> >>I am more or less responsible for the J2 profiling
> >>and security features.
> >>
> >>There is some documentation in the J2 design-docs
> >>under the profiler
> >>directory, (pull from CVS).
> >>
> >>Also the demo configuration for user/user,
> >>(username=user, password=user),
> >>uses profiling extensively to customize its view
> and
> >>security to limit its
> >>access to the admin pages/portlets.
> >>
> >>BTW, this functionality is page based, not portlet
> >>based. Portlet security
> >>constraints can be specified in the portlet.xml,
> but
> >>I am not sure if they
> >>are 100% implemented at this point.
> >>
> >>Feel free to send more specific J2 questions to
> the
> >>list.
> >>
> >>HTH,
> >>
> >>Randy Watler
> >>
> >>-Original Message-
> >>From: M P
> >>To: Jetspeed Users List
> >>Sent: 11/27/04 12:10 PM
> >>Subject: Re: jetspeed-newbie Roles-Groups-Users
> >>
> >>Hi, David,
> >>
> >>The documentation you mentioned is for Jetspeed 1.
> >>Is
> >>it also true for Jetspeed2? If not - could you
> point
> >>me  to where I could find it for J2

Tutorial Jetspeed 1.5

2004-12-01 Thread Marco Wallbaum
hello!
I have got a problem installing Jetspeed 1.5. I have downloaded the
source-files and than I have followed these steps:
1. Install a Java compiler (1.3 or greater) 
2. Install Ant (1.5 or greater) 
3. Install Maven 
4. Install Tomcat 4 (4.1.12 or higher (last tested on 4.1.30)) or
Tomcat 5 
5. Install Jetspeed (1.5 release or higher). Release 1.5 includes the
tutorial and examples. You can also checkout Jetspeed from the CVS head
to get the tutorial. 
6. Build Jetspeed. From the root jetspeed directory, type maven
dist:install

But the result of step 6 is the following error message:

|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.1

Tag library requested that is not present: 'maven' in plugin: 'null'
build:start:

dist:build-setup:
[mkdir] Created dir:
H:\java\Testumgebung\jetspeed-1.5\target\distributions

dist:prepare-bin-filesystem:
[mkdir] Created dir:
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed-1.5\bin\jetspeed-1.5
[echo] 
++
| C R E A T I N G  J E T S P E E D  B I N A R Y  D I S T R I B U T I O
N |
++

[copy] Copying 7 files to
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed-1.5\bin\jetspeed-1.5
Tag library requested that is not present: 'maven' in plugin: 'null'
war:init:

war:war-resources:
[mkdir] Created dir:
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed
[mkdir] Created dir:
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed\WEB-INF
[copy] Copying 457 files to
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed
[copy] Copied 1 empty directory to
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed
[copy] Copying 1 file to
H:\java\Testumgebung\jetspeed-1.5\target\jetspeed\WEB-INF

java:prepare-filesystem:
[mkdir] Created dir:
H:\java\Testumgebung\jetspeed-1.5\target\classes
Tag library requested that is not present: 'maven' in plugin: 'null'

java:compile:
prepare.apis:
[echo] Generating Jetspeed XML bindings
[java] -- Suppressing non fatal warnings.

torque:init:

torque:om-check:

torque:om:
torque:init:
Overriding previous definition of reference to torque-classpath

torque:om-generate:
[torque-data-model] Using classpath
[torque-data-model] Generating to file
H:[EMAIL PROTECTED]


BUILD FAILED
File.. C:\Dokumente und
Einstellungen\WallM\.maven\cache\maven-torqu
-3.2\plugin.jelly
Element... torque-data-model
Line.. 228
Column 49
org.apache.torque.engine.EngineException: Connection timed out:
connect

Please I really need a helping hand!!!
So if you just only have an idea, please let me know!
Thank's!

marco


--

VERTRAULICHKEITSHINWEIS:
 Der Inhalt dieser E-Mail ist vertraulich und fuer den Nutzer der E-Mail 
Adresse bestimmt, an den die Nachricht geschickt wurde; sie kann darueber 
hinaus durch besondere Bestimmungen geschuetzt sein. Wenn Sie nicht der 
Adressat dieser E-Mail sind, duerfen Sie diese nicht kopieren, weiterleiten, 
weitergeben oder sie ganz oder teilweise in irgendeiner Weise nutzen. Wenn Sie 
diese E-Mail faelschlicherweise erhalten haben, benachrichtigen Sie bitte den 
Absender, indem Sie auf diese Nachricht antworten.

 CONFIDENTIALITY NOTICE
 The contents of this e-mail are confidential to the ordinary user of the 
e-mail address to which it was addressed and may also be privileged. If you are 
not the addressee of this e-mail you may not copy, forward, disclose or 
otherwise use it or any part of it in any form whatsoever. If you have received 
this e-mail in error please e-mail the sender by replying to this message.



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



Re: Limiting customization available to users

2004-12-01 Thread Ruy Diaz Jara
Thanks Stefano, this solves a pretty good part of the problem, however I think
it doesn't apply to controls or controllers, does it? I not only want users not
to close the portlets created for them upon user creation, but I also want to
prevent them from removing/adding panes from a tab controller, or items from a
menu control. I tried using user-view_admin_all security on these elements (in
controls.xreg and controllers.xreg) but it didn't work. Any ideas?

Regards
Ruy

--- Stefano Bianchi <[EMAIL PROTECTED]> wrote:

> << COPIED FROM A PREVIOUS ANSWER - it works fine for JS 1.4b3... >>
> 
> each single portlet has its own security defined through administration psml
> browser.
> Then, if you want portlets for a specific role to have different security
> constraints, you have to specify them one by one.
> E.g. I have for anon user portlets with only customize button and portlets
> with customize, minimize and maximize buttons.
> I defined the local-security.xreg file you can find below :
> 
> 
> 
> 
> 
> MY Use
> Users can print, minimize and maximize, Admin
> have full access.
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
> 
> 
> MY Customize
> Users customize.
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
> 
> 
> 
> 
> They grant all to admin users but only some actions to users (it' easy to
> find them!).
> NOTE: the one you used was only an entry of the file, not the whole one!!!
> I don't remember well where to do it (some property file) but you can also
> set your security as the default one so that once you create a portlet you
> do have not to change its definition.
> 
> Let us know your advancements!
> Stefano
> 
> - Original Message - 
> From: "Ruy Diaz Jara" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 01, 2004 1:33 AM
> Subject: RE: Limiting customization available to users
> 
> 
> > I've had no replies but I'd like to insist if anyone can help me. Sorry if
> I am
> > being pushy but I really can't figure this out.
> >
> > What I am trying to do is to customize which action icons (maximize,
> minimize,
> > etc.) are available to users. I have tried changing the permissions but
> this
> > has absolutely no effect. The only way I have found to remove the icons
> > completely is by modifying JetspeedSecurity.properties by setting the
> line:
> >
> > services.JetspeedSecurity.actions.allusers.disable=true
> >
> > Unfortunately this doesn't solve my problem because I do want to have the
> > 'customize' icon on certain portlets, but I dont want users to go changing
> > their PSML for example. I have also tried adding
> >
> >   
> >
> > to the controllers.xreg in each of the controller entries, but this also
> has no
> > effect. This is also pretty confusing because the DTD doesnt't mention
> this
> > element, but http://portals.apache.org/jetspeed-1/registry_syntax.html
> says
> > that  is common to all entries. I also put the security-ref
> > element in the controls.xreg but nothing happened again.
> >
> > Please people, I guess I must be missing something really stupid in order
> to
> > get this to work. If someone could just point me in the right direction
> I'd
> > really appreciate it.
> >
> > Regards
> > Ruy
> >
> > P.S.: Could anyone just reply to this message even if they don't have the
> > answer? I'm starting to t

Re: JSR-168 Portlet Re-Register

2004-12-01 Thread Jeff Sheets
I can see the JMS message working by sending the message from the
initialization servlet to tell Jetspeed to re-register the app.  The
servlet could then be easily reused.  The only hangup would be which
JMS server to use, but maybe this has already been solved by the other
work.  If I find some free time, I'll try to implement this.

Can spring hold an "mdb" type of bean, that wakes up when a message is
seen?  That would be cool to just plugin to the spring framework and
could be used by fusion and j2.  I'll look into this too.
-- Jeff


On Wed, 01 Dec 2004 09:54:10 -0500, Scott T. Weaver
<[EMAIL PROTECTED]> wrote:
> I like the JMS message idea. I know J1 has some pretty nice JMS stuff in
> it thanks to David Taylor. I would eventually like to see this migrated
> to J2.
> 
> 
> 
> Jeff Sheets wrote:
> 
> >My deployment is setup so that the jetspeed.war sits next to my
> >application.ear and the application.ear holds one.war and two.war.
> >These wars contain portlet.xml files for JSR-168 portlets, and I am
> >able to display these correctly in the Jetspeed Fusion portal.  My
> >question relates to deploying an updated application.ear to my server.
> > When I deploy this new ear I then have to go into the admin console
> >of Jetspeed to "re-register" the portlet application.  Has anyone done
> >work to automatically re-register the war?
> >
> >I first tried creating a JetspeedRegistration initialization servlet,
> >which would run once at one.war and two.war 's deployment time.  This
> >servlet attempted to access the spring service to re-register the app.
> > This doesn't quite work, for reasons I realized later.
> >
> >I think we could setup Jetspeed to detect that the ServletContext has
> >been modified, and then have it try to re-register first before giving
> >up and throwing the NullPointerException that occurs.  Otherwise a
> >mechanism could be developed where Jetspeed accepts a JMS message (or
> >some other interface) to notify that a re-register is needed.
> >
> >Any thoughts?  Have others tried this?
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> 
> --
> "Great minds discuss ideas. Average minds discuss events. Small minds discuss 
> people."  - Admiral Hyman Rickover
> 
> ***
> *   Scott T. Weaver   *
> * <[EMAIL PROTECTED]> *
> * *
> * --  *
> *   Apache Jetspeed Enterprise Portal *
> * Apache Pluto Portlet Container  *
> * *
> * OpenEdit, Website Content Management*
> *    *
> ***
> 
> -
> 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: Limiting customization available to users

2004-12-01 Thread Ruy Diaz Jara
Thanks, Sergio. I appreciate it. I was starting to get worried.

Ruy

--- [EMAIL PROTECTED] wrote:

> 
> 
> 
> 
> 
> >P.S.: Could anyone just reply to this message even if they don't have
> >the answer? I'm starting to think my messages are not reaching the
> 
> I don't know how to do what you say, sorry, but at least your mail is
> working OK. And don't worry, I have asked for help a couple of times in
> this list too and didn't get any answer... :(
> 
> --
> Sergio A. Delgado Quero
> [EMAIL PROTECTED]
> 
> 
> 
> -Ruy Diaz Jara <[EMAIL PROTECTED]> wrote: -
> 
> 
> To: [EMAIL PROTECTED]
> From: Ruy Diaz Jara <[EMAIL PROTECTED]>
> Date: 01/12/2004 01:33 AM
> Subject: RE: Limiting customization available to users
> 
> I've had no replies but I'd like to insist if anyone can help me. Sorry if
> I am
> being pushy but I really can't figure this out.
> 
> What I am trying to do is to customize which action icons (maximize,
> minimize,
> etc.) are available to users. I have tried changing the permissions but
> this
> has absolutely no effect. The only way I have found to remove the icons
> completely is by modifying JetspeedSecurity.properties by setting the line:
> 
> services.JetspeedSecurity.actions.allusers.disable=true
> 
> Unfortunately this doesn't solve my problem because I do want to have the
> 'customize' icon on certain portlets, but I dont want users to go changing
> their PSML for example. I have also tried adding
> 
> 
> 
> to the controllers.xreg in each of the controller entries, but this also
> has no
> effect. This is also pretty confusing because the DTD doesnt't mention this
> element, but http://portals.apache.org/jetspeed-1/registry_syntax.htmlsays
> that is common to all entries. I also put the security-ref
> element in the controls.xreg but nothing happened again.
> 
> Please people, I guess I must be missing something really stupid in order
> to
> get this to work. If someone could just point me in the right direction I'd
> really appreciate it.
> 
> Regards
> Ruy
> 
> P.S.: Could anyone just reply to this message even if they don't have the
> answer? I'm starting to think my messages are not reaching the list because
> of
> the AAD bouncing my messages back (as I mentioned in an earlier email), I
> don't
> know if it's related or not, just want to make sure.
> 
> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> **DESCARGA DE RESPONSABILIDAD**
> Este mensaje es privado y confidencial y solamente para la persona a la que
> va dirigido. Si usted ha recibido este mensaje por error, no debe revelar,
> copiar, distribuir o usarlo en ningún sentido. Le rogamos lo comunique al
> remitente y borre dicho mensaje y cualquier documento adjunto que pudiera
> contener. No hay renuncia a la confidencialidad ni a ningún privilegio por
> causa de transmisión errónea o mal funcionamiento.
> Cualquier opinión expresada en este mensaje pertenece únicamente al autor
> remitente, y no representa necesariamente la opinión de GRUPO DELAWARE, a
> no ser que se diga expresamente y el remitente esté autorizado para
> hacerlo.
> 
> **DISCLAIMER**
>  This message is private and confidential and it is intended exclusively
>  for the addressee. If you receive this message by mistake, you should not
>  disseminate, distribute or copy this e-mail. Please inform the sender and
>  delete the message and attachments from your system. No confidentiality
>  nor any privilege regarding the information is waived or lost by any
>  mistransmission or malfunction.
> Any views or opinions contained in this message are solely those of the
> author, and do not necessarily represent those of GRUPO DELAWARE, unless
> otherwise specifically stated and the sender is authorised to do so.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 




__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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



Re: JSR-168 Portlet Re-Register

2004-12-01 Thread Scott T. Weaver
I like the JMS message idea. I know J1 has some pretty nice JMS stuff in 
it thanks to David Taylor. I would eventually like to see this migrated 
to J2.

Jeff Sheets wrote:
My deployment is setup so that the jetspeed.war sits next to my
application.ear and the application.ear holds one.war and two.war. 
These wars contain portlet.xml files for JSR-168 portlets, and I am
able to display these correctly in the Jetspeed Fusion portal.  My
question relates to deploying an updated application.ear to my server.
When I deploy this new ear I then have to go into the admin console
of Jetspeed to "re-register" the portlet application.  Has anyone done
work to automatically re-register the war?

I first tried creating a JetspeedRegistration initialization servlet,
which would run once at one.war and two.war 's deployment time.  This
servlet attempted to access the spring service to re-register the app.
This doesn't quite work, for reasons I realized later.
I think we could setup Jetspeed to detect that the ServletContext has
been modified, and then have it try to re-register first before giving
up and throwing the NullPointerException that occurs.  Otherwise a
mechanism could be developed where Jetspeed accepts a JMS message (or
some other interface) to notify that a re-register is needed.
Any thoughts?  Have others tried this?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 


--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss 
people."  - Admiral Hyman Rickover
***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* *
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
*    *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JavaWorld

2004-12-01 Thread Scott T. Weaver
I just added a link to the Jetspeed 2 wiki (even though it is a J1 
artticle ;).

Bob Fleischman wrote:
Sure. I would be honored. 

Now I'm going to try setting up J2 and recreating the portlet. I think I can
get a follow-up article published on J2 and JSR-168.
-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 30, 2004 1:19 PM
To: Jetspeed Users List
Subject: Re: JavaWorld

Bob Fleischman wrote:
 

Thanks. I hope I got it right.
And thanks for all your help along the way.
-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 30, 2004 1:13 PM
To: Jetspeed Users List
Subject: JavaWorld
http://www.javaworld.com/javaworld/jw-11-2004/jw-1129-jetspeed.html
Great work Bob!
   

Its awesome.
Can I put a link on the Jetspeed site to your article?
 


--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss 
people."  - Admiral Hyman Rickover
***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* *
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
*    *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Limiting customization available to users

2004-12-01 Thread Stefano Bianchi
<< COPIED FROM A PREVIOUS ANSWER - it works fine for JS 1.4b3... >>

each single portlet has its own security defined through administration psml
browser.
Then, if you want portlets for a specific role to have different security
constraints, you have to specify them one by one.
E.g. I have for anon user portlets with only customize button and portlets
with customize, minimize and maximize buttons.
I defined the local-security.xreg file you can find below :





MY Use
Users can print, minimize and maximize, Admin
have full access.


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>




MY Customize
Users customize.


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>


http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>




They grant all to admin users but only some actions to users (it' easy to
find them!).
NOTE: the one you used was only an entry of the file, not the whole one!!!
I don't remember well where to do it (some property file) but you can also
set your security as the default one so that once you create a portlet you
do have not to change its definition.

Let us know your advancements!
Stefano

- Original Message - 
From: "Ruy Diaz Jara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 01, 2004 1:33 AM
Subject: RE: Limiting customization available to users


> I've had no replies but I'd like to insist if anyone can help me. Sorry if
I am
> being pushy but I really can't figure this out.
>
> What I am trying to do is to customize which action icons (maximize,
minimize,
> etc.) are available to users. I have tried changing the permissions but
this
> has absolutely no effect. The only way I have found to remove the icons
> completely is by modifying JetspeedSecurity.properties by setting the
line:
>
> services.JetspeedSecurity.actions.allusers.disable=true
>
> Unfortunately this doesn't solve my problem because I do want to have the
> 'customize' icon on certain portlets, but I dont want users to go changing
> their PSML for example. I have also tried adding
>
>   
>
> to the controllers.xreg in each of the controller entries, but this also
has no
> effect. This is also pretty confusing because the DTD doesnt't mention
this
> element, but http://portals.apache.org/jetspeed-1/registry_syntax.html
says
> that  is common to all entries. I also put the security-ref
> element in the controls.xreg but nothing happened again.
>
> Please people, I guess I must be missing something really stupid in order
to
> get this to work. If someone could just point me in the right direction
I'd
> really appreciate it.
>
> Regards
> Ruy
>
> P.S.: Could anyone just reply to this message even if they don't have the
> answer? I'm starting to think my messages are not reaching the list
because of
> the AAD bouncing my messages back (as I mentioned in an earlier email), I
don't
> know if it's related or not, just want to make sure.
>
>
>
>
> __
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
>
> -
> 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: Limiting customization available to users

2004-12-01 Thread sadelgadoq





>P.S.: Could anyone just reply to this message even if they don't have
>the answer? I'm starting to think my messages are not reaching the

I don't know how to do what you say, sorry, but at least your mail is
working OK. And don't worry, I have asked for help a couple of times in
this list too and didn't get any answer... :(

--
Sergio A. Delgado Quero
[EMAIL PROTECTED]



-Ruy Diaz Jara <[EMAIL PROTECTED]> wrote: -


To: [EMAIL PROTECTED]
From: Ruy Diaz Jara <[EMAIL PROTECTED]>
Date: 01/12/2004 01:33 AM
Subject: RE: Limiting customization available to users

I've had no replies but I'd like to insist if anyone can help me. Sorry if
I am
being pushy but I really can't figure this out.

What I am trying to do is to customize which action icons (maximize,
minimize,
etc.) are available to users. I have tried changing the permissions but
this
has absolutely no effect. The only way I have found to remove the icons
completely is by modifying JetspeedSecurity.properties by setting the line:

services.JetspeedSecurity.actions.allusers.disable=true

Unfortunately this doesn't solve my problem because I do want to have the
'customize' icon on certain portlets, but I dont want users to go changing
their PSML for example. I have also tried adding



to the controllers.xreg in each of the controller entries, but this also
has no
effect. This is also pretty confusing because the DTD doesnt't mention this
element, but http://portals.apache.org/jetspeed-1/registry_syntax.htmlsays
that is common to all entries. I also put the security-ref
element in the controls.xreg but nothing happened again.

Please people, I guess I must be missing something really stupid in order
to
get this to work. If someone could just point me in the right direction I'd
really appreciate it.

Regards
Ruy

P.S.: Could anyone just reply to this message even if they don't have the
answer? I'm starting to think my messages are not reaching the list because
of
the AAD bouncing my messages back (as I mentioned in an earlier email), I
don't
know if it's related or not, just want to make sure.




__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

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

**DESCARGA DE RESPONSABILIDAD**
Este mensaje es privado y confidencial y solamente para la persona a la que
va dirigido. Si usted ha recibido este mensaje por error, no debe revelar,
copiar, distribuir o usarlo en ningún sentido. Le rogamos lo comunique al
remitente y borre dicho mensaje y cualquier documento adjunto que pudiera
contener. No hay renuncia a la confidencialidad ni a ningún privilegio por
causa de transmisión errónea o mal funcionamiento.
Cualquier opinión expresada en este mensaje pertenece únicamente al autor
remitente, y no representa necesariamente la opinión de GRUPO DELAWARE, a
no ser que se diga expresamente y el remitente esté autorizado para
hacerlo.

**DISCLAIMER**
 This message is private and confidential and it is intended exclusively
 for the addressee. If you receive this message by mistake, you should not
 disseminate, distribute or copy this e-mail. Please inform the sender and
 delete the message and attachments from your system. No confidentiality
 nor any privilege regarding the information is waived or lost by any
 mistransmission or malfunction.
Any views or opinions contained in this message are solely those of the
author, and do not necessarily represent those of GRUPO DELAWARE, unless
otherwise specifically stated and the sender is authorised to do so.


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