1. Sebastian Sebastian
  2. scm-manager

Issues

Issue #111 resolved

Can not install plugins

Anonymous created an issue

I an unable to install any plugins

I install plugin (ldap) and restart the app server, log back in an it is not available to configure in the general tab and is still available for install in plugins tab.

logs

---------------------******---------------------------- 17:11:19.996 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - start scm-manager in stage: PRODUCTION 17:11:20.830 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - try to use ScmBootstrapClassLoader 17:11:20.861 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-git-plugin-1.13.jar 17:11:20.947 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-hg-plugin-1.13.jar 17:11:20.953 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-svn-plugin-1.13.jar 17:11:21.200 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.GitServletModule 17:11:21.201 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.SvnServletModule 17:11:21.201 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.HgServletModule 17:11:21.487 [pool-2-thread-1] INFO sonia.scm.util.ScmConfigurationUtil - load ScmConfiguration from file /usr/local/app_data/.scm/config/config.xml 17:11:21.595 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.HgRepositoryHandler 17:11:21.596 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.SvnRepositoryHandler 17:11:21.596 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.GitRepositoryHandler 17:11:21.687 [pool-2-thread-1] INFO sonia.scm.ScmServletModule - configure jersey with package path: sonia.scm 17:11:22.430 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial} 17:11:22.438 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion} 17:11:22.439 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git} 17:11:22.832 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapFilter - loading GuiceFilter with ScmBootstrapClassLoader 17:11:47.568 [ajp-bio-127.0.0.1-8009-exec-2] INFO sonia.scm.plugin.DefaultPluginManager - fetch plugin informations from http://plugins.scm-manager.org/scm-plugin-backend/api/1.13/plugins?os=Linux&arch=64&snapshot=false 17:11:48.327 [ajp-bio-127.0.0.1-8009-exec-2] INFO sonia.scm.plugin.AetherPluginHandler - try to install plugin with gav: sonia.scm.plugins:scm-auth-ldap-plugin:1.9 17:12:20.754 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - start scm-manager in stage: PRODUCTION 17:12:21.370 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - try to use ScmBootstrapClassLoader 17:12:21.394 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-git-plugin-1.13.jar 17:12:21.453 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-hg-plugin-1.13.jar 17:12:21.459 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-svn-plugin-1.13.jar 17:12:21.658 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.GitServletModule 17:12:21.666 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.HgServletModule 17:12:21.666 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.SvnServletModule 17:12:21.939 [pool-2-thread-1] INFO sonia.scm.util.ScmConfigurationUtil - load ScmConfiguration from file /usr/local/app_data/.scm/config/config.xml 17:12:21.989 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.GitRepositoryHandler 17:12:21.989 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.SvnRepositoryHandler 17:12:21.990 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.HgRepositoryHandler 17:12:22.036 [pool-2-thread-1] INFO sonia.scm.ScmServletModule - configure jersey with package path: sonia.scm 17:12:22.550 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git} 17:12:22.552 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion} 17:12:22.553 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial} 17:12:23.073 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapFilter - loading GuiceFilter with ScmBootstrapClassLoader

