From users-return-5686-apmail-directory-users-archive=directory.apache.org@directory.apache.org Mon Sep 30 15:18:41 2013 Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB9F410855 for ; Mon, 30 Sep 2013 15:18:41 +0000 (UTC) Received: (qmail 47091 invoked by uid 500); 30 Sep 2013 15:18:41 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 46938 invoked by uid 500); 30 Sep 2013 15:18:39 -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 Delivered-To: moderator for users@directory.apache.org Received: (qmail 41795 invoked by uid 99); 30 Sep 2013 15:15:13 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=9783dc2a6=hsaezsae@ta.telecom.com.ar designates 200.45.2.12 as permitted sender) DomainKey-Signature: s=20120718dk; d=ta.telecom.com.ar; c=nofws; q=dns; h=Content-Type:MIME-Version:Received:Received:Received: From:To:CC:Date:Subject:Thread-Topic:Thread-Index: Message-ID:Accept-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:acceptlanguage:MIME-Version; b=xVYtjFHsewosdl2E5QoIabTsqeb+WEL1zJQ8mKZ4n+FkX04Obl3Rw+5S QtMjf+YG9uJFIBsyb07fyjkctIqKKs7Fts8A9zuNnMSujKJr8G0B41v8K AAw1/0JvlSvFNjHE1ivaLmMcFhZglkgYtVkiaDTtpQ+nGI6RO/3F8qmaX A=; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ta.telecom.com.ar; i=@ta.telecom.com.ar; q=dns/txt; s=20120718dkim; t=1380554103; x=1695914103; h=from:to:cc:date:subject:message-id; bh=azQKbVZE3r/wTBqJG9jN7dOBJuJLkZxQh6PBZwPKgFY=; b=ZlvCRGLRj43ePWOBf1JuXclZgpTRvNGt1zjAWR+I5MpHTwQ9SxyFzv1U gdQqZoL4J0vnB8VaE7oFOOwnVjoyQlUBpNGhs//8PhrvC2yQt4x8JYopO 1BLtjkq3rVuabYjwd/dvoIe0v6lRZYjbymiT8LzaRIIZvdtanKJ7nThvB Y=; Content-Type: multipart/mixed; boundary="===============1392255241==" MIME-Version: 1.0 From: Hernan Saez Saez To: "users@directory.apache.org" CC: Nicolas M Dagostino , IUM_Mensajes Date: Mon, 30 Sep 2013 12:14:32 -0300 Subject: ApacheDS Starting and Stopping the server doesn't work (second question) Thread-Topic: ApacheDS Starting and Stopping the server doesn't work (second question) Thread-Index: Ac6978RQsSra5PSURCKkiVAf9Fdjlw== Message-ID: Accept-Language: es-ES, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: es-ES, en-US MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --===============1392255241== Content-Language: es-ES Content-Type: multipart/alternative; boundary="_000_FAFE1553E479BA4AA403CFD3C61C612DED61C1E016AESTXCHMBX1te_" --_000_FAFE1553E479BA4AA403CFD3C61C612DED61C1E016AESTXCHMBX1te_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We have an issue with apacheds-2.0.0-M15 on OS HP-UX. When the server stopp= ed brutally (unix kill command) never start again. How is the way to stoped the server? Has this bug a work arround? Thanks in advance and Best Regards, Hernan =3D =3D =3D =3D The following is the history about it case =3D =3D =3D =3D This clearly sounds like a bug. I guess you stopped the server brutally, and tried to start it again. My get on this is that the data weren't flushed on disk correctly when you (probably) killed the server. We are working on a replacement for JDBM, which is the backend we are using= . We have installed apacheds-2.0.0-M15 on OS HP-UX. When we tried stopping and starting the server it fails. The server not sta= rting again, only if we installing again. Enviroment: OS HP-UX B.11.31 U ia64 Java java version "1.6.0.10" Java(TM) SE Runtime Environment (build 1.6.0.10-jinteg_11_mar_2011_09_19-b0= 0) Java HotSpot(TM) Server VM (build 19.1-b02-jinteg:2011mar11-07:33, mixed mo= de) Above the log file messages: [16:25:25] ERROR [org.apache.directory.server.UberjarMain] - Failed to star= t the service. org.apache.directory.api.ldap.model.exception.LdapOtherException: java.lang= .Integer cannot be cast to java.lang.Long at org.apache.directory.server.core.api.partition.AbstractPartition= .initialize(AbstractPartition.java:84) at org.apache.directory.server.core.DefaultDirectoryService.initial= ize(DefaultDirectoryService.java:1820) at org.apache.directory.server.core.DefaultDirectoryService.startup= (DefaultDirectoryService.java:1248) at org.apache.directory.server.ApacheDsService.initDirectoryService= (ApacheDsService.java:315) at org.apache.directory.server.ApacheDsService.start(ApacheDsServic= e.java:179) at org.apache.directory.server.UberjarMain.start(UberjarMain.java:7= 6) at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54= ) Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException= : java.lang.Integer cannot be cast to java.lang.Long at org.apache.directory.server.core.api.partition.AbstractPartition= .initialize(AbstractPartition.java:84) at org.apache.directory.server.core.shared.partition.DefaultPartiti= onNexus.addContextPartition(DefaultPartitionNexus.java:829) at org.apache.directory.server.core.shared.partition.DefaultPartiti= onNexus.doInit(DefaultPartitionNexus.java:218) at org.apache.directory.server.core.api.partition.AbstractPartition= .initialize(AbstractPartition.java:79) ... 6 more Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast t= o java.lang.Long at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmT= able.(JdbmTable.java:166) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmI= ndex.initTables(JdbmIndex.java:219) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmI= ndex.init(JdbmIndex.java:170) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmP= artition.convertAndInit(JdbmPartition.java:453) at org.apache.directory.server.core.partition.impl.btree.AbstractBT= reePartition.setupSystemIndices(AbstractBTreePartition.java:353) at org.apache.directory.server.core.partition.impl.btree.AbstractBT= reePartition.doInit(AbstractBTreePartition.java:519) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmP= artition.doInit(JdbmPartition.java:153) at org.apache.directory.server.core.api.partition.AbstractPartition= .initialize(AbstractPartition.java:79) ... 9 more Thanks in advance and Best Regards, Hernan Answer This clearly sounds like a bug. I guess you stopped the server brutally, and tried to start it again. My get on this is that the data weren't flushed on disk correctly when you (probably) killed the server. We are working on a replacement for JDBM, which is the backend we are using= . --_000_FAFE1553E479BA4AA403CFD3C61C612DED61C1E016AESTXCHMBX1te_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

