cancel
Showing results for 
Search instead for 
Did you mean: 

context initialization failed: NullPointerException

decolnets
Champ in-the-making
Champ in-the-making
Hi all,

I'm a quite new in alfresco and I use the Community 3.2 on a Windows XP.
I'd like to use the active directory of my enterprise for the authentication on this system.

For that, I configure alfresco to use kerberos with a realm connected to the AD.

But I received an error during initialization and I don't know exactly witch component is wrong and why?

The log file on startup give me this error:

09-juil.-2009 13:54:57 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
09-juil.-2009 13:54:57 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 483 ms
09-juil.-2009 13:54:58 org.apache.catalina.core.StandardService start
INFO: D´┐¢marrage du service Catalina
09-juil.-2009 13:54:58 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
09-juil.-2009 13:54:59 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
13:55:04,698  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
13:55:04,714  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
13:55:04,714  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco-global.properties]
13:55:04,776  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:55:15,184  WARN  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server supports anonymous bind ldap://expadc004.hopital.erasme.local:389
13:55:15,199  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for a string uid and password at ldap://expadc004.hopital.erasme.local:389
13:55:15,199  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for a simple dn and password at ldap://expadc004.hopital.erasme.local:389
13:55:15,215  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for known principal and invalid credentials at ldap://expadc004.hopital.erasme.local:389
13:55:15,965  WARN  [impl.acegi.ACLEntryVoter] Bean property 'authenticationService' no longer required on 'ACLEntryVoter'.
13:55:15,981  WARN  [impl.acegi.ACLEntryAfterInvocationProvider] Bean property 'authenticationService' no longer required.
Added passthru server [expadc004.hopital.erasme.local:192.168.162.5:Offline:0,0]
Passthru server online, [expadc004.hopital.erasme.local:192.168.162.5:Online:0,0]
13:55:27,044  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
13:55:28,826  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
13:55:31,779 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
13:55:31,810 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:55:33,482 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
13:55:33,701 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
13:55:33,810 User:System INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
13:55:34,060 User:System INFO  [admin.patch.PatchExecuter] No patches were required.
13:55:34,060 User:System INFO  [repo.module.ModuleServiceImpl] Found 1 module(s).
13:55:34,107 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
13:55:34,295 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
13:55:34,310 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:55:34,514 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
13:55:34,529 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:55:34,857 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
13:55:34,904 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
13:55:34,904 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
13:55:34,920 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:55:34,967 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
13:55:34,967 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
13:55:34,982 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:55:34,998 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
13:55:35,107 User:System INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_12-b04; maximum heap size 493,063MB
13:55:35,107 User:System WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less than recommended 512MB
13:55:35,107 User:System INFO  [service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (2039) schema 2019 - Installed version 3.2.0 (2039) schema 2019
13:55:35,310 User:System INFO  [cmis.dictionary.CMISAbstractDictionaryService] Initialized CMIS Dictionary. Types:162, Properties:248
13:55:35,451 User:System INFO  [module.vti.VtiServer] Vti server started successfully on port: 7070
13:55:35,451 User:System ERROR [web.context.ContextLoader] Context initialization failed
java.lang.NullPointerException
        at org.alfresco.repo.security.authentication.AbstractAuthenticationComponent.getSystemUserName(AbstractAuthenticationComponent.java:304)
        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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy58.getSystemUserName(Unknown Source)
        at org.alfresco.module.vti.handler.alfresco.VtiPathHelper.onBootstrap(VtiPathHelper.java:482)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
09-juil.-2009 13:55:35 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
09-juil.-2009 13:55:35 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de d´┐¢marrage du contexte [/alfresco] suite aux erreurs pr´┐¢c´┐¢dentes
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
09-juil.-2009 13:55:36 org.apache.catalina.startup.HostConfig deployWAR
INFO: D´┐¢ploiement de l'archive mobile.war de l'application web
13:55:37,483  INFO  [alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@8c970a: display name [Root WebApplicationContext]; startup date [Thu Jul 09 13:55:37 CEST 2009]; root of context hierarchy
13:55:37,858  INFO  [alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@8c970a]: org.springframework.beans.factory.support.DefaultListableBeanFactory@162f992
13:55:38,811  INFO  [web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
13:55:38,826  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 198.25928ms)
13:55:38,951  INFO  [web.scripts.DeclarativeRegistry] Registered 42 Web Scripts (+0 failed), 44 URLs
13:55:38,967  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 131.16779ms)
13:55:39,014  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
09-juil.-2009 13:55:39 org.apache.catalina.startup.HostConfig deployWAR
INFO: D´┐¢ploiement de l'archive share.war de l'application web
log4j:WARN No appenders could be found for logger (org.quartz.core.QuartzSchedulerThread).
log4j:WARN Please initialize the log4j system properly.
13:55:41,702  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
09-juil.-2009 13:55:41 org.apache.catalina.startup.HostConfig deployWAR
INFO: D´┐¢ploiement de l'archive studio.war de l'application web
Exception in thread "AlfrescoJbpmJobExecutor:192.168.50.191:1" java.lang.NullPointerException
        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:80)

Do you have any idea to help me?

May thanks

Sébastien
10 REPLIES 10

