Re: J2 - Grouping Permissions with the JAAS implementation

2005-02-21 Thread watler
Amit,

There are two security implementations to choose between to control access
to folders and pages in the J2 portal. Both solutions allow specification
by group and role in addition to user principals. I am not sure exactly
what you are using the 20-25 permissions to control, but I am guessing
that your J2 needs are covered.

For PSML based security, (aka "bronco"), poke around in the demo site
files for "security-constraint" tags. There are also some docs on the site
that David put together as well.

For JAAS permissions style security, see the
populate-userinfo-for-default-psml.sql script that configures similar
access to the site content. To use JAAS, you will have to change the
configuration of the CastorXMLPageManager component in page-manager.xml.

One can also use BOTH mechanisms simultaneously if necessary.

HTH,

Randy

> With the security implementation of JAAS, I think in jetspeed there is a
> direct relation between user and permissions.
>
> Now in a scenerio that I have, I have a bunch of permissions that I group
> into a role, and then relate that to user. I think this facility is
> lacking
> in jetspeed. But I am not sure if this is the case, or I am missing
> something. This feature would be kind of essential because I have around
> 20
> - 25 permissions and I have to change behaviours based on those
> permissions.
> The user_permission table of jetspeed would probably get really very big.
>
> Any suggestions/helps 
>
> Thanks,
> Amit
>
>
>
> Original Message Follows
> From: mike long <[EMAIL PROTECTED]>
> Reply-To: "Jetspeed Users List" 
> To: Jetspeed Users List 
> Subject: Re: Access your own psml file
> Date: Wed, 09 Feb 2005 12:29:59 -0500
>
> Shah Amit wrote:
>
>>Hi Mike,
>>
>>Thanks a lot !! I do need help with security implementation. I would
>> really
>>really appreciate help !! I have gone thru the SPI interfaces and was
>>trying to understand them.
>>
>>In the meantime, I was preparing for a presentation tomorrow so I wanted
>> to
>>see if I can layout a proof of concept with Jetspeed2.
>>
>>But I definately need help with the security implementation.
>>
>>If you want, I can pose my question again ---
>>
>>I have following security tables --
>>
> Sha,
> I will map the current J2 tables to your tables as best I can.  These are
> only my initial thoughts. I haven't implemented this solution to mapping
> your current security data model to J2. In general I think you have two
> alternatives:
> 1) Map your current security data model to the J2 classes by altering the
> security_repository.xml file.  Security_repository.xml contains the
> mapping
> between the J2 security classes and the underlying data model. The
> advantage
> of this approach is that you would not have to change any code. You would
> know you were successful when all the tests ran. Some tests may still
> fail.
> For example, you appear to have no many-to-many relationship between users
> and roles.  You will have to sort through relationships you are missing.
> Maybe the tests will still run. Perhaps you can still use the J2 table
> mappings where you have no equivalent.
>
> 2) Implement the following interfaces: GroupSecurityHandler,
> RoleSecurityHandler, UserSecurityHandler, CredentialHandler, and
> SecurityMappingHandler. You will note that the default implementations of
> these classes use a class called SecurityAccessImpl to do a lot of the
> actual JDBC work.  You may have to change SecurityAccessImpl as well.
> This
> alternative seems pretty hard, close to the work involved in making LDAP
> implementations which I expect to take about a month given that you are
> already familiar with the underlying technology.
>
> I have done a cursory mapping below:
>
>>- user (username, password, userid etc.)
>
> security_principal - Contains the user. Your username field should be
> mapped
> to the full_path column.
> security_credential - Contains the password. Password is the only type of
> credential in use as far as I can tell. Your current implementation stores
> the password on the user table. My ldap implementation does the same.
>
>>- groups (groupid, groupname)
>
> security_principal - Contains the group, just mapped to a different class.
> Your groupname field should be mapped to the full_path column.
>
>>- role (roleid, rolename)
>
> security_principal - Contains the role, just mapped to a different class.
> Your rolename field should be mapped to the full_path column.
>
>>- permission (permissionid, permissionname)
>
> security_permission - Contains the security permissions. Your
> permissionname
> should map directly to the name column there.
>
>>- role_permission
>
> Here you have a direct mapping the J2 security_principal_permission table.
> J2 puts role, group, and user in a single security_principal table.
>
>>- group_role
>
> Here you have a direct mapping to the security_group_role table.
>
>>
>>- user_group
>
> This table is analogous to the J2 security_user_group table which contains

JS 1.5 & Tocat 5.5

2005-02-21 Thread Vladimir Lisin
Hi all,

