Hi Guys, Thanks for your replies. You know, I might have bitten off more than I can chew, but none the less, I'm going to keep trying. So far I have databases all over my computer, but none where I want them to be. I can't seem to get the hang of how I might structure the creation url in order to get the h2 DBRMS to create files in the folder of the web application that I have provided.
I'm using netbeans for starters and it's project view is very different from the actual files view that is produced in the .war file when compiled. When compiled I do have the h2*.jar file in the WEB_INF/lib folder. I also have a folder in the application root like this: App_Root/data/ that I want to be able to create my database files in as the application is deployed to glassfish. I'm suspicious that the h2 connection that I've provided to the IDE is creating my discomfort and that I will have to programatically create a connection from within a servlet that uses the file structure of my web app. I think it all comes down to mapping the servlet properly in the web.xml, but I'm not sure what takes over from there. I don't know if glassfish is supposed to be handling my connections or if I handle them internally in my web app. I'm still trying to figure that out. Like I said earlier, I have new /data/ folders popping up all over my computer, depending upon my latest big idea....and I have no idea how to get them to go where I want them to go. So I determine that I've obviously underestimated the complexity of all this and I've begun trying to decipher and understand h2's jdbcx folder and how I might structure the jndi name and make available container managed connection pools and datasources with an h2 embedded app, but judging by the looks of it, I'm sure I'll be stuck there for a couple of weeks[months?] before I figure it out. I'm not trying to waste anybody's time and I really appreciate any pointers and examples that anyone might be willing to contribute. Thanks, Mark -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
