cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot start Share (new User Interface)

bgl
Champ on-the-rise
Champ on-the-rise
Hi,

I'm using the latest svn checkout of the trunk (currently revision 2652). After building the share war, I try to deploy it under my tomcat (version 6.0.14). Java is 1.5.0_14-b03 under linux (Fedora core).

When tomcat starts (I have alfresco and share in the same tomcat), alfresco starts with no problem (cifs and ftp are not configured). But when it comes to Share, I have the following in catalina.sh :


INFO: Déploiement de l'archive share.war de l'application web
16:58:29,896  INFO  [web.scripts.DeclarativeRegistry] Registered 13 Web Scripts (+0 failed), 15 URLs
16:58:29,898  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 258.17902ms)
16:58:30,279  INFO  [web.scripts.DeclarativeRegistry] Registered 103 Web Scripts (+0 failed), 105 URLs
16:58:30,280  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 377.35397ms)
11 août 2008 16:58:30 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
11 août 2008 16:58:30 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/share] suite aux erreurs précédentes
11 août 2008 16:58:30 org.apache.coyote.http11.Http11Protocol start

I see no error there so I have no idea on how to start this interface. I didn't find anything about hints or something else for deploying this so I guess I am missing some very easy thing… :-S

Any idea ?

Thank you for your help
9 REPLIES 9

mikeh
Star Contributor
Star Contributor
Hi

There should be an alfresco.log file containing more information - please post the contents of that and hopefully the solution will present itself.

Thanks,
Mike

bgl
Champ on-the-rise
Champ on-the-rise
Hi Mike,

I never use this log file since I see the same trace at startup as in catalina.out. This is the case here again. I have remove logs before restarting tomcat so I am sure I have all traces for this run. This is the content of alfresco.log :


09:58:51,785 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
09:58:53,037 INFO  [org.alfresco.config.source.UrlConfigSource] Found META-INF/web-client-config-custom.xml in file:/home/alfresco/tomcat/apache-tomcat-6.0.14/webapps/alfresco/WEB-INF/lib/alfrescoConfig.jar
09:58:53,200 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
09:58:59,810 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap]
09:59:08,256 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Aucune modification na été apportée au schéma.
09:59:16,129 INFO  [org.alfresco.repo.admin.ConfigurationChecker] Alfresco juuri data hakemisto ('dir.root') on: /home/alfresco/alf_data
09:59:16,290 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
09:59:16,690 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Aucun correctif requis.
09:59:16,754 INFO  [org.alfresco.repo.module.ModuleServiceImpl] 1 module(s) trouvé(s).
09:59:16,916 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Démarrage du module 'fr.csill.alfrescox.alfrescoConfig' version 1.0.
09:59:22,342 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
09:59:22,342 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
09:59:22,348 ERROR [org.alfresco.smb.protocol] CIFS server configuration error, CIFS authenticator not specified
org.alfresco.error.AlfrescoRuntimeException: CIFS authenticator not specified
   at org.alfresco.filesys.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:887)
   at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfigurationBean.java:549)
   at org.alfresco.filesys.ServerConfigurationBean.onApplicationEvent(ServerConfigurationBean.java:3098)
   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:241)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
   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.deployWAR(HostConfig.java:825)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
   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:566)
   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.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
09:59:23,093 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_14-b03; maximum heap size 1016,125MB
09:59:23,097 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (a @build-number@) schema 128 - Installed version 3.0.0 (a @build-number@) schema 128
09:59:51,681 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 13 Web Scripts (+0 failed), 15 URLs
09:59:51,686 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 313.714ms)
09:59:54,106 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 103 Web Scripts (+0 failed), 105 URLs
09:59:54,106 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 2406.015ms)

Is it mandatory to have a valid CIFS configuration for getting share working ? how do I specify location of Alfresco for the UI ?

thank you

Boris

mikeh
Star Contributor
Star Contributor
The Share interface doesn't use CIFS at all - just the repo tier ("/alfresco")

It's not obvious what isn't working here, but please note that Tomcat 6 isn't officially supported yet (there are some notes on our wiki about it).

webscript-framework-config.xml contains the URL of the repository (localhost:8080/alfresco/s) by default.


Mike

bgl
Champ on-the-rise
Champ on-the-rise
It seemed strange to me that this could use the cifs but since it is the only error I have in my logs…

Thank you for the answer Mike.

Anyone is running the share interface with this version ?

ragamuffndave
Champ in-the-making
Champ in-the-making
Just FYI, I'm seeing the exact same error in the logs… alfresco starts fine, but share always gives a listenerStart error and fails to load… have you had any luck getting yours going or determining the cause?

bgl
Champ on-the-rise
Champ on-the-rise
I didn't work anymore on it. It should work as it is (in my opinion) so we can test it and report problems (or congratulate for the new great interface  :wink: )
I think there is a problem in head. Which svn revision are you using ?

mikeh
Star Contributor
Star Contributor
Although it's possible that HEAD might be temporarily unstable, it's highly unusual for a nightly distribution not to work - as the build server deploys the applications in order to run the 1600+ unit tests and only updates the server on successful test completion.

Note that we don't officially support Tomcat 6 yet - please try again with 5.5, or carefully read the wiki regarding version 6.

Thanks,
Mike

bgl
Champ on-the-rise
Champ on-the-rise
thank you for re-posting the remark about Tomcat 5.5. I have downloaded it, deployed and it is working  :wink:

About unit tests you mention, I would like to point you this post ( http://forums.alfresco.com/en/viewtopic.php?f=31&t=13839 ) where I say that some unit tests do not work since (at least) version 1040 -I am under Linux (Fedora)- . After fixing the first problem and posting fix on forum, I had no feedback (fix integrated or not) but another test fails. Do you have the same tests that fail in enterprise (they should I guess) ? if those tests are outdated, may be they should be removed -or updated- since it is blocking for making automating tests/validations.

To run unit tests, I use the target "test". Am I missing something ? (may I start a new thread for this ?)

Thanks about the tip on Tomcat !

mathieu_bodin
Champ in-the-making
Champ in-the-making
Hi,

on starting tests through ant task, I also encountered a lots of issues, since I guess some tests are platform dependant, especially those concerning CIFS. I'm not sure but I also guess that tests assume a MySql DB to work fine. I successfully start filtered suite of tests : I removed those which were looking based on Windows resources (like DLL). But the fact is that, on a Windows machine, i doesn't work either just using "test" target.
By the way, I worked on V2.2 Enterprise, but it seems symptoms are the same.