My JS 1.5 works well  under Tomcat 4 .
But  under Tomcat 5.5 after start JetSpeed  I have on screen the well 
loaded  top_default.jsp  and  bottom.jsp
Instead the default.jsp i have the next  message : "Error retrieving 
Portal Page: null".

Anybody got this problem? 
Thanks a lot.
Vladimir

In JetSpeed.log  I  have the next message :
...
2005-02-21 18:12:01,351 [DaemonThread:diskcachedaemon] INFO 
JetspeedDiskCache - DISK CACHE: Inited cache:C:\Tomcat 
5.5\webapps\jportal\/WEB-INF/cache
2005-02-21 18:12:01,351 [DaemonThread:feeddaemon] ERROR SimpleTransform - 
Invalid SAX Transformer:
java.lang.IllegalArgumentException: You must specify a URL to obtain an 
entry from the cache
.

In JetSpeedservices.log I have the next message :
.
2005-02-21 18:14:16,826 [http-8090-Processor25] DEBUG 
JetspeedProfilerService - Profiler: fallback called with: 
BaseProfile[anon/html/default.psml]
2005-02-21 18:14:16,836 [http-8090-Processor25] DEBUG 
JetspeedTemplateLocatorService - TemplateLocator: template exists in 
cache: C:\Tomcat 
5.5\webapps\jportal\WEB-INF\templates\jsp\screens\Home.jsp returning 
/Home.jsp
2005-02-21 18:14:16,836 [http-8090-Processor25] DEBUG 
JetspeedTemplateLocatorService - TemplateLocator: template exists in 
cache: C:\Tomcat 
5.5\webapps\jportal\WEB-INF\templates\jsp\layouts\html\default.jsp 
returning /html/default.jsp
2005-02-21 18:14:16,846 [http-8090-Processor25] DEBUG 
JetspeedTemplateLocatorService - TemplateLocator: template exists in 
cache: C:\Tomcat 
5.5\webapps\jportal\WEB-INF\templates\jsp\screens\Home.jsp returning 
/Home.jsp
2005-02-21 18:14:16,846 [http-8090-Processor25] DEBUG 
JetspeedTemplateLocatorService - TemplateLocator: template exists in 
cache: C:\Tomcat 
5.5\webapps\jportal\WEB-INF\templates\jsp\navigations\html\top_default.jsp 
returning /html/top_default.jsp
2005-02-21 18:14:11,218 [http-8090-Processor25] ERROR 
CustomLocalizationTool - Exception
java.util.MissingResourceException: 
org.apache.jetspeed.tutorial.modules.localization.JPortalLocalization
at 
org.apache.turbine.services.localization.TurbineLocalizationService.getString(TurbineLocalizationService.java:445)


RE: Installation issues

2005-02-21 Thread chris holt
I believe this is an issue because you are using Tomcat version 4.x.
Try tomcat version 5.0.28 and see if the problem persists.

Chris

-Original Message-
From: Edd Dawson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 20, 2005 12:40 PM
To: Hema Menon
Cc: jetspeed-user@jakarta.apache.org
Subject: Re: Installation issues


I am getting a little success now!

I have downloaded the zip and extracted it into my tomcat directory as
requested, I then startup the jetspeed database which works fine, and
then start tomcat.

However when i go to http://127.0.0.1:8080/jetspeed/portal I get the
following error 500:


HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException: Failed to initalize jetspeed. 
org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
at
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:20
6)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:494)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
7)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:78
1)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:549)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
9)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:666)
at java.lang.Thread.run(Thread.java:534)

root cause

