Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5276

JBoss EAP 5.1 RPM install admin console not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • EAP 5.1.0 Post Release
    • None
    • None
    • None
    • JBoss EAP 5.1 RPM install from rhn.redhat.com running on rhel5 x86_64 using sun jvm 1.6.0.21

    • Hide
      I installed EAP 5.1 from RPM, created a local repo from the errata and updated the rpms - jopr-embedded and jboss-remoting. I got this:

      [root@hp-bl495cg5-01 tps]# rpm -qa|grep jopr-embedded
      jopr-embedded-1.3.4-16.SP1.7.ep5.el5

      [root@hp-bl495cg5-01 tps]# ls -l /var/lib/jbossas/server/default/deploy/admin-console.war/WEB-INF/lib/jopr-embedded-core.jar
      lrwxrwxrwx 1 jboss jboss 52 Dec 1 05:33 /var/lib/jbossas/server/default/deploy/admin-console.war/WEB-INF/lib/jopr-embedded-core.jar -> /usr/share/java/jopr-embedded/jopr-embedded-core.jar

      The admin console seems to be working fine now - no errors in the console and no exceptions displayed in the browser.

      Thanks,
      Martin
      Show
      I installed EAP 5.1 from RPM, created a local repo from the errata and updated the rpms - jopr-embedded and jboss-remoting. I got this: [ root@hp-bl495cg5-01 tps]# rpm -qa|grep jopr-embedded jopr-embedded-1.3.4-16.SP1.7.ep5.el5 [ root@hp-bl495cg5-01 tps]# ls -l /var/lib/jbossas/server/default/deploy/admin-console.war/WEB-INF/lib/jopr-embedded-core.jar lrwxrwxrwx 1 jboss jboss 52 Dec 1 05:33 /var/lib/jbossas/server/default/deploy/admin-console.war/WEB-INF/lib/jopr-embedded-core.jar -> /usr/share/java/jopr-embedded/jopr-embedded-core.jar The admin console seems to be working fine now - no errors in the console and no exceptions displayed in the browser. Thanks, Martin

    Description

      Hi,

      After doing a fresh EAP 5.1 installation using the RPMs supplied by rhn.redhat.com onto our system, we modifed /etc/sysconfig/jbossas to uncomment the line

      JBOSSCONF="production"

      Then uncommented the admin user in /var/lib/jbossas/server/production/conf/props/jmx-users.properties

      We then started the application server by the init script, and tried to go to

      http://$server:8080/admin-console

      and login to the admin console. Our password was accepted and we were immediately presented with a screen like the attached screenshot, and the following error in the log

      {{{
      2010-10-20 15:36:02,615 INFO [org.jboss.on.embedded.ui.BootstrapAction] (http-0.0.0.0-8080-2) Initializing Administration Console v1.3.4.SP1...
      2010-10-20 15:36:02,724 ERROR [org.rhq.core.pc.plugin.PluginManager] (http-0.0.0.0-8080-2) Plugin at [null] could not be loaded and will therefore not be deployed.
      org.rhq.core.clientapi.agent.PluginContainerException: A valid plugin JAR URL must be supplied.
      at org.rhq.core.clientapi.descriptor.AgentPluginDescriptorUtil.loadPluginDescriptorFromUrl(AgentPluginDescriptorUtil.java:296)
      at org.rhq.core.pc.plugin.PluginManager.initialize(PluginManager.java:133)
      at org.rhq.core.pc.PluginContainer.startContainerService(PluginContainer.java:372)
      at org.rhq.core.pc.PluginContainer.initialize(PluginContainer.java:245)
      at org.jboss.on.embedded.ui.BootstrapAction.initPluginContainer(BootstrapAction.java:155)
      at org.jboss.on.embedded.ui.BootstrapAction.init(BootstrapAction.java:105)
      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:597)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)
      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)
      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)
      at java.lang.Thread.run(Thread.java:619)
      2010-10-20 15:36:02,746 ERROR [org.rhq.core.pc.inventory.InventoryManager] (http-0.0.0.0-8080-2) Missing platform plugin(s) - falling back to dummy platform impl; this should only occur in tests!
      }}}

      We noticed that the plugins in

      /var/lib/jbossas/server/production/deploy/admin-console.war/plugins are all symlinks to jars in /usr/share/java. If we unlink all the symlinks and copy the target jars into the plugins directory manually, the admin-console works.

      We tested this with the default jbossconf as well and it failed the same way.

      Attachments

        Activity

          People

            ips_jira Ian Springer (Inactive)
            graeme.gillies Graeme Gillies (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: