Problems getting started with JBOSS
kencorbin Dec 18, 2009 12:57 AMHi folks,
I'm jumping into this pretty cold, have some limited experience with Tomcat years ago, but this project uses JBoss, so JBoss is what I have to learn. I got jboss-5.1.0.GA installed and running initially. Next I started running through the getting started document that tries to sets up Sun's J2EE tutorial so it runs on JBoss. This started running into problems.
First off, the examples wounldn't compile. A bit of digging found that the jar files needed to support the J2EE stuff are located in the common/lib directory, where the build script expects them to be in server/default/lib. I fixed this by replacing server/default/lib with a symlink pointing to common/lib. That got everything to compile and package successfully.
Next step was to configure JBoss to run the Hypesonic database in client/server mode. This didn't work so well. Logs dumped a lot of exception traces that mean absolutely nothing to me. I did check to make sure the TCP port being requested (1701) hasn't been opened by some other application.
Anyone have any idea what this all means and how I can fix it?
Thanks,
-Ken
2009-12-17 21:00:28,690 INFO [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler version: 1.5.2
2009-12-17 21:00:28,691 INFO [org.quartz.core.QuartzScheduler] (main) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
2009-12-17 21:00:28,780 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Configured: name=jboss:service=Hypersonic state=Instantiated mode=
Manual requiredState=Configured
org.jboss.deployment.DeploymentException: Error configuring attribute Port
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
at org.jboss.system.metadata.ServiceAttributeMetaData.getValue(ServiceAttributeMetaData.java:155)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:151)
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:4.
....
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(Thread.java:619)
Caused by: org.jboss.services.binding.NoSuchBindingException: No binding null found for service jboss:service=Hypersonic in set ports-default
at org.jboss.services.binding.impl.PojoServiceBindingStore.getServiceBinding(PojoServiceBindingStore.java:98)
at org.jboss.services.binding.ServiceBindingManager.getIntBinding(ServiceBindingManager.java:217)
at org.jboss.services.binding.ServiceBindingManager.getIntBinding(ServiceBindingManager.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...
at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)
at org.jboss.system.metadata.ServiceValueFactoryValueMetaData.getValue(ServiceValueFactoryValueMetaData.java:154)
at org.jboss.system.metadata.ServiceAttributeMetaData.getValue(ServiceAttributeMetaData.java:151)
... 52 more
2009-12-17 21:00:28,837 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfsfile:/home/ken/jboss-5.1.0.GA/server/default/deploy/
hsqldb-ds.xml state=PreReal mode=Manual requiredState=Real
org.jboss.deployment.DeploymentException: Error configuring attribute Port
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
at org.jboss.system.metadata.ServiceAttributeMetaData.getValue(ServiceAttributeMetaData.java:155)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:151)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)