Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2034
  • Last Modified:

URGENT - Install JBOSS 7.0.2 on Windows Server 2008 R2

My client asked to install JBOSS 7.0.2 on Windows Server 2008 R2.
I have never done it before and would appreciate some basic info where do I start.
I ended up on this page http://www.jboss.org/jbossas/downloads/ which has all the different types of installers. How do I know which one I need?
All I know so far is that JBOSS is needed for web server setup and needs to run on port 1080
Any gotchas I need to be aware when installing on Server 2008 R2 or any other components I will need to make it work?

Thank you so much!
0
piotrmikula108
Asked:
piotrmikula108
  • 6
  • 4
1 Solution
 
bcruse32347Commented:
There is nothing different for setting up JBoss AS on Windows Server 2008 R2 than on any other Windows machine. I have seen Issues but they were simply the wrong version of Java installed on the VM.  It had a 64 bit version instead of a 32 bit.
0
 
bcruse32347Commented:
The important thing to remember is that the JVM must be compatible with Server 2008 R2. Check the release notes listed on the download page. Java SE 7 can be used with JBoss AS 7.
The Getting Started Guide will answer all of you basic questions. Here is a link:

https://docs.jboss.org/author/display/AS7/Getting+Started+Guide#GettingStartedGuide-Requirements
0
 
piotrmikula108Author Commented:
how do I actually make the thing run after I unzip to a folder? How do I configure the service to run the app? It's probably super easy but not obvious
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
bcruse32347Commented:
You can run the server in Standalone mode by running standalone.bat, to install the service it's service.bat. Here is a link to the documentation.....

https://docs.jboss.org/author/display/AS7/Admin+Guide
0
 
bcruse32347Commented:
Did I answer your questions?
0
 
piotrmikula108Author Commented:
Hi, I don't see services.bat in any of the folders

btw i found this Always Up app

http://www.coretechnologies.com/products/AlwaysUp/Apps/RunJBossAsAService.html

is this gonna be a good apporoach?

Also, I can't open the Jboss mgmt page from another computer when I run the standalone.bat it open only from the machine I run it on, I have firewall disabled?

Any idea

Thank you so much!
0
 
piotrmikula108Author Commented:
i found the service.bat in the native version 2 code download. I followed some advice on the forum here how to extract and setup

https://community.jboss.org/message/724488#724488

however when I run the service.bat nothing happens

any ideas?
0
 
bcruse32347Commented:
Edit your services.bat.... Make sure everywhere you have any reference to the local drive it matches where you inzipped the contents.i.e.... "C:\opt\jboss7\standalone\log\standalone.log" in the bat file you should see the directory in its location on the "C:\" drive.

Then at the command prompt type " service.bat install" and it will install if all of the parameters are correct. the other commands you can use are:

install
uninstall
start
stop
restart
signal

also make sure you have %JBOSS_HOME% as an enviorment variable and that it is pointed to the directory you unzipped to. such as "C:\opt\jboss7" in that directory you will see the bin folder.
0
 
piotrmikula108Author Commented:
Will Try

Should it be system or user env var?
0
 
bcruse32347Commented:
system
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now