Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001002 [Resin] minor always 03-20-06 08:28 03-30-06 11:49
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.19 Product Version 3.0.18
  Product Build
Summary 0001002: mod_caucho compilation issues with solaris 64 bit
Description (rep by Michael O'Dea)

I wanted to let you know that this issue (resin configure not picking up
64bit java even though the machine has 64bit java) is again occuring in
3.0.18 Pro when built on Solaris 2.8.

Here is the output again of java -version -d64

14:56:32 (12) root@app3: [/var/tmp/resin-pro-3.0.18 12] java -version
-d64
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_04-b05, mixed mode)

I applied the work around you mentioned on 11/2/05:

------------------

This is both 64 & 32 bit java, as we are currently running 3.0.8 with
the -d64 flag.

Ahh, "64-bit" (small b) not "64-Bit" (capital B)

in configure, line 8695, change this:
grep "64-Bit" $tmpname 1> /dev/null

to this:
grep -i "64-Bit" $tmpname 1> /dev/null

and let me know if it works for you.

---------------------------

And it still does not work.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0000973)
ferg
03-30-06 11:49

The 3.0.19 changes to the ./configure script asks apxs for the additional configuration. With 3.0.18, you will need to add --enable-64bit.

The issue is that JNI/Java might be compiled differently than Apache/mod_caucho (e.g. 32-bit Java and 64-bit Apache). Querying the 64-bits of the Java version is not useful to detect if mod_caucho should be compiled for 64 bits. So 3.0.18 was changed to separate the two queries.

Unfortunately 3.0.18 was not automatically detecting how Apache had been compiled (32 vs 64). That query has been added to the ./configure script.
 

- Issue History
Date Modified Username Field Change
03-20-06 08:28 ferg New Issue
03-30-06 11:49 ferg Note Added: 0000973
03-30-06 11:49 ferg Assigned To  => ferg
03-30-06 11:49 ferg Status new => closed
03-30-06 11:49 ferg Resolution open => fixed
03-30-06 11:49 ferg Fixed in Version  => 3.0.19


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker