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

2010-10-19 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.

This explains: 
http://www.sun.com/software/whitepapers/wp-largefiles/largefiles.pdf


___
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

On Oct 18, 2010, at 12:35:28, Scott Ferguson wrote:

> Rick Mann wrote:
>> I've got 4.0.6 running, and for one of the web apps, it uses the directory 
>> file list capabilities of:
>> 
>>  > servlet-class="com.caucho.servlets.DirectoryServlet">
>>  
>>  
>> 
>> 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?
>> 
> The DirectoryServlet shouldn't matter, correct? Do you see this with a 
> direct GET?
> 
> It looks like somewhere there's a 32 bit limit. Are you using Resin's 
> JNI or not?

Even with wget this happens.

I'm running no JNI (I had problems with connections leaking, or some such).

A little Java tool I wrote to fetch headers gets this (and takes a long time to 
respond):

$ java Head http://roderickmann.org/stuff/BIBHKB.mpg
Fetching http://roderickmann.org/stuff/BIBHKB.mpg
Fetch duration: 44.244
Response Code:200
ETag: "8U3Jr/f+gTr"
Date: Mon, 18 Oct 2010 20:26:00 GMT
Content-Length:   748088561
Last-Modified:Mon, 18 Oct 2010 12:56:56 GMT
Accept-Ranges:bytes
Content-Type: video/mpeg; charset=utf-8
Server:   Resin/4.0.6



> 
> -- Scott
>> 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 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


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 jkowall
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


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

2010-10-18 Thread Scott Ferguson
Rick Mann wrote:
> I've got 4.0.6 running, and for one of the web apps, it uses the directory 
> file list capabilities of:
>
>servlet-class="com.caucho.servlets.DirectoryServlet">
>   
>   
>
> 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?
>   
The DirectoryServlet shouldn't matter, correct? Do you see this with a 
direct GET?

It looks like somewhere there's a 32 bit limit. Are you using Resin's 
JNI or not?

-- Scott
> 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
Hmm. Resin reports this on startup:

[10-18 12:27:20.396] {main}  INFO (com.caucho.server.cluster.Server) SunOS 5.11 
x86
[10-18 12:27:20.396] {main}  INFO (com.caucho.server.cluster.Server) Java(TM) 
SE Runtime Environment 1.6.0_12-b04, utf-8, en
[10-18 12:27:20.397] {main}  INFO (com.caucho.server.cluster.Server) Java 
HotSpot(TM) Server VM 11.2-b01, 32, mixed mode, Sun Microsystems Inc.



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  wrote:
> I've got 4.0.6 running, and for one of the web apps, it uses the directory 
> file list capabilities of:
> 
> servlet-class="com.caucho.servlets.DirectoryServlet">
>
>
> 
> 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 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

-server

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  wrote:
> I've got 4.0.6 running, and for one of the web apps, it uses the directory 
> file list capabilities of:
> 
> servlet-class="com.caucho.servlets.DirectoryServlet">
>
>
> 
> 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 jkowall
What kind of OS and JVM are you using?



On Mon, Oct 18, 2010 at 2:58 PM, Rick Mann  wrote:

> I've got 4.0.6 running, and for one of the web apps, it uses the directory
> file list capabilities of:
>
> servlet-class="com.caucho.servlets.DirectoryServlet">
>
>
>
> 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] 4.0.6 Can't handle files >2GB?

2010-10-18 Thread Rick Mann
I've got 4.0.6 running, and for one of the web apps, it uses the directory file 
list capabilities of:





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