> From: Gallagher, Liz [mailto:[EMAIL PROTECTED]]
> 
> Does anybody know how to sucessfully deploy Cocoon 2 on Weblogic
Server 6.1
> sp1 as a WAR file?
> 
> The cocoon.war file contain a JAR file that has a 2-character prefix
> (XT.JAR).  This is causing a "prefix string too short" exception.
Some
> users have recommended deleting or renaming the XT.JAR file, but this
only
> causes other exceptions. Since the Javadocs for java.io.file
explicitly
> state that a prefix must be at least 3 characters long, does anybody
know if
> Apache has plans to fix this?

Do not mix prefix and file name. From
http://java.sun.com/products/jdk/1.2/docs/api/java/io/File.html:

The prefix concept is used to handle root directories on UNIX platforms,
and drive specifiers, root directories and UNC pathnames on Win32
platforms,
as follows: 

 o For UNIX platforms, the prefix of an absolute pathname is always "/".
Relative pathnames have no prefix. The abstract pathname denoting the
root
directory has the prefix "/" and an empty name sequence.
 o For Win32 platforms, the prefix of a pathname that contains a drive 
specifier consists of the drive letter followed by ":" and possibly
followed
by "\" if the pathname is absolute. The prefix of a UNC pathname is
"\\";
the hostname and the share name are the first two names in the name
sequence.
A relative pathname that does not specify a drive has no prefix.


Hence, this (file name "xt.jar") is not an error and need not to be
fixed.

Regards,
Vadim



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to