On 2/24/07, Amir Michail <[EMAIL PROTECTED]> wrote:
On 2/23/07, Amir Michail <[EMAIL PROTECTED]> wrote: > Hi, > > I got embedded working on my laptop under eclipse w/ gwt's hosted > mode, but when deploying to my remote server I get a > NoClassDefFoundError exception on TableScanResultSet.
Moving the derby files to the tomcat common/lib directory solved the problem. Amir
> > My tomcat WEB-INF/lib directory in the remote server includes all the > files in derby's lib directory. So I have no idea what is wrong. > This looks like it might be a hard problem to solve: http://www.onjava.com/pub/a/onjava/2004/06/30/classloader2.html Amir > Amir > > On 2/23/07, Andrew McIntyre <[EMAIL PROTECTED]> wrote: > > On 2/23/07, Amir Michail <[EMAIL PROTECTED]> wrote: > > > On 2/23/07, Jean T. Anderson <[EMAIL PROTECTED]> wrote: > > > > ... > > > > > If I do make the move to embedded, is there any way I could use ij > > > > > while the app is running? > > > > > > > > Your app could use an embedded server, which means your app would load > > > > the embedded driver for its own use and start the Network Server to > > > > allow remote access by other applications, such as ij. An explanation is > > > > here: > > > > > > > > http://db.apache.org/derby/papers/DerbyTut/ns_intro.html#Embedded+Server > > > > > > > > > > BTW, how do you specify the directory of the db when using embedded mode? > > > > > > With client/server, I can just start up startnetworkserver in the > > > appropriate directory. > > > > This wiki page has some guidance on specifying the location of the > > database when running embedded: > > > > http://wiki.apache.org/db-derby/DatabaseNamesRelativeAbsolute > > > > HTH, > > andrew > > >
