|
News,
Internal,
Projects,
Home Software, Support, Documentation |
Fri, Apr 02, 2004 at 01:48:09PM +0900
"[Amakusa Shiro Tokisada™ ☆ ご,.ごメ]" <amakusa@xxxxxxxxxx> wrote:
> 안녕하세요. 읽어주셔서 감사합니다.
>
> 몇가지 막히는 부분이 있어서 조언을 부탁하고자 메일을 보내게 되었습니다.
>
> 시스템 버전입니다.
> # uname -a
> FreeBSD natd.test.co.kr 4.9-STABLE FreeBSD 4.9-STABLE #1: Tue Mar 30 09:59:44 KST 2004 root@xxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/AMAKUSA i386
>
>
> /usr/ports/www/apache2 에서 WITH_APACHE_PERF_TUNING=YES 옵션을 주고 설치하고
>
> /usr/ports/www/resin3 에서 Makefile 의 WITH_APACHE2?= YES 로 수정하고 설치 했습니다.
>
> 아파치를 실행하고 resin 을 구동시키면 /usr/local/resin3/log/jvm.log 에 다음과 같이 남아 있습니다.
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError: com/caucho/server/resin/Resin (Unsupported major.minor version 48
> .0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>
>
> tail -f /usr/local/resin3/log/jvm.log 을 해 놓고 실행해 보았습니다.
> #resin3ctl start => Resin start at Fri Apr 2 13:31:35 KST 2004
>
> Unrecognized option: -socketwait
> Could not create the Java virtual machine.
>
> # /usr/local/etc/rc.d/resin3.sh start
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError: com/caucho/server/resin/Resin (Unsupported major.minor version 48.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>
>
> 패스는 정상적으로 인식합니다.
>
> # echo $RESIN_HOME
> /usr/local/resin3
>
> # echo $JAVA_HOME
> /usr/local/jdk1.3.1
>
> # java -version
> java version "1.3.1-p9"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p9-root-040402-11:07)
> Classic VM (build 1.3.1-p9-root-040402-11:07, green threads, nojit)
>
> # javac
> Usage: javac <options> <source files>
> where possible options include:
> -g Generate all debugging info
> -g:none Generate no debugging info
> -g:{lines,vars,source} Generate only some debugging info
> -O Optimize; may hinder debugging or enlarge class file
> -nowarn Generate no warnings
> -verbose Output messages about what the compiler is doing
> -deprecation Output source locations where deprecated APIs are used
> -classpath <path> Specify where to find user class files
> -sourcepath <path> Specify where to find input source files
> -bootclasspath <path> Override location of bootstrap class files
> -extdirs <dirs> Override location of installed extensions
> -d <directory> Specify where to place generated class files
> -encoding <encoding> Specify character encoding used by source files
> -target <release> Generate class files for specific VM version
>
>
> /usr/local/etc/apache2/httpd.conf 에도 모듈이 추가되어 있습니다.
> LoadModule caucho_module libexec/apache2/mod_caucho.so
>
> 설치되어 있는 패키지 입니다.
> # pkg_version -v
> XFree86-libraries-4.3.0_6 = up-to-date with port
> apache-2.0.49 = up-to-date with port
> autoconf-2.13.000227_5 = up-to-date with port
> autoconf-2.53_1 = up-to-date with port
> automake-1.4.5_9 = up-to-date with port
> bison-1.75_2 = up-to-date with port
> cclient-2002d,1 = up-to-date with port
> cvsup-16.1h = up-to-date with port
> cyrus-sasl-2.1.18 = up-to-date with port
> cyrus-sasl-saslauthd-2.1.18 = up-to-date with port
> db4-4.0.14_1,1 = up-to-date with port
> db41-4.1.25_1 = up-to-date with port
> expat-1.95.7 = up-to-date with port
> fontconfig-2.2.2,1 = up-to-date with port
> freetype2-2.1.7_2 = up-to-date with port
> gettext-0.13.1_1 = up-to-date with port
> glib-1.2.10_10 = up-to-date with port
> gmake-3.80_2 = up-to-date with port
> gtk-1.2.10_11 = up-to-date with port
> help2man-1.33.1 = up-to-date with port
> imake-4.3.0_2 = up-to-date with port
> ipfw-graph-1.4_1 = up-to-date with port
> isc-dhcp3-server-3.0.1.r12_2 = up-to-date with port
> javavmwrapper-1.4 = up-to-date with port
> jdk-1.3.1p9_4 = up-to-date with port
> libiconv-1.9.1_3 = up-to-date with port
> libtool-1.3.5_2 = up-to-date with port
> libtool-1.4.3_3 = up-to-date with port
> linux_base-7.1_7 = up-to-date with port
> lynx-2.8.5 = up-to-date with port
> m4-1.4_1 = up-to-date with port
> muse-0.2 = up-to-date with port
> mysql-server-4.0.18_1 = up-to-date with port
> ncftp1-1.9.5 = up-to-date with port
> nspr-4.4.1_1 = up-to-date with port
> open-motif-2.2.2_2 = up-to-date with port
> openssl-0.9.7d = up-to-date with port
> p5-gettext-1.01_4 = up-to-date with port
> pcre-4.5 = up-to-date with port
> php4-4.3.5_7 = up-to-date with port
> pkgconfig-0.15.0_1 = up-to-date with port
> popt-1.6.4_2 = up-to-date with port
> portupgrade-20040325_1 = up-to-date with port
> postfix-2.0.19,1 = up-to-date with port
> rc_subr-1.16 = up-to-date with port
> resin-3.0.7 = up-to-date with port
> rpm-3.0.6_9 = up-to-date with port
> ruby-1.6.8.2003.10.15_1 = up-to-date with port
> ruby-1.8.1_2 = up-to-date with port
> ruby16-shim-ruby18-1.8.1.p3 = up-to-date with port
> ruby18-bdb1-0.2.2 = up-to-date with port
> squid-2.4_12 = up-to-date with port
> ucd-snmp-4.2.6_3 = up-to-date with port
> unzip-5.50_2 = up-to-date with port
> urwfonts-1.0 = up-to-date with port
> wget-1.8.2_6 = up-to-date with port
> x86info-1.12b = up-to-date with port
> zip-2.3_1 = up-to-date with port
>
> /etc/make.conf 입니다.
> CPUTYPE=i686
> CFLAGS= -O -pipe
> COPTFLAGS= -O -Wall
> INSTALL=install -C
> NOGAMES= true
> BOOTWAIT=3
> USA_RESIDENT= NO
> SUP_UPDATE= yes
> SUP= /usr/local/bin/cvsup
> SUPFLAGS= -g -L 2
> SUPHOST= cvsup.kr.FreeBSD.org
> SUPFILE= /home/stable-supfile
> PORTSSUPFILE= /home/ports-supfile
> KERNCONF=AMAKUSA
>
> # dmesg -a
> Copyright (c) 1992-2003 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> The Regents of the University of California. All rights reserved.
> FreeBSD 4.9-STABLE #1: Tue Mar 30 09:59:44 KST 2004
> root@xxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/AMAKUSA
> Timecounter "i8254" frequency 1193182 Hz
> CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU)
> Origin = "GenuineIntel" Id = 0xf25 Stepping = 5
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> real memory = 2147418112 (2097088K bytes)
> config> di ppc0
> config> q
> avail memory = 2086322176 (2037424K bytes)
> Programming 16 pins in IOAPIC #0
> Programming 16 pins in IOAPIC #1
> Programming 16 pins in IOAPIC #2
> FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
> cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000
> cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000
> io0 (APIC): apic id: 8, version: 0x000f0011, at 0xfec00000
> io1 (APIC): apic id: 9, version: 0x000f0011, at 0xfec01000
> io2 (APIC): apic id: 10, version: 0x000f0011, at 0xfec02000
> Preloaded elf kernel "kernel" at 0xc0532000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc053209c.
> Warning: Pentium 4 CPU: PSE disabled
> Pentium Pro MTRR support enabled
> md0: Malloc disk
> Using $PIR table, 8 entries at 0xc00f4450
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
> pci0: <PCI bus> on pcib0
> pci0: <ATI Mach64-GR graphics accelerator> at 8.0
> isab0: <PCI to ISA bridge (vendor=1166 device=0203)> at device 15.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <ServerWorks CSB6 ATA100 controller (channel 0+1)> port 0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> ohci0: <OHCI (generic) USB controller> mem 0xfe7fe000-0xfe7fefff irq 10 at device 15.2 on pci0
> usb0: OHCI version 1.0, legacy support
> usb0: <OHCI (generic) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 4 ports with 4 removable, self powered
> pcib1: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
> IOAPIC #1 intpin 4 -> irq 2
> IOAPIC #1 intpin 7 -> irq 16
> IOAPIC #1 intpin 6 -> irq 17
> pci1: <PCI bus> on pcib1
> mpt0: <LSILogic 1030 Ultra4 Adapter> port 0xd800-0xd8ff mem 0xfeae0000-0xfeaeffff,0xfeaf0000-0xfeafffff irq 2 at device 4.0 on pci1
> em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0xd400-0xd43f mem 0xfeac0000-0xfeadffff irq 16 at device 5.0 on pci1
> em0: Speed:N/A Duplex:N/A
> em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0xd000-0xd03f mem 0xfeaa0000-0xfeabffff irq 17 at device 6.0 on pci1
> em1: Speed:N/A Duplex:N/A
> pcib2: <Host to PCI bridge> on motherboard
> pci2: <PCI bus> on pcib2
> pcib3: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
> pci3: <PCI bus> on pcib3
> pcib4: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
> pci4: <PCI bus> on pcib4
> orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff,0xcd800-0xcefff on isa0
> pmtimer0 on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
> DUMMYNET initialized (011031)
> IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, unlimited logging
> BRIDGE 020214 loaded
> SMP: AP CPU #1 Launched!
> acd0: CDROM <CD-224E> at ata0-slave PIO4
> Waiting 5 seconds for SCSI devices to settle
> pass3 at mpt0 bus 0 target 8 lun 0
> pass3: <SDR GEM318 0> Fixed Processor SCSI-2 device
> pass3: 3.300MB/s transfers
> da0 at mpt0 bus 0 target 0 lun 0
> da0: <MAXTOR ATLAS10K4_36SCA DFV0> Fixed Direct Access SCSI-3 device
> da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
> da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
> da2 at mpt0 bus 0 target 2 lun 0
> da2: <MAXTOR ATLAS10K4_36SCA DFV0> Fixed Direct Access SCSI-3 device
> da2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
> da2: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
> da1 at mpt0 bus 0 target 1 lun 0
> da1: <MAXTOR ATLAS10K4_36SCA DFV0> Fixed Direct Access SCSI-3 device
> da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
> da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
> Mounting root from ufs:/dev/da0s1a
> swapon: adding /dev/da2s1b as swap device
> Automatic boot in progress...
> /dev/da0s1a:
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/da0s1a:
> clean, 5117739 free
> (1195 frags, 639568 blocks, 0.0% fragmentation)
> /dev/da2s1e:
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/da2s1e:
> clean, 4087459 free
> (339 frags, 510890 blocks, 0.0% fragmentation)
> /dev/da0s1e:
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/da0s1e:
> clean, 12515468 free
> (28 frags, 1564430 blocks, 0.0% fragmentation)
> /dev/da1s1f:
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/da1s1f:
> clean, 256910 free
> (22 frags, 32111 blocks, 0.0% fragmentation)
> /dev/da2s1f:
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/da2s1f:
> clean, 11482641 free
> (41 frags, 1435325 blocks, 0.0% fragmentation)
> /dev/da1s1e:
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/da1s1e:
> clean, 4290425 free
> (51033 frags, 529924 blocks, 1.0% fragmentation)
> /dev/da1s1h:
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/da1s1h:
> clean, 7057035 free
> (219 frags, 882102 blocks, 0.0% fragmentation)
> /dev/da1s1g:
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/da1s1g:
> clean, 5144412 free
> (28 frags, 643048 blocks, 0.0% fragmentation)
> net.link.ether.inet.log_arp_wrong_iface:
> 1
> ->
> 0
>
> net.link.ether.bridge:
> 0
> ->
> 1
>
> net.link.ether.bridge_ipfw:
> 0
> ->
> 1
>
> net.link.ether.bridge_cfg:
> ->
> em0:0,em1:0
>
> Doing initial network setup:
> hostname
> .
> em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> options=3<RXCSUM,TXCSUM>
> inet 211.236.164.186 netmask 0xffffffc0 broadcast 211.236.164.191
> ether 00:c0:9f:27:bb:a3
> media: Ethernet autoselect
> status: no carrier
> em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> options=3<RXCSUM,TXCSUM>
> inet 192.168.0.19 netmask 0xffffff00 broadcast 192.168.0.255
> ether 00:c0:9f:27:bb:a4
> media: Ethernet autoselect
> status: no carrier
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> inet 127.0.0.1 netmask 0xff000000
> Flushed all rules.
> 00050
> divert 8668
> ip
> from
> any
> to
> any
> via em0
>
> 00100
> allow
> ip
> from
> any
> to
> any
> via lo0
>
> 00200
> deny
> ip
> from
> any
> to
> 127.0.0.0
> /8
>
> 00300
> deny
> ip
> from
> 127.0.0.0
> /8
> to
> any
>
> 65000
> allow
> ip
> from
> any
> to
> any
>
> Firewall rules loaded, starting divert daemons:
> natd
> Mar 30 10:17:31 natd[83]: Aliasing to 211.236.164.186, mtu 1500 bytes
> .
> add net default: gateway 211.236.164.129
> Additional routing options:
> tcp extensions=NO
> IP gateway=YES
> TCP keepalive=YES
> .
> Routing daemons:
> .
> Additional daemons:
> syslogd
> em0: Link is up 100 Mbps Full Duplex
> em1: Link is up 100 Mbps Full Duplex
> .
> Doing additional network setup:
> ntpdate
> .
> Starting final network daemons:
> .
> Turning on accounting:
> ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
> a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
> Starting standard daemons:
> inetd
> cron
> sshd
> .
> Recovering vi editor sessions:
> .
> Initial rc.i386 initialization:
> .
> Configuring syscons:
> blanktime
> .
> Additional ABI support:
> linux
>
> 뭐가 문제인지 잘 모르겠습니다.
>
> 되도록이면 ports 를 사용해서 설치하고 싶은데... 마음대로 안되네요 ^^;;
>
> 나중에 소스로 설치해야 할지도 모르겠습니다... 도움을 부탁드립니다~
안녕하세요,
제 글이 비록 도움이 못 되더라도,, 이해해주세요,,
예전에 FreeBSD 4.3-RELEASE 에다,, resin 을 설치해본 적이 있어요,,
최근엔,, tomcat 을 깔아서 사용중이구요,,
둘다.. 공통점이.. jdk 가 불안하면,, 에러가 많이 발생하더군요..
resin 이던, tomcat 이던..
jdk 를 우선 탄탄하게,, 설치해주는것이 지금뿐만 아니라..
미래에도 도움이 될 거 같아요..
잘 해결 되길 바랍니다..
_______________________________________________
한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트
questions at kr.FreeBSD.org
http://www.kr.FreeBSD.org/mailman/listinfo/questions
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2004/04/03 11:22:13 $ |
|