"galderz" wrote : Where r u trying to load the configuration file? Is it from 
an MDB? Remember that according to the spec, an enterprise bean must not use 
the java.io package to attempt to access files and directories in the file 
system.
  | 
  | We had a very similar problem where one of our components needed external 
XML configuration. We fixed the problem using an MBean that would load the 
configuration file.
  | 
  | The MBean's method would take the full path to the file and in order to 
load it we used twiddle to call the MBean method with the file's full path as 
parameter.
  | 
  | Does this help you?


Unfortunately not - I'm trying to use an external JMS provider that is packaged 
as a RAR file (in other words, not my code otherwise I would have solved the 
problem :-) ). It contains an XML configuration file that is referenced in 
ra.xml via "xbean:foo.xml" - in other words it is using the spring framework 
and apparently the "xbean:" prefix roughly translates to "find this on the 
classpath".

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to