Ernst,
I'm not sure what your asking here.
You should be able to run the distribution from QSH.
DISCLAIMER: I haven't done this myself! I don't own a AS/400.
I think you've done some of this, but I'll list it for completeness.
1) Build the distribution on your PC or Un*x machine
ant probably won't work on the 400 :-(
2) Copy jboss/dist to something like /usr/bin/jboss (use FTP or map a
network drive)
3) Set the environment variable to allow multi-threading
===> ADDENVAR ENVVAR('QIBM_MULTI_THREAD') VALUE('Y')
4) Start the shell
===> QSH
5) Change to the binary directory
===> cd /usr/bin/jboss/bin
6) start the server
===> ./run.sh
4a) Alternate method, use JAVA or RUNJVA on class org.jboss.Main setting the
classpath manually.
7) deploy your beans into /usr/bin/jboss/deploy and away you go!
NOTES:
1) To get maximum performance you'll want to run CRTJVAPGM over any .jar or
.zip in the distribution. Unfortunately they live all over
the place in **/lib directories, there's some in the bin directory as well.
2) You probably want to look in /usr/bin/jboss/conf/default/jboss.jcml
In there you can configure the JdbcProvider to be
com.ibm.as400.access.JDBCDriver
Not sure if that's all you have to change?
You'll have to add this to the classpath
Look in the docs for its location it seems to move from release to release.
3) If you have problems with java.lang.ClassNotFoundException use
LICOPT(*NOPRESOLVEEXTREF) when using CRTJVAPGM.
4) Writing a CL program and/or shell script to automate most of this would
be nice.
I'll be interested to hear your results.
Regards,
Adrian
>From: Ernst Bekker <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'"
><[EMAIL PROTECTED]>
>Subject: [JBoss-dev] IBM AS/400 (tm), it seems to be running right. kick
>webshmere ass
>Date: Tue, 20 Nov 2001 18:06:52 +0200
>
>I unzipped 2.4.1 on our as400 v5r1 at work. The server runs without any
>complaints.
>Unfortunately I am a java newby. (don't stop reading now).
>The as400 can compile java classes into native as400 byte code that runs
>like lightning. What I would like to contribute is as/400 CL and RPG code
>to
>make JBOSS the obvious choice for as400. So please help me out here.
>I can compile a .class and .jar files with a command (CRTJVAPGM), and then
>run them with (RUNJVAPGM).
>If you can give me an idea of how all the files fit together I am sure I
>can
>write some software to automate an optimal as400 server.
>
>
>TIA
>Ernst Bekker
>
>Confidentiality Caution and Disclaimer
>
>This message and/or any attachment thereto ("the message")
>contains privileged and confidential information intended
>only for the recipient named above.
>If you are not the intended recipient of this message,
>please erase it permanently once you have notified the
>sender, per return e-mail, that you have received the
>message in error.
>Unless the sender is duly authorised by either the Telesure
>Group, or any of its subsidiary companies or I.S Services
>("the Group") to send this message and unless the content
>of this message is also duly authorised by the Group, any
>views expressed in this message are those of the individual
>sender and the Group will not accept liability therefore,
>nor for any consequential damage arising therefrom.
>Any recipient of an unacceptable communication, a chain
>letter or offensive material of any nature is requested
>to report it to [EMAIL PROTECTED]
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development