cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco&JBoss bundle, can't login as admin/admin

praveen
Champ in-the-making
Champ in-the-making
I installed Tomcat&Alfresco bundle on Radhat linux and followed the installation instructions in the release notes. Then  I went to the URL http://hostname:8080/alfresco. I could able to login as admin/admin. Then crated users, logged as newly created user. Tested checkin and checkoutetc.

Then I shutdown the alfresco.

Installed the jboss/alfresco bundle on the same machine according to the Release Notes instructions.
I could go the portal. Clicked on Alfresco tab. Tried to login as admin/admin But it is now allowing me to login.
Please let me know what is wrong here.

the version 1.2
Thanks,
8 REPLIES 8

praveen
Champ in-the-making
Champ in-the-making
Iam sorry there is a typo there.
I meant to say its not allowing me to login.

rivetlogic
Champ on-the-rise
Champ on-the-rise
This seems to be a problem with your content store and database being out of sync.

If this is a fresh installation try to wipe out the database and the content store (e.g. alf_data) and start JBoss. Alfresco will create a new content store and will populate the database with the needed data. The JBoss/Alfresco bundle comes with sql files that do that for you:
    - db_remove.sql (drops the alfresco database)
    - db_setup.sql (creates the alfresco database and user)
It's also a good idea to put your content store/indexes in a static location (e.g. /srv/alfresco/data on Linux or C:\alfresco\data on Windows). That way you're sure you're always using the same content store/indexes no matter where your Alfresco deployment resides on the file system.

–Aladdin

jesusaplsoft
Champ in-the-making
Champ in-the-making
I have just installed alfresco 1.2.1 war file under Jboss and no way to login.
I use:
Oracle 10g
jboss 4.0.3SP1
Every time I try to login I get this error on Firefox

javax.faces.FacesException: Error calling action method of component with id loginForm:submit

caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}

caused by:
java.lang.NullPointerException
and this one in log file:

2006-05-21 14:08:13,218 DEBUG [org.alfresco.passthru.auth] Authenticate user=admin via local credentials
2006-05-21 14:08:13,219 DEBUG [org.alfresco.passthru.auth] Authenticate org.alfresco.repo.security.authentication.ntlm.NTLMLocalToken@7b4514: Username: admin; Password: [PROTECTED]; Authenticated: false; Details: null; Not granted any authorities via token
2006-05-21 14:08:13,220 DEBUG [org.alfresco.web.app.servlet.AlfrescoFacesServlet] An error has occurred, redirecting to error page: /jsp/error.jsp

I have delete jboss alf_data directory and oracle user alfresco serveral times and no way: alfresco remakes them again and same error…
Any idea?

rivetlogic
Champ on-the-rise
Champ on-the-rise
Are you using the Alfresco/JBoss bundle from the Alfresco website or are you deploying a standalone WAR into a JBoss installation of your own?

If you are deploying the WAR into a preexisting JBoss, where did you get the WAR from?

–Aladdin

jesusaplsoft
Champ in-the-making
Champ in-the-making
1. Standalone
2. I got it from sourceforge, of course!

jesusaplsoft
Champ in-the-making
Champ in-the-making
Details about error I forgot to add before…:

javax.faces.FacesException: Error calling action method of component with id loginForm:submit at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) at org.alfresco.web.app.servlet.AlfrescoFacesServlet.service(AlfrescoFacesServlet.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.alfresco.web.app.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:334) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) … 29 more Caused by: java.lang.NullPointerException at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticateLocal(NTLMAuthenticationComponentImpl.java:602) at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:535) at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:485) at org.alfresco.repo.security.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:84) 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:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy153.authenticate(Unknown Source) at org.alfresco.web.bean.LoginBean.login(LoginBean.java:282) 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:585) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) … 30 more

Hope this will help…

steve
Champ in-the-making
Champ in-the-making
Hi,

Are you using NTLM authentication, and if so are you logging in using an NTLM authorised user (admin/admin won't work here unless you have a matching user in your NTLM server)?

Steve

ewg
Champ in-the-making
Champ in-the-making
Are you using NTLM authentication, and if so are you logging in using an NTLM authorised user (admin/admin won't work here unless you have a matching user in your NTLM server)?

I had this same issue:  solved it by adding usernames of adminstrative staff to adminUsers property of overridden authorityService bean configuration.  After restart, those users had same privileges as 'admin' after logging in via NTLM.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.