"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();
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
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) {
|
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
"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
|
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