heraclesbzh
Champ in-the-making
Champ in-the-making
Hello,

Did you find a solution to your issue ? I have same with a 3.2 alfresco on a 2k3 server

Thank's

dward
Champ on-the-rise
Champ on-the-rise
It looks like the authenticationContext on one or more of your authentication components is not set (new property in v3.2). I'm not sure why. Are you running with any custom Spring configuration? If so, what?

fsaldepaz
Champ in-the-making
Champ in-the-making
Facing same problem.
I have extracted chaining-example.zip into extension folder and later on removed chaining-jaas-authentication-context.xml and chaining-ntlm-authentication-context.xml since I only want LDAP and Alfresco defaults. I also replaced LDAP properties with those that match my environment.

Now I have:

C:\desarrollo\java\install\alfresco-3.2\tomcat\shared\classes
  -alfresco-global.properties       Modified with authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap

C:\desarrollo\java\install\alfresco-3.2\tomcat\shared\classes\alfresco\extension
  -chaining-authentication-context.xml
  -chaining-alfresco-authentication-context.xml
  -chaining-ldap-authentication-context.xml
  -ldap-authentication.properties

C:\desarrollo\java\install\alfresco-3.2\tomcat\shared\classes\alfresco\extension\Authentication\ldap\ldap1
  -ldap-authentication.properties

Any clue ?

Thanks in advance

dward
Champ on-the-rise
Champ on-the-rise
Where did you get chaining-example.zip from? This is not valid for Alfresco v3.2.

fsaldepaz
Champ in-the-making
Champ in-the-making
Hi dward

It comes with my alfresco installation -Alfresco-Community-3.2-Full-Setup.exe- , it is inside the extension folder.
%ALF_HOME%\tomcat\shared\classes\alfresco\extension
However I will check those files looking for an error.

Thanks for your quick reply

dward
Champ on-the-rise
Champ on-the-rise
Oh dear. We'll need to remove those files from the distribution. Can you please read the subsystems Wiki

http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Configuring_the_Authentication_Chai...

You will notice that there is no need to copy / edit Spring configuration in the extensions directory in order to set up an authentication chain. Please remove these obselete files.

fsaldepaz
Champ in-the-making
Champ in-the-making
Thanks again. I won't be confused again with those files. I have tried this way because I couldn't configure Authentication subsystem properly. I have copied ldap-authentication properties to:

C:\desarrollo\java\install\alfresco-3.2\tomcat\shared\classes\alfresco\extension
C:\desarrollo\java\install\alfresco-3.2\tomcat\shared\classes\alfresco\extension\Authentication\ldap
C:\desarrollo\java\install\alfresco-3.2\tomcat\shared\classes\alfresco\extension\Authentication\ldap\ldap1

But it is still loading default properties:

12:23:43,035 ERROR [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] Unable to connect to LDAP Server;
check LDAP configuration
javax.naming.CommunicationException: openldap.domain.com:389 [Root exception is java.net.UnknownHostException: [b]openldap.domain.com[/b]]
        at com.sun.jndi.ldap.Connection.<init>(Connection.java:207)
        at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
        at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
        at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
        at org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl.afterPropertiesSet(LDAPInitialDirContextFact
oryImpl.java:298)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFa
ctory.java:1203)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFacto
ry.java:1172)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j
ava:427)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.ja
va:110)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBean
Factory.java:1100)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory
.java:862)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j
ava:423)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.jav
a:291)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.start(ChildApplicationContextFactory.java:460)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.getApplicationContext(ChildApplicationContextFactory.
java:514)
        at org.alfresco.repo.management.subsystems.DefaultChildApplicationContextManager.getApplicationContext(DefaultChildApplicationC
ontextManager.java:236)
        at org.alfresco.repo.security.authentication.subsystems.SubsystemChainingAuthenticationService.getUsableAuthenticationServices(
SubsystemChainingAuthenticationService.java:116)
        at org.alfresco.repo.security.authentication.AbstractChainingAuthenticationService.authenticateAsGuest(AbstractChainingAuthenti
cationService.java:184)
        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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor
.java:49)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy26.authenticateAsGuest(Unknown Source)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:143)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.UnknownHostException: openldap.domain.com
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:180)
        at com.sun.jndi.ldap.Connection.createSocket(Connection.java:349)
        at com.sun.jndi.ldap.Connection.<init>(Connection.java:184)
        … 74 more

Any idea?

Thank you very much

dward
Champ on-the-rise
Champ on-the-rise
See

http://forums.alfresco.com/en/viewtopic.php?f=8&t=20069&p=66374#p66374

Unfortunately, this bug was found in the Labs release that meant that the extension classpath mechanism for overriding properties was not working

https://issues.alfresco.com/jira/browse/ETHREEOH-2478

If you are only controlling one subsystem, just put its properties in alfresco-global.properties. Otherwise you will need the nightly build from 14th July.

Thanks

Dave

fsaldepaz
Champ in-the-making
Champ in-the-making
Thanks again

Seems it is loading correct values now -putting them in alfresco-global.properties-. However I cannot login but I think now is a problem with my LDAP (Apache).

Thank you very much for your help

Kind Regards