Solved

CentOS JBoss Configuration

Posted on 2009-07-10
5
1,104 Views
Last Modified: 2013-12-02
Hi Experts,

I have basic working knowledge on linux. I got a laptop with 512 MB of RAM on which I have installed CentOS 5.3. My System has Pentium T2300 @ 1.66 MHz and have 512 MB RAM.

With this config, I want to work with JBoss and J2EE at the maximum possible speed.

I have downloaded JBoss 5.1.0 GA and extracted it to /usr/share/jboss-5.1.0.

Also, I have installed jdk1.6.0_05 in the system.

Can anyone give me how to

1) configure JBoss to work with J2EE Applications along with Datasource
2) deploy an servlet or any J2EE applications
3) integrate the JBoss with Netbeans 6.1 IDE which is installed on my system


Also, I want to know how to process all http requests with APACHE by default and then redirect the request to the JBoss.

Please give a step by step guidance.

Thanks & Regards,
Rameshbabu Arjuna Rajan
0
Comment
Question by:arjunarajan
  • 2
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 500 total points
Comment Utility
Hi,
By default jboss has a default datasource configuration with HSQL DB, JNDI name for it is java:/DefaultDS

To deploy any web or J2EE application you just have to copy war or ear file into $JBOSS_HOME/server/default/deploy folder.

JBoss configuration in NetBeans 6.1

go to tab Services--->right click on Servers---Add Server option will come, click that option window will come in that choose Jboss Apllication Service, then click next give the location of server and then finish

To Stop the server right in that output window for server stop option will come ......

0
 

Author Comment

by:arjunarajan
Comment Utility
Hi All,

I switched to Eclipse IDE from Netbeans since Netbeans seems to be slow compared with Eclipse.

Can anyone provide me a quick solution for the above question for the IDE Eclipse. I am ready to provide full points to those who give me a quick and exact solution.
0
 
LVL 19

Assisted Solution

by:ramazanyich
ramazanyich earned 500 total points
Comment Utility
jboss provides a set of plugins for JBOSS: jboss tools.
Check http://www.jboss.org/tools for installation and documentation
0
 

Author Closing Comment

by:arjunarajan
Comment Utility
Good reference
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
JKS to store upstart data 2 64
copyEvens challenge 6 63
maven example error 3 34
ArrayIndexOutOfBoundException 9 30
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now