Re: [Resin-interest] 4.0.6 Can't handle files 2GB?

2010-10-18 Thread jkowall
What kind of OS and JVM are you using?



On Mon, Oct 18, 2010 at 2:58 PM, Rick Mann rm...@latencyzero.com wrote:

 I've got 4.0.6 running, and for one of the web apps, it uses the directory
 file list capabilities of:

servlet servlet-name=directory
 servlet-class=com.caucho.servlets.DirectoryServlet
init enable=true/
/servlet

 I uploaded a 5 GB file via scp, but now can't retrieve that file via HTTP
 Get. It reports the file size as 713 MB.

 Am I correct that this is the problem? Resin is assuming file sizes fit in
 32 bits?

 TIA,
 Rick




 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] 4.0.6 Can't handle files 2GB?

2010-10-18 Thread Rick Mann
Nexenta OpenSolaris, JVM 6

$ uname -a
SunOS kepler 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris

$ java -version
java version 1.6.0_12
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode)

My config file includes

jvm-arg-server/jvm-arg

Which I thought implied -d64. Am I wrong? Also, does it matter if the jvm is 
running 32- or 64-bit? A long is still 64 bits, right?

-- 
Rick


On Oct 18, 2010, at 12:03:22, jkowall wrote:

 What kind of OS and JVM are you using?
 
 
 
 On Mon, Oct 18, 2010 at 2:58 PM, Rick Mann rm...@latencyzero.com wrote:
 I've got 4.0.6 running, and for one of the web apps, it uses the directory 
 file list capabilities of:
 
servlet servlet-name=directory   
 servlet-class=com.caucho.servlets.DirectoryServlet
init enable=true/
/servlet
 
 I uploaded a 5 GB file via scp, but now can't retrieve that file via HTTP 
 Get. It reports the file size as 713 MB.
 
 Am I correct that this is the problem? Resin is assuming file sizes fit in 32 
 bits?
 
 TIA,
 Rick
 
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] 4.0.6 Can't handle files 2GB?

2010-10-18 Thread Tom Hintz
 
 Your JVM is definitely not 64-bit.
 
 Your OS may be : http://opensolaris.org/jive/thread.jspa?threadID=119527
 Run this : isainfo -kv
 
 Didn't anyone tell you Opensolaris was dead? :)
 http://insidehpc.com/2010/08/16/opensolaris-dead-at-age-19/

File size should be independent of CPU architecture on Solaris.


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] 4.0.6 Can't handle files 2GB?

2010-10-18 Thread Rick Mann
$ isainfo -kv
64-bit amd64 kernel modules



On Oct 18, 2010, at 12:48:44, jkowall wrote:

 Your JVM is definitely not 64-bit.
 
 Your OS may be : http://opensolaris.org/jive/thread.jspa?threadID=119527
 Run this : isainfo -kv 
 
 Didn't anyone tell you Opensolaris was dead? :) 
 http://insidehpc.com/2010/08/16/opensolaris-dead-at-age-19/
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest