2 Replies Latest reply on Jan 11, 2006 5:50 AM by djfjd

    Starting JBoss up out of the box

    djfjd

      I've just installed JBoss 4.0.3 sp1 against a JRE 1.4, choosing full installation and default configuration but when I start up JBoss I get several stack traces, mostly caused by inability to load the following classes: org.jboss.ejb3.EJB3Deployer, org.jboss.aop.advice.Scope and org.jboss.ejb3.cache.tree.PassivationTree Cache. I also got a error setting socket options.

      Despite these errors JBoss does actually start up, although I haven't requested anything demanding of it yet so I don't really know how broken it is.

      Why am I getting these errors?

      Thanks
      David Franklin

        • 1. Re: Starting JBoss up out of the box
          dimitris

          The ejb3 features on jboss4.0.3sp1 require jdk5.

          If you want to use jdk1.4, then just use the .zip distribution (not the installer one).

          • 2. Re: Starting JBoss up out of the box
            djfjd

            Many thanks!

            Might this also explain why, when following the instructions in section 2.2.3 of the Getting Started Guide re securing the JMX Console, I get the error "cannot perform access control without an authenticated principal". I have followed the instructions carefully but this repeatedly fails. If I comment out the auth-constraint element in web.xml it 'works' again but never do I get prompted for a username/password.

            I am just starting out with JBoss but am hoping to port a Java 1.4 application onto it that currently runs under WebLogic. Can I stick with my current setup and safely ignore the class not found (1.5) errors as I do not wish to port the current application to 1.5 (even though this may be a no-op)?

            Thanks again
            David Franklin