Jboss application properties file




















Here is the example that I find in the domain. But this does not work in the standalone. That did not work for me as well and I would have figured that it would be possible to define such in a standalone. I will give your post a shot as well. A bit more experimenting may have answered the original post or at least my perspective on the question. The Admin Guide states that properties can be passed into the standalone at startup using the the -P or --properties option like previous versions of JBoss.

The example would be standalone. The values for standalone are set as a part of the boot process so you will see in the boot. This would preclude the need to define system properties in the configuration xml. I would still be curious as to the proper xml syntax to define custom system properties in the standalone.

And if this is possible in a standalone since the properties seem to set as a part of the boot process. As stated in the domain mode the system propertiesare applied to servers in the domain at server launch which I imagine means that they are passed in and present for the boot process.

Yes, they did work for me. They did not work for me in the previous beta versions so that was the reason I was looking at possibly making use of system properties. If you are passing in properties using the -P or --properties option I would recommend checking the boot.

If they are there then it is a matter of getting the properties recognized by the standalone. I see that for the jboss properties such as jboss. Hope this helps Will look into it. It seems to me that it would be better if you could configure the system from one spot.

In this case the standalone. Having to use the command line is starting to make the configuration more complicated. I prefer one way of doing things. Generic properties files are read from the command line. This is confusing and inconsistent. Properties file usage should be standardized. Home Content Places Search Cancel. Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page.

Properties; import javax. PostConstruct; import javax. ElementType; import java. Retention; import java. RetentionPolicy; import java. Target; import javax. Qualifier; Qualifier Retention RetentionPolicy.

Produces; import javax. InjectionPoint; import javax. Stateless; import javax. Chris Ritchie Chris Ritchie 4, 2 2 gold badges 33 33 silver badges 31 31 bronze badges. Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related Hot Network Questions. Question feed.

Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings.



0コメント

  • 1000 / 1000