org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76)
at
org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135
)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:935)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3422)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3623
)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:821)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at
org.apache.catalina.core.StandardHost.addChild(Standa

using jetspeed 1 plugin with fusion

2005-02-21 Thread Fabrice Dewasmes
Hi all,

Has anyone tried to use jetspeed 1 plugin (for example jetspeed:deploy goal)
with jetspeed-fusion ?

I have compiled JS1 with fusion but when using jetspeed;deploy in my own projet
the resulting war seems not to be "fusion aware".

Any idea ?

Thanks

Fabrice

-- 

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



Jetspeed2 and Tomcat5.0 errors...please help!!!

2005-02-21 Thread Z B
Hello All,
Any help on this is really really appreciated.
This is what I've done so far:
Downloaded from:
1. Ant 1.6.2
http://mirror.poundhost.com/www.apache.org/ant/binaries/apache-ant-1.6.2-bin.zip
2. Jetspeed2
http://www.axint.net/apache/portals/jetspeed-2/jetspeed-2.0-M1.zip
3. Tomcat5.0.28
http://www.mirrorservice.org/sites/ftp.apache.org/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat-5.0.28.exe
4. JSDK http://dlc.sun.com/jdk/j2sdk-1_4_2_07-windows-i586-p.exe
Platform:
Windows XP Professional
Database:
Oracle 8i
Database drivers:
classes12.jar and nls_charset12.jar
Enviornment Variables set:
ANT_HOME AND JAVA_HOME
Unzipped Jetspeed2 in C:\Tomcat5.0\webapps directory. Then modified the
jetspeed-database\build.properties file
which looks like the following:
--
#org.apache.jetspeed.production.database.default.name=hsql
#org.apache.jetspeed.production.database.url =
jdbc:hsqldb:hsql://127.0.0.1:9001
#org.apache.jetspeed.production.database.driver = org.hsqldb.jdbcDriver
#org.apache.jetspeed.production.database.user = sa
#org.apache.jetspeed.production.database.password =
#org.apache.jetspeed.production.jdbc.drivers.path=./jdbc/hsqldb-1.7.1.jar
org.apache.jetspeed.production.database.default.name=oracle
org.apache.jetspeed.production.database.url =
jdbc:oracle:thin:@localhost:1521:MYDB
org.apache.jetspeed.production.database.driver =
oracle.jdbc.driver.OracleDriver
org.apache.jetspeed.production.database.user = j2pdev
org.apache.jetspeed.production.database.password = j2pdev
org.apache.jetspeed.production.jdbc.drivers.path=C:\\Tomcat
5.0\\shared\\lib\\classes12.jar;C:\\Tomcat
5.0\\shared\\lib\\nls_charset12.jar;
org.apache.jetspeed.services.autodeployment.user = admin
org.apache.jetspeed.services.autodeployment.password = admin
--
My jetspeed.xml file is in C:\Tomcat5.0\conf\Catalina\localhost
directory. It has the following entries
--

username
j2pdev
   
   
password
j2pdev
   
   
   
  driverClassName
  oracle.jdbc.driver.OracleDriver
   
   
   
 url
 jdbc:oracle:thin:@localhost:1521:MYDB
   
--
I also copied all the jar files from
C:\Tomcat5.0\webapps\jetspeed\WEB-INF\lib\ to
C:\Tomcat5.0\shared\lib\ directory and also to C:\Tomcat5.0\common\lib
directory.
(Do I need to copy all these jar files in both the places??)
jetspeed.properties file looks like the following..actually havent
changed anything within the file:
--
autodeployment.catalina.version.major=5
autodeployment.catalina.base=${applicationRoot}/../../
autodeployment.catalina.engine=Catalina
autodeployment.server=localhost
autodeployment.port=8080
autodeployment.user=admin
autodeployment.password=admin
autodeployment.staging.dir=${applicationRoot}/WEB-INF/deploy
autodeployment.target.dir=${applicationRoot}/../
autodeployment.delay=1
autodeployment.earlyInit = true
--
I've also run the database scripts for oracle by using ant. It has
created the tables in oracle and looks
ok to me. Do I have to change anything within the tables?
Also changed the autoDeploy value to false in Tomcat's server.xml file.
After doing all these changes, I'm getting the following error when I
try to access Jetspeed page by
http://localhost:8080/jetspeed/

StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw
exception
org.springframework.jdbc.BadSqlGrammarException: Bad SQL grammar [] in
task 'OJB operation'; nested
exception is java.sql.SQLException: ORA-00933: SQL command not properly
ended
java.sql.SQLException: ORA-00933: SQL command not properly ended
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at
oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
at
oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:314)
at
org.apache.commons.dbcp.DelegatingPreparedStateme

getting started

2005-02-21 Thread Bernhard
hi all!

has somebody a detailed installation instruction for jetspeed 2?

i use  windows xp
 -tomcat 5.0.28
 -maven 1.0.2
 -java 1.4.2_03

i tried to follow the getting started instruction on the apache homepage but
it doesn't work...
after following all steps, and trying to start jetspeed (in a browser), i get a 
message: http error ?404? - servlet not available!
does someone know what to do?


i installed the components the following way:
firstly - java, 
then - tomcat,
at last - maven

then i created the build.properties file and placed it under C:\Document and 
Settings\User

first question:
when i enter the "maven start.test.server" command - i get a message: 
'server.properties not found, using command line or default properties'
but the hsqldb server is running...
is this normal behavior?

- maven allClean allBuild seems to work fine;

when i stop the test.server and enter "maven.start.production.server" into the 
command prompt, i get the same 'server.properties not found,...' message...
but also production.server is running;

maven quickstart maybe doesn't what it should, it creates the jetspeed folder 
directly under the root directory - is there something wrong with my build 
properties?

