11 Replies Latest reply on Aug 30, 2013 5:04 AM by dilip.pashupathi

    Problems to start JBoss 5.1.0 GA

    spiritfox26

      I'm trying to start JBoss App Server in my local machine but i have this problem in the log, i search the "solution" in google but not works.

      I'm using the web configuration and Richfaces 3.3.2.

       

      I need help, because i need migrate from JBoss 4.3.2 to JBoss 5.1.0.

       

      The log:

       

      10:48:09,203 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      10:48:09,203 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
      10:48:09,204 INFO  [ServerImpl] Bootstrap URL: null
      10:48:09,204 INFO  [ServerImpl] Home Dir: C:\jboss-5.1.0.GA
      10:48:09,204 INFO  [ServerImpl] Home URL: file:/C:/jboss-5.1.0.GA/
      10:48:09,204 INFO  [ServerImpl] Library URL: file:/C:/jboss-5.1.0.GA/lib/
      10:48:09,205 INFO  [ServerImpl] Patch URL: null
      10:48:09,205 INFO  [ServerImpl] Common Base URL: file:/C:/jboss-5.1.0.GA/common/
      10:48:09,205 INFO  [ServerImpl] Common Library URL: file:/C:/jboss-5.1.0.GA/common/lib/
      10:48:09,205 INFO  [ServerImpl] Server Name: web
      10:48:09,205 INFO  [ServerImpl] Server Base Dir: C:\jboss-5.1.0.GA\server
      10:48:09,206 INFO  [ServerImpl] Server Base URL: file:/C:/jboss-5.1.0.GA/server/
      10:48:09,206 INFO  [ServerImpl] Server Config URL: file:/C:/jboss-5.1.0.GA/server/web/conf/
      10:48:09,206 INFO  [ServerImpl] Server Home Dir: C:\jboss-5.1.0.GA\server\web
      10:48:09,206 INFO  [ServerImpl] Server Home URL: file:/C:/jboss-5.1.0.GA/server/web/
      10:48:09,206 INFO  [ServerImpl] Server Data Dir: C:\jboss-5.1.0.GA\server\web\data
      10:48:09,206 INFO  [ServerImpl] Server Library URL: file:/C:/jboss-5.1.0.GA/server/web/lib/
      10:48:09,207 INFO  [ServerImpl] Server Log Dir: C:\jboss-5.1.0.GA\server\web\log
      10:48:09,207 INFO  [ServerImpl] Server Native Dir: C:\jboss-5.1.0.GA\server\web\tmp\native
      10:48:09,207 INFO  [ServerImpl] Server Temp Dir: C:\jboss-5.1.0.GA\server\web\tmp
      10:48:09,207 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.1.0.GA\server\web\tmp\deploy
      10:48:09,681 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.1.0.GA/server/web/conf/bootstrap.xml
      10:48:10,194 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      10:48:10,196 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      10:48:10,428 INFO  [CopyMechanism] VFS temp dir: C:\jboss-5.1.0.GA\server\web\tmp
      10:48:10,429 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      10:48:11,136 INFO  [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
      10:48:11,136 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
      10:48:11,136 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 17.0-b17,Sun Microsystems Inc.
      10:48:11,136 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
      10:48:11,137 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252
      10:48:11,167 INFO  [JMXKernel] Legacy JMX core initialized
      10:48:12,408 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@12b9f14[domain=default, server=default, name=web]
      10:48:14,084 ERROR [AbstractKernelController] Error installing to Configured: name=jboss.system:service=Logging,type=Log4jService state=Instantiated mode=Manual requiredState=Configured
      java.lang.RuntimeException: Exception setting attribute DefaultJBossServerLogThreshold on mbean jboss.system:type=Log4jService,service=Logging
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
      at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
      at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
      at org.jboss.system.ServiceController.install(ServiceController.java:274)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
      at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
      at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
      at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
      at org.jboss.Main.boot(Main.java:221)
      at org.jboss.Main$1.run(Main.java:556)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalArgumentException: Unable to find operation setDefaultJBossServerLogThreshold(java.lang.String)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:231)
      at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:128)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:103)
      at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
      at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
      at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166)
      ... 51 more
      10:48:09,203 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      10:48:09,203 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
      10:48:09,204 INFO  [ServerImpl] Bootstrap URL: null
      10:48:09,204 INFO  [ServerImpl] Home Dir: C:\jboss-5.1.0.GA
      10:48:09,204 INFO  [ServerImpl] Home URL: file:/C:/jboss-5.1.0.GA/
      10:48:09,204 INFO  [ServerImpl] Library URL: file:/C:/jboss-5.1.0.GA/lib/
      10:48:09,205 INFO  [ServerImpl] Patch URL: null
      10:48:09,205 INFO  [ServerImpl] Common Base URL: file:/C:/jboss-5.1.0.GA/common/
      10:48:09,205 INFO  [ServerImpl] Common Library URL: file:/C:/jboss-5.1.0.GA/common/lib/
      10:48:09,205 INFO  [ServerImpl] Server Name: web
      10:48:09,205 INFO  [ServerImpl] Server Base Dir: C:\jboss-5.1.0.GA\server
      10:48:09,206 INFO  [ServerImpl] Server Base URL: file:/C:/jboss-5.1.0.GA/server/
      10:48:09,206 INFO  [ServerImpl] Server Config URL: file:/C:/jboss-5.1.0.GA/server/web/conf/
      10:48:09,206 INFO  [ServerImpl] Server Home Dir: C:\jboss-5.1.0.GA\server\web
      10:48:09,206 INFO  [ServerImpl] Server Home URL: file:/C:/jboss-5.1.0.GA/server/web/
      10:48:09,206 INFO  [ServerImpl] Server Data Dir: C:\jboss-5.1.0.GA\server\web\data
      10:48:09,206 INFO  [ServerImpl] Server Library URL: file:/C:/jboss-5.1.0.GA/server/web/lib/
      10:48:09,207 INFO  [ServerImpl] Server Log Dir: C:\jboss-5.1.0.GA\server\web\log
      10:48:09,207 INFO  [ServerImpl] Server Native Dir: C:\jboss-5.1.0.GA\server\web\tmp\native
      10:48:09,207 INFO  [ServerImpl] Server Temp Dir: C:\jboss-5.1.0.GA\server\web\tmp
      10:48:09,207 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.1.0.GA\server\web\tmp\deploy
      10:48:09,681 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.1.0.GA/server/web/conf/bootstrap.xml
      10:48:10,194 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      10:48:10,196 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      10:48:10,428 INFO  [CopyMechanism] VFS temp dir: C:\jboss-5.1.0.GA\server\web\tmp
      10:48:10,429 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      10:48:11,136 INFO  [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
      10:48:11,136 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
      10:48:11,136 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 17.0-b17,Sun Microsystems Inc.
      10:48:11,136 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
      10:48:11,137 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252 
      10:48:11,167 INFO  [JMXKernel] Legacy JMX core initialized
      10:48:12,408 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@12b9f14[domain=default, server=default, name=web]
      10:48:14,084 ERROR [AbstractKernelController] Error installing to Configured: name=jboss.system:service=Logging,type=Log4jService state=Instantiated mode=Manual requiredState=Configured
      java.lang.RuntimeException: Exception setting attribute DefaultJBossServerLogThreshold on mbean jboss.system:type=Log4jService,service=Logging
           at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)
           at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
           at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
           at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
           at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
           at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
           at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
           at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
           at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
           at org.jboss.system.ServiceController.install(ServiceController.java:274)
           at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
           at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
           at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
           at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
           at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
           at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
           at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
           at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
           at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
           at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
           at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
           at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
           at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
           at org.jboss.Main.boot(Main.java:221)
           at org.jboss.Main$1.run(Main.java:556)
           at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalArgumentException: Unable to find operation setDefaultJBossServerLogThreshold(java.lang.String)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:231)
           at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:128)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
           at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:103)
           at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
           at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
           at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)
           at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166)
           ... 51 more
      
        • 1. Re: Problems to start JBoss 5.1.0 GA
          peterj

          This problem appears to be a JAR file mismatch, with an older version of a JAR file being pulled it somewhere.

           

          Do you have an application deployed to the 'web' configuration? If so, what JARs have you packaged with it? If you packaged any JBoss-related JARs, remove them.

          • 2. Re: Problems to start JBoss 5.1.0 GA
            spiritfox26

            Yes, i have a lot of jars in web/lib configuration maybe is the problem. Thanks, i will clean my libraries.

            • 3. Re: Problems to start JBoss 5.1.0 GA
              spiritfox26

              I remove the duplicate jars in web/lib and common/lib but the problem persist.

              • 4. Re: Problems to start JBoss 5.1.0 GA
                peterj

                OK, that is really not what I asked about (I asked about JARs packed with your app, not one packaged with JBoss AS). I'm afraid that you have probably messed things up beyond repair, so do this. Install JBoss AS again. Before you deploy anything (you never answered my question as to whether you deployed an app), start the app server (run -c web). Wait until you see the "started in xxx seconds" message. If you get an error, post the console log. If there are no errors, then deploy your application and see what happens. Also, look in your WAR file and tell me what JAR files are located in WEB-INF/lib (or just do 'jar -tf xxx.war" and post the results, where xxx.war is your WAR file)

                • 5. Re: Problems to start JBoss 5.1.0 GA
                  spiritfox26

                  Hi Peter, the problem was duplicated jars (in last post was wrong, i had some jars duplicate), i could resolve.

                   

                  Thanks

                  • 6. Re: Problems to start JBoss 5.1.0 GA
                    spiritfox26

                    Hi Peter, i can start the server , but now i have this error.

                     

                    javax.servlet.ServletException: #{authenticationBean.login}: java.lang.NoSuchMethodError: org.hibernate.event.PreUpdateEvent.getSource()Lorg/hibernate/event/EventSource;      javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)      org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)      org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)      uy.com.its.util.AuthenticationFilter.doFilter(AuthenticationFilter.java:37)      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                    Google says this is a library conflict with hibernate, but i'm using jboss-5.1.0.GA\commonand jboss-5.1.0.GA\client libraries( i was remove all libraries from my project) , could you give me a hand?

                     

                    Thanks

                    • 7. Re: Problems to start JBoss 5.1.0 GA
                      peterj

                      Peter Johnson wrote:

                       

                      Also, look in your WAR file and tell me what JAR files are located in WEB-INF/lib (or just do 'jar -tf xxx.war" and post the results, where xxx.war is your WAR file)

                      • 8. Re: Problems to start JBoss 5.1.0 GA
                        spiritfox26

                        The WEB-INF/lib is empty because i am using Server Library Runtime. I have found this file in JBoss 5.1.0/jar-versions.xml

                         

                        <jar name="hibernate-annotations.jar" specVersion="1.0" specVendor="jcp.org" specTitle="Java Persistence" implVersion="3.4.0.GA" implVendor="hibernate.org" implTitle="Hibernate Annotations" implVendorID="hibernate.org" implURL="http://annotations.hibernate.org" sealed="false" md5Digest="168901b6ecd81424f15446ab16a0d597"/>
                          <jar name="hibernate-commons-annotations.jar" specVersion="5.1.0.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="3.1.0.GA" implVendor="hibernate.org" implTitle="Hibernate Commons Annotations" implVendorID="hibernate.org" implURL="http://annotations.hibernate.org" sealed="false" md5Digest="defed723889b03a3c4a9fe33b342c478"/>
                          <jar name="hibernate-core.jar" specVersion="3.3.1.GA" specVendor="Hibernate.org" specTitle="Hibernate Core" implVersion="3.3.1.GA" implVendor="Hibernate.org" implTitle="Hibernate Core" implVendorID="org.hibernate" implURL="http://hibernate.org/hibernate-core" sealed="false" md5Digest="619581979fe3225aaa28186344d10fa6"/>
                          <jar name="hibernate-entitymanager.jar" specVersion="1.0" specVendor="jcp.org" specTitle="Java Persistence" implVersion="3.4.0.GA" implVendor="hibernate.org" implTitle="Hibernate EntityManager" implVendorID="hibernate.org" implURL="http://entitymanager.hibernate.org" sealed="false" md5Digest="9e8edf1426da169559effc89e31d7f65"/>
                          <jar name="hibernate-jbosscache2.jar" specVersion="3.3.1.GA" specVendor="Hibernate.org" specTitle="Hibernate JBossCache2.x Integration" implVersion="3.3.1.GA" implVendor="Hibernate.org" implTitle="Hibernate JBossCache2.x Integration" implVendorID="org.hibernate" implURL="http://hibernate.org/hibernate-jbosscache2" sealed="false" md5Digest="7afe080777d2a3c1b546227a4e86e535"/>
                          <jar name="hibernate-jmx.jar" specVersion="3.3.1.GA" specVendor="Hibernate.org" specTitle="Hibernate JMX Module" implVersion="3.3.1.GA" implVendor="Hibernate.org" implTitle="Hibernate JMX Module" implVendorID="org.hibernate" implURL="http://hibernate.org/hibernate-jmx" sealed="false" md5Digest="b2ddf8b1b7d23b7831f3d09ec89dc293"/>
                          <jar name="hibernate-validator.jar" specVersion="5.1.0.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="3.1.0.GA" implVendor="hibernate.org" implTitle="Hibernate Validator" implVendorID="hibernate.org" implURL="http://validator.hibernate.org" sealed="false" md5Digest="b435615069aa41f329863ab36f023648"/>
                        

                         

                         

                         

                        <jar name="hibernate-annotations.jar" specVersion="1.0" specVendor="jcp.org" specTitle="Java Persistence" implVersion="3.4.0.GA" implVendor="hibernate.org" implTitle="Hibernate Annotations" implVendorID="hibernate.org" implURL="http://annotations.hibernate.org" sealed="false" md5Digest="168901b6ecd81424f15446ab16a0d597"/>
                          <jar name="hibernate-commons-annotations.jar" specVersion="5.1.0.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="3.1.0.GA" implVendor="hibernate.org" implTitle="Hibernate Commons Annotations" implVendorID="hibernate.org" implURL="http://annotations.hibernate.org" sealed="false" md5Digest="defed723889b03a3c4a9fe33b342c478"/>
                          <jar name="hibernate-core.jar" specVersion="3.3.1.GA" specVendor="Hibernate.org" specTitle="Hibernate Core" implVersion="3.3.1.GA" implVendor="Hibernate.org" implTitle="Hibernate Core" implVendorID="org.hibernate" implURL="http://hibernate.org/hibernate-core" sealed="false" md5Digest="619581979fe3225aaa28186344d10fa6"/>
                          <jar name="hibernate-entitymanager.jar" specVersion="1.0" specVendor="jcp.org" specTitle="Java Persistence" implVersion="3.4.0.GA" implVendor="hibernate.org" implTitle="Hibernate EntityManager" implVendorID="hibernate.org" implURL="http://entitymanager.hibernate.org" sealed="false" md5Digest="9e8edf1426da169559effc89e31d7f65"/>
                          <jar name="hibernate-jbosscache2.jar" specVersion="3.3.1.GA" specVendor="Hibernate.org" specTitle="Hibernate JBossCache2.x Integration" implVersion="3.3.1.GA" implVendor="Hibernate.org" implTitle="Hibernate JBossCache2.x Integration" implVendorID="org.hibernate" implURL="http://hibernate.org/hibernate-jbosscache2" sealed="false" md5Digest="7afe080777d2a3c1b546227a4e86e535"/>
                          <jar name="hibernate-jmx.jar" specVersion="3.3.1.GA" specVendor="Hibernate.org" specTitle="Hibernate JMX Module" implVersion="3.3.1.GA" implVendor="Hibernate.org" implTitle="Hibernate JMX Module" implVendorID="org.hibernate" implURL="http://hibernate.org/hibernate-jmx" sealed="false" md5Digest="b2ddf8b1b7d23b7831f3d09ec89dc293"/>
                          <jar name="hibernate-validator.jar" specVersion="5.1.0.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="3.1.0.GA" implVendor="hibernate.org" implTitle="Hibernate Validator" implVendorID="hibernate.org" implURL="http://validator.hibernate.org" sealed="false" md5Digest="b435615069aa41f329863ab36f023648"/>

                        • 9. Re: Problems to start JBoss 5.1.0 GA
                          peterj

                          Try this. Edit the run.conf.bat file, adding the "-verbose:class" option to JAVA_OPTS. For example at the end of that file add:

                           

                          set JAVA_OPTS=%JAVA_OPTS% -verbose:class

                           

                          Then start the app server, redirecting stdout and stderror to a file, file this:

                           

                          run -c web >> out.txt 2>>&1

                           

                          The -verbose:class option causes the JVM to print out each class loaded and the JAR from which that class was loaded. After the app server starts up, scan the out.txt file looking for the class PreUpdateEvent. Most likely that class is being loaded from an unexpected location. If you can't resolve it, then post the line(s) from out.txt that show that class being loaded (don't post the whole file).

                          • 10. Re: Problems to start JBoss 5.1.0 GA
                            spiritfox26

                            Hi Peter, i could make it work . The problem was JARs versions.

                             

                            Thanks for your help

                             

                            Regards

                            • 11. Re: Problems to start JBoss 5.1.0 GA
                              dilip.pashupathi

                              Hi Peter,

                               

                              I am a developer working for company that delivars products a Pharma and Life science company. I have an scenario where I need to install JBoss 5.1.0 GA as Windows service with multiple server nodes created for the same.

                              Steps that I took.

                               

                              1. Create a Server node called RSM_NODE

                              2. Copied all the files from default to this node

                              3. Changed the IP address and port no.

                              4. deployed my application

                              This steps works fine and i am able to access the applications.

                              But problem is when i run "service.bat" install command from command prompt and install Jboss as windows service, the install was fine and I got success message stating installation was fine. Even the server starts from within the services. But when i provide the url as http://<ip-add>:<port>/application-name

                              it says page cannot be found.

                               

                              Please help me with this

                              Thank you.

                              Dilip