[jboss-user] [EJB 3.0] - Re: regardig jboss-beans.xml

2007-08-13 Thread jc7442
I do that kind of things for JBoss configuration. I use the SystemProperty 
service.

In your -service.xml file you can use variable. For example:
 
  | ...
  |   ${port.jnp}
  | . ..
  |   ${jboss.bind.address}
  |  ...
  |   ${port.rmi}
  | 
  | 

Here I have three variables. 

I configure the SystemPropertyService to read system property from a property 
file. This service will replace in xml files, variable with property from 
property file:

  | 
  | 
  | 
  | 
  | c:\jboss\server\configuration\ports.properties 
  | 
  | 
  | 
  | 
  |   
  | 

I use that for all the ports used by my JBoss. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073559#4073559

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073559
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: regardig jboss-beans.xml

2007-08-13 Thread ALRubinger
I use an alternative approach, using the Service Binding Manager...

In $JBOSS_HOME/server/[serverName]/conf I have service-bindings.xml (obtained 
from $JBOSS_HOME/docs/examples/binding-manager/sample-bindings.xml in a new 
installation), and this is sufficient for 4 configurations of servers.  Then, I 
deploy the Service Binding Manager in an MBean (new binding_manager-service.xml 
file):


  |   ports-default
  |   file:../server/port-bindings.xml
  |   
  |  org.jboss.services.binding.XMLServicesStoreFactory
  |   
  |

...where I can pass in the ServerName specific to each instance I'd like to use.

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073677#4073677

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: regardig jboss-beans.xml

2007-08-13 Thread mnrz
thank you all
but what if I use embedable EJB with Tomcat 5.5 ?
do you have any solution for that?

thanks again

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073812#4073812

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073812
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user