Canot connect to JBoss Web Server
cj715 Oct 16, 2009 9:59 PMHi,
i am just starting to evaluate JBoss AS for my personal needs. I already installed it on my notebook successfully, so I wanted to set it up on my workstation as well (both Windows XP.
I downloaded the binary distribution 5.1.0.GA and unzipped it to my hard drive and set the jboss_home variable. Starting the run script looks good, no errors or anything weird. But when I try to call the JBoss Web Console via http://localhost:8080 I get a "can't connect" message from my browser.
Freiwall is disabled, antivirus does not block anything and when i start some other server application on port 8080 i can connect to it with the corresponding client. Furthermore when both applications are running i don't get any bind errors so it looks like JBoss does not bind to that port for some reason.
In the boot.log of the default server I found this exception:
03:55:18,328 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: AbstractKernelDeployment@738dcb{name=file:/D:/Tools/jboss-5.1.0.GA/server/default/conf/bootstrap/logging.xml installed=true beanFactories=[AbstractBeanMetaData@6212dd{name=LogBridgeHandler bean=org.jboss.logbridge.LogBridgeHandler properties= constructor=null autowireCandidate=true}]}
org.jboss.deployers.spi.DeploymentException: Error deploying: file:/D:/Tools/jboss-5.1.0.GA/server/default/conf/bootstrap/logging.xml
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:433)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:250)
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(Thread.java:619)
Caused by: java.lang.IllegalStateException: ClassLoader has not been set
at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
... 6 more
But since that is only a debug message that should not have such an impcat should it? If that might be problem, how can i fix that?
Apart from that I don't have any clues yet, any suggestions are welcome.
Thanks,
Chris