01-30-2007 08:15 AM
02-01-2007 08:38 AM
84: // override with the users preference if they have one
85: User user = 86: (User)session.getAttribute(AuthenticationHelper.AUTHENTICATION_USER);
86: if (user != null && (user.getUserName().equals(PermissionService.GUEST_AUTHORITY) == : false))
87: {
88: // ensure construction of the FacesContext before attemping a service call
89: FacesContext fc = FacesHelper.getFacesContext(request, response, application);
90: String preference = (String)PreferencesService.getPreferences(fc).getValue("start-location");
91: if (preference != null)
net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext
at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:477)
at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:355)
at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:41)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:211)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:157)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:61)
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 $Proxy14.getProperty(Unknown Source)
at org.alfresco.web.bean.repository.Preferences.getValue(Preferences.java:67)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:390)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)
CompilerOracle: exclude org/apache/lucene/index/IndexReader$1 doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger mergeDeletions
01.02.2007 14:29:54 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programs\jdk1.5.0\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Programs\CollabNetSubversion;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program File
s\Wave Systems Corp\Dell Preboot Manager\Access Client\v5\;C:\Programs\CollabNetSubversion;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Wave Systems Corp\Dell Preboot Manager\Access Client\v5\;C:\Programs\MySQLServer5.0\bin;C:\php;C:\Programs\dlls;C:\Programs\svn-win32-1.
3.2\bin;C:\Programs\apache-ant-1.7.0\bin
01.02.2007 14:29:54 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
01.02.2007 14:29:54 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 781 ms
01.02.2007 14:29:54 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
01.02.2007 14:29:54 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.7
01.02.2007 14:29:54 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
01.02.2007 14:29:54 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
14:30:40,128 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
14:31:01,550 WARN [remoting.rmi.RmiServiceExporter] Could not detect RMI registry - creating new one
14:31:03,957 WARN [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
14:31:10,082 INFO [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: c:\Work\AlfrescoSVN\alf_data
14:31:10,253 INFO [admin.patch.PatchExecuter] Checking for patches to apply …
14:31:10,285 INFO [admin.patch.PatchExecuter] No patches were required.
14:31:10,285 INFO [repo.module.ModuleServiceImpl] Found 0 module(s).
14:31:10,550 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_11-b03; maximum heap size 493.063MB
14:31:10,550 WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493.063MB is less than recommended 512MB
14:31:10,550 INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.0.0 (Preview @build-number@) schema 35 - Installed version 2.0.0 (Preview @build-number@) schema 35
01.02.2007 14:31:12 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
01.02.2007 14:31:12 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
01.02.2007 14:31:12 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/328 config=null
01.02.2007 14:31:12 org.apache.catalina.startup.Catalina start
INFO: Server startup in 78000 ms
02-01-2007 10:32 AM
going back to :http://localhost:8080/alfresco/ i get:
java.lang.NullPointerException
Hide Details
java.lang.NullPointerException
at org.springframework.web.jsf.FacesContextUtils.getWebApplicationContext(FacesContextUtils.java:47)
at org.springframework.web.jsf.FacesContextUtils.getRequiredWebApplicationContext(FacesContextUtils.java:77)
at org.alfresco.web.bean.repository.Repository.getConfigurableService(Repository.java:433)
at org.alfresco.web.bean.repository.User.getUserPreferencesRef(User.java:176)
at org.alfresco.web.bean.repository.User.getPreferences(User.java:160)
at org.alfresco.web.bean.repository.PreferencesService.getPreferences(PreferencesService.java:61)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:73)
…
02-01-2007 11:27 AM
02-01-2007 11:33 AM
02-01-2007 01:18 PM
02-02-2007 05:10 AM
02-13-2007 05:43 PM
02-14-2007 06:00 AM
02-24-2007 03:04 PM
02-26-2007 07:54 AM
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.