Comments (19)

  1. Sebastian Sebastian repo owner

    Could you please enable trace logging, try it again and attach the log file.

    Enable trace logging:

    Edit scm-server/conf/logging.xml Change the line from:

    <logger name="sonia.scm" level="INFO" />
    

    to:

    <logger name="sonia.scm" level="TRACE" />
    
  2. jerome99

    sorry I forgot to log in.

    Log info:

    09:02:49.663 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.XmlAuthenticationHandler - user scmadmin logged in successfully 09:02:49.664 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticator sonia.scm.web.security.XmlAuthenticationHandler ends with result, user: scmadmin, state: SUCCESS 09:02:49.664 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.BasicSecurityContext - authenticator xml marked user 'scmadmin' as admin 09:02:49.664 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.BasicSecurityContext - user 'xml' is marked as admin by local database 09:02:49.664 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.BasicSecurityContext - user scmadmin is not a member of a group 09:02:49.666 [ajp-bio-127.0.0.1-8009-exec-3] INFO sonia.scm.plugin.AetherPluginHandler - try to install plugin with gav: sonia.scm.plugins:scm-auth-ldap-plugin:1.9 09:02:49.764 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.plugin.AetherPluginHandler - set new plugin classpath: /usr/local/app_data/.scm/plugins/sonia/scm/plugins/scm-auth-ldap-plugin/1.9/scm-auth-ldap-plugin-1.9.jar 09:04:41.453 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - start scm-manager in stage: PRODUCTION 09:04:42.319 [pool-2-thread-1] DEBUG sonia.scm.boot.BootstrapListener - append /usr/local/app_data/.scm/plugins/sonia/scm/plugins/scm-auth-ldap-plugin/1.9/scm-auth-ldap-plugin-1.9.jar to classpath 09:04:42.324 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - try to use ScmBootstrapClassLoader 09:04:42.359 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-git-plugin-1.13.jar 09:04:42.449 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-hg-plugin-1.13.jar 09:04:42.454 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-svn-plugin-1.13.jar 09:04:42.511 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.repository.GitRepositoryHandler 09:04:42.584 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.web.GitServletModule 09:04:42.641 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.repository.HgRepositoryHandler 09:04:42.659 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.web.HgServletModule 09:04:42.717 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.repository.SvnRepositoryHandler 09:04:42.721 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.web.SvnServletModule 09:04:42.733 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.HgServletModule 09:04:42.738 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.GitServletModule 09:04:42.738 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.SvnServletModule 09:04:43.144 [pool-2-thread-1] INFO sonia.scm.util.ScmConfigurationUtil - load ScmConfiguration from file /usr/local/app_data/.scm/config/config.xml 09:04:43.267 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.SvnRepositoryHandler 09:04:43.268 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.HgRepositoryHandler 09:04:43.268 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.GitRepositoryHandler 09:04:43.348 [pool-2-thread-1] INFO sonia.scm.ScmServletModule - configure jersey with package path: sonia.scm 09:04:44.137 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.repository.SvnConfig at /usr/local/app_data/.scm/config/svn.xml 09:04:44.193 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.repository.HgConfig at /usr/local/app_data/.scm/config/hg.xml 09:04:44.310 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.repository.GitConfig at /usr/local/app_data/.scm/config/git.xml 09:04:44.319 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.repository.xml.XmlRepositoryDatabase at /usr/local/app_data/.scm/config/repositories.xml 09:04:44.337 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion} 09:04:44.337 [pool-2-thread-1] DEBUG sonia.scm.repository.AbstractRepositoryHandler - load config from store 09:04:44.337 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.repository.SvnConfig from store /usr/local/app_data/.scm/config/svn.xml 09:04:44.338 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial} 09:04:44.339 [pool-2-thread-1] DEBUG sonia.scm.repository.AbstractRepositoryHandler - load config from store 09:04:44.339 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.repository.HgConfig from store /usr/local/app_data/.scm/config/hg.xml 09:04:44.340 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - hooks allready registered 09:04:44.340 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script blame.py 09:04:44.344 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script changelog.py 09:04:44.344 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script filelog.py 09:04:44.345 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script util.py 09:04:44.345 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script scmhooks.py 09:04:44.345 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script hgweb.py 09:04:44.346 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git} 09:04:44.346 [pool-2-thread-1] DEBUG sonia.scm.repository.AbstractRepositoryHandler - load config from store 09:04:44.346 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.repository.GitConfig from store /usr/local/app_data/.scm/config/git.xml 09:04:44.347 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.repository.xml.XmlRepositoryDatabase from store /usr/local/app_data/.scm/config/repositories.xml 09:04:44.572 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.user.xml.XmlUserDatabase at /usr/local/app_data/.scm/config/users.xml 09:04:44.580 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.user.xml.XmlUserDatabase from store /usr/local/app_data/.scm/config/users.xml 09:04:44.583 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.group.xml.XmlGroupDatabase at /usr/local/app_data/.scm/config/groups.xml 09:04:44.590 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.group.xml.XmlGroupDatabase from store /usr/local/app_data/.scm/config/groups.xml 09:04:44.744 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapFilter - loading GuiceFilter with ScmBootstrapClassLoader

    That is an attempt to install the plugin and the restart the app server.

    here is the content of classpath.xml

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <classpath> <path>/sonia/scm/plugins/scm-auth-ldap-plugin/1.9/scm-auth-ldap-plugin-1.9.jar</path> </classpath>

  3. Sebastian Sebastian repo owner

    That is really strange. The plugin file is added to the classpath:

    DEBUG sonia.scm.boot.BootstrapListener - append /usr/local/app_data/.scm/plugins/sonia/scm/plugins/scm-auth-ldap-plugin/1.9/scm-auth-ldap-plugin-1.9.jar to classpath

    But the services from the plugin are not loaded. Can you remove the plugin folder and try it again?

  4. jerome99

    I did, It recreated the folder as it should

    here is the content of the folder

    ls -la plugins/sonia/scm/plugins/scm-auth-ldap-plugin/1.9/ total 12 drwxr-xr-x. 2 wasusr wasgrp 1024 Apr 10 10:17 . drwxr-xr-x. 3 wasusr wasgrp 1024 Apr 10 10:17 .. -rw-r--r--. 1 wasusr wasgrp 202 Apr 10 10:17 _maven.repositories -rw-r--r--. 1 wasusr wasgrp 1509 Apr 10 10:17 scm-auth-ldap-plugin-1.9.jar -rw-r--r--. 1 wasusr wasgrp 1509 Apr 10 10:17 scm-auth-ldap-plugin-1.9.pom

    here are the logs

    10:17:41.539 [ajp-bio-127.0.0.1-8009-exec-1] DEBUG sonia.scm.web.security.XmlAuthenticationHandler - user scmadmin logged in successfully 10:17:41.544 [ajp-bio-127.0.0.1-8009-exec-1] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticator sonia.scm.web.security.XmlAuthenticationHandler ends with result, user: scmadmin, state: SUCCESS 10:17:41.547 [ajp-bio-127.0.0.1-8009-exec-1] DEBUG sonia.scm.web.security.BasicSecurityContext - authenticator xml marked user 'scmadmin' as admin 10:17:41.549 [ajp-bio-127.0.0.1-8009-exec-1] DEBUG sonia.scm.web.security.BasicSecurityContext - user 'xml' is marked as admin by local database 10:17:41.554 [ajp-bio-127.0.0.1-8009-exec-1] DEBUG sonia.scm.web.security.BasicSecurityContext - user scmadmin is not a member of a group 10:17:42.522 [ajp-bio-127.0.0.1-8009-exec-1] DEBUG sonia.scm.repository.AbstractRepositoryManager - register POST_RECEIVE hook class sonia.scm.repository.ChangesetViewerUtil 10:17:42.524 [ajp-bio-127.0.0.1-8009-exec-1] DEBUG sonia.scm.repository.AbstractRepositoryManager - register POST_RECEIVE hook class sonia.scm.repository.RepositoryBrowserUtil 10:17:42.525 [ajp-bio-127.0.0.1-8009-exec-1] DEBUG sonia.scm.repository.AbstractRepositoryManager - register POST_RECEIVE hook class sonia.scm.repository.BlameViewerUtil 10:17:42.579 [ajp-bio-127.0.0.1-8009-exec-3] INFO sonia.scm.plugin.DefaultPluginManager - fetch plugin informations from http://plugins.scm-manager.org/scm-plugin-backend/api/1.13/plugins?os=Linux&arch=64&snapshot=false 10:17:42.581 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.net.URLHttpClient - fetch 'http://plugins.scm-manager.org/scm-plugin-backend/api/1.13/plugins?os=Linux&arch=64&snapshot=false' 10:17:46.632 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticate scmadmin via cache 10:17:46.635 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.BasicSecurityContext - authenticator xml marked user 'scmadmin' as admin 10:17:46.636 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.BasicSecurityContext - user 'xml' is marked as admin by local database 10:17:46.636 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.web.security.BasicSecurityContext - user scmadmin is not a member of a group 10:17:46.642 [ajp-bio-127.0.0.1-8009-exec-3] INFO sonia.scm.plugin.AetherPluginHandler - try to install plugin with gav: sonia.scm.plugins:scm-auth-ldap-plugin:1.9 10:17:47.201 [ajp-bio-127.0.0.1-8009-exec-3] DEBUG sonia.scm.plugin.AetherPluginHandler - set new plugin classpath: /usr/local/app_data/.scm/plugins/sonia/scm/plugins/scm-auth-ldap-plugin/1.9/scm-auth-ldap-plugin-1.9.jar 10:18:25.894 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - start scm-manager in stage: PRODUCTION 10:18:26.694 [pool-2-thread-1] DEBUG sonia.scm.boot.BootstrapListener - append /usr/local/app_data/.scm/plugins/sonia/scm/plugins/scm-auth-ldap-plugin/1.9/scm-auth-ldap-plugin-1.9.jar to classpath 10:18:26.694 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - try to use ScmBootstrapClassLoader 10:18:26.724 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-git-plugin-1.13.jar 10:18:26.816 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-hg-plugin-1.13.jar 10:18:26.828 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm/WEB-INF/lib/scm-svn-plugin-1.13.jar 10:18:26.939 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.repository.HgRepositoryHandler 10:18:26.971 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.web.HgServletModule 10:18:27.000 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.repository.GitRepositoryHandler 10:18:27.056 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.web.GitServletModule 10:18:27.099 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.repository.SvnRepositoryHandler 10:18:27.106 [pool-2-thread-1] DEBUG sonia.scm.plugin.ext.DefaultExtensionScanner - found extension class sonia.scm.web.SvnServletModule 10:18:27.118 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.GitServletModule 10:18:27.123 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.SvnServletModule 10:18:27.123 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.HgServletModule 10:18:27.418 [pool-2-thread-1] INFO sonia.scm.util.ScmConfigurationUtil - load ScmConfiguration from file /usr/local/app_data/.scm/config/config.xml 10:18:27.516 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.HgRepositoryHandler 10:18:27.520 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.SvnRepositoryHandler 10:18:27.520 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.GitRepositoryHandler 10:18:27.604 [pool-2-thread-1] INFO sonia.scm.ScmServletModule - configure jersey with package path: sonia.scm 10:18:28.183 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.repository.HgConfig at /usr/local/app_data/.scm/config/hg.xml 10:18:28.246 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.repository.SvnConfig at /usr/local/app_data/.scm/config/svn.xml 10:18:28.269 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.repository.GitConfig at /usr/local/app_data/.scm/config/git.xml 10:18:28.273 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.repository.xml.XmlRepositoryDatabase at /usr/local/app_data/.scm/config/repositories.xml 10:18:28.290 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial} 10:18:28.291 [pool-2-thread-1] DEBUG sonia.scm.repository.AbstractRepositoryHandler - load config from store 10:18:28.291 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.repository.HgConfig from store /usr/local/app_data/.scm/config/hg.xml 10:18:28.293 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - hooks allready registered 10:18:28.293 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script blame.py 10:18:28.298 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script changelog.py 10:18:28.299 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script filelog.py 10:18:28.299 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script util.py 10:18:28.300 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script scmhooks.py 10:18:28.300 [pool-2-thread-1] DEBUG sonia.scm.repository.HgRepositoryHandler - write python script hgweb.py 10:18:28.300 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion} 10:18:28.300 [pool-2-thread-1] DEBUG sonia.scm.repository.AbstractRepositoryHandler - load config from store 10:18:28.300 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.repository.SvnConfig from store /usr/local/app_data/.scm/config/svn.xml 10:18:28.302 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git} 10:18:28.302 [pool-2-thread-1] DEBUG sonia.scm.repository.AbstractRepositoryHandler - load config from store 10:18:28.302 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.repository.GitConfig from store /usr/local/app_data/.scm/config/git.xml 10:18:28.303 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.repository.xml.XmlRepositoryDatabase from store /usr/local/app_data/.scm/config/repositories.xml 10:18:28.528 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.user.xml.XmlUserDatabase at /usr/local/app_data/.scm/config/users.xml 10:18:28.537 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.user.xml.XmlUserDatabase from store /usr/local/app_data/.scm/config/users.xml 10:18:28.539 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStoreFactory - create store for sonia.scm.group.xml.XmlGroupDatabase at /usr/local/app_data/.scm/config/groups.xml 10:18:28.546 [pool-2-thread-1] DEBUG sonia.scm.store.JAXBStore - load class sonia.scm.group.xml.XmlGroupDatabase from store /usr/local/app_data/.scm/config/groups.xml 10:18:28.711 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapFilter - loading GuiceFilter with ScmBootstrapClassLoader

  5. jerome99

    It has to be the server, I installed 1.11 with the same issue. on my poc server running ubuntu everything works. on the server that our unix team gave me it has this issue.

    Linux version 2.6.32-220.7.1.el6.x86_64 (mockbuild@x86-002.build.bos.redhat.com) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Fri Feb 10 15:22:22 EST 2012

  6. jerome99

    on redhat OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.43.1.10.6.el6_2-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

    on my working ubuntu box

    java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

    So there is a difference

    should I have my UNIX team install Sun Java instead of OpenJDK?

  7. Sebastian Sebastian repo owner

    I've tested on a centos 6 with OpenJDK 1.6.0_22 and Tomcat 7.0.27 without any problems. Do you use securitymanager or have you done some classpath modifications on the tomcat? Could you test the scm-server version on that machine?

  8. jerome99

    From my web admin "Nothing special done from security. No special classpath mods "

    but it doesn't look like its a tomcat issue because the standalone server has the exact same issue.

    I hate using windows but I think this box is giving me no other option. my ubuntu box was set up by me with a standard install and using the war ver. it works fine but production servers have to be built by our UNIX team and tomcat has to be managed by our web admins.

  9. Sebastian Sebastian repo owner

    Commits for Improved logging: b44a121aaa8b, defd6eeb9fdb

    Please you the version below with enabled trace logging:

    I think the problem is related to the classloader. SCM-Manager could not load the plugin descriptor (META-INF/scm/plugin.xml) from the classpath. The line below should load all plugin descriptors from the classpath, but it loads only the core plugisn (located in WEB-INF/lib).

    https://bitbucket.org/sdorra/scm-manager/src/defd6eeb9fdb/scm-webapp/src/main/java/sonia/scm/plugin/DefaultPluginLoader.java#cl-257

    Please provide a new log with the version above.

    In the next 7 days i'm not at work, so i will check the log next week.

  10. jerome99

    Oracle JDK

    12:19:09.881 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - start scm-manager in stage: PRODUCTION 12:19:10.421 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - try to use ScmBootstrapClassLoader 12:19:10.457 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm-webapp-1.13/WEB-INF/lib/scm-git-plugin-1.13.jar 12:19:10.541 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm-webapp-1.13/WEB-INF/lib/scm-hg-plugin-1.13.jar 12:19:10.546 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm-webapp-1.13/WEB-INF/lib/scm-svn-plugin-1.13.jar 12:19:10.809 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.GitServletModule 12:19:10.810 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.HgServletModule 12:19:10.810 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.SvnServletModule 12:19:11.137 [pool-2-thread-1] WARN sonia.scm.util.ScmConfigurationUtil - could not find ScmConfiuration file at /home/wasusr/.scm/config/config.xml 12:19:11.476 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.GitRepositoryHandler 12:19:11.476 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.HgRepositoryHandler 12:19:11.477 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.SvnRepositoryHandler 12:19:11.573 [pool-2-thread-1] INFO sonia.scm.ScmServletModule - configure jersey with package path: sonia.scm 12:19:12.204 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git} 12:19:12.210 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial} 12:19:12.223 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion} 12:19:12.455 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapFilter - loading GuiceFilter with ScmBootstrapClassLoader 12:19:23.454 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - start scm-manager in stage: PRODUCTION 12:19:24.009 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - try to use ScmBootstrapClassLoader 12:19:24.027 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scmlog/WEB-INF/lib/scm-git-plugin-1.14-SNAPSHOT.jar 12:19:24.049 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scmlog/WEB-INF/lib/scm-hg-plugin-1.14-SNAPSHOT.jar 12:19:24.050 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scmlog/WEB-INF/lib/scm-svn-plugin-1.14-SNAPSHOT.jar 12:19:24.131 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.SvnServletModule 12:19:24.132 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.HgServletModule 12:19:24.132 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.GitServletModule 12:19:24.254 [pool-2-thread-1] WARN sonia.scm.util.ScmConfigurationUtil - could not find ScmConfiuration file at /home/wasusr/.scm/config/config.xml 12:19:24.308 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.GitRepositoryHandler 12:19:24.309 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.SvnRepositoryHandler 12:19:24.309 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.HgRepositoryHandler 12:19:24.341 [pool-2-thread-1] INFO sonia.scm.ScmServletModule - configure jersey with package path: sonia.scm 12:19:25.534 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git} 12:19:25.536 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion} 12:19:25.541 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial} 12:19:26.012 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapFilter - loading GuiceFilter with ScmBootstrapClassLoader 12:19:30.023 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - try to use ScmBootstrapClassLoader 12:19:30.076 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm11/WEB-INF/lib/scm-git-plugin-1.11.jar 12:19:30.150 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm11/WEB-INF/lib/scm-hg-plugin-1.11.jar 12:19:30.152 [pool-2-thread-1] INFO sonia.scm.plugin.DefaultPluginLoader - load core plugin /usr/local/app_root/scm11/WEB-INF/lib/scm-svn-plugin-1.11.jar 12:19:30.348 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.SvnServletModule 12:19:30.355 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.HgServletModule 12:19:30.355 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - add GuiceModule sonia.scm.web.GitServletModule 12:19:30.734 [pool-2-thread-1] WARN sonia.scm.util.ScmConfigurationUtil - could not find ScmConfiuration file at /home/wasusr/.scm/config/config.xml 12:19:30.900 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.GitRepositoryHandler 12:19:30.904 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.HgRepositoryHandler 12:19:30.905 [pool-2-thread-1] INFO sonia.scm.BindingExtensionProcessor - bind RepositoryHandler sonia.scm.repository.SvnRepositoryHandler 12:19:31.012 [pool-2-thread-1] INFO sonia.scm.ScmServletModule - configure jersey with package path: sonia.scm 12:19:32.644 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.GitRepositoryHandler for type Type{name=git, displayName=Git} 12:19:32.652 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.HgRepositoryHandler for type Type{name=hg, displayName=Mercurial} 12:19:32.653 [pool-2-thread-1] INFO sonia.scm.repository.xml.XmlRepositoryManager - added RepositoryHandler class sonia.scm.repository.SvnRepositoryHandler for type Type{name=svn, displayName=Subversion} 12:19:32.903 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapFilter - loading GuiceFilter with ScmBootstrapClassLoader

    will get OpenJDK later

  11. Sebastian Sebastian repo owner

    Is the log above with installed ldap plugin? Because i could not see a line like this

    10:18:26.694 [pool-2-thread-1] DEBUG sonia.scm.boot.BootstrapListener - append /usr/local/app_data/.scm/plugins/sonia/scm/plugins/scm-auth-ldap-plugin/1.9/scm-auth-ldap-plugin-1.9.jar to classpath

  12. jerome99

    I will have to re run the plugin install.

    BUT get this, ubuntu works, CentOS works, but Redhat no workie :)

    I am working on getting a sanctioned CentOS vm up so I can bypass this issue.

    Would you like me to send or link you to the redhat disk we are using?

  13. jerome99

    The problem ended up that acls were blocking the maven repos. Our networking team did a network scan to find out what sites were needed and then opened access as needed.

  14. Log in to comment