You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by "Boxer, Aaron" <Aa...@uhn.ca> on 2013/02/01 15:57:23 UTC

Latest release will not start on windows 7 64 bit with Java 7

Here is the stack trace.


[09:55:31] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start the service.
org.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformException: org.apache.directory.shared.ldap.model.schema.comparators.DeepTrimCachingNormalizingComparator cannot be cast to org.apache.directory.api.ldap.model.schema.LdapComparator
                at org.apache.directory.api.ldap.schemaloader.SchemaEntityFactory.getLdapComparator(SchemaEntityFactory.java:538)
                at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.addComparators(DefaultSchemaManager.java:808)
                at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.addSchemaObjects(DefaultSchemaManager.java:253)
                at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.load(DefaultSchemaManager.java:747)
                at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.loadDepsFirst(DefaultSchemaManager.java:1172)
                at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.loadDepsFirst(DefaultSchemaManager.java:1193)
                at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.loadWithDeps(DefaultSchemaManager.java:1097)
                at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.loadAllEnabled(DefaultSchemaManager.java:987)
                at org.apache.directory.server.ApacheDsService.initSchemaManager(ApacheDsService.java:233)
                at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:168)
                at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
                at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
Caused by: java.lang.ClassCastException: org.apache.directory.shared.ldap.model.schema.comparators.DeepTrimCachingNormalizingComparator cannot be cast to org.apache.directory.api.ldap.model.schema.LdapComparator
                at org.apache.directory.api.ldap.schemaloader.SchemaEntityFactory.classLoadComparator(SchemaEntityFactory.java:421)
                at org.apache.directory.api.ldap.schemaloader.SchemaEntityFactory.getLdapComparator(SchemaEntityFactory.java:528)
                ... 11 more

This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. 
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. 
If you have received this e-mail in error, please contact the sender and delete all copies. 
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.

RE: Latest release will not start on windows 7 64 bit with Java 7

Posted by "Boxer, Aaron" <Aa...@uhn.ca>.
Thanks. Not a big deal for me; I can recreate the data.

-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com] 
Sent: Wednesday, February 06, 2013 11:18 AM
To: users@directory.apache.org
Subject: Re: Latest release will not start on windows 7 64 bit with Java 7

Le 2/6/13 4:49 PM, Boxer, Aaron a écrit :
> Yes, you're right. When I uninstalled, deleted the ApacheDS\instance 
> directory, And then re-installed, the server runs fine.
>
> Problem is, I have now lost my default instance settings. 
>
> So, it looks like the M10 version is not backwards compatible with the M9 version.

That's plain right. We have changed ome parts of the configuration.


This was necessary before we move to a RC, otherwise we would have been stuck with some major pb regarding the configuration.

I'm trully sorry that the release note does not reflect those modifications, we were running out of time with too many things on our plate :/


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. 
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. 
If you have received this e-mail in error, please contact the sender and delete all copies. 
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.

Re: Latest release will not start on windows 7 64 bit with Java 7

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 2/6/13 4:49 PM, Boxer, Aaron a écrit :
> Yes, you're right. When I uninstalled, deleted the ApacheDS\instance directory,
> And then re-installed, the server runs fine.
>
> Problem is, I have now lost my default instance settings. 
>
> So, it looks like the M10 version is not backwards compatible with the M9 version.

That's plain right. We have changed ome parts of the configuration.


This was necessary before we move to a RC, otherwise we would have been
stuck with some major pb regarding the configuration.

I'm trully sorry that the release note does not reflect those
modifications, we were running out of time with too many things on our
plate :/


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


RE: Latest release will not start on windows 7 64 bit with Java 7

Posted by "Boxer, Aaron" <Aa...@uhn.ca>.
Yes, you're right. When I uninstalled, deleted the ApacheDS\instance directory,
And then re-installed, the server runs fine.

Problem is, I have now lost my default instance settings. 

So, it looks like the M10 version is not backwards compatible with the M9 version.

Aaron

-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com] 
Sent: Wednesday, February 06, 2013 9:53 AM
To: users@directory.apache.org
Subject: Re: Latest release will not start on windows 7 64 bit with Java 7

Le 2/6/13 3:34 PM, Boxer, Aaron a écrit :
> Hi Emmanuel,
> Thanks. No, I don't have an older version; I uninstalled The previous 
> version, then installed the latest and Got this error.
>
> Interestingly, the install goes in Program Files(x86) directory; is 
> this a 32 vs 64 bit version issue, perhaps.
>
> The previous milestone ran fine.
I'm pretty sure that the uninstaller left some jars somewhere on your disk.

This is not your fault, but still, those jars are found by the new version, and you get the errors you exposed in your last mail.

Starting with a clean installation (with no previous jars), the server should run fine.

Feel free to create a JIRA mentionning that the uninstaller left olds files, we will investigate the issue.

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. 
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. 
If you have received this e-mail in error, please contact the sender and delete all copies. 
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.

Re: Latest release will not start on windows 7 64 bit with Java 7

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 2/6/13 3:34 PM, Boxer, Aaron a écrit :
> Hi Emmanuel,
> Thanks. No, I don't have an older version; I uninstalled
> The previous version, then installed the latest and 
> Got this error.
>
> Interestingly, the install goes in Program Files(x86) directory;
> is this a 32 vs 64 bit version issue, perhaps.
>
> The previous milestone ran fine.
I'm pretty sure that the uninstaller left some jars somewhere on your disk.

This is not your fault, but still, those jars are found by the new
version, and you get the errors you exposed in your last mail.

Starting with a clean installation (with no previous jars), the server
should run fine.

Feel free to create a JIRA mentionning that the uninstaller left olds
files, we will investigate the issue.

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


RE: Latest release will not start on windows 7 64 bit with Java 7

Posted by "Boxer, Aaron" <Aa...@uhn.ca>.
Hi Emmanuel,
Thanks. No, I don't have an older version; I uninstalled
The previous version, then installed the latest and 
Got this error.

Interestingly, the install goes in Program Files(x86) directory;
is this a 32 vs 64 bit version issue, perhaps.

The previous milestone ran fine.

Aaron


-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com] 
Sent: Sunday, February 03, 2013 1:12 PM
To: users@directory.apache.org
Subject: Re: Latest release will not start on windows 7 64 bit with Java 7

Le 2/1/13 3:57 PM, Boxer, Aaron a écrit :
> Here is the stack trace.
You probably have an older version of ApacheDS installed on your server.



-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. 
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. 
If you have received this e-mail in error, please contact the sender and delete all copies. 
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.

Re: Latest release will not start on windows 7 64 bit with Java 7

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 2/1/13 3:57 PM, Boxer, Aaron a écrit :
> Here is the stack trace.
You probably have an older version of ApacheDS installed on your server.



-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com