6 Replies Latest reply on Jan 26, 2009 4:35 PM by Michael Harper

    Help with basic install of JBoss on SUSE 10.1 SP2

    Michael Harper Newbie

      Hello,

      First, I am a complete novice with JBoss and Java. My task is to get a default configuration of JBoss up and running for use by another system that has its own applications. So I have minimal knowledge as yet of what I am doing.

      I am running on SUSE 10.1 SP2 and have Sun JDK 1.5.0 Update 17 installed. I have done the basic unpack of jboss-4.2.3.GA to /usr/local. Below is the first small portion of the trace I see when running bin/run.sh. I am not including the whole thing since it is very long. Suffice it to say that I get a lot of error trace dumps like the below. The server appears to be running after startup but responds with a blank page to http://localhost:8080/jmx-console.

      I am probably failing to do something simple but do not have a clue what. I would greatly appreciate any guidance on what is wrong.

      Regards,
      Mike Harper

      *etim-/usr/local/jboss/jboss-4.2.3.GA/bin: ./run.sh
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/jboss/jboss-4.2.3.GA

      JAVA: /usr/java/jdk1.5.0_17/bin/java

      JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

      CLASSPATH: /usr/local/jboss/jboss-4.2.3.GA/bin/run.jar:/usr/java/jdk1.5.0_17/lib/tools.jar

      =========================================================================

      11:35:05,349 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:35:05,350 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
      11:35:05,351 INFO [Server] Home Dir: /usr/local/jboss/jboss-4.2.3.GA
      11:35:05,351 INFO [Server] Home URL: file:/usr/local/jboss/jboss-4.2.3.GA/
      11:35:05,351 INFO [Server] Patch URL: null
      11:35:05,351 INFO [Server] Server Name: default
      11:35:05,351 INFO [Server] Server Home Dir: /usr/local/jboss/jboss-4.2.3.GA/server/default
      11:35:05,352 INFO [Server] Server Home URL: file:/usr/local/jboss/jboss-4.2.3.GA/server/default/
      11:35:05,352 INFO [Server] Server Log Dir: /usr/local/jboss/jboss-4.2.3.GA/server/default/log
      11:35:05,352 INFO [Server] Server Temp Dir: /usr/local/jboss/jboss-4.2.3.GA/server/default/tmp
      11:35:05,352 INFO [Server] Root Deployment Filename: jboss-service.xml
      11:35:05,540 INFO [ServerInfo] Java version: 1.5.0_17,Sun Microsystems Inc.
      11:35:05,542 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_17-b04,Sun Microsystems Inc.
      11:35:05,544 INFO [ServerInfo] OS-System: Linux 2.6.16.60-0.21-smp,i386
      11:35:05,871 INFO [Server] Core system initialized
      11:35:07,699 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      11:35:07,701 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
      11:35:08,388 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      11:35:08,388 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      11:35:08,593 INFO [TransactionManagerService] Starting recovery manager
      11:35:08,647 INFO [TransactionManagerService] Recovery manager started
      11:35:08,649 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
      11:35:10,806 INFO [EJB3Deployer] Starting java:comp multiplexer
      11:35:11,357 ERROR [MainDeployer] Could not initialise deployment: file:/usr/local/jboss/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/
      java.lang.NoClassDefFoundError: javax/ejb/Stateless
      at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42)
      at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:219)
      at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy34.accepts(Unknown Source)
      at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:1078)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:857)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)