[JBoss-user] [Beginners Corner] - Re: Path to Server Root

2005-11-02 Thread Pv2005
"utjazz" wrote : You could create an emtpy file: | | try{ | File nf = new File("infilename.xml"); | FileWriter fw = new FileWriter(nf); | | fw.write("where am i"); | fw.close();

[JBoss-user] [Beginners Corner] - Path to Server Root

2005-10-30 Thread Pv2005
Hi, I have put a war in default/deploy in wich I hava a class that reads a xml file. | Document doc = parseXmlFile("infilename.xml", false); | where should I put the xml? What's the root of the server? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=v

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Connection Pooling

2005-09-23 Thread Pv2005
Hi, I have some doubts about the implementation of connection pooling using JBoss. All I have to do it's to implement something like this? | | Context ctx = new InitialContext(); | ds = (DataSource)ctx.lookup("java:" + db); | synchronized (ds) { |

[JBoss-user] [Installation, Configuration & Deployment] - Re: oracle with different useres

2005-09-23 Thread Pv2005
Found the solution in my java I had | ds = (DataSource)ctx.lookup("java:comp/env" + db); | and it was working fine for OracleDS now I've tried | ds = (DataSource)ctx.lookup("java:" + db); | and it works for both :) now I've a question about connection pooling but it's best to put

[JBoss-user] [Installation, Configuration & Deployment] - Re: oracle with different useres

2005-09-23 Thread Pv2005
"lafr" wrote : You can put all your datasources into one oracle-ds.xml. | The root tag datasources can have an unlimited number of local-tx-datasource children. I've done that now I have | | | | OracleDS | jdbc:oracle:thin:@192.165.12.200:1521:ded |

[JBoss-user] [Installation, Configuration & Deployment] - oracle with different useres

2005-09-21 Thread Pv2005
Hi, I have several modules in my application , configuration module, administration module, management module,... and each module has a different user in Oracle. So how do I reflect this in the oracle-ds.xml ? I guess I cant have an oracle-ds.xml for each module in wich the only difference w