ok, i copy the jetspeed folder (also tried it with the .war file) under the 
webapps directory; start up tomcat and enter the adress 
http://localhost:8080/jetspeed into my browser... - but the portal doesn't 
start - i only get the above described HTTP ERROR - servlet not available... 

thank you all for your help,
greetings, bernd




RE: getting started

2005-02-21 Thread Shah Amit
Can you show your build.properties file ... I think you might not have set 
the proper paths on the build.properties file.

Also note that the slashes are all forward slash even though it is windows. 
It has biten lot of people including me ;)

C:/Documentsx/and not C:\Documentsx\
Goodluck,
Amit
Original Message Follows
From: "Bernhard" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: "j2 mailing list" 
Subject: getting started
Date: Tue, 22 Feb 2005 00:07:46 +0100
hi all!
has somebody a detailed installation instruction for jetspeed 2?
i use  windows xp
 -tomcat 5.0.28
 -maven 1.0.2
 -java 1.4.2_03
i tried to follow the getting started instruction on the apache homepage but
it doesn't work...
after following all steps, and trying to start jetspeed (in a browser), i 
get a message: http error ?404? - servlet not available!
does someone know what to do?

i installed the components the following way:
firstly - java,
then - tomcat,
at last - maven
then i created the build.properties file and placed it under C:\Document and 
Settings\User

first question:
when i enter the "maven start.test.server" command - i get a message: 
'server.properties not found, using command line or default properties'
but the hsqldb server is running...
is this normal behavior?

- maven allClean allBuild seems to work fine;
when i stop the test.server and enter "maven.start.production.server" into 
the
command prompt, i get the same 'server.properties not found,...' message...
but also production.server is running;

maven quickstart maybe doesn't what it should, it creates the jetspeed 
folder directly under the root directory - is there something wrong with my 
build properties?

ok, i copy the jetspeed folder (also tried it with the .war file) under the 
webapps directory; start up tomcat and enter the adress 
http://localhost:8080/jetspeed into my browser... - but the portal doesn't 
start - i only get the above described HTTP ERROR - servlet not available...

thank you all for your help,
greetings, bernd

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


Re: J2 - Grouping Permissions with the JAAS implementation

2005-02-21 Thread Shah Amit
Hi Randy,
I have to control two things with the help of security model.
1. Allow/disallow/show different contents on a psml based on which user is 
logged on. (This is very easy to achieve with the security model of Jetspeed 
as you indicated.)
2. Enable/Disable contents on some individual portlets based on which user 
has logged on. (For example show some buttons and links on a page to only 
some users, and not to other users, show some text fields and labels to only 
some users and not to othersetc...) Now for this feature, should I use 
security_permission table, or I should just define a role and flag my 
components based on that role ... I couldn't find a way to access the 
security_permissions from within the portlet using the standard portlet api 
(it is probably custom jetspeed stuff ?? ...) .

Also, there is a table - security_group_role on the schema. This table has 
zero records. The way the relations on this table are defined, I am confused 
as to why or how I would ever use this table.

