Weihan
> --
> You received this message because you are subscribed to the Google Groups "Xerial" group.
> To post to this group, send email to xer...@googlegroups.com.
> To unsubscribe from this group, send email to xerial+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/xerial?hl=en.
>
>
I had the similar situation in the past. Is the SQLite datbase flat
file is located on a remote machine than from your JSP page from where
you are trying to connect to? If your poblem hasn't solved I would try
moving the file to the same server/machine and then give it a try.
Connection con = null;
con = DriverManger.getConnection("jdbc:sqlite//ipaddress/DirA/DirB/Sqlite.db");
where ipaddress is the address of a remote machine and THIS WON'T WORK
and gives you 'out of memory' exception
instead try
con = DriverManger.getConnection("jdbc:sqlite:C:/<DirName>/Sqlite.db");
THIS WORKS.
SQLite is not a stand alone database so it never worked for me when
try to connect to it when it was on a remote machine.
Hope this helps.
Dev