-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not install plugins #111
Comments
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra). 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:
to:
|
Original comment by jerome99 (Bitbucket: jerome99, GitHub: 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 **That is an attempt to install the plugin and the restart the app server. here is the content of classpath.xml /sonia/scm/plugins/scm-auth-ldap-plugin/1.9/scm-auth-ldap-plugin-1.9.jar |
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra). 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? |
Original comment by jerome99 (Bitbucket: jerome99, GitHub: 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/ 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 |
Original comment by jerome99 (Bitbucket: jerome99, GitHub: 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 |
Original comment by jerome99 (Bitbucket: jerome99, GitHub: jerome99). on redhat on my working ubuntu box java version "1.6.0_26" So there is a difference should I have my UNIX team install Sun Java instead of OpenJDK? |
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra). 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? |
Original comment by jerome99 (Bitbucket: jerome99, GitHub: 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. |
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra). Commits for Improved logging: [[https://bitbucket.org/sdorra/scm-manager/changeset/b44a121aaa8b|b44a121aaa8b]], [[https://bitbucket.org/sdorra/scm-manager/changeset/defd6eeb9fdb|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). 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. |
Original comment by jerome99 (Bitbucket: jerome99, GitHub: jerome99). Oracle JDK 12:19:09.881 [pool-2-thread-1] INFO sonia.scm.boot.BootstrapListener - start scm-manager in stage: PRODUCTION will get OpenJDK later |
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra). 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 |
Original comment by jerome99 (Bitbucket: jerome99, GitHub: 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? |
Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra). (Reply via s.sd...@gmail.com): Yes please send me that link. 2012/4/23 jerome99 issues-reply@bitbucket.org: |
Original report by Anonymous.
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
The text was updated successfully, but these errors were encountered: