You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Oleg Dulin <du...@olegdulin.com> on 2004/03/03 23:49:22 UTC

Cocoon on WebLogic 8.1: The filename or extension is too long

I am having a weird problem on my machine that my colleague can't reproduce.

Basically, after deploying my cocoon app as a WAR to WebLogic 8.1 , 
first time I hit it I get this exception:

Original Exception: java.io.FileNotFoundException: 
C:\bea\user_projects\domains\production\.\myserver\.wlnotdelete\extract\myserver_pieditor_pieditor\public\cocoon-files\org\apache\cocoon\www\zip_C_\bea\user_projects\domains\production\applications\__wlnotdelete\wl_comp3418_war_\logic\act\determineRoles_xsp.java: 
The filename or extension is too long
	at COM.jrockit.io.FileNativeIO.open0(Ljava.lang.String;I)I(Native Method)
	at 
COM.jrockit.io.FileNativeIO.open(Ljava.lang.String;I)Ljava.io.FileDescriptor;(Unknown 
Source)
	at java.io.FileOutputStream.(Ljava.lang.String;Z)V(Unknown Source)
	at java.io.FileOutputStream.(Ljava.lang.String;)V(Unknown Source)
	at java.io.FileOutputStream.(Ljava.io.File;)V(Unknown Source)


The only difference between our machines is that mine is older and also 
has Windows 2000 on it, while his was cleanly reformatted and has 
Windows XP on it.

Any thoughts on the subject ?

Kind regards,
Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Cocoon on WebLogic 8.1: The filename or extension is too long

Posted by Jeff Davis <je...@firstam.com>.
I used to have a somewhat similar problem on Weblogic with CLASSPATH's that
exceeded a certain length. I finally ended up buying a commercial shell
program that corrected this called 4NT at: http://jpsoft.com/. I used it to
then launch Weblogic. As I recall, it's a pretty cheap solution.

jeff

-----Original Message-----
From: Askild Aaberg Olsen [mailto:askild@xangeli.com] 
Sent: Wednesday, March 03, 2004 3:42 PM
To: users@cocoon.apache.org
Subject: Re: Cocoon on WebLogic 8.1: The filename or extension is too long

My guess is that you hit a limit with your java version or with Windows
2000. Are you using the same version of Java as your colleague, the one in
Weblogic?

The total filename is 263 characters long, so a limit of 255 was probably
exceeded.

I don't know how to fix this, but hopefully you are guided in the right
direction to solve the problem.

Askild
-

Oleg Dulin wrote:
> I am having a weird problem on my machine that my colleague 
> can't reproduce.
> 
> Basically, after deploying my cocoon app as a WAR to WebLogic 8.1 , 
> first time I hit it I get this exception:
> 
> Original Exception: java.io.FileNotFoundException: 
> C:\bea\user_projects\domains\production\.\myserver\.wlnotdelet
> e\extract\myserver_pieditor_pieditor\public\cocoon-files\org\a
> pache\cocoon\www\zip_C_\bea\user_projects\domains\production\a
> pplications\__wlnotdelete\wl_comp3418_war_\logic\act\determine
> Roles_xsp.java: 
> The filename or extension is too long
> 	at 
> COM.jrockit.io.FileNativeIO.open0(Ljava.lang.String;I)I(Native Method)
> 	at 
> COM.jrockit.io.FileNativeIO.open(Ljava.lang.String;I)Ljava.io.
> FileDescriptor;(Unknown 
> Source)
> 	at 
> java.io.FileOutputStream.(Ljava.lang.String;Z)V(Unknown Source)
> 	at 
> java.io.FileOutputStream.(Ljava.lang.String;)V(Unknown Source)
> 	at java.io.FileOutputStream.(Ljava.io.File;)V(Unknown Source)
> 
> 
> The only difference between our machines is that mine is 
> older and also 
> has Windows 2000 on it, while his was cleanly reformatted and has 
> Windows XP on it.
> 
> Any thoughts on the subject ?
> 
> Kind regards,
> Oleg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon on WebLogic 8.1: The filename or extension is too long

Posted by Askild Aaberg Olsen <as...@xangeli.com>.
My guess is that you hit a limit with your java version or with Windows
2000. Are you using the same version of Java as your colleague, the one in
Weblogic?

The total filename is 263 characters long, so a limit of 255 was probably
exceeded.

I don't know how to fix this, but hopefully you are guided in the right
direction to solve the problem.

Askild
-

Oleg Dulin wrote:
> I am having a weird problem on my machine that my colleague 
> can't reproduce.
> 
> Basically, after deploying my cocoon app as a WAR to WebLogic 8.1 , 
> first time I hit it I get this exception:
> 
> Original Exception: java.io.FileNotFoundException: 
> C:\bea\user_projects\domains\production\.\myserver\.wlnotdelet
> e\extract\myserver_pieditor_pieditor\public\cocoon-files\org\a
> pache\cocoon\www\zip_C_\bea\user_projects\domains\production\a
> pplications\__wlnotdelete\wl_comp3418_war_\logic\act\determine
> Roles_xsp.java: 
> The filename or extension is too long
> 	at 
> COM.jrockit.io.FileNativeIO.open0(Ljava.lang.String;I)I(Native Method)
> 	at 
> COM.jrockit.io.FileNativeIO.open(Ljava.lang.String;I)Ljava.io.
> FileDescriptor;(Unknown 
> Source)
> 	at 
> java.io.FileOutputStream.(Ljava.lang.String;Z)V(Unknown Source)
> 	at 
> java.io.FileOutputStream.(Ljava.lang.String;)V(Unknown Source)
> 	at java.io.FileOutputStream.(Ljava.io.File;)V(Unknown Source)
> 
> 
> The only difference between our machines is that mine is 
> older and also 
> has Windows 2000 on it, while his was cleanly reformatted and has 
> Windows XP on it.
> 
> Any thoughts on the subject ?
> 
> Kind regards,
> Oleg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org