-
1. Re: How to create a standlone server using JBossMX?
adrian.brock May 23, 2002 2:48 PM (in response to roysun)Yes this is possible.
Here's an example jboss-service.xml
[pre]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
<!-- ===================================================================== -->
<!-- -->
<!-- JBoss Server Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- ==================================================================== -->
<!-- HTML Adapter -->
<!-- ==================================================================== -->
10
8082
<!-- ==================================================================== -->
<!-- Server management -->
<!-- ==================================================================== -->
<!-- ==================================================================== -->
<!-- Deployment Scanning -->
<!-- ==================================================================== -->
<depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer
org.jboss.deployment.DeploymentSorter
org.jboss.deployment.scanner.DeploymentFilter
5000
./deploy
[/pre]
With the following directory structure
[pre]
.:
bin
lib
server
./bin:
run.jar
run.sh
./lib:
concurrent.jar
crimson.jar
getopt.jar
jaxp.jar
jboss-boot.jar
jboss-common.jar
jboss-jmx.jar
jboss-management.jar
jboss-system.jar
jmxri.jar
jmxtools.jar
log4j.jar
./server:
default
./server/default:
conf
deploy
./server/default/conf:
jboss-service.xml
log4j.xml
./server/default/deploy:
[/pre]
Then just add the other bits that you need.
NOTE: This is based on JBoss3.0RC3
Regards,
Adrian -
2. Re: How to create a standlone server using JBossMX?
roysun May 23, 2002 3:19 PM (in response to roysun)Thank you very much. I'll try.
Roy -
3. Re: How to create a standlone server using JBossMX?
roysun May 23, 2002 4:51 PM (in response to roysun)Is there any reason RC3 does not deploy HTML Adaptor?
Roy -
4. Re: How to create a standlone server using JBossMX?
roysun May 23, 2002 6:00 PM (in response to roysun)I have the following code in jboss-service for JNDI services. I can not find them on Agent View, but I find them in listWaitingMBeans. Is that means they are not properly deployed?
Roy
<!-- ==================================================================== -->
<!-- JNDI -->
<!-- ==================================================================== -->
<mbean code="org.jboss.naming.NamingService"
name="jboss:service=Naming">
<attribute name="Port">1099</attribute>
</mbean>
<mbean code="org.jboss.naming.JNDIView"
name="jboss:service=JNDIView"/> -
5. Re: How to create a standlone server using JBossMX?
adrian.brock May 24, 2002 11:11 AM (in response to roysun)Yes,
It is waiting for the mbean classes.
You'll need jboss.jar and jnpserver.jar
to load those mbeans
Regards,
Adrian -
6. Re: How to create a standlone server using JBossMX?
roysun May 24, 2002 1:09 PM (in response to roysun)YEP. Started!
Thank you very much.
Roy -
7. Re: How to create a standlone server using JBossMX?
roysun May 24, 2002 1:47 PM (in response to roysun)When i deployed jmx-rmi-adapter.sar, I got jboss.service: type=Connector,name=RMI on Agent View. Is this service RMI Connector or RMI Adaptor, or BOTH? I check the .sar archave, it contains both code. But .xml is like the following
Do you think the type should be "Adaptor"?
Roy