[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Maximum path length easly exceeded
timfox
do-not-reply at jboss.com
Mon Jan 5 05:58:34 EST 2009
Actually on my Linux lap top, it fails at 255 characters. Here's the test program:
| public void testCreateDirs() throws Exception
| {
| String dir = "/tmp/jbm-unit-test/page/";
|
| for (int i = 0; i < 1000; i++)
| {
| dir += "X";
|
| File f = new File(dir);
|
| boolean ok = f.mkdirs();
|
| if (!ok)
| {
| throw new IOException("failed at " + i);
| }
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199494#4199494
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199494
More information about the jboss-dev-forums
mailing list