Re: [Resin-interest] configure error on mac for 4.0.13
interesting... I thought java dev updates would be part of the general mac update as long as you installed the dev tools... Thanks for the info, I'll try that. On 14/11/10 19:35, Jon Stevens wrote: > You now have to also install the developer package... > > http://lookfirst.com/2010/10/how-to-fix-missing-source-for-latest.html > > thanks apple. > > jon > > > On Sun, Nov 14, 2010 at 2:10 AM, Riccardo Cohen > mailto:r...@architectedulogiciel.fr>> wrote: > > Hi Alex, thanks for your help > > I use the native java installed: > > > java -version > java version "1.6.0_22" > Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) > Java HotSpot(TM) Client VM (build 17.1-b03-307, mixed mode) > > Actually you are right, the soft link send to a directory that does not > exists : > > in /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ > > jni_md.h -> ../../CurrentJDK/Headers/jni_md.h > jvmti.h -> ../../CurrentJDK/Headers/jvmti.h > > and there is no > > in > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers > directory... > > I clicked on both your links but there is an error with a white page... > Should I be connected to apple dev account ? > > On the other hand, the jvmti.h is present in > /System/Library/Frameworks/JavaVM.framework/Headers, and writing it > hardcoded in the script will make the configure script work. The make > problem does not seem to be related with java but with m4. > > Thanks a lot > > > On 14/11/10 02:22, Alex wrote: > >> Hello > >> I try to compile resin 4.0.13 pro on macosx 10.6.4 intel > > > > Are you running JavaForMacOSX10.6 Update3 ? > > > > If so, update 3 removed the jvmti.h on my machine when I > installed it. The soft-links exist but they point nowhere. I filed a > bug with apple, and you can file one too if you can't see and vote: > http://alturl.com/7je6e > > > > > > https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/12/wo/Z8gO7kmC3Cif9j23CAoM8M/5.83.28.0.9 > > > > > > Thanks, > > Alex > > > >> > >> Here is the error during ./configure : > >> > >> configure: error: > >> > >> *** Can't find JNI directory in > >> > > JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home > >> *** JNI is expected in > >> > > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/include/ > >> > >> > >> In configure script there is a > >> > >> test -r "$JAVA_HOME/../Headers/jni_md.h" > >> > >> and this actually won't work because > >> /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h > exists but > >> is a soft link within a directory which is a soft link : > >> > >>> ll /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h > >> > >> lrwxr-xr-x 1 root wheel 33 24 jul 16:15 > >> /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h -> > >> ../../CurrentJDK/Headers/jni_md.h > >> > >>> ll /System/Library/Frameworks/JavaVM.framework/Headers > >> > >> lrwxr-xr-x 1 root wheel 24 25 oct 08:50 > >> /System/Library/Frameworks/JavaVM.framework/Headers -> > >> Versions/Current/Headers > >> > >> > >> > >> So replacing test -r by test -L should normally work, but > actually it > >> won't, because : > >> > >>> test -L > /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h > >>> echo $? > >> 0 > >> > >> all right without /../, BUT : > >> > >>> test -L > >> > > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/../Headers/jni_md.h > >>> echo $? > >> 1 > >> > >> fails with the /../ > >> > >> For the moment I replaced with full path hardcoded > >> Same problem for JVMTI except that the test -L will work. > >> > >> Now configure is all right but make as an error : > >> > >>> make > >> Makefile:283: warning: overriding commands for target > >> `modules/c/src/Makefile' > >> Makefile:273: warning: ignoring old commands for target > >> `modules/c/src/Makefile' > >> CDPATH="${ZSH_VERSION+.}:"&& cd .&& aclocal -I m4 > >> aclocal: couldn't open directory `m4': No such file or directory > >> make: *** [aclocal.m4] Error 1 > >> > >> I don't know how to solve this one. > >> Thanks for your help. > >> > >> For information, there was no error in 4.0.10 > >> > >> > >> -- > >> Riccardo Cohen > >> Architecte du Logiciel > >> http://www.architectedulogiciel.fr > >> +33 (0)6.09.83.64.49 > >> Membre du réseau http://www.reflexe-conseil-centre.org > >> > >> > >> _
Re: [Resin-interest] configure error on mac for 4.0.13
You now have to also install the developer package... http://lookfirst.com/2010/10/how-to-fix-missing-source-for-latest.html thanks apple. jon On Sun, Nov 14, 2010 at 2:10 AM, Riccardo Cohen wrote: > Hi Alex, thanks for your help > > I use the native java installed: > > > java -version > java version "1.6.0_22" > Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) > Java HotSpot(TM) Client VM (build 17.1-b03-307, mixed mode) > > Actually you are right, the soft link send to a directory that does not > exists : > > in /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ > > jni_md.h -> ../../CurrentJDK/Headers/jni_md.h > jvmti.h -> ../../CurrentJDK/Headers/jvmti.h > > and there is no > > in > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers > directory... > > I clicked on both your links but there is an error with a white page... > Should I be connected to apple dev account ? > > On the other hand, the jvmti.h is present in > /System/Library/Frameworks/JavaVM.framework/Headers, and writing it > hardcoded in the script will make the configure script work. The make > problem does not seem to be related with java but with m4. > > Thanks a lot > > > On 14/11/10 02:22, Alex wrote: > >> Hello > >> I try to compile resin 4.0.13 pro on macosx 10.6.4 intel > > > > Are you running JavaForMacOSX10.6 Update3 ? > > > > If so, update 3 removed the jvmti.h on my machine when I installed it. > The soft-links exist but they point nowhere. I filed a bug with apple, and > you can file one too if you can't see and vote: http://alturl.com/7je6e > > > > > https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/12/wo/Z8gO7kmC3Cif9j23CAoM8M/5.83.28.0.9 > > > > > > Thanks, > > Alex > > > >> > >> Here is the error during ./configure : > >> > >> configure: error: > >> > >> *** Can't find JNI directory in > >> > JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home > >> *** JNI is expected in > >> > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/include/ > >> > >> > >> In configure script there is a > >> > >> test -r "$JAVA_HOME/../Headers/jni_md.h" > >> > >> and this actually won't work because > >> /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h exists but > >> is a soft link within a directory which is a soft link : > >> > >>> ll /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h > >> > >> lrwxr-xr-x 1 root wheel 33 24 jul 16:15 > >> /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h -> > >> ../../CurrentJDK/Headers/jni_md.h > >> > >>> ll /System/Library/Frameworks/JavaVM.framework/Headers > >> > >> lrwxr-xr-x 1 root wheel 24 25 oct 08:50 > >> /System/Library/Frameworks/JavaVM.framework/Headers -> > >> Versions/Current/Headers > >> > >> > >> > >> So replacing test -r by test -L should normally work, but actually it > >> won't, because : > >> > >>> test -L /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h > >>> echo $? > >> 0 > >> > >> all right without /../, BUT : > >> > >>> test -L > >> > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/../Headers/jni_md.h > >>> echo $? > >> 1 > >> > >> fails with the /../ > >> > >> For the moment I replaced with full path hardcoded > >> Same problem for JVMTI except that the test -L will work. > >> > >> Now configure is all right but make as an error : > >> > >>> make > >> Makefile:283: warning: overriding commands for target > >> `modules/c/src/Makefile' > >> Makefile:273: warning: ignoring old commands for target > >> `modules/c/src/Makefile' > >> CDPATH="${ZSH_VERSION+.}:"&& cd .&& aclocal -I m4 > >> aclocal: couldn't open directory `m4': No such file or directory > >> make: *** [aclocal.m4] Error 1 > >> > >> I don't know how to solve this one. > >> Thanks for your help. > >> > >> For information, there was no error in 4.0.10 > >> > >> > >> -- > >> Riccardo Cohen > >> Architecte du Logiciel > >> http://www.architectedulogiciel.fr > >> +33 (0)6.09.83.64.49 > >> Membre du réseau http://www.reflexe-conseil-centre.org > >> > >> > >> ___ > >> 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 > > > > -- > Riccardo Cohen > Architecte du Logiciel > http://www.architectedulogiciel.fr > +33 (0)6.09.83.64.49 > Membre du réseau http://www.reflexe-conseil-centre.org > > > > > ___ > 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] configure error on mac for 4.0.13
Hi Alex, thanks for your help I use the native java installed: > java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) Client VM (build 17.1-b03-307, mixed mode) Actually you are right, the soft link send to a directory that does not exists : in /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ jni_md.h -> ../../CurrentJDK/Headers/jni_md.h jvmti.h -> ../../CurrentJDK/Headers/jvmti.h and there is no in /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers directory... I clicked on both your links but there is an error with a white page... Should I be connected to apple dev account ? On the other hand, the jvmti.h is present in /System/Library/Frameworks/JavaVM.framework/Headers, and writing it hardcoded in the script will make the configure script work. The make problem does not seem to be related with java but with m4. Thanks a lot On 14/11/10 02:22, Alex wrote: >> Hello >> I try to compile resin 4.0.13 pro on macosx 10.6.4 intel > > Are you running JavaForMacOSX10.6 Update3 ? > > If so, update 3 removed the jvmti.h on my machine when I installed it. The > soft-links exist but they point nowhere. I filed a bug with apple, and you > can file one too if you can't see and vote: http://alturl.com/7je6e > > https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/12/wo/Z8gO7kmC3Cif9j23CAoM8M/5.83.28.0.9 > > > Thanks, > Alex > >> >> Here is the error during ./configure : >> >> configure: error: >> >> *** Can't find JNI directory in >> JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home >> *** JNI is expected in >> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/include/ >> >> >> In configure script there is a >> >> test -r "$JAVA_HOME/../Headers/jni_md.h" >> >> and this actually won't work because >> /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h exists but >> is a soft link within a directory which is a soft link : >> >>> ll /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h >> >> lrwxr-xr-x 1 root wheel 33 24 jul 16:15 >> /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h -> >> ../../CurrentJDK/Headers/jni_md.h >> >>> ll /System/Library/Frameworks/JavaVM.framework/Headers >> >> lrwxr-xr-x 1 root wheel 24 25 oct 08:50 >> /System/Library/Frameworks/JavaVM.framework/Headers -> >> Versions/Current/Headers >> >> >> >> So replacing test -r by test -L should normally work, but actually it >> won't, because : >> >>> test -L /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h >>> echo $? >> 0 >> >> all right without /../, BUT : >> >>> test -L >> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/../Headers/jni_md.h >>> echo $? >> 1 >> >> fails with the /../ >> >> For the moment I replaced with full path hardcoded >> Same problem for JVMTI except that the test -L will work. >> >> Now configure is all right but make as an error : >> >>> make >> Makefile:283: warning: overriding commands for target >> `modules/c/src/Makefile' >> Makefile:273: warning: ignoring old commands for target >> `modules/c/src/Makefile' >> CDPATH="${ZSH_VERSION+.}:"&& cd .&& aclocal -I m4 >> aclocal: couldn't open directory `m4': No such file or directory >> make: *** [aclocal.m4] Error 1 >> >> I don't know how to solve this one. >> Thanks for your help. >> >> For information, there was no error in 4.0.10 >> >> >> -- >> Riccardo Cohen >> Architecte du Logiciel >> http://www.architectedulogiciel.fr >> +33 (0)6.09.83.64.49 >> Membre du réseau http://www.reflexe-conseil-centre.org >> >> >> ___ >> 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 > -- Riccardo Cohen Architecte du Logiciel http://www.architectedulogiciel.fr +33 (0)6.09.83.64.49 Membre du réseau http://www.reflexe-conseil-centre.org ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure error on mac for 4.0.13
> Hello > I try to compile resin 4.0.13 pro on macosx 10.6.4 intel Are you running JavaForMacOSX10.6 Update3 ? If so, update 3 removed the jvmti.h on my machine when I installed it. The soft-links exist but they point nowhere. I filed a bug with apple, and you can file one too if you can't see and vote: http://alturl.com/7je6e https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/12/wo/Z8gO7kmC3Cif9j23CAoM8M/5.83.28.0.9 Thanks, Alex > > Here is the error during ./configure : > > configure: error: > >*** Can't find JNI directory in > JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home >*** JNI is expected in > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/include/ > > > In configure script there is a > > test -r "$JAVA_HOME/../Headers/jni_md.h" > > and this actually won't work because > /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h exists but > is a soft link within a directory which is a soft link : > >> ll /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h > > lrwxr-xr-x 1 root wheel 33 24 jul 16:15 > /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h -> > ../../CurrentJDK/Headers/jni_md.h > >> ll /System/Library/Frameworks/JavaVM.framework/Headers > > lrwxr-xr-x 1 root wheel 24 25 oct 08:50 > /System/Library/Frameworks/JavaVM.framework/Headers -> > Versions/Current/Headers > > > > So replacing test -r by test -L should normally work, but actually it > won't, because : > >> test -L /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h >> echo $? > 0 > > all right without /../, BUT : > >> test -L > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/../Headers/jni_md.h >> echo $? > 1 > > fails with the /../ > > For the moment I replaced with full path hardcoded > Same problem for JVMTI except that the test -L will work. > > Now configure is all right but make as an error : > >> make > Makefile:283: warning: overriding commands for target > `modules/c/src/Makefile' > Makefile:273: warning: ignoring old commands for target > `modules/c/src/Makefile' > CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal -I m4 > aclocal: couldn't open directory `m4': No such file or directory > make: *** [aclocal.m4] Error 1 > > I don't know how to solve this one. > Thanks for your help. > > For information, there was no error in 4.0.10 > > > -- > Riccardo Cohen > Architecte du Logiciel > http://www.architectedulogiciel.fr > +33 (0)6.09.83.64.49 > Membre du réseau http://www.reflexe-conseil-centre.org > > > ___ > 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] configure error on mac for 4.0.13
Hello I try to compile resin 4.0.13 pro on macosx 10.6.4 intel Here is the error during ./configure : configure: error: *** Can't find JNI directory in JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home *** JNI is expected in /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/include/ In configure script there is a test -r "$JAVA_HOME/../Headers/jni_md.h" and this actually won't work because /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h exists but is a soft link within a directory which is a soft link : > ll /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h lrwxr-xr-x 1 root wheel 33 24 jul 16:15 /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h -> ../../CurrentJDK/Headers/jni_md.h > ll /System/Library/Frameworks/JavaVM.framework/Headers lrwxr-xr-x 1 root wheel 24 25 oct 08:50 /System/Library/Frameworks/JavaVM.framework/Headers -> Versions/Current/Headers So replacing test -r by test -L should normally work, but actually it won't, because : > test -L /System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h > echo $? 0 all right without /../, BUT : > test -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/../Headers/jni_md.h > echo $? 1 fails with the /../ For the moment I replaced with full path hardcoded Same problem for JVMTI except that the test -L will work. Now configure is all right but make as an error : > make Makefile:283: warning: overriding commands for target `modules/c/src/Makefile' Makefile:273: warning: ignoring old commands for target `modules/c/src/Makefile' CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal -I m4 aclocal: couldn't open directory `m4': No such file or directory make: *** [aclocal.m4] Error 1 I don't know how to solve this one. Thanks for your help. For information, there was no error in 4.0.10 -- Riccardo Cohen Architecte du Logiciel http://www.architectedulogiciel.fr +33 (0)6.09.83.64.49 Membre du réseau http://www.reflexe-conseil-centre.org ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure not finding 64-bit java
On Mar 19, 2010, at 12:43:28, Scott Ferguson wrote: > Rick Mann wrote: >> I only have one JDK installed. >> > You can always use --enable-64bit. > > The configure script uses "java -version" to see if it's 64-bit and as > you showed below, "java -version" is 32-bit on your machine. (And > Resin's configure script won't try to assume that you really want to use > -d64.) Even with --enable-64bit, it didn't find that java was 64-bit. Does --enable-64bit override that? Even so, it ran into other problems as a 64-bit build. My needs currently allow me to get by with 32-bit, so I'll not worry about that for now. -- Rick ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure not finding 64-bit java
Rick Mann wrote: > I only have one JDK installed. > You can always use --enable-64bit. The configure script uses "java -version" to see if it's 64-bit and as you showed below, "java -version" is 32-bit on your machine. (And Resin's configure script won't try to assume that you really want to use -d64.) -- Scott > On Mar 18, 2010, at 21:32:14, Tyson Weihs wrote: > > >> Are you pointing ./configure to the right JDK installation via >> "--with-java-home=DIR"? >> >> On Thu, Mar 18, 2010 at 11:28 PM, Rick Mann wrote: >> Hmm, configure still reports >> >>checking if Java is 64-bit... no >> >> >> On Mar 18, 2010, at 20:40:38, Tyson Weihs wrote: >> >> >>> Add "--enable-64bit" when calling ./configure. >>> >>> -tyson >>> >>> On Thu, Mar 18, 2010 at 10:33 PM, Rick Mann wrote: >>> Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open Solaris >>> box. >>> >>>SunOS -- 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris >>> >>> However, when preparing to install resin 4.0.5 on it, I notice the >>> configure script didn't find 64-bit java. However: >>> >>> $ 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) >>> >>> $ java -d64 -version >>> java version "1.6.0_12" >>> Java(TM) SE Runtime Environment (build 1.6.0_12-b04) >>> Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode) >>> >>> >>> Do I need to install a different JVM, or should configure add -d64 when >>> checking? >>> >>> 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 >> >> ___ >> 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] configure not finding 64-bit java
I only have one JDK installed. On Mar 18, 2010, at 21:32:14, Tyson Weihs wrote: > Are you pointing ./configure to the right JDK installation via > "--with-java-home=DIR"? > > On Thu, Mar 18, 2010 at 11:28 PM, Rick Mann wrote: > Hmm, configure still reports > >checking if Java is 64-bit... no > > > On Mar 18, 2010, at 20:40:38, Tyson Weihs wrote: > > > Add "--enable-64bit" when calling ./configure. > > > > -tyson > > > > On Thu, Mar 18, 2010 at 10:33 PM, Rick Mann wrote: > > Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open Solaris > > box. > > > >SunOS -- 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris > > > > However, when preparing to install resin 4.0.5 on it, I notice the > > configure script didn't find 64-bit java. However: > > > > $ 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) > > > > $ java -d64 -version > > java version "1.6.0_12" > > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) > > Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode) > > > > > > Do I need to install a different JVM, or should configure add -d64 when > > checking? > > > > 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 > > ___ > 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] configure not finding 64-bit java
Are you pointing ./configure to the right JDK installation via "--with-java-home=DIR"? On Thu, Mar 18, 2010 at 11:28 PM, Rick Mann wrote: > Hmm, configure still reports > >checking if Java is 64-bit... no > > > On Mar 18, 2010, at 20:40:38, Tyson Weihs wrote: > > > Add "--enable-64bit" when calling ./configure. > > > > -tyson > > > > On Thu, Mar 18, 2010 at 10:33 PM, Rick Mann > wrote: > > Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open > Solaris box. > > > >SunOS -- 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris > > > > However, when preparing to install resin 4.0.5 on it, I notice the > configure script didn't find 64-bit java. However: > > > > $ 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) > > > > $ java -d64 -version > > java version "1.6.0_12" > > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) > > Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode) > > > > > > Do I need to install a different JVM, or should configure add -d64 when > checking? > > > > 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 > ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure not finding 64-bit java
Hmm, configure still reports checking if Java is 64-bit... no On Mar 18, 2010, at 20:40:38, Tyson Weihs wrote: > Add "--enable-64bit" when calling ./configure. > > -tyson > > On Thu, Mar 18, 2010 at 10:33 PM, Rick Mann wrote: > Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open Solaris > box. > >SunOS -- 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris > > However, when preparing to install resin 4.0.5 on it, I notice the configure > script didn't find 64-bit java. However: > > $ 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) > > $ java -d64 -version > java version "1.6.0_12" > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) > Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode) > > > Do I need to install a different JVM, or should configure add -d64 when > checking? > > 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] configure not finding 64-bit java
Ah! Thank you! On Mar 18, 2010, at 20:40:38, Tyson Weihs wrote: > Add "--enable-64bit" when calling ./configure. > > -tyson > > On Thu, Mar 18, 2010 at 10:33 PM, Rick Mann wrote: > Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open Solaris > box. > >SunOS -- 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris > > However, when preparing to install resin 4.0.5 on it, I notice the configure > script didn't find 64-bit java. However: > > $ 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) > > $ java -d64 -version > java version "1.6.0_12" > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) > Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode) > > > Do I need to install a different JVM, or should configure add -d64 when > checking? > > 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] configure not finding 64-bit java
Add "--enable-64bit" when calling ./configure. -tyson On Thu, Mar 18, 2010 at 10:33 PM, Rick Mann wrote: > Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open Solaris > box. > >SunOS -- 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris > > However, when preparing to install resin 4.0.5 on it, I notice the > configure script didn't find 64-bit java. However: > > $ 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) > > $ java -d64 -version > java version "1.6.0_12" > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) > Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode) > > > Do I need to install a different JVM, or should configure add -d64 when > checking? > > 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] configure not finding 64-bit java
Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open Solaris box. SunOS -- 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris However, when preparing to install resin 4.0.5 on it, I notice the configure script didn't find 64-bit java. However: $ 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) $ java -d64 -version java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode) Do I need to install a different JVM, or should configure add -d64 when checking? TIA, Rick ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure
Hi Sam, I am still unsure of how to go about this. I attach the file resin.conf for your reference. Hope you can guide me thru. Thanks saM-64 wrote: > >> add the codes to resin.conf? will it then point to tomcat? require to add >> anything to tomcat... server.xml? > > You can use Resin as your main web server, and then dispatch selected > requests to the tomcat server. > > To do this, setup tomcat to run on a non-standard port, like 8081. > > Then map the HttpProxyServlet in Resin to the requests that need to go > to the tomcat server. > > http://www.caucho.com/resin-3.0/servlet/servlet-library.xtp#HttpProxyServlet > > -- Sam > > > ___ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > > http://www.nabble.com/file/3862/resin.conf resin.conf http://www.nabble.com/file/3862/resin.conf resin.conf -- View this message in context: http://www.nabble.com/configure-tf2434415.html#a7007509 Sent from the Resin mailing list archive at Nabble.com. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure
> add the codes to resin.conf? will it then point to tomcat? require to add > anything to tomcat... server.xml? You can use Resin as your main web server, and then dispatch selected requests to the tomcat server. To do this, setup tomcat to run on a non-standard port, like 8081. Then map the HttpProxyServlet in Resin to the requests that need to go to the tomcat server. http://www.caucho.com/resin-3.0/servlet/servlet-library.xtp#HttpProxyServlet -- Sam ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure
add the codes to resin.conf? will it then point to tomcat? require to add anything to tomcat... server.xml? Scott Ferguson wrote: > > > On Oct 12, 2006, at 7:10 PM, tllcll wrote: > >> >> is there anyway for me configure without having the laster version of >> resin the other application is plan to run on tomcat/apache > > Oh, you're trying to run Resin and Tomcat at the same time? That's a > little strange. > > For Resin, if you want to configure a virtual host, just add/change > the following: > > > > >/var/abc111 > > > > You can copy the configuration from the default block. Or > just share common information in a . > > In other words, it should be simple to create a virtual host using > Resin. > > The aaa would do in /var/abc111/webapps/aaa > > -- Scott > >> >> >> Scott Ferguson wrote: >>> >>> >>> On Oct 12, 2006, at 6:37 PM, tllcll wrote: >>> Hi, I have installed apache/tomcat and import the war file. I have tried to run using localhost:8081, it is working... My server have another web server runnning on port 8080 with address eg.. www.abc111.com. (this will go to the index page of that web app) What do I need to set to make it able to display/run the webpage from address eg... www.abc.com111.com/aaa? >>> >>> You're making a terrible mistake. >>> >>> Go to http://www.caucho.com/download and download the latest version >>> of Resin (3.0.21). (Or if you're brave, download Resin-3_1- >>> snap.zip.) >>> >>> You'll either want to run Resin with its own internal web server, or >>> if you want a two-tier server, use Resin as the web server and >>> another instance of Resin as the app server. (The two tier Resin >>> system will be easier to configure in Resin 3.1.0). >>> >>> -- Scott >>> >>> ___ >>> resin-interest mailing list >>> resin-interest@caucho.com >>> http://maillist.caucho.com/mailman/listinfo/resin-interest >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/configure- >> tf2434415.html#a6788671 >> Sent from the Resin mailing list archive at Nabble.com. >> >> >> ___ >> 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 > > -- View this message in context: http://www.nabble.com/configure-tf2434415.html#a6788843 Sent from the Resin mailing list archive at Nabble.com. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure
On Oct 12, 2006, at 7:10 PM, tllcll wrote: > > is there anyway for me configure without having the laster version of > resin the other application is plan to run on tomcat/apache Oh, you're trying to run Resin and Tomcat at the same time? That's a little strange. For Resin, if you want to configure a virtual host, just add/change the following: /var/abc111 You can copy the configuration from the default block. Or just share common information in a . In other words, it should be simple to create a virtual host using Resin. The aaa would do in /var/abc111/webapps/aaa -- Scott > > > Scott Ferguson wrote: >> >> >> On Oct 12, 2006, at 6:37 PM, tllcll wrote: >> >>> Hi, I have installed apache/tomcat and import the war file. I have >>> tried to run using localhost:8081, it is working... My server have >>> another web server runnning on port 8080 with address eg.. >>> www.abc111.com. (this will go to the index page of that web app) >>> What do I need to set to make it able to display/run the webpage >>> from address eg... www.abc.com111.com/aaa? >> >> You're making a terrible mistake. >> >> Go to http://www.caucho.com/download and download the latest version >> of Resin (3.0.21). (Or if you're brave, download Resin-3_1- >> snap.zip.) >> >> You'll either want to run Resin with its own internal web server, or >> if you want a two-tier server, use Resin as the web server and >> another instance of Resin as the app server. (The two tier Resin >> system will be easier to configure in Resin 3.1.0). >> >> -- Scott >> >> ___ >> resin-interest mailing list >> resin-interest@caucho.com >> http://maillist.caucho.com/mailman/listinfo/resin-interest >> >> > > -- > View this message in context: http://www.nabble.com/configure- > tf2434415.html#a6788671 > Sent from the Resin mailing list archive at Nabble.com. > > > ___ > 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] configure
is there anyway for me configure without having the laster version of resin the other application is plan to run on tomcat/apache Scott Ferguson wrote: > > > On Oct 12, 2006, at 6:37 PM, tllcll wrote: > >> Hi, I have installed apache/tomcat and import the war file. I have >> tried to run using localhost:8081, it is working... My server have >> another web server runnning on port 8080 with address eg.. >> www.abc111.com. (this will go to the index page of that web app) >> What do I need to set to make it able to display/run the webpage >> from address eg... www.abc.com111.com/aaa? > > You're making a terrible mistake. > > Go to http://www.caucho.com/download and download the latest version > of Resin (3.0.21). (Or if you're brave, download Resin-3_1-snap.zip.) > > You'll either want to run Resin with its own internal web server, or > if you want a two-tier server, use Resin as the web server and > another instance of Resin as the app server. (The two tier Resin > system will be easier to configure in Resin 3.1.0). > > -- Scott > > ___ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > > -- View this message in context: http://www.nabble.com/configure-tf2434415.html#a6788671 Sent from the Resin mailing list archive at Nabble.com. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] configure
On Oct 12, 2006, at 6:37 PM, tllcll wrote: > Hi, I have installed apache/tomcat and import the war file. I have > tried to run using localhost:8081, it is working... My server have > another web server runnning on port 8080 with address eg.. > www.abc111.com. (this will go to the index page of that web app) > What do I need to set to make it able to display/run the webpage > from address eg... www.abc.com111.com/aaa? You're making a terrible mistake. Go to http://www.caucho.com/download and download the latest version of Resin (3.0.21). (Or if you're brave, download Resin-3_1-snap.zip.) You'll either want to run Resin with its own internal web server, or if you want a two-tier server, use Resin as the web server and another instance of Resin as the app server. (The two tier Resin system will be easier to configure in Resin 3.1.0). -- Scott ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] configure
Hi, I have installed apache/tomcat and import the war file. I have tried to run using localhost:8081, it is working... My server have another web server runnning on port 8080 with address eg.. www.abc111.com. (this will go to the index page of that web app) What do I need to set to make it able to display/run the webpage from address eg... www.abc.com111.com/aaa? View this message in context: configure Sent from the Resin mailing list archive at Nabble.com. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest