This content has been marked as final.
Show 6 replies
-
1. Re: Installing Jboss - form beginner
jaikiran Mar 18, 2009 2:55 AM (in response to zam)When I try http://localhost:8080 - does not work - Page cannot be displayed
Please post the console logs (the logs that you see on the console). Which OS do you use?
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. -
2. Re: Installing Jboss - form beginner
zam Mar 18, 2009 3:06 AM (in response to zam)I use Windows XP
This what as far as I can scroll back :oller.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra ctController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr actController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr actController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractContro ller.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractContro ller.java:553) at org.jboss.system.server.profileservice.repository.AbstractProfileServ ice.activateProfile(AbstractProfileService.java:310) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start( ProfileServiceBootstrap.java:241) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java: 461) at org.jboss.Main.boot(Main.java:216) at org.jboss.Main$1.run(Main.java:546) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.IllegalArgumentException: Exception loading class for Scope Key addition. at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.ad dBeanComponent(BeanMetaDataFactoryVisitor.java:67) at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.de ploy(BeanMetaDataFactoryVisitor.java:126) ... 34 more Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: or g.jboss.resource.work.JBossWorkManager, msg=Bad version number in .class file at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoader Manager.java:165) at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseCl assLoaderDomain.java:259) at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseCl assLoaderDomain.java:1102) at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(Ba seClassLoader.java:772) at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoa der.java:415) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.ad dBeanComponent(BeanMetaDataFactoryVisitor.java:63) ... 35 more Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLo ader.java:63) at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader. java:546) at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader. java:506) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseC lassLoader.java:504) at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseC lassLoader.java:481) at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDeleg ateLoader.java:134) at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(Fil teredDelegateLoader.java:131) at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassL oadingTask.java:452) at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoade rManager.java:251) at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoader Manager.java:150) ... 41 more 17:32:03,747 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RI SK. It has been detected that the MessageSucker component which sucks messages f rom one node to another has not had its password changed from the installation d efault. Please see the JBoss Messaging user guide for instructions on how to do this. 17:32:03,762 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org. jboss.managed.api.annotation.ManagementComponent 17:32:03,856 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org. jboss.managed.api.annotation.ManagementComponent 17:32:03,950 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 17:32:03,950 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 17:32:04,215 INFO [TransactionManagerService] Initializing recovery manager 17:32:04,356 INFO [TransactionManagerService] Recovery manager configured 17:32:04,356 INFO [TransactionManagerService] Binding TransactionManager JNDI R eference 17:32:04,372 INFO [TransactionManagerService] Starting transaction recovery man ager 17:32:05,637 INFO [JBossASKernel] Created KernelDeployment for: profileservice- secured.jar 17:32:05,637 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservic e-secured.jar,name=SecureManagementView,service=EJB3 17:32:05,637 INFO [JBossASKernel] with dependencies: 17:32:05,637 INFO [JBossASKernel] and demands: 17:32:05,637 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 17:32:05,637 INFO [JBossASKernel] and supplies: 17:32:05,637 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jbo ss.deployers.spi.management.ManagementView 17:32:05,637 INFO [JBossASKernel] jndi:SecureManagementView/remote 17:32:05,637 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management .ManagementView 17:32:05,653 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secu red.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profiles ervice-secured.jar 17:32:05,653 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservic e-secured.jar,name=SecureProfileService,service=EJB3 17:32:05,653 INFO [JBossASKernel] with dependencies: 17:32:05,653 INFO [JBossASKernel] and demands: 17:32:05,653 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jbo ss.deployers.spi.management.ManagementView 17:32:05,653 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 17:32:05,668 INFO [JBossASKernel] and supplies: 17:32:05,668 INFO [JBossASKernel] jndi:SecureProfileService/remote 17:32:05,668 INFO [JBossASKernel] jndi:SecureProfileService/remote-org.jbo ss.profileservice.spi.ProfileService 17:32:05,668 INFO [JBossASKernel] Class:org.jboss.profileservice.spi.Profi leService 17:32:05,668 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secu red.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profiles ervice-secured.jar 17:32:05,684 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservic e-secured.jar,name=SecureDeploymentManager,service=EJB3 17:32:05,684 INFO [JBossASKernel] with dependencies: 17:32:05,684 INFO [JBossASKernel] and demands: 17:32:05,684 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 17:32:05,684 INFO [JBossASKernel] and supplies: 17:32:05,684 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote-org. jboss.deployers.spi.management.deploy.DeploymentManager 17:32:05,700 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote 17:32:05,700 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management .deploy.DeploymentManager 17:32:05,700 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secu red.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profi leservice-secured.jar 17:32:05,981 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment "JBossTimerServiceFactory" is missing the following dependencies: Dependency "jboss.ejb:service=EJBTimerService" (should be in state "Create", but is actually in state "Configured") Deployment "WebServer" is missing the following dependencies: Dependency "jboss.jca:service=CachedConnectionManager" (should be in state " Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=Ca chedConnectionManager' **") Deployment "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is m issing the following dependencies: Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n ame=DefaultDS,service=DataSourceBinding' **") Dependency "jboss.jdbc:datasource=DefaultDS,service=metadata" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jdbc:da tasource=DefaultDS,service=metadata' **") Deployment "jboss.ejb:service=EJBTimerService" is missing the following depend encies: Dependency "jboss.ejb:persistencePolicy=database,service=EJBTimerService" (s hould be in state "Create", but is actually in state "Configured") Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentMan ager,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecureDe ploymentManager,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **") Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementVie w,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecureMa nagementView,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **") Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileServic e,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecurePr ofileService,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **") Dependency "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecurePr ofileService,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:SecureManagementView/remote-org.jboss.deploye rs.spi.management.ManagementView' **") Deployment "jboss.messaging.connectionfactory:service=ClusterPullConnectionFac tory" is missing the following dependencies: Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create" , but is actually in state "Configured") Dependency "jboss.messaging:service=PostOffice" (should be in state "Create" , but is actually in state "Configured") Deployment "jboss.messaging.connectionfactory:service=ClusteredConnectionFacto ry" is missing the following dependencies: Dependency "jboss.messaging:service=PostOffice" (should be in state "Create" , but is actually in state "Configured") Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create" , but is actually in state "Configured") Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" is mi ssing the following dependencies: Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create" , but is actually in state "Configured") Dependency "jboss.messaging:service=PostOffice" (should be in state "Create" , but is actually in state "Configured") Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is missing the following dependencies: Dependency "jboss.messaging:service=PostOffice" (should be in state "Create" , but is actually in state "Configured") Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create" , but is actually in state "Configured") Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" is mis sing the following dependencies: Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create" , but is actually in state "Configured") Dependency "jboss.messaging:service=PostOffice" (should be in state "Create" , but is actually in state "Configured") Deployment "jboss.messaging:service=JMSUserManager" is missing the following d ependencies: Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n ame=DefaultDS,service=DataSourceBinding' **") Deployment "jboss.messaging:service=PersistenceManager" is missing the followi ng dependencies: Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n ame=DefaultDS,service=DataSourceBinding' **") Deployment "jboss.messaging:service=PostOffice" is missing the following depen dencies: Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n ame=DefaultDS,service=DataSourceBinding' **") Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create" , but is actually in state "Configured") Deployment "jboss.messaging:service=ServerPeer" is missing the following depen dencies: Dependency "jboss.messaging:service=PersistenceManager" (should be in state "Create", but is actually in state "Configured") Dependency "jboss.messaging:service=JMSUserManager" (should be in state "Cre ate", but is actually in state "Configured") Deployment "jboss.mq:service=DestinationManager" is missing the following depe ndencies: Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create" , but is actually in state "Configured") Deployment "jboss.web.deployment:war=/ROOT" is missing the following dependenc ies: Dependency "jboss.web:service=WebServer" (should be in state "Create", but i s actually in state "Configured") Deployment "jboss.web.deployment:war=/invoker" is missing the following depend encies: Dependency "jboss.web:service=WebServer" (should be in state "Create", but i s actually in state "Configured") Deployment "jboss.web.deployment:war=/jbossws" is missing the following depend encies: Dependency "jboss.web:service=WebServer" (should be in state "Create", but i s actually in state "Configured") Deployment "jboss.web.deployment:war=/jmx-console" is missing the following de pendencies: Dependency "jboss.web:service=WebServer" (should be in state "Create", but i s actually in state "Configured") Deployment "jboss.web.deployment:war=/web-console" is missing the following de pendencies: Dependency "jboss.web:service=WebServer" (should be in state "Create", but i s actually in state "Configured") Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is missing the follow ing dependencies: Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be i n state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:n ame=DefaultDS,service=DataSourceBinding' **") DEPLOYMENTS IN ERROR: Deployment "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecureDepl oymentManager,service=EJB3>" is in error due to the following reason(s): ** UNRE SOLVED Demands 'jboss.ejb:service=EJBTimerService' ** Deployment "jboss.web:service=WebServer" is in error due to the following reas on(s): Configured Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is in error du e to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS, service=DataSourceBinding' ** Deployment "RarModuleJSR77Deployer" is in error due to the following reason(s) : java.lang.NoClassDefFoundError: org/jboss/resource/metadata/ConnectorMetaData Deployment "jboss.jca:service=CachedConnectionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=CachedConnection Manager' ** Deployment "vfsfile:/D:/JBoss/jboss-5.1.0.Beta1/server/default/deploy/jca-jbos s-beans.xml" is in error due to the following reason(s): java.lang.UnsupportedCl assVersionError: Bad version number in .class file Deployment "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecureMana gementView,service=EJB3>" is in error due to the following reason(s): ** UNRESOL VED Demands 'jboss.ejb:service=EJBTimerService' ** Deployment "vfsfile:/D:/JBoss/jboss-5.1.0.Beta1/server/default/deploy/jsr88-se rvice.xml" is in error due to the following reason(s): java.lang.UnsupportedClas sVersionError: Bad version number in .class file Deployment "JCAResourceJSR77Deployer" is in error due to the following reason( s): java.lang.NoClassDefFoundError: org/jboss/resource/metadata/mcf/ManagedConne ctionFactoryDeploymentGroup Deployment "jboss.jdbc:datasource=DefaultDS,service=metadata" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jdbc:datasource=Defau ltDS,service=metadata' ** Deployment "vfsfile:/D:/JBoss/jboss-5.1.0.Beta1/server/default/deployers/jboss -jca.deployer/" is in error due to the following reason(s): java.lang.Unsupporte dClassVersionError: Bad version number in .class file Deployment "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecureProf ileService,service=EJB3>" is in error due to the following reason(s): ** UNRESOL VED Demands 'jndi:SecureManagementView/remote-org.jboss.deployers.spi.management .ManagementView' **, ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' * * 17:32:06,356 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.Beta1 (build: SVNT ag=JBoss_5_1_0_Beta1 date=200903131506)] Started in 32s
:12ms -
3. Re: Installing Jboss - form beginner
jaikiran Mar 18, 2009 3:09 AM (in response to zam)There are errors on your server console:
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class
file
Looks like you are using an lower version of JDK (i guess 1.5) against a server which requires an higher version (1.6). You probably downloaded the JDK 6 variant of JBoss AS 5.1.0 Beta1. You have two options:
1) Use the current AS but upgrade your JDK to JDK 6 (and set JAVA_HOME appropriately).
2) OR download the JDK 5 variant of the AS 5.1.0 Beta1 and use it against the current JDK 5 that you have -
4. Re: Installing Jboss - form beginner
peterj Mar 18, 2009 12:28 PM (in response to zam)Also, I noticed that you started the app server using "-b my-ip". If you do that, you cannot use http://localhost:8080 because the app server is not binding to localhost. Instead, you must use http://my-ip:8080.
-
5. Re: Installing Jboss - form beginner
peterj Mar 18, 2009 12:42 PM (in response to zam)Oh, one more thing. Go into the default command prompt properties and change the buffer height to a large number (mine is at 9000). This way less text will scroll off of the buffer.
-
6. Re: Installing Jboss - form beginner
zam Mar 20, 2009 2:15 AM (in response to zam)Thank you! Works!