You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Nick Faiz (JIRA)" <di...@incubator.apache.org> on 2005/09/19 09:25:54 UTC

[jira] Created: (DIREVE-261) ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService

ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService
-----------------------------------------------------------------------------

         Key: DIREVE-261
         URL: http://issues.apache.org/jira/browse/DIREVE-261
     Project: Directory Server
        Type: Bug
    Versions: 0.9.3    
    Reporter: Nick Faiz
 Assigned to: Alex Karasulu 


A ClassNotFoundException is being encountered on start up in main:

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '' defined in file [/home/nickf/src/apache/directory/directory/apacheds/trunk/main/server.xml]: Bean class [org.apache.ldap.server.authn.OldAuthenticationService] not found; nested exception is java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService

I was hoping that it might be as simple as swapping in the AuthenticationService object in the same package, in the server.xml file. It doesn't appear to be.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: suport for creating new attributes

Posted by Alex Karasulu <ao...@bellsouth.net>.
Janarthanan Poornavel wrote:

> hi ,
>    does apache-ds(ver 0.9) support means to create new attribute types 
> dynamically ,(i.e) during
> runtime ?

No the schema is static at runtime.  It can only be modified at startup.
Alex

suport for creating new attributes

Posted by Janarthanan Poornavel <jp...@orangescape.com>.
hi ,
    does apache-ds(ver 0.9) support means to create new attribute types 
dynamically ,(i.e) during
runtime ?And if it supports ,when i tried to add a new attribute unde 
the AttributeDefiinition Context
i get exceptions stating what is given below,

org.apache.ldap.common.exception.LdapNameNotFoundException: Attempt to 
modify non-existant entry: cn=schema,ou=system

thanks ,
jana.





[jira] Closed: (DIRSERVER-304) ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-304.
---------------------------------------


Closing all issues created in 2005 and before which are marked resolved

> ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService
> -----------------------------------------------------------------------------
>
>                 Key: DIRSERVER-304
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-304
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Nick Faiz
>         Assigned To: Alex Karasulu
>         Attachments: patch.server.xml
>
>
> A ClassNotFoundException is being encountered on start up in main:
> Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '' defined in file [/home/nickf/src/apache/directory/directory/apacheds/trunk/main/server.xml]: Bean class [org.apache.ldap.server.authn.OldAuthenticationService] not found; nested exception is java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
> java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
> I was hoping that it might be as simple as swapping in the AuthenticationService object in the same package, in the server.xml file. It doesn't appear to be.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIREVE-261) ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService

Posted by "Alex Karasulu (JIRA)" <di...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/DIREVE-261?page=all ]
     
Alex Karasulu resolved DIREVE-261:
----------------------------------

    Fix Version: 0.9.3
     Resolution: Fixed

Thanks for the patch Nick I applied it here in revision 290165:

http://svn.apache.org/viewcvs.cgi?view=rev&rev=290165

> ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService
> -----------------------------------------------------------------------------
>
>          Key: DIREVE-261
>          URL: http://issues.apache.org/jira/browse/DIREVE-261
>      Project: Directory Server
>         Type: Bug
>     Versions: 0.9.3
>     Reporter: Nick Faiz
>     Assignee: Alex Karasulu
>      Fix For: 0.9.3
>  Attachments: patch.server.xml
>
> A ClassNotFoundException is being encountered on start up in main:
> Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '' defined in file [/home/nickf/src/apache/directory/directory/apacheds/trunk/main/server.xml]: Bean class [org.apache.ldap.server.authn.OldAuthenticationService] not found; nested exception is java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
> java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
> I was hoping that it might be as simple as swapping in the AuthenticationService object in the same package, in the server.xml file. It doesn't appear to be.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DIREVE-261) ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService

Posted by "Nick Faiz (JIRA)" <di...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/DIREVE-261?page=all ]

Nick Faiz updated DIREVE-261:
-----------------------------

    Attachment: patch.server.xml

> ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService
> -----------------------------------------------------------------------------
>
>          Key: DIREVE-261
>          URL: http://issues.apache.org/jira/browse/DIREVE-261
>      Project: Directory Server
>         Type: Bug
>     Versions: 0.9.3
>     Reporter: Nick Faiz
>     Assignee: Alex Karasulu
>  Attachments: patch.server.xml
>
> A ClassNotFoundException is being encountered on start up in main:
> Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '' defined in file [/home/nickf/src/apache/directory/directory/apacheds/trunk/main/server.xml]: Bean class [org.apache.ldap.server.authn.OldAuthenticationService] not found; nested exception is java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
> java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
> I was hoping that it might be as simple as swapping in the AuthenticationService object in the same package, in the server.xml file. It doesn't appear to be.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DIREVE-261) ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService

Posted by "Nick Faiz (JIRA)" <di...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/DIREVE-261?page=comments#action_12329812 ] 

Nick Faiz commented on DIREVE-261:
----------------------------------

Actually, it does seem to work. Anyway, here's the patched server.xml if it's useful.

> ClassNotFoundException - org.apache.ldap.server.auth.OldAuthenticationService
> -----------------------------------------------------------------------------
>
>          Key: DIREVE-261
>          URL: http://issues.apache.org/jira/browse/DIREVE-261
>      Project: Directory Server
>         Type: Bug
>     Versions: 0.9.3
>     Reporter: Nick Faiz
>     Assignee: Alex Karasulu
>  Attachments: patch.server.xml
>
> A ClassNotFoundException is being encountered on start up in main:
> Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '' defined in file [/home/nickf/src/apache/directory/directory/apacheds/trunk/main/server.xml]: Bean class [org.apache.ldap.server.authn.OldAuthenticationService] not found; nested exception is java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
> java.lang.ClassNotFoundException: org.apache.ldap.server.authn.OldAuthenticationService
> I was hoping that it might be as simple as swapping in the AuthenticationService object in the same package, in the server.xml file. It doesn't appear to be.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira