"Mail from Ales" wrote :
| Since you wrote it :-)
|
| Why this limitation in VFS:MemoryContextFactory
|
| | public VFSContext createRoot(URL url)
| | {
| | try
| | {
| | String rootName = url.getHost();
| | MemoryContext ctx = registry.get(rootName);
| | if (ctx == null)
| | {
| | String urlPath = url.getPath();
| | if (urlPath != null && urlPath.length() > 0)
| | throw new IllegalArgumentException("Root can not contain
'/' - " + urlPath);
| |
| This last exception.
|
| Can we get past/handle this?
|
| The issue is when I use this:
| -
http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/dep...
| It breaks, since it cannot be deserialized - due to that exception.
|
| We can continue on the forum. :-)
|
The exception was just there to make sure that people don't try to create roots from
URLs such as vfsmemory://root/with/path. What should be used is vfsmemory://root. Is the
problem you are seeing that it tries to pass in the whole URL? If possible try breaking it
up? If not then the exception can probably be removed
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170105#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...