Solved

CentOS JBoss Configuration

Posted on 2009-07-10
5
1,111 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
ID: 24833792
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
ID: 25376072
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
ID: 25376078
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
ID: 31602224
Good reference
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apache / XAMPP  authorisation 10 58
github account with ecipse 1 48
custom annotations 9 39
How code a 301 redirect for folder files -> 1 file 2 41
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
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.

810 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