We have an issue with apacheds-2.0.0-M15 on OS HP-UX. When the server st= opped brutally (unix kill command)

never start again.

 

= How is the way to stoped the server?

 

Has this bug a work arround?<= /span>

 

Thanks in advance and Best Regards,

Hernan

 

=3D =3D =3D =3D  The following is th= e history about it case =3D =3D =3D =3D

 

= This clearly sounds like a bug. I guess you stopped the = server brutally,

and tried to start it again.

<= span lang=3DEN-US>My get on this is that the data weren't flushed on disk c= orrectly when

= you (probably) killed the server.

 

We are working on a replacement for JDBM, which is the backend= we are using.

 

&= nbsp;

 

We have installed ap= acheds-2.0.0-M15 on OS HP-UX.

 

When we tried stopping and starting the server it fails. The serve= r not starting again, only if we installing again.

 

Enviroment:

OS  HP-UX =  B.11.31 U ia64

= Java

java vers= ion "1.6.0.10"

Java(TM) SE Runtime Environment (build 1.6.0.10-jinteg_11_mar_20= 11_09_19-b00)

= Java HotSpot(TM) Server VM (build 19.1-b02-jinteg:2011mar11-07:33, mixed mo= de)

 = ;

 =

Above the log file messa= ges:

[16:25:25= ] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the ser= vice.

org.apac= he.directory.api.ldap.model.exception.LdapOtherException: java.lang.Integer= cannot be cast to java.lang.Long

        at org.apach= e.directory.server.core.api.partition.AbstractPartition.initialize(Abstract= Partition.java:84)

        at org.apache.directory.ser= ver.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:18= 20)

 &nbs= p;      at org.apache.directory.server.core.Defaul= tDirectoryService.startup(DefaultDirectoryService.java:1248)

    &nbs= p;   at org.apache.directory.server.ApacheDsService.initDirectory= Service(ApacheDsService.java:315)

        at org.apach= e.directory.server.ApacheDsService.start(ApacheDsService.java:179)

   &nbs= p;    at org.apache.directory.server.UberjarMain.start(Uberj= arMain.java:76)

        at org.apache.directory.server= .UberjarMain.main(UberjarMain.java:54)

Caused by: org.apache.directory.api.ldap.model.exc= eption.LdapOtherException: java.lang.Integer cannot be cast to java.lang.Lo= ng

  = ;      at org.apache.directory.server.core.api.par= tition.AbstractPartition.initialize(AbstractPartition.java:84)

    &n= bsp;   at org.apache.directory.server.core.shared.partition.Defau= ltPartitionNexus.addContextPartition(DefaultPartitionNexus.java:829)

   &n= bsp;    at org.apache.directory.server.core.shared.partition= .DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:218)

    &nb= sp;   at org.apache.directory.server.core.api.partition.AbstractP= artition.initialize(AbstractPartition.java:79)

       = ... 6 more

Ca= used by: java.lang.ClassCastException: java.lang.Integer cannot be cast to = java.lang.Long

        at org.apache.directory.server.= core.partition.impl.btree.jdbm.JdbmTable.<init>(JdbmTable.java:166)

  &nb= sp;     at org.apache.directory.server.core.partition.i= mpl.btree.jdbm.JdbmIndex.initTables(JdbmIndex.java:219)

     &nb= sp;  at org.apache.directory.server.core.partition.impl.btree.jdbm.Jdb= mIndex.init(JdbmIndex.java:170)

