PDA

View Full Version : Installation JBoss Ressource Adapter on a Win32 System [solved]


emil
09.04.2009, 14:08
Hello,

I am trying to install the Resource Adapter for JBoss on my local Win32 System. I figured that it is not officially supported (the cmdln promts this information) but I would like to get it on my local machine for testing purposes.

The Resource Adapter documetation tells you, that after running the windows installer the deploy-ra.cmd should be executed.

Running the script without any options tells me, that I have to add several target information:

C:\SOPERA\ResourceAdapter\deployment>deploy-processor.cmd
--------------------------------------------------------------------------------
Executing SOPERA Deploy Processor
--------------------------------------------------------------------------------
THIS SCRIPT IS UNSUPPORTED
RESULTING DEPLOYMENT IS TO BE USED FOR RESEARCH AND DEVELOPEMENT ONLY
MICROSOFT WINDOWS IS AN UNSUPPORTED PLATFORM FOR THIS PRODUCT
--------------------------------------------------------------------------------
There shall be some error in your script deploy-ra.cmd.
Please check your script.
--------------------------------------------------------------------------------
General usage: deploy-ra.cmd <target-server> <target-version> <options>
To get the list of options run that command with empty options.
Parameters description:
<target-server> (mandatory) is one of supported target application servers:
jboss
JBoss Application Server
Default supported version 4.0.5.GA
All supported versions: 4.X.X
<target-version> (mandatory) is one of supported Application Server versions, or use "-" for default.
<options> Application Server specific deployment options.
Any optional parameter may be omitted by specifying a "-" (hyphen) in its place.
--------------------------------------------------------------------------------Running the script with the recommended (Resource Adapter Documentation page 21) UNIX Options does not lead to an installed Recource Adapter:

C:\SOPERA\ResourceAdapter\bin>deploy-ra.cmd -t jboss -v 4.0.5.GA -b C:\SOPERA\ServiceBackbone -i C:\JBoss\jboss-4.0.5.GA
C:\JBoss\jboss-4.0.5.GA\server\default
--------------------------------------------------------------------------------
Executing SOPERA Deploy Processor
--------------------------------------------------------------------------------
THIS SCRIPT IS UNSUPPORTED
RESULTING DEPLOYMENT IS TO BE USED FOR RESEARCH AND DEVELOPEMENT ONLY
MICROSOFT WINDOWS IS AN UNSUPPORTED PLATFORM FOR THIS PRODUCT
--------------------------------------------------------------------------------
The Application Server "-t" is not supported.
--------------------------------------------------------------------------------
General usage: deploy-ra.cmd <target-server> <target-version> <options>
To get the list of options run that command with empty options.
Parameters description:
<target-server> (mandatory) is one of supported target application servers:
jboss
JBoss Application Server
Default supported version 4.0.5.GA
All supported versions: 4.X.X
<target-version> (mandatory) is one of supported Application Server versions, or use "-" for default.
<options> Application Server specific deployment options.
Any optional parameter may be omitted by specifying a "-" (hyphen) in its place.
--------------------------------------------------------------------------------So it seems, that the options are not quite correct or the Resource Adapter deployment script is not working.

So can anyone tell me please a correct installation example for a windows box as well as for a linux box?

Thanks,

-emil

yshamin
09.04.2009, 15:48
Hi,

for WIN try deploy-ra.cmd without -t -v options. Like:
deploy-ra.cmd jboss 4.0.5.GA...
for *nix you have correct call: with '-' options:
deploy-ra.sh -t jboss -v 4.0.5.GA

Regards,
Yuri

afuchs
09.04.2009, 15:49
Hi Emil,

indeed the description of the parameters of the deploy-ra.cmd script
is inaccurate. You don't need the -t, -v and -b parameters, just name the
values.

To deploy the resource-adapter into your jboss-server please call it as follows:

C:\SOPERA\ResourceAdapter\bin>deploy-ra.cmd jboss 4.0.5.GA c:\JBoss\jboss-4.0.5.GA defaultregards,
Alexander Fuchs

emil
14.04.2009, 14:06
Hello all,

after installing the SOPERA Resource Adapter, as described in the previous posts, JBoss throws the following error Message during startup:

yshamin
14.04.2009, 15:42
Hi emil,

this is known issue. You can just ignore these messages:
--
[5344] ResourceAdapter info messages appear on log level error in JBoss 4.x

Effect/Observation
Messages logged by the ResourceAdapter will appear on log level ERROR even though they are only information messages.

Workaround
The Java logging used within the resource adapter will write any log message to System.err. Unless the message texts explicitly refer to an error situation they can be ignored.
--

Regards,
Yuri

CarstenBiermann
21.04.2009, 17:40
Hi All,
see also the updated ESB Release Notes: http://www.sopera.de/SOP-Library/ASF_32/Release_Notes/wwhelp/wwhimpl/js/html/wwhelp.htm#href=Release_Notes_for_SOPERA_ESB/esb_release_notes.2.62.html#1091618

Regards

Carsten