I think that the installation document makes installation much harder than it needs to be, at least, that was my opinion the last time I looked at it. See this for some simpler instructions, including checking to see if it is working:
One thing that post doesn't talk about is the JDK - you need to either install OpenJVM (I know it is available for Fedora and Ubuntu, you'll have to use yum to see if it is available for RHEL) or install a Sun JDK (this is what I usualyy do) by downloading it from Sun's web site.
thank you for your reply.
hmm... i have installed the sun jdk and installed with a jar file.
so do you mean the -compat file is not needed for the installation. and things will work perfectly.
is that any source from where i can get applications to test my installtion. whether the application server is working the way it should.
No, you do not need the -compat file.
JBoss AS comes with several apps. Accessing the root app is mentioned in the topic I linked to. Another one you might try is http://localhost:8080/jmx-console.
Also, the app server is running correctly is, when you enter ./run.sh, there are no errors in the console log and you see the "Started in xxx seconds" message.
Thanks a lot Peter.
i dont get a Started in xx seconds when i run the run.sh
this is what i get
[jboss@localhost bin]$ ./run.sh ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as JAVA: /usr/java/jdk1.6.0_11/bin/java JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1203m -Xmx1203m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.net.preferIPv4Stack=true CLASSPATH: /home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/bin/run.jar:/usr/java/jdk1.6.0_11/lib/tools.jar ========================================================================= 08:42:23,129 INFO [Server] Starting JBoss (MX MicroKernel)... 08:42:23,137 INFO [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP03 (build: SVNTag=JBPAPP_4_3_0_GA_CP03 date=200810241616) 08:42:23,144 INFO [Server] Home Dir: /home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as 08:42:23,294 INFO [Server] Home URL: file:/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/ 08:42:23,397 INFO [Server] Patch URL: null 08:42:23,399 INFO [Server] Server Name: production 08:42:23,400 INFO [Server] Server Home Dir: /home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/server/production 08:42:23,402 INFO [Server] Server Home URL: file:/home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/server/production/ 08:42:23,403 INFO [Server] Server Log Dir: /home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/server/production/log 08:42:23,405 INFO [Server] Server Temp Dir: /home/jboss/EnterprisePlatform-4.3.0.GA_CP03/jboss-as/server/production/tmp 08:42:23,407 INFO [Server] Root Deployment Filename: jboss-service.xml 08:42:25,714 INFO [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc. 08:42:25,716 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b16,Sun Microsystems Inc. 08:42:25,717 INFO [ServerInfo] OS-System: Linux 2.6.18-53.el5,i386 08:42:27,822 INFO [Server] Core system initialized 08:42:39,096 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 08:42:39,104 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
when i started JBOSS with the icon on the desktop which points to $JBOSS_HOME/bin/run.sh -c all
i do get a message saying
started in 50s : 475ms
earlier i had run just ./run.sh without the parameter -c all
wonder what the difference is
You never said you were running EAP 4.3. For that version, the default config is named 'production'. That config does not do any console logging after bootstrapping (the part of the console log you saw was from the bootstrap). The 'all' and 'default' configs retain the console log after bootstrap, hence the reason you saw more log output when running 'all'.
Based on what you say, you are all ready to go.
ok sir .... sorry abt that. i m new to jboss.
i jus plucked it and stated studying the documentation and started installing it.
how different is EAP from application server.
i thought both are same. i think one is Red Hat other is open source one.
EAP 4.3 is basically AS 4.2.1 + JBoss Messaging + many fixes. The EAP 4.3 documentation provides more details on the differences.
You need a subscription to get EAP, while AS is the community version and thus freely downloadable. Both EAP and AS are open source.