<= span lang=3DEN-US>        at org.apache.= directory.server.core.partition.impl.btree.jdbm.JdbmPartition.convertAndIni= t(JdbmPartition.java:453)

        at org.apache.direct= ory.server.core.partition.impl.btree.AbstractBTreePartition.setupSystemIndi= ces(AbstractBTreePartition.java:353)

        at org.ap= ache.directory.server.core.partition.impl.btree.AbstractBTreePartition.doIn= it(AbstractBTreePartition.java:519)

        at org.apa= che.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(Jd= bmPartition.java:153)

        at org.apache.directory= .server.core.api.partition.AbstractPartition.initialize(AbstractPartition.j= ava:79)

 =        ... 9 more

 

Thanks in advance a= nd Best Regards,

Hernan

 

<= span lang=3DEN-US>Answer

This clearly sounds like a bug. I guess you stopped the server b= rutally,

and t= ried to start it again.

My get on this is that the data weren't flushed on disk correctly= when

you (pro= bably) killed the server.

 

We are working on a replacement for JDBM, which is the backend we are = using.

&n= bsp;

= --_000_FAFE1553E479BA4AA403CFD3C61C612DED61C1E016AESTXCHMBX1te_-- --===============1392255241== Content-Type: multipart/alternative; boundary="===============1706199765==" MIME-Version: 1.0 Content-Disposition: inline --===============1706199765== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ___________________________________________________________ AVISO LEGAL: Esta informacion es privada y confidencial y est=C3=A1 dirigida =C3=BAnicam= ente a su destinatario. Si usted no es el destinatario original de este men= saje y por este medio pudo acceder a dicha informaci=C3=B3n por favor elimi= ne el mensaje. La distribuci=C3=B3n o copia de este mensaje est=C3=A1 estri= ctamente prohibida. Excepto que se haya establecido de otra forma, esta com= unicaci=C3=B3n es s=C3=B3lo para prop=C3=B3sitos de informaci=C3=B3n y no d= ebe ser considerada como propuesta, aceptaci=C3=B3n ni como una declaraci= =C3=B3n de voluntad oficial de TELECOM ARGENTINA S.A. . La transmisi=C3=B3n= de e-mails no garantiza que el correo electr=C3=B3nico sea seguro o libre = de error. Por consiguiente, no manifestamos que esta informaci=C3=B3n sea c= ompleta o precisa. Toda informaci=C3=B3n est=C3=A1 sujeta a alterarse sin p= revio aviso. This information is private and confidential and intended for the recipient= only. If you are not the intended recipient of this message you are hereby= notified that any review, dissemination, distribution or copying of this m= essage is strictly prohibited. Unless otherwise stated, this communication = is for information purposes only and shall not be regarded neither as a pro= posal, acceptance nor as a statement of will or official statement from TEL= ECOM ARGENTINA S.A. Email transmission cannot be guaranteed to be secure or= error-free. Therefore, we do not represent that this information is comple= te or accurate and it should not be relied upon as such. All information is= subject to change without notice. --===============1706199765== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

___________________________________________________________

AVISO LEGAL:
Esta informacion es privada y confidencial y est=C3=A1 dirigida =C3=BAnicam= ente a su destinatario. Si usted no es el destinatario original de este men= saje y por este medio pudo acceder a dicha informaci=C3=B3n por favor elimi= ne el mensaje. La distribuci=C3=B3n o copia de este mensaje est=C3=A1 estri= ctamente prohibida. Excepto que se haya establecido de otra forma, esta com= unicaci=C3=B3n es s=C3=B3lo para prop=C3=B3sitos de informaci=C3=B3n y no d= ebe ser considerada como propuesta, aceptaci=C3=B3n ni como una declaraci= =C3=B3n de voluntad oficial de TELECOM ARGENTINA S.A. . La transmisi=C3=B3n= de e-mails no garantiza que el correo electr=C3=B3nico sea seguro o libre = de error. Por consiguiente, no manifestamos que esta informaci=C3=B3n sea c= ompleta o precisa. Toda informaci=C3=B3n est=C3=A1 sujeta a alterarse sin p= revio aviso.

This information is private and confidential and intended for the recipi= ent only. If you are not the intended recipient of this message you are her= eby notified that any review, dissemination, distribution or copying of thi= s message is strictly prohibited. Unless otherwise stated, this communicati= on is for information purposes only and shall not be regarded neither as a = proposal, acceptance nor as a statement of will or official statement from = TELECOM ARGENTINA S.A. Email transmission cannot be guaranteed to be secure= or error-free. Therefore, we do not represent that this information is com= plete or accurate and it should not be relied upon as such. All information= is subject to change without notice.

--===============1706199765==-- --===============1392255241==--