Re: [Resin-interest] Fwd: Issue getting JNI up and running
Scott, do you have any update on the bug? On Thu, Jan 15, 2009 at 3:44 PM, jkowall jkow...@gmail.com wrote: Please see attached file. Thanks. On Thu, Jan 15, 2009 at 3:36 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 5:04 PM, jkowall wrote: Thanks Scott, its been a while since we spoke. I used to post here many years ago :) Can you send the hs_err_pid4104.log? I'm pretty sure we checked user-name on the 64 bit systems. -- Scott The compile worked fine, but I got this error when I try to fire up resin. [r...@gvahmfg02 bin]# ./resin.sh # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x2aab0e81fba0, pid=4104, tid=1093785920 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64) # Problematic frame: # C [libresin_os.so+0x7ba0] # # An error report file with more information is saved as: # /usr/resin/bin/hs_err_pid4104.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Aborted On Wed, Jan 14, 2009 at 4:46 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 11:39 AM, jkowall wrote: Thanks, here is the output from verbose. It looks like the DYLD_LIBRARY_PATH is set, but not correct in LD_LIBRARY_PATH. Should I just change LD_LIBRARY_PATH to include the libexec64 directory? It looks like the ./configure process is compiling for 32 bits (libexec), but you're running in 64-bit mode (libexec64). Try running ./configure --enable-64bit, and check for libexec64/libresin_os.so -- Scott /usr/java/jdk1.6.0_11/bin/java \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.system.class.loader=com.caucho.loader.SystemClassLoader \ -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl \ -Djava.awt.headless=true \ -Dresin.home=/usr/resin/ \ -d64 \ -Xmx1024m \ -Xss1m \ -Xdebug \ -Dcom.sun.management.jmxremote \ com.caucho.server.resin.Resin \ --root-directory \ /usr/resin/ \ -conf \ /usr/resin/conf/resin.xml \ -socketwait \ 57581 \ -verbose TERM: linux DYLD_LIBRARY_PATH: /usr/resin/libexec64 SHLVL: 2 XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt SSH_CLIENT: 192.168.1.51 59565 22 MAIL: /var/spool/mail/jkowall PWD: /usr/resin/bin HOSTNAME: gvahmfg02.gvah.mfgq.com SSH_TTY: /dev/pts/1 LOGNAME: jkowall CVS_RSH: ssh G_BROKEN_FILENAMES: 1 NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat LD_LIBRARY_PATH: /usr/resin/libexec64 /usr/java/jdk1.6.0_11/jre/lib/amd64/server /usr/java/jdk1.6.0_11/jre/lib/amd64 /usr/java/jdk1.6.0_11/jre/../lib/amd64 SSH_CONNECTION: 192.168.1.51 59565 10.10.50.72 22 INPUTRC: /etc/inputrc SHELL: /bin/bash HISTSIZE: 1000 CLASSPATH: /usr/resin//lib/resin.jar /usr/java/jdk1.6.0_11/lib/tools.jar /usr/resin/lib/pro.jar /usr/resin/lib/resin.jar /usr/resin/lib/jsf-12.jar /usr/resin/lib/webutil.jar /usr/resin/lib/activation.jar /usr/resin/lib/javamail-141.jar /usr/resin/lib/javaee-16.jar /usr/resin/lib/jaxstream-15.jar /usr/resin/lib/osgi-14.jar PATH: /usr/resin/win64:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/jkowall/bin USER: jkowall HOME: /root LESSOPEN: |/usr/bin/lesspipe.sh %s LS_COLORS: no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: SSH_ASKPASS: /usr/libexec/openssh/gnome-ssh-askpass LANG: en_US.UTF-8 On Wed, Jan 14, 2009 at 2:05 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 10:58 AM, Emil Ong wrote: On Wed, Jan 14, 2009 at 12:35:04PM -0500, jkowall wrote: Sorry I had some issues getting on the mailinglist. You can see the SO is compiled, but for some reason it cannot be loaded. Any advice? I am on Resin Pro. [r...@x bin]# ./resin.sh start Resin/3.2.1 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [r...@x bin]# ls -la ../libexec/ total 180 drwxr-xr-x 2 root root 4096 Jan 2 19:38 . drwxr-xr-x 20 root root 4096 Jan 6 19:48 .. -rwxr-xr-x 1 root root 170308 Jan 3 00:11 libresin_os.so Hi, You're missing 2 SOs: libresin.so and libresinssl.so. You'll need to recompile and/or check for compilation errors.
Re: [Resin-interest] Fwd: Issue getting JNI up and running
On Jan 20, 2009, at 9:37 AM, jkowall wrote: Scott, do you have any update on the bug? The attachment didn't come through (might have been too big?) I just checked on my ubuntu amd64 system for 3.2.1 and it started correctly with user-name. Can you disable the user-name, start Resin and send the part that looks like the following: [10:29:10.559] {main} [10:29:10.559] {main} Linux 2.6.24-16-generic i386 [10:29:10.560] {main} Java(TM) SE Runtime Environment 1.6.0_01-b06, UTF-8, en [10:29:10.560] {main} Java HotSpot(TM) Client VM 1.6.0_01-b06, 32, mixed mode, sharing, Sun Microsystems Inc. [10:29:10.560] {main} [10:29:10.560] {main} resin.home = /home/ferg/ws/test-resin/ [10:29:10.560] {main} resin.root = /home/ferg/ws/test-resin/ [10:29:10.560] {main} resin.conf = /home/ferg/ws/test-resin/conf/ resin.xml [10:29:10.561] {main} [10:29:10.561] {main} server = 127.0.0.1:6800 (app-tier:) [10:29:10.561] {main} user.name = ferg [10:29:10.561] {main} (The first three lines are the important ones.) -- Scott On Thu, Jan 15, 2009 at 3:44 PM, jkowall jkow...@gmail.com wrote: Please see attached file. Thanks. On Thu, Jan 15, 2009 at 3:36 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 5:04 PM, jkowall wrote: Thanks Scott, its been a while since we spoke. I used to post here many years ago :) Can you send the hs_err_pid4104.log? I'm pretty sure we checked user-name on the 64 bit systems. -- Scott The compile worked fine, but I got this error when I try to fire up resin. [r...@gvahmfg02 bin]# ./resin.sh # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x2aab0e81fba0, pid=4104, tid=1093785920 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64) # Problematic frame: # C [libresin_os.so+0x7ba0] # # An error report file with more information is saved as: # /usr/resin/bin/hs_err_pid4104.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Aborted On Wed, Jan 14, 2009 at 4:46 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 11:39 AM, jkowall wrote: Thanks, here is the output from verbose. It looks like the DYLD_LIBRARY_PATH is set, but not correct in LD_LIBRARY_PATH. Should I just change LD_LIBRARY_PATH to include the libexec64 directory? It looks like the ./configure process is compiling for 32 bits (libexec), but you're running in 64-bit mode (libexec64). Try running ./configure --enable-64bit, and check for libexec64/ libresin_os.so -- Scott /usr/java/jdk1.6.0_11/bin/java \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.system.class.loader=com.caucho.loader.SystemClassLoader \ - Djavax .management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl \ -Djava.awt.headless=true \ -Dresin.home=/usr/resin/ \ -d64 \ -Xmx1024m \ -Xss1m \ -Xdebug \ -Dcom.sun.management.jmxremote \ com.caucho.server.resin.Resin \ --root-directory \ /usr/resin/ \ -conf \ /usr/resin/conf/resin.xml \ -socketwait \ 57581 \ -verbose TERM: linux DYLD_LIBRARY_PATH: /usr/resin/libexec64 SHLVL: 2 XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt SSH_CLIENT: 192.168.1.51 59565 22 MAIL: /var/spool/mail/jkowall PWD: /usr/resin/bin HOSTNAME: gvahmfg02.gvah.mfgq.com SSH_TTY: /dev/pts/1 LOGNAME: jkowall CVS_RSH: ssh G_BROKEN_FILENAMES: 1 NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat LD_LIBRARY_PATH: /usr/resin/libexec64 /usr/java/jdk1.6.0_11/jre/lib/amd64/server /usr/java/jdk1.6.0_11/jre/lib/amd64 /usr/java/jdk1.6.0_11/jre/../lib/amd64 SSH_CONNECTION: 192.168.1.51 59565 10.10.50.72 22 INPUTRC: /etc/inputrc SHELL: /bin/bash HISTSIZE: 1000 CLASSPATH: /usr/resin//lib/resin.jar /usr/java/jdk1.6.0_11/lib/tools.jar /usr/resin/lib/pro.jar /usr/resin/lib/resin.jar /usr/resin/lib/jsf-12.jar /usr/resin/lib/webutil.jar /usr/resin/lib/activation.jar /usr/resin/lib/javamail-141.jar /usr/resin/lib/javaee-16.jar /usr/resin/lib/jaxstream-15.jar /usr/resin/lib/osgi-14.jar PATH: /usr/resin/win64:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/ local/bin:/bin:/usr/bin:/home/jkowall/bin USER: jkowall HOME: /root LESSOPEN: |/usr/bin/lesspipe.sh %s LS_COLORS: no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: SSH_ASKPASS: /usr/libexec/openssh/gnome-ssh-askpass LANG: en_US.UTF-8 On Wed, Jan 14, 2009
Re: [Resin-interest] Fwd: Issue getting JNI up and running
It was only 19k. I commented out those two lines, and I'm still getting an abort: [r...@gvahmfg02 bin]# ./resin.sh --verbose # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x2aab0e93fba0, pid=28483, tid=1095792960 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64) # Problematic frame: # C [libresin_os.so+0x7ba0] # # An error report file with more information is saved as: # /usr/resin/bin/hs_err_pid28483.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Aborted On Tue, Jan 20, 2009 at 1:21 PM, Scott Ferguson f...@caucho.com wrote: On Jan 20, 2009, at 9:37 AM, jkowall wrote: Scott, do you have any update on the bug? The attachment didn't come through (might have been too big?) I just checked on my ubuntu amd64 system for 3.2.1 and it started correctly with user-name. Can you disable the user-name, start Resin and send the part that looks like the following: [10:29:10.559] {main} [10:29:10.559] {main} Linux 2.6.24-16-generic i386 [10:29:10.560] {main} Java(TM) SE Runtime Environment 1.6.0_01-b06, UTF-8, en [10:29:10.560] {main} Java HotSpot(TM) Client VM 1.6.0_01-b06, 32, mixed mode, sharing, Sun Microsystems Inc. [10:29:10.560] {main} [10:29:10.560] {main} resin.home = /home/ferg/ws/test-resin/ [10:29:10.560] {main} resin.root = /home/ferg/ws/test-resin/ [10:29:10.560] {main} resin.conf = /home/ferg/ws/test-resin/conf/resin.xml [10:29:10.561] {main} [10:29:10.561] {main} server = 127.0.0.1:6800 (app-tier:) [10:29:10.561] {main} user.name = ferg [10:29:10.561] {main} (The first three lines are the important ones.) -- Scott On Thu, Jan 15, 2009 at 3:44 PM, jkowall jkow...@gmail.com wrote: Please see attached file. Thanks. On Thu, Jan 15, 2009 at 3:36 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 5:04 PM, jkowall wrote: Thanks Scott, its been a while since we spoke. I used to post here many years ago :) Can you send the hs_err_pid4104.log? I'm pretty sure we checked user-name on the 64 bit systems. -- Scott The compile worked fine, but I got this error when I try to fire up resin. [r...@gvahmfg02 bin]# ./resin.sh # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x2aab0e81fba0, pid=4104, tid=1093785920 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64) # Problematic frame: # C [libresin_os.so+0x7ba0] # # An error report file with more information is saved as: # /usr/resin/bin/hs_err_pid4104.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Aborted On Wed, Jan 14, 2009 at 4:46 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 11:39 AM, jkowall wrote: Thanks, here is the output from verbose. It looks like the DYLD_LIBRARY_PATH is set, but not correct in LD_LIBRARY_PATH. Should I just change LD_LIBRARY_PATH to include the libexec64 directory? It looks like the ./configure process is compiling for 32 bits (libexec), but you're running in 64-bit mode (libexec64). Try running ./configure --enable-64bit, and check for libexec64/libresin_os.so -- Scott /usr/java/jdk1.6.0_11/bin/java \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.system.class.loader=com.caucho.loader.SystemClassLoader \ -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl \ -Djava.awt.headless=true \ -Dresin.home=/usr/resin/ \ -d64 \ -Xmx1024m \ -Xss1m \ -Xdebug \ -Dcom.sun.management.jmxremote \ com.caucho.server.resin.Resin \ --root-directory \ /usr/resin/ \ -conf \ /usr/resin/conf/resin.xml \ -socketwait \ 57581 \ -verbose TERM: linux DYLD_LIBRARY_PATH: /usr/resin/libexec64 SHLVL: 2 XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt SSH_CLIENT: 192.168.1.51 59565 22 MAIL: /var/spool/mail/jkowall PWD: /usr/resin/bin HOSTNAME: gvahmfg02.gvah.mfgq.com SSH_TTY: /dev/pts/1 LOGNAME: jkowall CVS_RSH: ssh G_BROKEN_FILENAMES: 1 NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat LD_LIBRARY_PATH: /usr/resin/libexec64 /usr/java/jdk1.6.0_11/jre/lib/amd64/server /usr/java/jdk1.6.0_11/jre/lib/amd64 /usr/java/jdk1.6.0_11/jre/../lib/amd64 SSH_CONNECTION: 192.168.1.51 59565 10.10.50.72 22 INPUTRC: /etc/inputrc SHELL: /bin/bash HISTSIZE: 1000 CLASSPATH: /usr/resin//lib/resin.jar /usr/java/jdk1.6.0_11/lib/tools.jar /usr/resin/lib/pro.jar /usr/resin/lib/resin.jar /usr/resin/lib/jsf-12.jar /usr/resin/lib/webutil.jar /usr/resin/lib/activation.jar /usr/resin/lib/javamail-141.jar /usr/resin/lib/javaee-16.jar
Re: [Resin-interest] Fwd: Issue getting JNI up and running
On Jan 14, 2009, at 5:04 PM, jkowall wrote: Thanks Scott, its been a while since we spoke. I used to post here many years ago :) Can you send the hs_err_pid4104.log? I'm pretty sure we checked user- name on the 64 bit systems. -- Scott The compile worked fine, but I got this error when I try to fire up resin. [r...@gvahmfg02 bin]# ./resin.sh # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x2aab0e81fba0, pid=4104, tid=1093785920 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64) # Problematic frame: # C [libresin_os.so+0x7ba0] # # An error report file with more information is saved as: # /usr/resin/bin/hs_err_pid4104.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Aborted On Wed, Jan 14, 2009 at 4:46 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 11:39 AM, jkowall wrote: Thanks, here is the output from verbose. It looks like the DYLD_LIBRARY_PATH is set, but not correct in LD_LIBRARY_PATH. Should I just change LD_LIBRARY_PATH to include the libexec64 directory? It looks like the ./configure process is compiling for 32 bits (libexec), but you're running in 64-bit mode (libexec64). Try running ./configure --enable-64bit, and check for libexec64/ libresin_os.so -- Scott /usr/java/jdk1.6.0_11/bin/java \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.system.class.loader=com.caucho.loader.SystemClassLoader \ - Djavax .management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl \ -Djava.awt.headless=true \ -Dresin.home=/usr/resin/ \ -d64 \ -Xmx1024m \ -Xss1m \ -Xdebug \ -Dcom.sun.management.jmxremote \ com.caucho.server.resin.Resin \ --root-directory \ /usr/resin/ \ -conf \ /usr/resin/conf/resin.xml \ -socketwait \ 57581 \ -verbose TERM: linux DYLD_LIBRARY_PATH: /usr/resin/libexec64 SHLVL: 2 XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt SSH_CLIENT: 192.168.1.51 59565 22 MAIL: /var/spool/mail/jkowall PWD: /usr/resin/bin HOSTNAME: gvahmfg02.gvah.mfgq.com SSH_TTY: /dev/pts/1 LOGNAME: jkowall CVS_RSH: ssh G_BROKEN_FILENAMES: 1 NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat LD_LIBRARY_PATH: /usr/resin/libexec64 /usr/java/jdk1.6.0_11/jre/lib/amd64/server /usr/java/jdk1.6.0_11/jre/lib/amd64 /usr/java/jdk1.6.0_11/jre/../lib/amd64 SSH_CONNECTION: 192.168.1.51 59565 10.10.50.72 22 INPUTRC: /etc/inputrc SHELL: /bin/bash HISTSIZE: 1000 CLASSPATH: /usr/resin//lib/resin.jar /usr/java/jdk1.6.0_11/lib/tools.jar /usr/resin/lib/pro.jar /usr/resin/lib/resin.jar /usr/resin/lib/jsf-12.jar /usr/resin/lib/webutil.jar /usr/resin/lib/activation.jar /usr/resin/lib/javamail-141.jar /usr/resin/lib/javaee-16.jar /usr/resin/lib/jaxstream-15.jar /usr/resin/lib/osgi-14.jar PATH: /usr/resin/win64:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/ local/bin:/bin:/usr/bin:/home/jkowall/bin USER: jkowall HOME: /root LESSOPEN: |/usr/bin/lesspipe.sh %s LS_COLORS: no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: SSH_ASKPASS: /usr/libexec/openssh/gnome-ssh-askpass LANG: en_US.UTF-8 On Wed, Jan 14, 2009 at 2:05 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 10:58 AM, Emil Ong wrote: On Wed, Jan 14, 2009 at 12:35:04PM -0500, jkowall wrote: Sorry I had some issues getting on the mailinglist. You can see the SO is compiled, but for some reason it cannot be loaded. Any advice? I am on Resin Pro. [r...@x bin]# ./resin.sh start Resin/3.2.1 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [r...@x bin]# ls -la ../libexec/ total 180 drwxr-xr-x 2 root root 4096 Jan 2 19:38 . drwxr-xr-x 20 root root 4096 Jan 6 19:48 .. -rwxr-xr-x 1 root root 170308 Jan 3 00:11 libresin_os.so Hi, You're missing 2 SOs: libresin.so and libresinssl.so. You'll need to recompile and/or check for compilation errors. That's been changed in 3.2.1. The user-name feature only requires libresin_os now. -- Scott Emil Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:e...@caucho.com http://blog.caucho.com/ Caucho:
[Resin-interest] Fwd: Issue getting JNI up and running
Sorry I had some issues getting on the mailinglist. You can see the SO is compiled, but for some reason it cannot be loaded. Any advice? I am on Resin Pro. [r...@x bin]# ./resin.sh start Resin/3.2.1 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [r...@x bin]# ls -la ../libexec/ total 180 drwxr-xr-x 2 root root 4096 Jan 2 19:38 . drwxr-xr-x 20 root root 4096 Jan 6 19:48 .. -rwxr-xr-x 1 root root 170308 Jan 3 00:11 libresin_os.so -- -jk -- -jk ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Fwd: Issue getting JNI up and running
On Wed, Jan 14, 2009 at 12:35:04PM -0500, jkowall wrote: Sorry I had some issues getting on the mailinglist. You can see the SO is compiled, but for some reason it cannot be loaded. Any advice? I am on Resin Pro. [r...@x bin]# ./resin.sh start Resin/3.2.1 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [r...@x bin]# ls -la ../libexec/ total 180 drwxr-xr-x 2 root root 4096 Jan 2 19:38 . drwxr-xr-x 20 root root 4096 Jan 6 19:48 .. -rwxr-xr-x 1 root root 170308 Jan 3 00:11 libresin_os.so Hi, You're missing 2 SOs: libresin.so and libresinssl.so. You'll need to recompile and/or check for compilation errors. Emil Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:e...@caucho.com http://blog.caucho.com/ Caucho: Reliable Open Source -- Resin: application server -- Quercus: PHP in Java -- BAM: lightweight high-speed messaging ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Fwd: Issue getting JNI up and running
On Jan 14, 2009, at 10:58 AM, Emil Ong wrote: On Wed, Jan 14, 2009 at 12:35:04PM -0500, jkowall wrote: Sorry I had some issues getting on the mailinglist. You can see the SO is compiled, but for some reason it cannot be loaded. Any advice? I am on Resin Pro. [r...@x bin]# ./resin.sh start Resin/3.2.1 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [r...@x bin]# ls -la ../libexec/ total 180 drwxr-xr-x 2 root root 4096 Jan 2 19:38 . drwxr-xr-x 20 root root 4096 Jan 6 19:48 .. -rwxr-xr-x 1 root root 170308 Jan 3 00:11 libresin_os.so Hi, You're missing 2 SOs: libresin.so and libresinssl.so. You'll need to recompile and/or check for compilation errors. That's been changed in 3.2.1. The user-name feature only requires libresin_os now. -- Scott Emil Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:e...@caucho.com http://blog.caucho.com/ Caucho: Reliable Open Source -- Resin: application server -- Quercus: PHP in Java -- BAM: lightweight high-speed messaging ___ 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] Fwd: Issue getting JNI up and running
Thanks, here is the output from verbose. It looks like the DYLD_LIBRARY_PATH is set, but not correct in LD_LIBRARY_PATH. Should I just change LD_LIBRARY_PATH to include the libexec64 directory? /usr/java/jdk1.6.0_11/bin/java \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.system.class.loader=com.caucho.loader.SystemClassLoader \ -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl \ -Djava.awt.headless=true \ -Dresin.home=/usr/resin/ \ -d64 \ -Xmx1024m \ -Xss1m \ -Xdebug \ -Dcom.sun.management.jmxremote \ com.caucho.server.resin.Resin \ --root-directory \ /usr/resin/ \ -conf \ /usr/resin/conf/resin.xml \ -socketwait \ 57581 \ -verbose TERM: linux DYLD_LIBRARY_PATH: /usr/resin/libexec64 SHLVL: 2 XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt SSH_CLIENT: 192.168.1.51 59565 22 MAIL: /var/spool/mail/jkowall PWD: /usr/resin/bin HOSTNAME: gvahmfg02.gvah.mfgq.com SSH_TTY: /dev/pts/1 LOGNAME: jkowall CVS_RSH: ssh G_BROKEN_FILENAMES: 1 NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat LD_LIBRARY_PATH: /usr/resin/libexec64 /usr/java/jdk1.6.0_11/jre/lib/amd64/server /usr/java/jdk1.6.0_11/jre/lib/amd64 /usr/java/jdk1.6.0_11/jre/../lib/amd64 SSH_CONNECTION: 192.168.1.51 59565 10.10.50.72 22 INPUTRC: /etc/inputrc SHELL: /bin/bash HISTSIZE: 1000 CLASSPATH: /usr/resin//lib/resin.jar /usr/java/jdk1.6.0_11/lib/tools.jar /usr/resin/lib/pro.jar /usr/resin/lib/resin.jar /usr/resin/lib/jsf-12.jar /usr/resin/lib/webutil.jar /usr/resin/lib/activation.jar /usr/resin/lib/javamail-141.jar /usr/resin/lib/javaee-16.jar /usr/resin/lib/jaxstream-15.jar /usr/resin/lib/osgi-14.jar PATH: /usr/resin/win64:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/jkowall/bin USER: jkowall HOME: /root LESSOPEN: |/usr/bin/lesspipe.sh %s LS_COLORS: no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: SSH_ASKPASS: /usr/libexec/openssh/gnome-ssh-askpass LANG: en_US.UTF-8 On Wed, Jan 14, 2009 at 2:05 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 10:58 AM, Emil Ong wrote: On Wed, Jan 14, 2009 at 12:35:04PM -0500, jkowall wrote: Sorry I had some issues getting on the mailinglist. You can see the SO is compiled, but for some reason it cannot be loaded. Any advice? I am on Resin Pro. [r...@x bin]# ./resin.sh start Resin/3.2.1 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [r...@x bin]# ls -la ../libexec/ total 180 drwxr-xr-x 2 root root 4096 Jan 2 19:38 . drwxr-xr-x 20 root root 4096 Jan 6 19:48 .. -rwxr-xr-x 1 root root 170308 Jan 3 00:11 libresin_os.so Hi, You're missing 2 SOs: libresin.so and libresinssl.so. You'll need to recompile and/or check for compilation errors. That's been changed in 3.2.1. The user-name feature only requires libresin_os now. -- Scott Emil Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:e...@caucho.com http://blog.caucho.com/ Caucho: Reliable Open Source -- Resin: application server -- Quercus: PHP in Java -- BAM: lightweight high-speed messaging ___ 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 -- -jk ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Fwd: Issue getting JNI up and running
On Jan 14, 2009, at 11:39 AM, jkowall wrote: Thanks, here is the output from verbose. It looks like the DYLD_LIBRARY_PATH is set, but not correct in LD_LIBRARY_PATH. Should I just change LD_LIBRARY_PATH to include the libexec64 directory? It looks like the ./configure process is compiling for 32 bits (libexec), but you're running in 64-bit mode (libexec64). Try running ./configure --enable-64bit, and check for libexec64/ libresin_os.so -- Scott /usr/java/jdk1.6.0_11/bin/java \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.system.class.loader=com.caucho.loader.SystemClassLoader \ - Djavax .management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl \ -Djava.awt.headless=true \ -Dresin.home=/usr/resin/ \ -d64 \ -Xmx1024m \ -Xss1m \ -Xdebug \ -Dcom.sun.management.jmxremote \ com.caucho.server.resin.Resin \ --root-directory \ /usr/resin/ \ -conf \ /usr/resin/conf/resin.xml \ -socketwait \ 57581 \ -verbose TERM: linux DYLD_LIBRARY_PATH: /usr/resin/libexec64 SHLVL: 2 XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt SSH_CLIENT: 192.168.1.51 59565 22 MAIL: /var/spool/mail/jkowall PWD: /usr/resin/bin HOSTNAME: gvahmfg02.gvah.mfgq.com SSH_TTY: /dev/pts/1 LOGNAME: jkowall CVS_RSH: ssh G_BROKEN_FILENAMES: 1 NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat LD_LIBRARY_PATH: /usr/resin/libexec64 /usr/java/jdk1.6.0_11/jre/lib/amd64/server /usr/java/jdk1.6.0_11/jre/lib/amd64 /usr/java/jdk1.6.0_11/jre/../lib/amd64 SSH_CONNECTION: 192.168.1.51 59565 10.10.50.72 22 INPUTRC: /etc/inputrc SHELL: /bin/bash HISTSIZE: 1000 CLASSPATH: /usr/resin//lib/resin.jar /usr/java/jdk1.6.0_11/lib/tools.jar /usr/resin/lib/pro.jar /usr/resin/lib/resin.jar /usr/resin/lib/jsf-12.jar /usr/resin/lib/webutil.jar /usr/resin/lib/activation.jar /usr/resin/lib/javamail-141.jar /usr/resin/lib/javaee-16.jar /usr/resin/lib/jaxstream-15.jar /usr/resin/lib/osgi-14.jar PATH: /usr/resin/win64:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/ local/bin:/bin:/usr/bin:/home/jkowall/bin USER: jkowall HOME: /root LESSOPEN: |/usr/bin/lesspipe.sh %s LS_COLORS: no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: SSH_ASKPASS: /usr/libexec/openssh/gnome-ssh-askpass LANG: en_US.UTF-8 On Wed, Jan 14, 2009 at 2:05 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 10:58 AM, Emil Ong wrote: On Wed, Jan 14, 2009 at 12:35:04PM -0500, jkowall wrote: Sorry I had some issues getting on the mailinglist. You can see the SO is compiled, but for some reason it cannot be loaded. Any advice? I am on Resin Pro. [r...@x bin]# ./resin.sh start Resin/3.2.1 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [r...@x bin]# ls -la ../libexec/ total 180 drwxr-xr-x 2 root root 4096 Jan 2 19:38 . drwxr-xr-x 20 root root 4096 Jan 6 19:48 .. -rwxr-xr-x 1 root root 170308 Jan 3 00:11 libresin_os.so Hi, You're missing 2 SOs: libresin.so and libresinssl.so. You'll need to recompile and/or check for compilation errors. That's been changed in 3.2.1. The user-name feature only requires libresin_os now. -- Scott Emil Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:e...@caucho.com http://blog.caucho.com/ Caucho: Reliable Open Source -- Resin: application server -- Quercus: PHP in Java -- BAM: lightweight high-speed messaging ___ 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 -- -jk ___ 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] Fwd: Issue getting JNI up and running
Thanks Scott, its been a while since we spoke. I used to post here many years ago :) The compile worked fine, but I got this error when I try to fire up resin. [r...@gvahmfg02 bin]# ./resin.sh # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x2aab0e81fba0, pid=4104, tid=1093785920 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64) # Problematic frame: # C [libresin_os.so+0x7ba0] # # An error report file with more information is saved as: # /usr/resin/bin/hs_err_pid4104.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Aborted On Wed, Jan 14, 2009 at 4:46 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 11:39 AM, jkowall wrote: Thanks, here is the output from verbose. It looks like the DYLD_LIBRARY_PATH is set, but not correct in LD_LIBRARY_PATH. Should I just change LD_LIBRARY_PATH to include the libexec64 directory? It looks like the ./configure process is compiling for 32 bits (libexec), but you're running in 64-bit mode (libexec64). Try running ./configure --enable-64bit, and check for libexec64/libresin_os.so -- Scott /usr/java/jdk1.6.0_11/bin/java \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.system.class.loader=com.caucho.loader.SystemClassLoader \ -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl \ -Djava.awt.headless=true \ -Dresin.home=/usr/resin/ \ -d64 \ -Xmx1024m \ -Xss1m \ -Xdebug \ -Dcom.sun.management.jmxremote \ com.caucho.server.resin.Resin \ --root-directory \ /usr/resin/ \ -conf \ /usr/resin/conf/resin.xml \ -socketwait \ 57581 \ -verbose TERM: linux DYLD_LIBRARY_PATH: /usr/resin/libexec64 SHLVL: 2 XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt SSH_CLIENT: 192.168.1.51 59565 22 MAIL: /var/spool/mail/jkowall PWD: /usr/resin/bin HOSTNAME: gvahmfg02.gvah.mfgq.com SSH_TTY: /dev/pts/1 LOGNAME: jkowall CVS_RSH: ssh G_BROKEN_FILENAMES: 1 NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat LD_LIBRARY_PATH: /usr/resin/libexec64 /usr/java/jdk1.6.0_11/jre/lib/amd64/server /usr/java/jdk1.6.0_11/jre/lib/amd64 /usr/java/jdk1.6.0_11/jre/../lib/amd64 SSH_CONNECTION: 192.168.1.51 59565 10.10.50.72 22 INPUTRC: /etc/inputrc SHELL: /bin/bash HISTSIZE: 1000 CLASSPATH: /usr/resin//lib/resin.jar /usr/java/jdk1.6.0_11/lib/tools.jar /usr/resin/lib/pro.jar /usr/resin/lib/resin.jar /usr/resin/lib/jsf-12.jar /usr/resin/lib/webutil.jar /usr/resin/lib/activation.jar /usr/resin/lib/javamail-141.jar /usr/resin/lib/javaee-16.jar /usr/resin/lib/jaxstream-15.jar /usr/resin/lib/osgi-14.jar PATH: /usr/resin/win64:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/jkowall/bin USER: jkowall HOME: /root LESSOPEN: |/usr/bin/lesspipe.sh %s LS_COLORS: no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: SSH_ASKPASS: /usr/libexec/openssh/gnome-ssh-askpass LANG: en_US.UTF-8 On Wed, Jan 14, 2009 at 2:05 PM, Scott Ferguson f...@caucho.com wrote: On Jan 14, 2009, at 10:58 AM, Emil Ong wrote: On Wed, Jan 14, 2009 at 12:35:04PM -0500, jkowall wrote: Sorry I had some issues getting on the mailinglist. You can see the SO is compiled, but for some reason it cannot be loaded. Any advice? I am on Resin Pro. [r...@x bin]# ./resin.sh start Resin/3.2.1 can't start -server '' for watchdog at 127.0.0.1:6600. com.caucho.config.ConfigException: user-name requires compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin_os.so. [r...@x bin]# ls -la ../libexec/ total 180 drwxr-xr-x 2 root root 4096 Jan 2 19:38 . drwxr-xr-x 20 root root 4096 Jan 6 19:48 .. -rwxr-xr-x 1 root root 170308 Jan 3 00:11 libresin_os.so Hi, You're missing 2 SOs: libresin.so and libresinssl.so. You'll need to recompile and/or check for compilation errors. That's been changed in 3.2.1. The user-name feature only requires libresin_os now. -- Scott Emil Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:e...@caucho.com http://blog.caucho.com/ Caucho: Reliable Open Source -- Resin: application server -- Quercus: PHP in Java -- BAM: