Build Apache Cocoon 2.1.12 on OBSD 5.3/i386
Good day, On a recent project, I was trying to build Apache Cocoon 2.1.12 from source. I have already successfully installed JRE and JDK 1.7 and already ran Tomcat 7.x on it, with the objective of building and running Apache Cocoon on it, currently without success. The message I get is as follows: Compiling 605 source files to /home/cocoon-2.1.12/build/cocoon/classes /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:39: error: package com.sun.image.codec.jpeg does not exist import com.sun.image.codec.jpeg.ImageFormatException; ^ /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:40: error: package com.sun.image.codec.jpeg does not exist import com.sun.image.codec.jpeg.JPEGCodec; ^ /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:41: error: package com.sun.image.codec.jpeg does not exist import com.sun.image.codec.jpeg.JPEGEncodeParam; ^ /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:42: error: package com.sun.image.codec.jpeg does not exist import com.sun.image.codec.jpeg.JPEGImageEncoder; ^ /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:326: error: cannot find symbol JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); ^ symbol: class JPEGImageEncoder location: class ImageReader /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:326: error: cannot find symbol JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out); ^ symbol: variable JPEGCodec location: class ImageReader /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:327: error: cannot find symbol JPEGEncodeParam p = encoder.getDefaultJPEGEncodeParam(currentImage); ^ symbol: class JPEGEncodeParam location: class ImageReader /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:333: error: cannot find symbol JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(bstream); ^ symbol: class JPEGImageEncoder location: class ImageReader /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:333: error: cannot find symbol JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(bstream); ^ symbol: variable JPEGCodec location: class ImageReader /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:334: error: cannot find symbol JPEGEncodeParam p = encoder.getDefaultJPEGEncodeParam(currentImage); ^ symbol: class JPEGEncodeParam location: class ImageReader /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:342: error: cannot find symbol } catch (ImageFormatException e) { ^ symbol: class ImageFormatException location: class ImageReader 11 errors BUILD FAILED /home/cocoon-2.1.12/tools/targets/compile-build.xml:68: The following error occurred while executing this line: /home/cocoon-2.1.12/tools/targets/compile-build.xml:51: Compile failed; see the compiler error output for details. Total time: 3 seconds The packages installed are: apache-ant-1.8.2p3 build tool for java applications gettext-0.18.2p1GNU gettext javaPathHelper-0.3p1 helper script for launching java applications jdk-1.7.0.11p2v0Java2(TM) SE Dev Kit v1.7.0.11 joe-3.7p1 Joe's Own Editor jre-1.7.0.11p2v0Java2(TM) SE Runtime Environment v1.7.0.11 libiconv-1.14p0 character set conversion library libidn-1.26 internationalized string handling maven-3.0.4 software project management and comprehension tool pcre-8.31 perl-compatible regular expression library tomcat-7.0.35 Java servlet 2.5 and Java server pages 2.1 server tomcat-examples-7.0.35 example applications and full documentation wget-1.14 retrieve files from the web via HTTP, HTTPS and FTP Am I missing something or do I have to install more packages? Maybe you can point me to the right direction. Thanks.
Re: Build Apache Cocoon 2.1.12 on OBSD 5.3/i386
On Fri, Jun 21, 2013 at 8:04 AM, Tito Mari Francis Escaño titomarifran...@gmail.com wrote: Good day, On a recent project, I was trying to build Apache Cocoon 2.1.12 from source. I have already successfully installed JRE and JDK 1.7 and already ran Tomcat 7.x on it, with the objective of building and running Apache Cocoon on it, currently without success. The message I get is as follows: Compiling 605 source files to /home/cocoon-2.1.12/build/cocoon/classes /home/cocoon-2.1.12/src/java/org/apache/cocoon/reading/ImageReader.java:39: error: package com.sun.image.codec.jpeg does not exist import com.sun.image.codec.jpeg.ImageFormatException; ^ http://stackoverflow.com/questions/1906673/import-com-sun-image-codec-jpeg http://stackoverflow.com/questions/4065401/using-internal-sun-classes-with-javac/4070685#4070685
Re: intermittent network failures with openbsd 5.3
On 2013-06-12, Jason Wong wong.jaso...@yahoo.com wrote: You're right, that is the cause. I don't understand why - never had this issue before. The existing pf configuration worked great with earlier 5.x versions of OpenBSD with similar internet traffic loads. I'll go through the pf.conf file and see what needs to be adjusted. Have you looked at the state table to see what the entries are? It might give a clue about what's happening. pfctl -ss
panic on KVM
Hi, The last few months I've getting a lot of panics on machines running on top of KVM. The panics are random and in different machines. I'm sending some information incase someone has an idea. This machines does routing, ospf and gre over ipsec. It has mpbios disabled. regards, Giannis panic: pmap_remove_ptes: unmanaged page marked PG_PVLIST, va = 0x3c004000, pa = 0xeabc1000 Stopped at Debugger+0x4: popl%ebp ddb Debugger(d095cf98,f53d9e38,d09604a0,f53d9e38,d1abb890) at Debugger+0x4 panic(d09604a0,3c004000,eabc1000,d0569dfc,0) at panic+0x5d pmap_remove_ptes(d6e1cbd0,d1abb890,ffcf0010,3c004000,3c005000) at pmap_remove_ptes+0x159 pmap_do_remove(d6e1cbd0,3c004000,3c005000,0,d0acf600) at pmap_do_remove+0xeb pmap_remove(d6e1cbd0,3c004000,3c005000,d056a6d9,d62048c0) at pmap_remove+0x27 uvm_unmap_kill_entry(d6e1dd80,d62048c0,f53d9f2c,d043aa77,0) at uvm_unmap_kill_entry+0xf8 uvm_map_teardown(d6e1dd80,1,4,d093802e,d6c352d4) at uvm_map_teardown+0xac uvmspace_free(d6e1dd80,1,1,f53d9f6c,d02030dd) at uvmspace_free+0x2e uvm_exit(d6c36d18,d0a46088,4,d093802e,0) at uvm_exit+0x15 reaper(d6e16004) at reaper+0x8a Bad frame pointer: 0xd0c34e68 OpenBSD 5.3-current (GENERIC) #116: Tue Apr 9 22:17:14 MDT 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium II (GenuineIntel 686-class) 2.93 GHz cpu0: FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,PGE,CMOV,MMX,FXSR,SSE,SSE2,SSE3,POPCNT,PERF real mem = 1073258496 (1023MB) avail mem = 1044303872 (995MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xff046, SMBIOS rev. 2.4 @ 0x3ec0 (10 entries) bios0: vendor Seabios version 0.5.1 date 01/01/2007 bios0: Red Hat KVM acpi0 at bios0: rev 0 acpi0: sleep states S5 acpi0: tables DSDT FACP SSDT APIC acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 mpbios0 at bios0: Intel MP Specification 1.4 cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 1000MHz mpbios0: bus 0 is type PCI mpbios0: bus 1 is type ISA ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 bios0: ROM list: 0xc/0x8c00 0xc9000/0x800 0xc9800/0x800 0xca000/0x2200 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02 pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00 pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: QEMU, QEMU DVD-ROM, 0.12 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 0 uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 1 int 11 piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x03: apic 1 int 9 iic0 at piixpm0 iic0: addr 0x19 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x1b 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x1c 0f=00 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x1d 0f=00 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x1e 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x1f 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x29 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x2b 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x4c 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 00= 01= 02= 03= 04= 05= 06= 07= iic0: addr 0x4e 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 00= 01= 02= 03= 04= 05= 06= 07= vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) em0 at pci0 dev 3 function 0 Intel PRO/1000MT (82540EM) rev 0x03: apic 1 int 11, address 52:54:00:25:e7:a8 em1 at pci0 dev 4 function 0 Intel PRO/1000MT (82540EM) rev 0x03: apic 1 int 11, address 52:54:00:62:d4:cc virtio0 at pci0 dev 5 function 0 Qumranet Virtio Memory rev 0x00: Virtio Memory Balloon Device viomb0 at virtio0 virtio0: apic 1 int 10 virtio1 at pci0 dev 6 function 0 Qumranet Virtio Storage rev 0x00: Virtio Block Device vioblk0 at virtio1 scsibus1 at vioblk0: 2
time stops under VMWare VM
Hi all, I have had this issue that time stops under my 5.3 AMD64 VM running on top of VMware ESXi 5. The VM gets in this strange behaviour that time just stops: $ date Fri Jun 21 18:19:55 WEST 2013 $ sudo date 198506131627 Thu Jun 13 16:27:00 WEST 1985 after a few minutes $ date Thu Jun 13 16:27:00 WEST 1985 Also I get the dmesg full of these messages: vmware: sending length failed, eax=, ecx= vmt0: failed to send TCLO outgoing ping Another behaviour is that if I make a new tmux server, I can't type inside it, like there is no feedback. I've noticed this happens after I hit swap, output from top: Memory: Real: 68M/336M act/tot Free: 646M Cache: 193M Swap: 21M/2050M The only way I've found to resolve is to reboot the machine. Any ideas? OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1072627712 (1022MB) avail mem = 1021636608 (974MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (268 entries) bios0: vendor Phoenix Technologies LTD version 6.00 date 01/07/2011 bios0: VMware, Inc. VMware Virtual Platform acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P1(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P2(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P3(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0! (S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) PE40(S3) S1F0(S3) PE50(S3) S1F0(S3) PE60(S3) S1F0(S3) PE70(S3) S1F0(S3) PE80(S3) S1F0(S3) PE90(S3) S1F0(S3) PEA0(S3) S1F0(S3) PEB0(S3) S1F0(S3) PEC0(S3) S1F0(S3) PED0(S3) S1F0(S3) PEE0(S3) S1F0(S3) PE41(S3) S1F0(S3) PE42(S3) S1F0(S3) PE43(S3) S1F0(S3) PE44(S3) S1F0(S3) PE45(S3) S1F0(S3) PE46(S3) S1F0(S3) PE47(S3) S1F0(S3) PE51(S3) S1F0(S3) PE52(S3) S1F0(S3) PE53(S3) S1F0(S3) PE54(S3) S1F0(S3) PE55(S3) S1F0(S3) PE56(S3) S1F0(S3) PE57(S3) S1F0(S3) PE61(S3) S1F0(S3) PE62(S3) S1F0(S3) PE63(S3) S1F0(S3) PE64(S3) S1F0(S3) PE65(S3) S1F0(S3) PE66(S3) S1F0(S3) PE67(S3) S1F0(S3) PE71(S3) S1F0(S3) PE72(S3) S1F0(S3) PE73(S3) S1F0(S3) PE74(S3) S1F0(S3) PE75(S3) S1F0(S3) PE76(S3) S1F0(S3) PE77(S3) S1F0(S3) PE81(S3) S1F0(S3) PE82(S3) S1F0(S3) PE83(S3) S1! F0(S3) PE84(S3) S1F0(S3) PE85(S3) S1F0(S3) PE86(S3) S1F0(S3) PE87(S3) S1F0(S3) PE91(S3) S1F0(S3) PE92(S3) S1F0(S3) PE93(S3) S1F0(S3) PE94(S3) S1F0(S3) PE95(S3) S1F0(S3) PE96(S3) S1F0(S3) PE97(S3) S1F0(S3) PEA1(S3) S1F0(S3) PEA2(S3) S1F0(S3) PEA3(S3) S1F0(S3) PEA4(S3) S1F0(S3) PEA5(S3) S1F0(S3) PEA6(S3) S1F0(S3) PEA7(S3) S1F0(S3) PEB1(S3) S1F0(S3) PEB2(S3) S1F0(S3) PEB3(S3) S1F0(S3) PEB4(S3) S1F0(S3) PEB5(S3) S1F0(S3) PEB6(S3) S1F0(S3) PEB7(S3) S1F0(S3) SLPB(S4) LID_(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.45 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 65MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2227.87 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC cpu1: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibat0 at acpi0: BAT1 not present acpibat1 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ vmt0 at mainbus0 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01 ppb0 at pci0
Re: time stops under VMWare VM
Rodolfo Gouveia wrote: I have had this issue that time stops under my 5.3 AMD64 VM running on top of VMware ESXi 5. I had similar issues some time ago. After running into this two or three times I found some hints on the FreeBSD forums, where several people were looking for answers to the same behaviour: http://forums.freebsd.org/showthread.php?t=31929 I ended up adjusting the kern.timecounter.choice sysctl, which worked for me. There's now also a ESXi patch available from VMware. See KB2021185. Regards André
802.11n support
I have an Atheros AR9227, there is at the moment no support for 802.11n in the patch branch. Is there support in current or some unoffical patch I can apply to the source code? Support for this would be good. -- www.johntate.org
Re: time stops under VMWare VM
I've run into this issue as well in past versions. Set this in /etc/sysctl.conf kern.timecounter.hardware=acpitimer0 On Fri, Jun 21, 2013 at 3:25 PM, André Stöbe andresto...@gmail.com wrote: Rodolfo Gouveia wrote: I have had this issue that time stops under my 5.3 AMD64 VM running on top of VMware ESXi 5. I had similar issues some time ago. After running into this two or three times I found some hints on the FreeBSD forums, where several people were looking for answers to the same behaviour: http://forums.freebsd.org/showthread.php?t=31929 I ended up adjusting the kern.timecounter.choice sysctl, which worked for me. There's now also a ESXi patch available from VMware. See KB2021185. Regards André
Re: 802.11n support
On Sat, Jun 22, 2013 at 10:21:10AM +1000, John Tate wrote: I have an Atheros AR9227, there is at the moment no support for 802.11n in the patch branch. Is there support in current or some unoffical patch I can apply to the source code? Support for this would be good. -- www.johntate.org No support in -current or any unoffical patch I know of. Ken
Re: IPv6, automatic configuration and nameservers
On 13/06/13 7:53 AM, Gregor Best wrote: Hi list, recently, I've been playing around a bit with IPv6, and IPv6-only networks. While doing that, I have not found an automated way to add nameservers announced via router advertisements. dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have FreeBSD's -R option for adding recursive nameservers (and porting that without also porting resolvconf seems to be less than trivial). Is there a canonical solution with only the things in base or should I just use something from ports? And what's the port people use for that? As you have already noticed our rtsold does not have support for RFC 6106 (yet). The only option you have at the moment is using a DHCPv6 client such as net/isc-dhcp. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.