[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: System properties not replaced in ds.xml when properties

gjeudy do-not-reply at jboss.com
Fri Aug 21 14:24:48 EDT 2009


I still get the same error even when the doubleslash is corrected:

2009-08-21 14:00:04,317 INFO  [org.jboss.varia.property.SystemPropertiesService] Loaded system properties from: file:/C:/jboss-4.2.2.GA/server/default/conf/props/rdm.properties

rdm.properties


  | # General properties
  | 
  | rdm.java.naming.provider.url=localhost\:1199
  | rdm.aspuc.java.naming.provider.url=nycdpdevjboss01\:1699
  | rdm.userLookupEnabled=true
  | rdm.seam.debug=true
  | rdm.facelets.debug=true
  | 
  | # Hibernate properties
  | rdm.hibernate.jdbc.batch_size=50
  | 
  | # Deployer properties
  | 
  | rdm.deployer.mq.name=SYSTEM.JMS.D.RDM.INVENTORY.UPDATE
  | rdm.deployer.refreshWorkspaceEnabled=true
  | rdm.deployer.transactionTimeout=1800
  | rdm.deployer.transactionTimeoutPerTargetDb=900
  | 
  | # Database properties
  | rdm.ds.connection.url=jdbc:oracle:thin:@secdpdevdb01:1521:REFD10
  | rdm.ds.owner.username=REFDEV
  | 
  | rdm.xads.connection.url=jdbc:oracle:thin:@secdpdevdb01:1521:REFD10
  | rdm.xads.owner.username=REFDEV
  | 
  | rdm.odsbdev.ds.connection.url=jdbc:oracle:thin:@secdpdevdb01:1521:DEV10
  | rdm.odsbdev.ds.owner.username=REFAPPDEV
  | 
  | rdm.odsbint.ds.connection.url=jdbc:oracle:thin:@secdpdevdb01:1521:DEV10
  | rdm.odsbint.ds.owner.username=REFAPPDEVINT
  | 
  | rdm.odsbstg.ds.connection.url=jdbc:oracle:thin:@secdpdevdb01:1521:DEV10
  | rdm.odsbstg.ds.owner.username=REFAPPDEVSTG
  | 
  | rdm.odsbprod.ds.connection.url=jdbc:oracle:thin:@secdpdevdb01:1521:DEV10
  | rdm.odsbprod.ds.owner.username=REFAPPDEVPROD
  | 
  | rdm.archlinkdev.ds.connection.url=jdbc\:sqlserver\://ARCHLINKDEVSQL
  | 
  | # MQ properties
  | 
  | rdm.jnpPort=1199
  | 
  | rdm.mq.topicConnectionFactory.brokerControlQueue=SYSTEM.PUBSUB.PROXY.IN
  | rdm.mq.topicConnectionFactory.brokerPubQueue=ARCH.CLAIM.PROXY.JMS
  | rdm.mq.topicConnectionFactory.brokerSubQueue=SYSTEM.JMS.ND.PTS.*
  | rdm.mq.topicConnectionFactory.statusRefreshInterval=1000
  | 
  | rdm.mq.brokerQueueManager=DLMQ02
  | rdm.mq.hostname=nycdpdevmsgbrk01
  | rdm.mq.channel=JBOSS
  | rdm.mq.port=1414

I think that somehow jboss may be parsing all config files inside the EAR eagerly and set all attributes of mbeans in the same phase. This would not give the opportunity for the system properties to load before that since the properties service is itself included in the ear.. What do you think?

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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250941



More information about the jboss-user mailing list