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=0x00002aab0e81fba0, 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: 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
>
>


-- 

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

Reply via email to