Solved

How to set Jboss_home in windows ?

Posted on 2014-10-21
2
625 Views
Last Modified: 2014-10-29
I am installing JBoss 7 in windows machine.

now I want to set JBOSS_HOME.

however I don't want to set it as windows environment variable .  Is it possible to set jboss_home inside Jboss 7  installation folder ( may be in a property file or something like that  and access from there ) ? how ?

N.B: ( there is already a jboss_home for jboss 5   as windows environment variable...which I dont want to remove)


also I want to change jboss default 8080 port to 8095 port . how ?
0
Comment
Question by:cofactor
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 40393830
You can set it temporarily in the terminal from which you start JBoss:

set JBOSS_HOME=C:\foo\bar
startjboss

Open in new window


(The second line is pseudo code)

I don't know the answer to the port thing - check docs?
0
 

Author Closing Comment

by:cofactor
ID: 40412613
This worked fine.

Thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ArrayIndexOutOfBoundException 9 80
eclipse java  build path 6 56
hibernate example using maven 12 41
maven module vs maven project 3 21
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…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

785 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