Make your own free website on Tripod.com

InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Problems creating files with '$' in filename


I can create files when I escape the '$', but not when I try without.
I cannot FTP files with a '$' in the name to the system, unless I use
something like tar or gzip to do so.
This is the web-host for a client - so I have no control over how it is
set up.
It uses Debian and jserv, but beyond that my knowledge runs out.
I have almost managed to get things working by copyng over my database
files from the Red Hat installation (using tar/gzip). 
Now I am facing a slightly different problem:
   when I try to connect to the database I get an OutOfMemoryError
I have seen this before, when I restart the servlet many times in a
short period (no metrics I'm afraid). It seems as if there is a memory
leak when the servlet connected to InstantDB is restarted.



Bill Karwin wrote:
> 
> The filesystem of any UNIX or Linux variant should permit filenames to
> contain a $ character (or for that matter, any character except '/').
> But some shell programs might have different ways of interpreting
> commands that contain $, which often introduces shell variables.  This
> is why David has to escape his filename with single-quotes, to suppress
> variable substitution by the shell.  He could also backslash the $
> characters (e.g., touch qlt\$db\$Index.tbl).
> 
> I'm not sure how or why InstantDB would be invoking a shell to access
> files.  I would think it'd access files directly using Java methods.  So
> the shell behavior might not be relevant to explain the problem with
> InstantDB using these filenames on Debian.
> 
> David, what shell are you using on your Debian system?  Are you placing
> InstantDB files on a native filesystem or on a FAT or remote filesystem?
> 
> Peter Hearty wrote:
> >
> > I'm sorry, David. The use of $ as a filename delimiter is hard coded.
> 
> > From: "David Burnett" <davidb@clairvision.org>
> > > The Debian server will not allow me to create a file with a '$' in the
> > > filename.
> 
> --
> Bill Karwin (bill@lutris.com)
> Application Architect - Lutris Technologies Inc.
> -----------------------------------------------------------------------------
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.