[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Maximum path length easly exceeded

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Jan 5 18:45:32 EST 2009


"timfox" wrote : It's easy to get the system to fail by specifying an address that's long - the paging system attempts to create directory even though it's not paging.
  | 
  | (Why create the directory if not paging?)
  | 
  | Most OSes have limits on the maximum path length e.g. 4095 in Linux, so clearly using the address name is not going to work.
  | 
  | A better solution needs to be worked out - e..g store the real address in a file in the paging directory.


I have changed it to add a record on the BindingJournal (thorugh StorageManager). The record will be hold only while in-page-mode.

Another change I've done was also to delete the directory when out of the page mode. This is because I didn't want records hanging around on the StorageManager forever.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199642#4199642

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199642



More information about the jboss-dev-forums mailing list