directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ceren KOKSAL" <cerenkok...@gmail.com>
Subject Re: Using Apache ds in a web application - user names, passwords
Date Wed, 23 May 2007 12:11:04 GMT
Hi

Last log in the localhost logs is below:(An exception but different than the
yesterday's exception)

SEVERE: Exception sending context initialized event to listener instance of
class org.apache.directory.samples.embed.webapp.StartStopListener
java.lang.RuntimeException: jdbm.helper.WrappedRuntimeException:
org.apache.directory.server.core.schema.SerializableComparator
 at
org.apache.directory.samples.embed.webapp.StartStopListener.contextInitialized(Unknown
Source)
 at org.apache.catalina.core.StandardContext.listenerStart(
StandardContext.java:3764)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4216)
 at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:760)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
 at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:120)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: jdbm.helper.WrappedRuntimeException:
org.apache.directory.server.core.schema.SerializableComparator
 at jdbm.helper.DefaultSerializer.deserialize(DefaultSerializer.java:99)
 at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
 at jdbm.recman.CacheRecordManager.fetch(CacheRecordManager.java:263)
 at jdbm.recman.CacheRecordManager.fetch(CacheRecordManager.java:242)
 at jdbm.btree.BTree.load(BTree.java:276)
 at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable
.<init>(JdbmTable.java:141)
 at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.initTables
(JdbmIndex.java:141)
 at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex
.<init>(JdbmIndex.java:121)
 at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.addIndexOn
(JdbmStore.java:545)
 at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.initIndices2
(JdbmStore.java:270)
 at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.init(
JdbmStore.java:402)
 at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init
(JdbmPartition.java:109)
 at
org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition
(DefaultPartitionNexus.java:371)
 at org.apache.directory.server.core.partition.DefaultPartitionNexus.init(
DefaultPartitionNexus.java:201)
 at org.apache.directory.server.core.DefaultDirectoryService.initialize(
DefaultDirectoryService.java:986)
 at org.apache.directory.server.core.DefaultDirectoryService.startup(
DefaultDirectoryService.java:254)
 at
org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext
(AbstractContextFactory.java:118)
 at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
 at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
 at javax.naming.InitialContext.init(Unknown Source)
 at javax.naming.InitialContext.<init>(Unknown Source)
 at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
 ... 25 more

Thanks for your help..

On 5/23/07, Stefan Zoerner <stefan@labeo.de> wrote:
>
> Hi Ceren!
>
> This is strange. I have tried the same with the official release
> downloaded from
> http://www.apache.org/dyn/closer.cgi/directory/apacheds/unstable/1.5/1.5.0
> and it works (if I use the build.xml I a have provided this morning).
>
> Pointing the browser to http://localhost:8080/ApacheDS/RootDse brings a
> screen like this
>
> --8<--
>
> *** ApacheDS RootDSE ***
>
> supportedLDAPVersion: 3
> objectClass: extensibleObject
> objectClass: top
> subschemaSubentry: cn=schema
> supportedFeatures: 1.3.6.1.4.1.4203.1.5.1
> vendorName: Apache Software Foundation
> supportedExtension: 1.3.6.1.4.1.1466.20036
> namingContexts: ou=system
> namingContexts: ou=schema
> supportedControl: 2.16.840.1.113730.3.4.3
> supportedControl: 2.16.840.1.113730.3.4.7
> supportedControl: 1.3.6.1.4.1.4203.1.10.1
> supportedControl: 2.16.840.1.113730.3.4.2
> vendorVersion: 1.5.0
>
> -->8--
>
> What does "But is did'nt work" exactly mean? Same error than yesterday?
> Have you checked the logs?
>
> I have attached a list of the jars, which have been copied to the lib
> directory.
>
> Greetings,
>     Stefan
>
> Ceren KOKSAL wrote:
> > Hi StefanZ
> >
> > I tried with the build.xml  you attached, after adjusting the paths.But
> > it didn't work.Could you please send me the names of jar files that you
> > used(a screen shot of lib directory of  the project, if possible)?
> > I'll check the jars.
> > Thanks..
>
> antlr-2.7.6.jar
> apacheds-bootstrap-extract-1.5.0.jar
> apacheds-bootstrap-partition-1.5.0.jar
> apacheds-btree-base-1.5.0.jar
> apacheds-constants-1.5.0.jar
> apacheds-core-1.5.0.jar
> apacheds-core-shared-1.5.0.jar
> apacheds-jdbm-store-1.5.0.jar
> apacheds-kerberos-shared-1.5.0.jar
> apacheds-protocol-changepw-1.5.0.jar
> apacheds-protocol-kerberos-1.5.0.jar
> apacheds-protocol-ldap-1.5.0.jar
> apacheds-protocol-ntp-1.5.0.jar
> apacheds-protocol-shared-1.5.0.jar
> apacheds-schema-bootstrap-1.5.0.jar
> apacheds-schema-extras-1.5.0.jar
> apacheds-schema-registries-1.5.0.jar
> apacheds-server-jndi-1.5.0.jar
> apacheds-server-main-1.5.0.jar
> apacheds-server-ssl-1.5.0.jar
> apacheds-utils-1.5.0.jar
> backport-util-concurrent-2.2.jar
> commons-collections-3.2.jar
> commons-lang-2.1.jar
> jdbm-1.0.jar
> libs.txt
> logger.jar
> mina-core-1.0.2.jar
> mina-filter-ssl-1.0.2.jar
> shared-asn1-0.9.6.jar
> shared-asn1-codec-0.9.6.jar
> shared-ldap-0.9.6.jar
> shared-ldap-constants-0.9.6.jar
>
>

Mime
View raw message