Skip to content

XAware Community

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
XAware 5.6
Need Help
Webinars and Events
Advanced Tutorials
Webinars and Events

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Running standalone jboss-4.0.5.GA as a Windows Ser (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Running standalone jboss-4.0.5.GA as a Windows Ser
#545
ncsmediahouse (User)
XAware user
Posts: 30
User Offline Click here to see the profile of this user
Running standalone jboss-4.0.5.GA as a Windows Ser 11 Years, 6 Months ago Karma: 5  
This is a new thread related to:
This thread

The attached zip is to allow a standalone jboss-4.0.5.GA installation on Windows to run as a Windows Service. Whenever a Windows patch is applied and the server needs rebooting, this allows JBoss to restart automatically. The XAware .ear will be deployed on this JBoss instance.

The easiest configuration method at this time is to extract the attached zip file and overlay the extracted jboss-4.0.5.GA folder to the installed standalone jboss-4.0.5.GA instance. The provided configuration is currently set up as if jboss-4.0.5.GA was installed on a physical E:\ drive; e.g., e:\jboss-4.0.5.GA. Simply drag the extracted jboss-4.0.5.GA folder to E:\ root, and click Yes to All.

I setup the Java 1.5 SDK at e:\jdk150 as a sibling folder to JBoss. I also set up the XAware_Home as a sibling folder to JBoss and the SDK such that any future upgrades of JBoss and/or XAware can be done independently of each other.

This configuration incorporates Method 1 of the Tanuki Java Service Wrapper (JSW) to integrate JBoss as a Windows Service. For more information see:
This link.

Method 1 is very simplistic approach but be forewarned that the Windows Service Panel does not provide an accurate reflection whether JBoss is fully stopped or started. Check the server.log file. Method 2 MAY be more reliable -- I have NOT explored this approach as I have found that Method 1 is sufficent for the City of Minneapolis needs.

This zip includes the latest Tanuki Java Service Wrapper (wrapper-windows-x86-32-3.2.3), which is available at SourceForge:

To configure:

1) Edit e:\jboss-4.0.5.GA\bin\InstallXAwareWrapper.bat file to setup %XAWARE_HOME% as an absolute path

rem Set up XAware_Home per the installation prompt
rem
rem
set _HOME="set.XAWARE_HOME=e:\XAware_Home"


The following step MAY be optional, and is carryover from XAware version 3.7.10 which ran on JBoss 3.2.7. I would like feedback from XAware as tools.jar may no longer be required:

2) In e:\jboss-4.0.5.GA\conf\wrapper.conf, modify the following line to point to tools.jar if still needed by the server:

# Edit classpath to point to tools.jar
#
wrapper.java.classpath.2=E:/jdk150/lib/tools.jar

<b>Another question is whether Tangosol is still OEM'ed in version5.0 for bizview caching. </b> I would imagine not and if so the following line in wrapper.conf could be deleted or commented out:

# Tangosol may longer be used in v5.0
#
wrapper.java.additional.3=-Dtangosol.coherence.cacheconfig=%XAWARE_HOME%/conf/cache_config.XML

3) Execute e:\jboss-4.0.5.GA\bin\InstallXAwareWrapper.bat and check the Service Panel (see jpg attached).

4) to Uninstall, execute e:\jboss-4.0.5.GA\bin\UninstallXAwareWrapper.bat.


Scott Nieman
File Attachment:
File Name: jboss_4.zip
File Size: 252364
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Running standalone jboss-4.0.5.GA as a Windows Ser
ncsmediahouse 2008/02/07 11:53
    thread link
thread linkthread link Re:Running standalone jboss-4.0.5.GA as a Windows Ser
ncsmediahouse 2008/02/07 11:54
    thread link
thread linkthread linkthread link Re:Running
XRumerTest 2014/04/30 02:52
    thread link
thread linkthread linkthread link Re:Running
XRumerTest 2014/05/19 03:47
    thread link
thread linkthread link Re:Running standalone jboss-4.0.5.GA as a Windows
ncsmediahouse 2008/02/07 11:56
    thread link
thread linkthread linkthread link Re:Running standalone jboss-4.0.5.GA as a Windows
tferguson 2008/02/12 16:23
    thread link
thread linkthread linkthread linkthread link Re:Running standalone jboss-4.0.5.GA as a Windows
dkokkeel 2008/04/24 13:53
    thread link
thread linkthread linkthread linkthread linkthread link Re:Running standalone jboss-4.0.5.GA as a Windows
dkokkeel 2008/04/24 14:10
    thread link
thread linkthread link Re:Running standalone jboss-4.0.5.GA as a Windows Ser
hematelesis 2008/05/16 08:03
    thread link
thread linkthread linkthread link Re:Running standalone jboss-4.0.5.GA as a Windows Ser
billm 2008/05/16 09:26
    thread link
thread linkthread linkthread linkthread link Re:Running standalone jboss-4.0.5.GA as a Windows Ser
dblack 2008/05/16 11:37
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
Commercial
Free Training
QuickStart Packages
Image 4 Title
Image 5 Title

Visit XAware.com