Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 99727 invoked from network); 11 Feb 2009 15:45:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 15:45:24 -0000 Received: (qmail 92701 invoked by uid 500); 11 Feb 2009 15:45:24 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 92532 invoked by uid 500); 11 Feb 2009 15:45:23 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 92521 invoked by uid 99); 11 Feb 2009 15:45:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 07:45:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of imavroukakis@gameaccount.com designates 83.244.222.83 as permitted sender) Received: from [83.244.222.83] (HELO mail1.gameaccount.com) (83.244.222.83) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 15:45:16 +0000 Received: from localhost ([127.0.0.1] helo=[192.168.30.190]) by mail1.gameaccount.com with esmtp (Exim 4.66) (envelope-from ) id 1LXHGI-00028X-Ff for users@directory.apache.org; Wed, 11 Feb 2009 15:44:30 +0000 Received: from [192.168.30.190] ([192.168.30.190] helo=[192.168.30.190]) by ASSP.nospam; 11 Feb 2009 15:44:30 +0000 Message-ID: <4992F27A.3070005@gameaccount.com> Date: Wed, 11 Feb 2009 15:44:58 +0000 From: Yiannis Mavroukakis Organization: GameAccount User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: [ApacheDS] Problems adding an entry using a custom schema References: <498AFE3A.7050406@vogon.net> <498B02CB.4050306@vogon.net> <498B0A19.5050301@vogon.net> <98d8c0860902050807q1b10ca3fu82986704a4484954@mail.gmail.com> <498B1061.3060007@vogon.net> <498B12BC.90805@vogon.net> <20090205174426.vn3e8wx6v4k8c4ok@www.seelmann-it.de> <498B1AB6.5080306@gameaccount.com> <498CA120.3010903@gameaccount.com> <498D26A7.3020407@gmail.com> <498D38D4.1060706@gameaccount.com> <498D66E1.6080406@gmail.com> <498FFF8E.9030000@gameaccount.com> <4990405E.7050203@gameaccount.com> In-Reply-To: <4990405E.7050203@gameaccount.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi everyone! I've managed to embed ApacheDS into our JBoss app server, it lanuches fine and waits for connections. The problem I have now is that when I try to add a user to our context it blows up. Before it does that though, I have the following lines in our log: 15:36:16,919 WARN [DefaultServerEntry] The attribute 'gaplayertokenid' cannot be stored 15:36:16,919 WARN [DefaultServerEntry] The attribute 'gaplayerid' cannot be stored 15:36:16,919 WARN [DefaultServerEntry] The attribute 'gabasecurrency' cannot be stored 15:36:16,935 WARN [DefaultServerEntry] The attribute 'gapartnerref' cannot be stored 15:36:16,935 WARN [DefaultServerEntry] The attribute 'gacomment' cannot be stored 15:36:16,935 WARN [DefaultServerEntry] The attribute 'gasessionwebkey' cannot be stored 15:36:16,935 WARN [DefaultServerEntry] The attribute 'gapartnerwebkey' cannot be stored 15:36:16,935 WARN [DefaultServerEntry] The attribute 'gaplayerguid' cannot be stored And the main exception is: javax.naming.NamingException: [LDAP: error code 54 - LOOP_DETECT: failed for Add Request : ClientEntry dn: cn=imavroukakis,ou=Player,dc=gameaccount,dc=com objectClass: top objectClass: gaPlayer postalCode: E12345 mail: i.mavroukakis@btinternet.com sn: orvaMsikaku ou: Player c: GR givenname: aoIsinn o: gameaccount gaPlayerTokenId: AB9C2965-8A84-40B5-B14B-0E0E991A001E l: London gaPlayerId: 482101 userPassword: '' postalAddress: 43 Somewhare Point, 1 Some Place gaBaseCurrency: GBP cn: imavroukakis gaPartnerRef: 192489DA st: N/A gaComment: partner 192489DA playerId 482101 gaSessionWebKey: gameAccount gaPartnerWebKey: gameAccount gaPlayerGuid: 6352FC09-1EDC-4043-AD29-F0CD74055587 : objectClass w/ OID 1.3.6.1.4.1.99999.1.2.1 not registered!]; remaining name 'cn=imavroukakis' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3022) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758) at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:774) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248) at com.ga.ldap.Ldap.updatePlayer(Ldap.java:299) 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:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy166.updatePlayer(Unknown Source) at com.ga.ldap.LdapUpdater.processMessage(LdapUpdater.java:71) at com.ga.ldap.LdapUpdater.consumeMessage(LdapUpdater.java:58) at com.ga.messaging.core.consumer.ThreadPoolConsumerImpl.consumeMessage$0(ThreadPoolConsumerImpl.java:37) at com.ga.messaging.core.consumer.ThreadPoolConsumerImpl.access$000(ThreadPoolConsumerImpl.java:24) at com.ga.messaging.core.consumer.ThreadPoolConsumerImpl$0r.run(ThreadPoolConsumerImpl.java:39) at uk.org.retep.util.thread.ExecutorFactory$RunnableWrapper.run(ExecutorFactory.java:203) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) However if i browse to the ldap schema is that 1.3.6.1.4.1.99999.1.2.1 is there.. dn: m-oid=1.3.6.1.4.1.99999.1.2.1,ou=objectClasses,cn=gameaccount,ou=schema objectClass: metaObjectClass objectClass: metaTop objectClass: top m-oid: 1.3.6.1.4.1.99999.1.2.1 m-description: LDAP representation of a player m-must: cn m-must: gaBaseCurrency m-must: gaPartnerRef m-must: gaPartnerWebKey m-must: gaPlayerGuid m-must: gaPlayerId m-must: gaPlayerTokenId m-must: gaSessionWebKey m-name: gaPlayer m-obsolete: FALSE m-supObjectClass: inetOrgPerson m-typeObjectClass: STRUCTURAL Thank you very much for your continued help :-) Yiannis