[jboss-dev-forums] [Design of POJO Server] - Re: Exploding jar libraries in deployments

ALRubinger do-not-reply at jboss.com
Mon Aug 3 14:59:06 EDT 2009


"alesj" wrote : What exactly is your use case?
  | A mixture of in-memory and normal files?

Tomcat must unjar the root deployment.  This means that we need some equivalent which can handle vfsmemory (as explode() does, though without the recursion).

anonymous wrote : Perhaps all that's required is that VFSUtils::unjar returns same ref
  | if the original file param is not backed by plain file handler.
  | e.g. like in your case where that's in-memory

That was the original problem.  unjar() originally had no effect upon vfsmemory.

Thinking some more, seems for nested vfsmemory archives: the root should be unpacked/serialized to plain files and the nested ones should be as well...but not nested JARs (which are left intact).

S,
ALR

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

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



More information about the jboss-dev-forums mailing list