You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Dave Frary <df...@charter.net> on 2003/01/24 15:28:06 UTC

Re: Configuration of LDAP (iPlanet Directory Server 5.1)

Chris,

The LDAP-JetspeedSecurity.properties file needs to be merged with 
JetspeedSecurity.properties, not replaced as mentioned in ldap-notes.txt to 
work with openLDAP.  This may be your problem.  I don't know about iPlanet 
LDAP.

regards,
Dave

At 03:38 PM 1/24/2003 +0100, you wrote:
>Hello!
>Anybody know how I should configure this LDAP to jetspeed?
>Has anybody any experience?
>I try to follow ldap-notes.txt but in iPlanet LDAP this is I think a bit
>different.
>Regards
>chris
>
>
>--
>To unsubscribe, 
>e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: 
><ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: misconfiguration of the DataSourceFactory

Posted by Jorgen Skogstad <js...@pogostick.net>.
Hi ..

Well .. I just got it running tonight .. and I am running
the base from mySql and have configured the datastore for
MsSql as well .. since most of our data is there... here
is the extra lines I had to add to the Torque.properties;

--- start
### Microsoft SQL
torque.database.cofax.adapter=mssql
torque.dsfactory.cofax.connection.driver =
com.microsoft.jdbc.sqlserver.SQLServerDriver
torque.dsfactory.cofax.connection.url =
jdbc:microsoft:sqlserver://10.10.10.70:1433;DatabaseName=databasename;SelectMethod=cursor
torque.dsfactory.cofax.connection.user = username
torque.dsfactory.cofax.connection.password = password
torque.dsfactory.cofax.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
# The number of database connections to cache per ConnectionPool instance
(specified per database)
torque.dsfactory.cofax.pool.defaultMaxConnections=10
torque.dsfactory.cofax.pool.maxExpiryTime=3600
torque.dsfactory.cofax.pool.connectionWaitTimeout=10
--- stop

As you can see .. I configure a source named cofax here
since that is our main cms. When accessing it .. you need
to set the specific poolname ... in your databasebrowser
portlet's config!

... it works for me so far! Yiha! This means that I finally
can make a portal from our main repository .. which would
increase our services!

Hope you get it to work as well .. drop me a line if you
have any problems!

Kindest,
Jørgen Skogstad

On Fri, 24 Jan 2003, Matthieu DELAHAIS wrote:

> Hi all,
>
> I try to work with a MS SQL Server Database. But, When
> I want to use Jetspeed, I have frequentlly the error
> message : "misconfiguration of the DataSourceFactory".
> I checked my torque.properties file, I checked that my
> drivers are in the classpath. Everthing seems to be
> OK.
> Does someone have an idea? Thanks in advance.
>
> Matthieu
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


misconfiguration of the DataSourceFactory

Posted by Matthieu DELAHAIS <de...@yahoo.fr>.
Hi all,

I try to work with a MS SQL Server Database. But, When
I want to use Jetspeed, I have frequentlly the error
message : "misconfiguration of the DataSourceFactory".
I checked my torque.properties file, I checked that my
drivers are in the classpath. Everthing seems to be
OK.
Does someone have an idea? Thanks in advance.

Matthieu

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Configuration of LDAP (iPlanet Directory Server 5.1)

Posted by Krzysztof Krzos <Kr...@softax.com.pl>.

> Chris,
>
> The LDAP-JetspeedSecurity.properties file needs to be merged with
> JetspeedSecurity.properties, not replaced as mentioned in ldap-notes.txt
to
> work with openLDAP.  This may be your problem.  I don't know about iPlanet
> LDAP.
>
> regards,
> Dave
>

