Hi, I am new to JBOSS, I downloaded jboss-4.2.3.GA-jdk6.zip file and extracted it. Now when running C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\bin\run.bat .. its throwing following error.
JAVA_HOME is not set. Unexpected results may occur. Set JAVA_HOME to the directory of your local JDK to avoid this message. =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA JAVA: java JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 CLASSPATH: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\bin\run.jar =============================================================================== 16:00:22,859 INFO [Server] Starting JBoss (MX MicroKernel)... 16:00:22,875 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439) 16:00:22,875 INFO [Server] Home Dir: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA 16:00:22,875 INFO [Server] Home URL: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/ 16:00:22,875 INFO [Server] Patch URL: null 16:00:22,875 INFO [Server] Server Name: default 16:00:22,875 INFO [Server] Server Home Dir: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\server\default 16:00:22,875 INFO [Server] Server Home URL: file:/C:/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/default/ 16:00:22,875 INFO [Server] Server Log Dir: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\server\default\log 16:00:22,875 INFO [Server] Server Temp Dir: C:\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\server\default\tmp 16:00:22,875 INFO [Server] Root Deployment Filename: jboss-service.xml 16:00:23,109 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc. 16:00:23,109 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc. 16:00:23,109 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 16:00:23,515 INFO [Server] Core system initialized 16:00:25,093 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 16:00:25,093 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml 16:00:25,562 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 16:00:25,562 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 16:00:25,734 INFO [TransactionManagerService] Starting recovery manager 16:00:25,812 INFO [TransactionManagerService] Recovery manager started 16:00:25,812 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 16:00:27,937 INFO [EJB3Deployer] Starting java:comp multiplexer 16:00:28,531 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.3.GA-jdk6/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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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) ------- I need to integrate one custom application on JBOSS. I am not having good knowledge of JBOSS startup but trying to learn it step by step. Anyone can please assist me for possible cause of this error. Any help is highly appreciated. Thanks. Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168882#4168882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168882 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