Thanks,
Amit
Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: "Jetspeed Users List" 
To: "Jetspeed Users List" 
Subject: Re: J2 - Grouping Permissions with the JAAS implementation
Date: Mon, 21 Feb 2005 08:37:02 -0700 (MST)
Amit,
There are two security implementations to choose between to control access
to folders and pages in the J2 portal. Both solutions allow specification
by group and role in addition to user principals. I am not sure exactly
what you are using the 20-25 permissions to control, but I am guessing
that your J2 needs are covered.
For PSML based security, (aka "bronco"), poke around in the demo site
files for "security-constraint" tags. There are also some docs on the site
that David put together as well.
For JAAS permissions style security, see the
populate-userinfo-for-default-psml.sql script that configures similar
access to the site content. To use JAAS, you will have to change the
configuration of the CastorXMLPageManager component in page-manager.xml.
One can also use BOTH mechanisms simultaneously if necessary.
HTH,
Randy
> With the security implementation of JAAS, I think in jetspeed there is a
> direct relation between user and permissions.
>
> Now in a scenerio that I have, I have a bunch of permissions that I group
> into a role, and then relate that to user. I think this facility is
> lacking
> in jetspeed. But I am not sure if this is the case, or I am missing
> something. This feature would be kind of essential because I have around
> 20
> - 25 permissions and I have to change behaviours based on those
> permissions.
> The user_permission table of jetspeed would probably get really very big.
>
> Any suggestions/helps 
>
> Thanks,
> Amit
>
>
>
> Original Message Follows
> From: mike long <[EMAIL PROTECTED]>
> Reply-To: "Jetspeed Users List" 
> To: Jetspeed Users List 
> Subject: Re: Access your own psml file
> Date: Wed, 09 Feb 2005 12:29:59 -0500
>
> Shah Amit wrote:
>
>>Hi Mike,
>>
>>Thanks a lot !! I do need help with security implementation. I would
>> really
>>really appreciate help !! I have gone thru the SPI interfaces and was
>>trying to understand them.
>>
>>In the meantime, I was preparing for a presentation tomorrow so I wanted
>> to
>>see if I can layout a proof of concept with Jetspeed2.
>>
>>But I definately need help with the security implementation.
>>
>>If you want, I can pose my question again ---
>>
>>I have following security tables --
>>
> Sha,
> I will map the current J2 tables to your tables as best I can.  These are
> only my initial thoughts. I haven't implemented this solution to mapping
> your current security data model to J2. In general I think you have two
> alternatives:
> 1) Map your current security data model to the J2 classes by altering the
> security_repository.xml file.  Security_repository.xml contains the
> mapping
> between the J2 security classes and the underlying data model. The
> advantage
> of this approach is that you would not have to change any code. You would
> know you were successful when all the tests ran. Some tests may still
> fail.
> For example, you appear to have no many-to-many relationship between 
users
> and roles.  You will have to sort through relationships you are missing.
> Maybe the tests will still run. Perhaps you can still use the J2 table
> mappings where you have no equivalent.
>
> 2) Implement the following interfaces: GroupSecurityHandler,
> RoleSecurityHandler, UserSecurityHandler, CredentialHandler, and
> SecurityMappingHandler. You will note that the default implementations of
> these classes use a class called SecurityAccessImpl to do a lot of the
> actual JDBC work.  You may have to change SecurityAccessImpl as well.
> This
> alternative seems pretty hard, close to the work involved in making LDAP
> implementations which I expect to take about a month given that you are
> already familiar with the underlying technology.
>
> I have done a cursory mapping below:
>
>>- user

Re: getting started

2005-02-21 Thread Bernhard Bauer
my build.properties file looks like this:
# jetspeed 2 home required for build
org.apache.jetspeed.project.home = e:/jetspeed-2.0
# jetspeed required properties
org.apache.jetspeed.server.home = e:/Jakarta/Tomcat 5.0
org.apache.jetspeed.catalina.version.major = 5
org.apache.jetspeed.server.shared =
${org.apache.jetspeed.server.home}/shared/lib
org.apache.jetspeed.deploy.war.dir =
${org.apache.jetspeed.server.home}/webapps
org.apache.jetspeed.services.autodeployment.user = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer
btw - the error i get in the browser is: HTTP Status 503 - Servlet jetspeed 
is currently unavailable

- Original Message - 
From: "Shah Amit" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, February 22, 2005 1:56 AM
Subject: RE: getting started


Can you show your build.properties file ... I think you might not have set 
the proper paths on the build.properties file.

Also note that the slashes are all forward slash even though it is 
windows. It has biten lot of people including me ;)

C:/Documentsx/and not C:\Documentsx\
Goodluck,
Amit
Original Message Follows
From: "Bernhard" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: "j2 mailing list" 
Subject: getting started
Date: Tue, 22 Feb 2005 00:07:46 +0100
hi all!
has somebody a detailed installation instruction for jetspeed 2?
i use  windows xp
 -tomcat 5.0.28
 -maven 1.0.2
 -java 1.4.2_03
i tried to follow the getting started instruction on the apache homepage 
but
it doesn't work...
after following all steps, and trying to start jetspeed (in a browser), i 
get a message: http error ?404? - servlet not available!
does someone know what to do?

i installed the components the following way:
firstly - java,
then - tomcat,
at last - maven
then i created the build.properties file and placed it under C:\Document 
and Settings\User

first question:
when i enter the "maven start.test.server" command - i get a message: 
'server.properties not found, using command line or default properties'
but the hsqldb server is running...
is this normal behavior?

- maven allClean allBuild seems to work fine;
when i stop the test.server and enter "maven.start.production.server" into 
the
command prompt, i get the same 'server.properties not found,...' 
message...
but also production.server is running;

maven quickstart maybe doesn't what it should, it creates the jetspeed 
folder directly under the root directory - is there something wrong with 
my build properties?

ok, i copy the jetspeed folder (also tried it with the .war file) under 
the webapps directory; start up tomcat and enter the adress 
http://localhost:8080/jetspeed into my browser... - but the portal doesn't 
start - i only get the above described HTTP ERROR - servlet not 
available...

thank you all for your help,
greetings, bernd

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