Yes but the problem is in configuration of IPLanet LDAP for jetspeed.
In ldap-notes.txt some writes that I must put some lines to sldap.conf but
in this iPLanet there isn't any sldap.conf
that's why am asking if any person have experience in this soft
Import of jetspeed ldif file to iPlanet fail too. :(

These are errors:
Error adding object 'dn: ou=jetspeed, o=apache'.  The error sent by the
server was 'Insufficient access'.  The object is: LDAPEntry: ou=jetspeed,
o=apache; LDAPAttributeSet: LDAPAttribute {type='ou', values='jetspeed'}
LDAPAttribute {type='objectclass', values='top,organizationalUnit'}
LDAPAttribute {type='description', values='Jetspeed Portal'}.
Error adding object 'dn: cn=ldapadmin, ou=jetspeed, o=apache'.  The error
sent by the server was 'No such object'.  The object is: LDAPEntry:
cn=ldapadmin, ou=jetspeed, o=apache; LDAPAttributeSet: LDAPAttribute
{type='objectclass', values='top,organizationalRole'} LDAPAttribute
{type='description', values='LDAP Directory Administrator'} LDAPAttribute
{type='cn', values='ldapadmin'}.
Error adding object 'dn: ou=groups, ou=jetspeed, o=apache'.  The error sent
by the server was 'No such object'.  The object is: LDAPEntry: ou=groups,
ou=jetspeed, o=apache; LDAPAttributeSet: LDAPAttribute {type='ou',
values='groups'} LDAPAttribute {type='objectclass',
values='top,organizationalUnit'}.
Error adding object 'dn: ou=roles, ou=jetspeed, o=apache'.  The error sent
by the server was 'No such object'.  The object is: LDAPEntry: ou=roles,
ou=jetspeed, o=apache; LDAPAttributeSet: LDAPAttribute {type='ou',
values='roles'} LDAPAttribute {type='objectclass',
values='top,organizationalUnit'}.
Error adding object 'dn: uid=Jetspeed, ou=groups, ou=jetspeed, o=apache'.
The error sent by the server was 'Object class violation'.  The object is:
LDAPEntry: uid=Jetspeed, ou=groups, ou=jetspeed, o=apache; LDAPAttributeSet:
LDAPAttribute {type='groupname', values='Jetspeed'} LDAPAttribute
{type='uid', values='Jetspeed'} LDAPAttribute {type='objectclass',
values='jetspeedgroup'}.
Error adding object 'dn: uid=apache, ou=groups, ou=jetspeed, o=apache'.  The
error sent by the server was 'Object class violation'.  The object is:
LDAPEntry: uid=apache, ou=groups, ou=jetspeed, o=apache; LDAPAttributeSet:
LDAPAttribute {type='groupname', values='apache'} LDAPAttribute {type='uid',
values='apache'} LDAPAttribute {type='objectclass', values='jetspeedgroup'}.
Error adding object 'dn: uid=user, ou=roles, ou=jetspeed, o=apache'.  The
error sent by the server was 'Object class violation'.  The object is:
LDAPEntry: uid=user, ou=roles, ou=jetspeed, o=apache; LDAPAttributeSet:
LDAPAttribute {type='rolename', values='user'} LDAPAttribute
{type='rolepermissions',
values='view,customize,maximize,minimize,personalize,info'} LDAPAttribute
{type='uid', values='user'} LDAPAttribute {type='objectclass',
values='jetspeedrole'}.
Error adding object 'dn: uid=admin, ou=roles, ou=jetspeed, o=apache'.  The
error sent by the server was 'Object class violation'.  The object is:
LDAPEntry: uid=admin, ou=roles, ou=jetspeed, o=apache; LDAPAttributeSet:
LDAPAttribute {type='rolename', values='admin'} LDAPAttribute
{type='rolepermissions',
values='view,customize,maximize,minimize,personalize,info,close'}
LDAPAttribute {type='uid', values='admin'} LDAPAttribute
{type='objectclass', values='jetspeedrole'}.
Error adding object 'dn: uid=guest, ou=roles, ou=jetspeed, o=apache'.  The
error sent by the server was 'Object class violation'.  The object is:
LDAPEntry: uid=guest, ou=roles, ou=jetspeed, o=apache; LDAPAttributeSet:
LDAPAttribute {type='rolename', values='guest'} LDAPAttribute
{type='rolepermissions', values='view'} LDAPAttribute {type='uid',
values='guest'} LDAPAttribute {type='objectclass', values='jetspeedrole'}.
Error adding object 'dn: ou=users, ou=jetspeed, o=apache'.  The error sent
by the server was 'No such object'.  The object is: LDAPEntry: ou=users,
ou=jetspeed, o=apache; LDAPAttributeSet: LDAPAttribute {type='ou',
values='users'} LDAPAttribute {type='objectclass',
values='top,organizationalUnit'}.
Error adding object 'dn: ou=permissions, ou=jetspeed, o=apache'.  The error
sent by the server was 'No such object'.  The object is: LDAPEntry:
ou=permissions, ou=jetspeed, o=apache; LDAPAttributeSet: LDAPAttribute
{type='ou', values='permissions'} LDAPAttribute {type='objectclass',
values='top,organizationalUnit'}.
Error adding object 'dn: uid=view, ou=permissions, ou=jetspeed, o=apache'.
The error sent by the server was 'Object class violation'.  The object is:
LDAPEntry: uid=view, ou=permissions, ou=jetspeed, o=apache;
LDAPAttributeSet: LDAPAttribute {type='uid', values='view'} LDAPAttribute
{type='objectclass', values='jetspeedpermission'} LDAPAttribute
{type='permissionname', values='view'}.
Error adding object 'dn: uid=maximize, ou=permissions, ou=jetspeed,
o=apache'.  The error sent by the server was 'Object class violation'.  The
object is: LDAPEntry: uid=maximize, ou=permissions, ou=jetspeed, o=apache;
LDAPAttributeSet: LDAPAttribute {type='uid', values='maximize'}
LDAPAttribute {type='objectclass', values='jetspeedpermission'}
LDAPAttribute {type='permissionname', values='maximize'}.
Error adding object 'dn: uid=minimize, ou=permissions, ou=jetspeed,
o=apache'.  The error sent by the server was 'Object class violation'.  The
object is: LDAPEntry: uid=minimize, ou=permissions, ou=jetspeed, o=apache;
LDAPAttributeSet: LDAPAttribute {type='uid', values='minimize'}
LDAPAttribute {type='objectclass', values='jetspeedpermission'}
LDAPAttribute {type='permissionname', values='minimize'}.
Object 'dn: uid=personalize, ou=permissions, ou=jetspeed, o=apache' has been
skipped.  Unknown record type.
Error reading object number 16.  The error is "line 89: expecting dn:"



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>