AnsweredAssumed Answered

Context Initialization failed

Question asked by ahamed.rasmi on Mar 24, 2010
Hi ,

Alfresco 3.2 RC was running well in tomcat 6.0
I tried webscript (helloworld) example in wiki..

After that.. I am getting new error..
11:50:51,406  ERROR [web.context.ContextLoader] Context initialization failed
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
        at java.util.Properties.loadConvert(Unknown Source)
        at java.util.Properties.load0(Unknown Source)
        at java.util.Properties.load(Unknown Source)
        at java.util.PropertyResourceBundle.<init>(Unknown Source)
        at org.springframework.extensions.webscripts.AbstractWebScript.getBundleFromPath(AbstractWebScrip
t.java:245)
        at org.springframework.extensions.webscripts.AbstractWebScript.getResources(AbstractWebScript.jav
a:212)
        at org.springframework.extensions.webscripts.AbstractWebScript.init(AbstractWebScript.java:115)
        at org.springframework.extensions.webscripts.DeclarativeRegistry.initWebScripts(DeclarativeRegist
ry.java:320)
        at org.springframework.extensions.webscripts.DeclarativeRegistry.reset(DeclarativeRegistry.java:1
72)
        at org.alfresco.repo.web.scripts.RepositoryContainer.getRegistry(RepositoryContainer.java:466)
        at org.springframework.extensions.webscripts.AbstractRuntimeContainer.reset(AbstractRuntimeContai
ner.java:226)
        at org.alfresco.repo.web.scripts.RepositoryContainer.init(RepositoryContainer.java:560)
        at org.alfresco.repo.web.scripts.RepositoryContainer.reset(RepositoryContainer.java:534)
        at org.alfresco.repo.web.scripts.RepositoryContainer$4.doWork(RepositoryContainer.java:488)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514
)
        at org.alfresco.repo.web.scripts.RepositoryContainer.onApplicationEvent(RepositoryContainer.java:
492)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleAppli
cationEventMulticaster.java:97)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicatio
nContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicati
onContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationCont
ext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:2
61)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192
)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener
.java:47)
        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.start(ContainerBase.java:1045)
        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(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:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Mar 24, 2010 11:50:51 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 24, 2010 11:50:51 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLogg
erRepository.
Mar 24, 2010 11:50:53 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
log4j:WARN No appenders could be found for logger (org.quartz.core.QuartzSchedulerThread).
log4j:WARN Please initialize the log4j system properly.
11:51:15,016  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 183 Web Scripts (+0 failed), 1
90 URLs
11:51:26,157  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container We
b Script Container (in 11953.132ms)
11:51:26,251  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freem
arker for extension ftl
11:51:26,391  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascrip
t for extension js
11:51:26,407  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freem
arker for extension ftl
11:51:26,423  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascrip
t for extension js
11:51:26,438  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freem
arker for extension ftl
11:51:26,438  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascrip
t for extension js
Mar 24, 2010 11:51:27 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 24, 2010 11:51:27 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 24, 2010 11:51:27 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
Mar 24, 2010 11:51:27 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 119129 ms
Exception in thread "AlfrescoJbpmJobExecutor:10.120.10.56:1" java.lang.NullPointerException
        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:80)



Please help.. May be there is error in uploaded script and/or properties files to org/alfresco/sample dictionary… I want to delete them..

How to do that

Outcomes