-
1. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
brettcave Jan 28, 2009 9:12 AM (in response to marcopb)I generally just use the zip's, rather than jems-installer, might work betteR?
#!/bin/sh
JBOSS_VERSION=4.2.3.GA
cd /usr/local/src
unzip /path/to/jboss-${JBOSS_VERSION}.zip
groupadd -g 442 jboss
useradd -u 442 -g jboss -d /usr/share/jboss -s /bin/sh jboss
mv jboss-${JBOSS_VERSION} /usr/share/jboss
cd /usr/share/jboss
chown jboss:jboss * -R
not sure where the init script for jboss is, i use a slightly customised one, but this should give you all the components at least. .... -
2. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
jaikiran Jan 28, 2009 9:39 AM (in response to marcopb)"brettcave" wrote:
I generally just use the zip's, rather than jems-installer, might work betteR?
Same with me. I haven't used the JEMS installer but have seen users running into many issues when they used it. -
3. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
marcopb Jan 28, 2009 9:46 AM (in response to marcopb)For my version... 4.0.5GA I NEED jems-installer to include EJB3...!!!
from http://www.jboss.org/jbossas/downloads/ webpage...Important Note: If you want EJB3 or Seam support with JBoss AS 4.0.3 SP1, 4.0.4 or 4.0.5, you MUST download and use the relevant version of JEMS Installer together with JDK5.0. JBoss AS 4.2.x versions include support for EJB3, by default.
Any suggestions ?!?!?!"brettcave" wrote:
I generally just use the zip's, rather than jems-installer, might work betteR?
#!/bin/sh
JBOSS_VERSION=4.2.3.GA
cd /usr/local/src
unzip /path/to/jboss-${JBOSS_VERSION}.zip
groupadd -g 442 jboss
useradd -u 442 -g jboss -d /usr/share/jboss -s /bin/sh jboss
mv jboss-${JBOSS_VERSION} /usr/share/jboss
cd /usr/share/jboss
chown jboss:jboss * -R
not sure where the init script for jboss is, i use a slightly customised one, but this should give you all the components at least. .... -
4. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
brettcave Jan 28, 2009 9:57 AM (in response to marcopb)ah, ok, so the old 4.0.x jems doesnt include the ejb3 service config you need... not sure about that one then.
-
5. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
brettcave Jan 28, 2009 10:01 AM (in response to marcopb)try creating the service config file in deploy manually?
search for ejb3-entity on http://docs.jboss.org/jbossas/guides/clusteringguide/r2/en/html_single/
jboss:service=Naming
jboss:service=TransactionManager
<!-- Configure the TransactionManager -->
org.jboss.cache.JBossTransactionManagerLookup
REPEATABLE_READ
REPL_SYNC
<!--Name of cluster. Needs to be the same for all clusters,
in order to find each other -->
EJB3-entity-cache
... ...
5000
10000
15000
org.jboss.cache.eviction.LRUPolicy
<!-- Specific eviction policy configurations. This is LRU -->
5
<!-- Cache wide default -->
5000
1000 -
6. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
marcopb Jan 28, 2009 10:10 AM (in response to marcopb)No... brettcave... jems include it.. but I don't know the option to let jems install it for a "silent" (non graphical) installation.
An old collegue did this on our current production machine that has X11 library... so He installed 4.0.5GA with EJB3 (and clustering option) with the same jems.. but "graphically" He was able to select and include EJB3.
Now I would like to know the option to include those option.. but in headless mode...
The following command is not enough...
java -jar jems-installer-1.2.0.GA.jar -installGroup all installpath=/usr/local/jboss-4.0.5.GA"brettcave" wrote:
ah, ok, so the old 4.0.x jems doesnt include the ejb3 service config you need... not sure about that one then. -
7. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
brettcave Jan 28, 2009 10:34 AM (in response to marcopb)oh ok, it would be "-installGroup ejb3-clustered"
-
8. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
marcopb Jan 28, 2009 10:48 AM (in response to marcopb)"brettcave" wrote:
oh ok, it would be "-installGroup ejb3-clustered"
Thanks for your support.. I will test it asap..
anyway... where do you get this informations ??
I mean... if I should need an option that currently I don't know the existence !??!?! -
9. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
marcopb Jan 28, 2009 11:02 AM (in response to marcopb)"marcopb" wrote:
"brettcave" wrote:
oh ok, it would be "-installGroup ejb3-clustered"
Thanks for your support.. I will test it asap..
anyway... where do you get this informations ??
I mean... if I should need an option that currently I don't know the existence !??!?!
HABEMUS PAPAM...
thanks.. it worked
My latest question still remain valid...:
where do you get this informations ?? -
10. Re: jboss-4.0.5.GA with EJB3 (headless mode option required)
brettcave Jan 30, 2009 4:22 AM (in response to marcopb)i use the guides on docs.jboss.org
I think what you were looking for was in the install guide:
http://docs.jboss.org/jbossas/guides/installguide/r1/en/html_single/
chapter 1, table 1.1
Also check out the clustering guide.