From owner-freebsd-java@FreeBSD.ORG Sun Mar 4 00:24:46 2007 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA0AA16A408 for ; Sun, 4 Mar 2007 00:24:46 +0000 (UTC) (envelope-from zul@viii.ntu-kpi.kiev.ua) Received: from relay-hostels.ntu-kpi.kiev.ua (relay-hostels.ntu-kpi.kiev.ua [195.245.194.39]) by mx1.freebsd.org (Postfix) with ESMTP id C1C4C13C4A7 for ; Sun, 4 Mar 2007 00:24:45 +0000 (UTC) (envelope-from zul@viii.ntu-kpi.kiev.ua) Received: from relay-hostels.ntu-kpi.kiev.ua (localhost [127.0.0.1]) by relay-hostels.ntu-kpi.kiev.ua (Postfix) with ESMTP id 200384411FA for ; Sun, 4 Mar 2007 02:01:56 +0200 (EET) Received: from viii.ntu-kpi.kiev.ua (unknown [10.100.0.81]) by relay-hostels.ntu-kpi.kiev.ua (Postfix) with ESMTP id EA8DB441116 for ; Sun, 4 Mar 2007 02:01:55 +0200 (EET) Received: from [10.108.5.111] (x.viii.ntu-kpi.kiev.ua [10.108.5.111]) by viii.ntu-kpi.kiev.ua (8.13.8/8.13.4) with ESMTP id l2401dWm020130 for ; Sun, 4 Mar 2007 02:01:39 +0200 (EET) (envelope-from zul@viii.ntu-kpi.kiev.ua) Message-ID: <45EA0C65.1000403@viii.ntu-kpi.kiev.ua> Date: Sun, 04 Mar 2007 02:01:41 +0200 From: Segrey Druzkin User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-102.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_05, USER_IN_WHITELIST autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on viii.ntu-kpi.kiev.ua X-Virus-Scanned: ClamAV 0.88.5/2713/Sat Mar 3 17:57:58 2007 on viii.ntu-kpi.kiev.ua X-Virus-Status: Clean X-Virus-Scanned: ClamAV at relay-hostels.ntu-kpi.kiev.ua Cc: Subject: JVM crash report X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 00:24:47 -0000 # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2852f269, pid=1443, tid=0x8e31200 # # Java VM: Java HotSpot(TM) Server VM (1.5.0-p4-root_10_feb_2007_18_36 mixed mode) # Problematic frame: # V [libjvm.so+0x38e269] # --------------- T H R E A D --------------- Current thread (0x08e31000): JavaThread "http-8180-Processor40" daemon [_thread_in_vm, id=149099008] siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x00000000 Registers: EAX=0x00000000, EBX=0x28851f84, ECX=0x28843ec8, EDX=0x2882c5a0 ESP=0xbdc4a158, EBP=0xbdc4a170, ESI=0x08e31000, EDI=0xbdc4a2b4 EIP=0x2852f269, EFLAGS=0x00010202 Top of Stack: (sp=0xbdc4a158) 0xbdc4a158: 00000100 bdc4a2b4 0000004e 08e31000 0xbdc4a168: 0000004e 28851f84 bdc4a1c0 286707ce 0xbdc4a178: bdc4a2b8 bdc4a2b4 0000004e 08e31000 0xbdc4a188: 28851f84 bdc4b254 bdc4a1b0 28774e34 0xbdc4a198: 08e31000 bdc4b254 000bdc4a 000bdc4a 0xbdc4a1a8: bdc4b254 000017b8 bdc4a1f0 28851f84 0xbdc4a1b8: 08e31000 08e31000 bdc4a1f0 28670d1a 0xbdc4a1c8: bdc4a2b4 0000004e bdc4a2b8 08e31000 Instructions: (pc=0x2852f269) 0x2852f259: e0 69 00 00 8b 8b 60 66 00 00 83 c2 08 83 c1 08 0x2852f269: 89 10 8b 93 c4 8c 00 00 83 c2 08 89 08 89 10 83 Stack: [0xbdc0d000,0xbdc4d000), sp=0xbdc4a158, free space=244k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x38e269] V [libjvm.so+0x4cf7ce] V [libjvm.so+0x4cfd1a] V [libjvm.so+0x38f4ee] V [libjvm.so+0x53a99b] V [libjvm.so+0x2d592f] V [libjvm.so+0x5ba082] V [libjvm.so+0x3f00a1] V [libjvm.so+0x3f041b] C [libjava.so+0x10056] Java_java_lang_ClassLoader_defineClass1+0x19e j java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0 j java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+34 j java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+27 j org.apache.catalina.loader.WebappClassLoader.findClassInternal(Ljava/lang/String;)Ljava/lang/Class;+384 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0 j java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+34 j java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+27 j org.apache.catalina.loader.WebappClassLoader.findClassInternal(Ljava/lang/String;)Ljava/lang/Class;+384 v ~C2IAdapter J org.apache.catalina.loader.WebappClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class; v ~I2CAdapter j org.apache.catalina.loader.WebappClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+443 j org.apache.catalina.loader.WebappClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3 j java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2 v ~StubRoutines::call_stub j org.apache.log4j.spi.LoggingEvent.(Ljava/lang/String;Lorg/apache/log4j/Category;Lorg/apache/log4j/Priority;Ljava/lang/Object;Ljava/lang/Throwable;)V+49 j org.apache.log4j.Category.forcedLog(Ljava/lang/String;Lorg/apache/log4j/Priority;Ljava/lang/Object;Ljava/lang/Throwable;)V+11 j org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Priority;Ljava/lang/Object;Ljava/lang/Throwable;)V+34 j org.apache.commons.logging.impl.Log4JLogger.error(Ljava/lang/Object;Ljava/lang/Throwable;)V+12 j org.apache.commons.digester.Digester.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V+410 v ~C2IAdapter J com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Lcom/sun/org/apache/xerces/internal/xni/QName;Lcom/sun/org/apache/xerces/internal/xni/XMLAttributes;Lcom/sun/org/apache/xerces/internal/xni/Augmentations;)V J com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Lcom/sun/org/apache/xerces/internal/xni/QName;Lcom/sun/org/apache/xerces/internal/xni/XMLAttributes;Lcom/sun/org/apache/xerces/internal/xni/Augmentations;)V J com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement()Z J com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z v ~I2CAdapter j com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z+24 j com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Z)Z+118 j com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Lcom/sun/org/apache/xerces/internal/xni/parser/XMLInputSource;)V+29 j com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Lcom/sun/org/apache/xerces/internal/xni/parser/XMLInputSource;)V+9 j com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Lorg/xml/sax/InputSource;)V+43 j org.apache.commons.digester.Digester.parse(Ljava/io/InputStream;)Ljava/lang/Object;+18 j org.apache.struts.tiles.xmlDefinition.XmlParser.parse(Ljava/io/InputStream;Lorg/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet;)V+13 j org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(Ljavax/servlet/ServletContext;Ljava/lang/String;Lorg/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet;)Lorg/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet;+142 j org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(Ljavax/servlet/ServletContext;Ljava/lang/String;Lorg/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet;)Lorg/apache/struts/tiles/xmlDefinition/XmlDefinitionsSet;+49 j org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(Ljavax/servlet/ServletContext;)Lorg/apache/struts/tiles/xmlDefinition/DefinitionsFactory;+5 j org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(Ljavax/servlet/ServletContext;Ljava/lang/String;)V+67 j org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(Ljavax/servlet/ServletContext;Ljava/util/Map;)V+91 j org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(Lorg/apache/struts/tiles/DefinitionsFactoryConfig;Ljavax/servlet/ServletContext;)V+33 j org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(Ljavax/servlet/ServletContext;Lorg/apache/struts/tiles/DefinitionsFactoryConfig;)Lorg/apache/struts/tiles/DefinitionsFactory;+12 j org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(Ljavax/servlet/ServletContext;Lorg/apache/struts/tiles/DefinitionsFactoryConfig;)Lorg/apache/struts/tiles/DefinitionsFactory;+5 j org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(Ljavax/servlet/ServletContext;Lorg/apache/struts/config/ModuleConfig;Lorg/apache/struts/tiles/DefinitionsFactoryConfig;)V+83 j org.apache.struts.tiles.TilesPlugin.init(Lorg/apache/struts/action/ActionServlet;Lorg/apache/struts/config/ModuleConfig;)V+33 j org.apache.struts.action.ActionServlet.initModulePlugIns(Lorg/apache/struts/config/ModuleConfig;)V+156 j org.apache.struts.action.ActionServlet.init()V+51 j javax.servlet.GenericServlet.init(Ljavax/servlet/ServletConfig;)V+6 j org.apache.catalina.core.StandardWrapper.loadServlet()Ljavax/servlet/Servlet;+717 j org.apache.catalina.core.StandardWrapper.load()V+2 j org.apache.catalina.core.StandardContext.loadOnStartup([Lorg/apache/catalina/Container;)V+182 j org.apache.catalina.core.StandardContext.start()V+1230 j org.apache.catalina.core.ContainerBase.addChildInternal(Lorg/apache/catalina/Container;)V+149 j org.apache.catalina.core.ContainerBase.addChild(Lorg/apache/catalina/Container;)V+26 j org.apache.catalina.core.StandardHost.addChild(Lorg/apache/catalina/Container;)V+25 j org.apache.catalina.startup.HostConfig.deployWAR(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)V+482 j org.apache.catalina.startup.HostConfig.deployApps(Ljava/lang/String;)V+151 j org.apache.catalina.startup.HostConfig.check(Ljava/lang/String;)V+26 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 v ~C2IAdapter J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; v ~I2CAdapter j org.apache.commons.modeler.BaseModelMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+429 j com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+35 j com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+41 j com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+64 j com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+13 j org.apache.catalina.manager.ManagerServlet.check(Ljava/lang/String;)V+33 j org.apache.catalina.manager.HTMLManagerServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+409 j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139 j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30 j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+354 j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+670 j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+285 j org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+675 j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64 j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6 j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42 j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+141 j org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+566 j org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113 j org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45 j org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V+102 j org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x08c73200 JavaThread "Timer-184" daemon [_thread_blocked, id=155371520] 0x091fe000 JavaThread "http-8180-Processor75" daemon [_thread_in_native, id=145914368] 0x08e94e00 JavaThread "http-8180-Processor74" daemon [_thread_blocked, id=145915392] 0x08e94c00 JavaThread "http-8180-Processor73" daemon [_thread_blocked, id=152891904] 0x08e94a00 JavaThread "http-8180-Processor72" daemon [_thread_blocked, id=152892928] 0x08e94800 JavaThread "http-8180-Processor71" daemon [_thread_blocked, id=152893952] 0x08e94600 JavaThread "http-8180-Processor70" daemon [_thread_blocked, id=152894976] 0x08e94400 JavaThread "http-8180-Processor69" daemon [_thread_blocked, id=141033472] 0x08e94200 JavaThread "http-8180-Processor68" daemon [_thread_blocked, id=148599296] 0x08e94000 JavaThread "http-8180-Processor67" daemon [_thread_blocked, id=141419520] 0x08f9ee00 JavaThread "http-8180-Processor66" daemon [_thread_blocked, id=143214080] 0x09479c00 JavaThread "http-8180-Processor65" daemon [_thread_blocked, id=147829248] 0x09479a00 JavaThread "http-8180-Processor64" daemon [_thread_blocked, id=150595072] 0x09479000 JavaThread "http-8180-Processor63" daemon [_thread_blocked, id=155685376] 0x0942c600 JavaThread "http-8180-Processor62" daemon [_thread_blocked, id=145913344] 0x0942c200 JavaThread "http-8180-Processor61" daemon [_thread_blocked, id=152906752] 0x091d2a00 JavaThread "http-8180-Processor60" daemon [_thread_blocked, id=137592320] 0x091d2600 JavaThread "http-8180-Processor59" daemon [_thread_blocked, id=152905728] 0x09243e00 JavaThread "http-8180-Processor58" daemon [_thread_blocked, id=152904704] 0x091cfc00 JavaThread "http-8180-Processor57" daemon [_thread_blocked, id=152903680] 0x08b27c00 JavaThread "http-8180-Processor56" daemon [_thread_blocked, id=152804352] 0x08b27400 JavaThread "http-8180-Processor55" daemon [_thread_blocked, id=152801792] 0x090f7c00 JavaThread "http-8180-Processor54" daemon [_thread_blocked, id=152803328] 0x090f7a00 JavaThread "http-8180-Processor53" daemon [_thread_blocked, id=141422080] 0x090f7800 JavaThread "http-8180-Processor52" daemon [_thread_blocked, id=151575040] 0x090f7400 JavaThread "http-8180-Processor51" daemon [_thread_blocked, id=141418496] 0x08337400 JavaThread "File Reaper" daemon [_thread_blocked, id=155686400] 0x08f9e400 JavaThread "Timer-125" daemon [_thread_blocked, id=142679552] 0x08f19800 JavaThread "File Reaper" daemon [_thread_blocked, id=155370496] 0x091b9a00 JavaThread "Timer-72" daemon [_thread_blocked, id=145912320] 0x08337c00 JavaThread "File Reaper" daemon [_thread_blocked, id=140071936] 0x08337800 JavaThread "Timer-19" daemon [_thread_blocked, id=137591296] 0x08fc7800 JavaThread "http-8180-Processor50" daemon [_thread_blocked, id=150764032] 0x08fc7400 JavaThread "http-8180-Processor49" daemon [_thread_blocked, id=150763008] 0x08fc7000 JavaThread "http-8180-Processor48" daemon [_thread_blocked, id=150761984] 0x08f17c00 JavaThread "http-8180-Processor47" daemon [_thread_blocked, id=150044160] 0x08f17800 JavaThread "http-8180-Processor46" daemon [_thread_blocked, id=150043136] 0x08f17400 JavaThread "http-8180-Processor45" daemon [_thread_blocked, id=150042112] 0x08f17000 JavaThread "http-8180-Processor44" daemon [_thread_blocked, id=150041088] 0x08e31c00 JavaThread "http-8180-Processor43" daemon [_thread_blocked, id=149102080] 0x08e31800 JavaThread "http-8180-Processor42" daemon [_thread_blocked, id=149101056] 0x08e31400 JavaThread "http-8180-Processor41" daemon [_thread_blocked, id=149100032] =>0x08e31000 JavaThread "http-8180-Processor40" daemon [_thread_in_vm, id=149099008] 0x08d66c00 JavaThread "http-8180-Processor39" daemon [_thread_blocked, id=148270592] 0x08d66800 JavaThread "http-8180-Processor38" daemon [_thread_blocked, id=148269568] 0x08d66400 JavaThread "http-8180-Processor37" daemon [_thread_blocked, id=148268544] 0x08d66000 JavaThread "http-8180-Processor36" daemon [_thread_blocked, id=148267520] 0x08bb9c00 JavaThread "http-8180-Processor35" daemon [_thread_blocked, id=146513408] 0x08bb9800 JavaThread "http-8180-Processor34" daemon [_thread_blocked, id=146512384] 0x08bb9400 JavaThread "http-8180-Processor33" daemon [_thread_blocked, id=146511360] 0x08bb9000 JavaThread "http-8180-Processor32" daemon [_thread_blocked, id=146510336] 0x08db7e00 JavaThread "http-8180-Processor31" daemon [_thread_blocked, id=150052352] 0x08e64e00 JavaThread "http-8180-Processor30" daemon [_thread_blocked, id=148600320] 0x08e64a00 JavaThread "http-8180-Processor29" daemon [_thread_blocked, id=149310464] 0x08e64600 JavaThread "http-8180-Processor28" daemon [_thread_blocked, id=149309440] 0x08e64400 JavaThread "http-8180-Processor27" daemon [_thread_blocked, id=147578368] 0x08e64000 JavaThread "http-8180-Processor26" daemon [_thread_blocked, id=147606016] 0x08a26a00 JavaThread "File Reaper" daemon [_thread_blocked, id=140072960] 0x08f19200 JavaThread "Timer-16" daemon [_thread_blocked, id=150217216] 0x08db7c00 JavaThread "Timer-13" daemon [_thread_blocked, id=150218240] 0x08b65600 JavaThread "File Reaper" daemon [_thread_blocked, id=147577344] 0x0865e800 JavaThread "Timer-7" daemon [_thread_blocked, id=140070912] 0x08cbd400 JavaThread "File Reaper" daemon [_thread_blocked, id=147576320] 0x08515c00 JavaThread "Timer-1" daemon [_thread_blocked, id=139550208] 0x08796600 JavaThread "TP-Processor28" daemon [_thread_blocked, id=142174208] 0x08796200 JavaThread "TP-Processor27" daemon [_thread_blocked, id=142173184] 0x08794e00 JavaThread "TP-Processor26" daemon [_thread_blocked, id=142172160] 0x08794a00 JavaThread "TP-Processor25" daemon [_thread_in_native, id=142167040] 0x08794200 JavaThread "jforum" daemon [_thread_blocked, id=142164992] 0x08b9c000 JavaThread "File Reaper" daemon [_thread_blocked, id=142163968] 0x08766e00 JavaThread "TP-Processor24" daemon [_thread_in_native, id=146661376] 0x08766a00 JavaThread "TP-Processor23" daemon [_thread_in_native, id=141978624] 0x08766600 JavaThread "TP-Processor22" daemon [_thread_blocked, id=141977600] 0x08766200 JavaThread "TP-Processor21" daemon [_thread_in_native, id=141976576] 0x08892e00 JavaThread "TP-Processor20" daemon [_thread_in_native, id=143716352] 0x08892a00 JavaThread "TP-Processor19" daemon [_thread_in_native, id=143207424] 0x08892600 JavaThread "TP-Processor18" daemon [_thread_in_native, id=143206400] 0x08892200 JavaThread "TP-Processor17" daemon [_thread_in_native, id=143205376] 0x087e8e00 JavaThread "TP-Processor16" daemon [_thread_in_native, id=142581760] 0x087e8a00 JavaThread "TP-Processor15" daemon [_thread_blocked, id=142511104] 0x087e8600 JavaThread "TP-Processor14" daemon [_thread_in_native, id=142510080] 0x08dedc00 JavaThread "TP-Processor13" daemon [_thread_blocked, id=142509056] 0x08b9ca00 JavaThread "TP-Processor12" daemon [_thread_blocked, id=146394112] 0x08b9c600 JavaThread "TP-Processor11" daemon [_thread_in_native, id=146393088] 0x0883e800 JavaThread "TP-Processor10" daemon [_thread_in_native, id=146392064] 0x08804e00 JavaThread "TP-Processor9" daemon [_thread_blocked, id=146391552] 0x08804400 JavaThread "Timer-0" daemon [_thread_blocked, id=142624256] 0x08270c00 JavaThread "TP-Processor8" daemon [_thread_in_native, id=136777216] 0x08270800 JavaThread "TP-Processor7" daemon [_thread_blocked, id=136776192] 0x08270400 JavaThread "TP-Processor6" daemon [_thread_blocked, id=136775168] 0x087c2200 JavaThread "TP-Processor5" daemon [_thread_blocked, id=136774144] 0x08353800 JavaThread "TP-Monitor" daemon [_thread_blocked, id=137705984] 0x08353400 JavaThread "TP-Processor4" daemon [_thread_in_native, id=137704960] 0x08353000 JavaThread "TP-Processor3" daemon [_thread_in_native, id=137703936] 0x0832ec00 JavaThread "TP-Processor2" daemon [_thread_in_native, id=137555456] 0x0832e800 JavaThread "TP-Processor1" daemon [_thread_in_native, id=137554432] 0x08305c00 JavaThread "http-8180-Monitor" [_thread_blocked, id=137387520] 0x08305800 JavaThread "http-8180-Processor25" daemon [_thread_blocked, id=137386496] 0x08305400 JavaThread "http-8180-Processor24" daemon [_thread_blocked, id=137385472] 0x08305000 JavaThread "http-8180-Processor23" daemon [_thread_blocked, id=137384448] 0x082eac00 JavaThread "http-8180-Processor22" daemon [_thread_blocked, id=137276928] 0x082ea800 JavaThread "http-8180-Processor21" daemon [_thread_blocked, id=137275904] 0x082ea400 JavaThread "http-8180-Processor20" daemon [_thread_blocked, id=137274880] 0x082ea000 JavaThread "http-8180-Processor19" daemon [_thread_blocked, id=137273856] 0x082a8c00 JavaThread "http-8180-Processor18" daemon [_thread_blocked, id=137006592] 0x082a8800 JavaThread "http-8180-Processor17" daemon [_thread_blocked, id=137005568] 0x082a8400 JavaThread "http-8180-Processor16" daemon [_thread_blocked, id=137004544] 0x082a8000 JavaThread "http-8180-Processor15" daemon [_thread_blocked, id=137003520] 0x08275c00 JavaThread "http-8180-Processor14" daemon [_thread_blocked, id=136797696] 0x08275800 JavaThread "http-8180-Processor13" daemon [_thread_blocked, id=136796672] 0x08275400 JavaThread "http-8180-Processor12" daemon [_thread_blocked, id=136795648] 0x08275000 JavaThread "http-8180-Processor11" daemon [_thread_blocked, id=136794624] 0x08250c00 JavaThread "http-8180-Processor10" daemon [_thread_blocked, id=136646144] 0x08250800 JavaThread "http-8180-Processor9" daemon [_thread_blocked, id=136645120] 0x08250400 JavaThread "http-8180-Processor8" daemon [_thread_blocked, id=136644096] 0x08250000 JavaThread "http-8180-Processor7" daemon [_thread_blocked, id=136643072] 0x0883ee00 JavaThread "http-8180-Processor6" daemon [_thread_blocked, id=146227200] 0x0883ea00 JavaThread "http-8180-Processor5" daemon [_thread_blocked, id=142863360] 0x08242200 JavaThread "http-8180-Processor4" daemon [_thread_blocked, id=136588288] 0x08279a00 JavaThread "http-8180-Processor3" daemon [_thread_blocked, id=136813568] 0x08279400 JavaThread "http-8180-Processor2" daemon [_thread_blocked, id=136812544] 0x0813ee00 JavaThread "http-8180-Processor1" daemon [_thread_blocked, id=136810496] 0x0813ea00 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=135523328] 0x0813e600 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina].StandardHost[localhost]]" daemon [_thread_blocked, id=135522304] 0x08ca1e00 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=146952192] 0x08ca1a00 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=147463168] 0x08ca1600 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=147462144] 0x08ca1200 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=147461120] 0x08bafe00 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=147460096] 0x08bafa00 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=146471936] 0x08baf600 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=146470912] 0x08baf200 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=146469888] 0x0884ae00 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=146468864] 0x0884aa00 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=142912512] 0x085c3400 JavaThread "DefaultQuartzScheduler_Worker-0" [_thread_blocked, id=142911488] 0x08ae9400 JavaThread "Store CaptchaStoreCache Expiry Thread" daemon [_thread_blocked, id=145659392] 0x08ae9000 JavaThread "Store CaptchaStoreCache Spool Thread" daemon [_thread_blocked, id=145658368] 0x0880ac00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=142650880] 0x081c6600 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=136079360] 0x081c6200 JavaThread "CompilerThread1" daemon [_thread_blocked, id=136078336] 0x081aae00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=136077312] 0x081aaa00 JavaThread "AdapterThread" daemon [_thread_blocked, id=135965696] 0x081aa600 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135964672] 0x081aa200 JavaThread "Finalizer" daemon [_thread_blocked, id=135963648] 0x08067e00 JavaThread "Reference Handler" daemon [_thread_blocked, id=135962624] 0x0805cc00 JavaThread "main" [_thread_in_native, id=134594560] Other Threads: 0x0815ac00 VMThread [id=134642688] 0x08056b00 WatcherThread [id=136080384] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x08062500/0x08062540] Threads_lock - owner thread: 0x0815ac00 [0x080537e0/0x08062b00] Heap_lock - owner thread: 0x08dedc00 Heap PSYoungGen total 31104K, used 41K [0x66f00000, 0x68f50000, 0x6d9e0000) eden space 29184K, 0% used [0x66f00000,0x66f0a530,0x68b80000) from space 1920K, 0% used [0x68b80000,0x68b80000,0x68d60000) to space 1856K, 0% used [0x68d80000,0x68d80000,0x68f50000) PSOldGen total 434752K, used 56621K [0x317e0000, 0x4c070000, 0x66f00000) object space 434752K, 13% used [0x317e0000,0x34f2b760,0x4c070000) PSPermGen total 65536K, used 65536K [0x2d7e0000, 0x317e0000, 0x317e0000) object space 65536K, 100% used [0x2d7e0000,0x317e0000,0x317e0000) Dynamic libraries: 0x08048000 /usr/local/jdk1.5.0/bin/java 0x28083000 /lib/libz.so.3 0x28094000 /lib/libpthread.so.2 0x280b9000 /lib/libc.so.6 0x281a1000 /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so 0x28872000 /lib/libm.so.4 0x28889000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x2889a000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so 0x288a7000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so 0x288c5000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so 0x6e96d000 /usr/local/jdk1.5.0/jre/lib/i386/libnet.so 0x70a50000 /usr/local/jdk1.5.0/jre/lib/i386/libawt.so 0x70aec000 /usr/local/jdk1.5.0/jre/lib/i386/libmlib_image.so 0x70bab000 /usr/local/jdk1.5.0/jre/lib/i386/headless/libmawt.so 0x70bb3000 /usr/local/jdk1.5.0/jre/lib/i386/libfontmanager.so 0x70c38000 /usr/lib/libstdc++.so.5 0x28052000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Djava.endorsed.dirs= -Dcatalina.base=/usr/local/tomcat5.5 -Dcatalina.home=/usr/local/tomcat5.5 -Djava.io.tmpdir=/usr/local/tomcat5.5/temp java_command: org.apache.catalina.startup.Bootstrap start Environment Variables: JAVA_HOME=/usr/local/jdk1.5.0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin://bin LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/i386/server:/usr/local/jdk1.5.0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386 SHELL=/bin/csh HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jan 30 12:10:23 EET 2007 root@noc.ntu-kpi.kiev.ua:/usr/obj/storage1/src/sys/NOC i386 rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 4 family 15, cmov, cx8, fxsr, mmx, ht Memory: 4k page, physical 3936796k vm_info: Java HotSpot(TM) Server VM (1.5.0-p4-root_10_feb_2007_18_36) for freebsd-x86, built on Feb 10 2007 19:07:32 by root with gcc 3.4.6 [FreeBSD] 20060305 From owner-freebsd-java@FreeBSD.ORG Sun Mar 4 00:40:39 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3551616A401 for ; Sun, 4 Mar 2007 00:40:39 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 03B0113C49D for ; Sun, 4 Mar 2007 00:40:38 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (localhost [127.0.0.1]) by mail.potentialtech.com (Postfix) with ESMTP id 9A4DBEBC5C; Sat, 3 Mar 2007 19:18:20 -0500 (EST) Received: from www.potentialtech.com (localhost [127.0.0.1]) by mail.potentialtech.com (Postfix) with ESMTP; Sat, 3 Mar 2007 19:18:20 -0500 (EST) Received: from 198.144.43.23 (SquirrelMail authenticated user wmoran) by www.potentialtech.com with HTTP; Sun, 4 Mar 2007 00:18:20 -0000 (UTC) Message-ID: <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> In-Reply-To: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> Date: Sun, 4 Mar 2007 00:18:20 -0000 (UTC) From: "Bill Moran" To: "Chad Leigh -- Shire.Net LLC" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Cc: User Questions , "Chad Leigh -- Shire.Net LLC" , freebsd-java@freebsd.org Subject: Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 00:40:39 -0000 > On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: > >> Hi >> >> I am trying to build jdk15 inside my jail with PREFIX set to /usr/ >> public (At one time I successfully got jdk 1.4 to build after much >> hacking) >> >> I have the option for builing inside a jail set. We get to the >> point where the linux java is installed and it is actually building >> the jdk >> >> # Start of jdk build >> /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined >> symbol "__mb_cur_max" >> *** Error code 1 >> >> Stop in /usr/ports/java/jdk15. >> # >> >> I am not exactly sure what it is doing at this point in order to >> hack round it. libiconv a fresh install from ports >> > > Turns out that the issue is that gmake cannot run. I have not > figured out why yet, having removed and reinstalled libiconv and > gmake and getting the same error. But it is not java related. > > I'll redirect this to -questions > > If anyone has an idea on why gmake would fail as above on a fresh > install, 6.2-RELEASE from a day or two ago, I would appreciate it. > Please CC me as I am not currently subscribed to -questions, though I > am on -java Not a direct answer to your question, but when I needed to do this a few months ago, I just did a "make package" on my workstation, then shipped the package up to the jail system and installed it with pkg_add. Doesn't solve the problem, but if you're in a pinch, it's a handy workaround. -- Bill Moran http://www.potentialtech.com From owner-freebsd-java@FreeBSD.ORG Sun Mar 4 06:22:18 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E877D16A405 for ; Sun, 4 Mar 2007 06:22:18 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id CEC7313C4A5 for ; Sun, 4 Mar 2007 06:22:18 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HNk6s-000AZK-0k for freebsd-java@freebsd.org; Sat, 03 Mar 2007 23:22:18 -0700 In-Reply-To: <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Sat, 3 Mar 2007 23:22:16 -0700 To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: building a jdk1.5 package and installing it elsewhere (inside a jail) Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 06:22:19 -0000 On Mar 3, 2007, at 5:18 PM, Bill Moran wrote: > >> On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: >> >>> Hi >>> >>> I am trying to build jdk15 inside my jail with PREFIX set to /usr/ >>> public (At one time I successfully got jdk 1.4 to build after much >>> hacking) >>> >>> I have the option for builing inside a jail set. We get to the >>> point where the linux java is installed and it is actually building >>> the jdk >>> >>> # Start of jdk build >>> /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined >>> symbol "__mb_cur_max" >>> *** Error code 1 >>> >>> Stop in /usr/ports/java/jdk15. >>> # >>> >>> I am not exactly sure what it is doing at this point in order to >>> hack round it. libiconv a fresh install from ports >>> >> >> Turns out that the issue is that gmake cannot run. I have not >> figured out why yet, having removed and reinstalled libiconv and >> gmake and getting the same error. But it is not java related. >> >> I'll redirect this to -questions >> >> If anyone has an idea on why gmake would fail as above on a fresh >> install, 6.2-RELEASE from a day or two ago, I would appreciate it. >> Please CC me as I am not currently subscribed to -questions, though I >> am on -java > > Not a direct answer to your question, but when I needed to do this > a few months ago, I just did a "make package" on my workstation, then > shipped the package up to the jail system and installed it with > pkg_add. > > Doesn't solve the problem, but if you're in a pinch, it's a handy > workaround. > OK, I had never done this before -- built a package from a port. So I did this on the base machine and then copied it into the jail and did a pkg_add like so # pkg_add -P /usr/public -v jdk-1.5.0p4_1.tbz as I wanted it installed in my local policy dir /usr/public (which gets mounted RO in every jail). My 1.4.2 java on my other jail server is installed like this (but was built inside the jail many moons ago). Now, when I try to run java I get # java -version Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. # Java is in /usr/public/jdk1.5.0/ (the same as my 1.4.2 on the other server which is in /usr/public/jdk1.4.2/). libjava.so is inside the lib dir and I thought that java was referential to itself so it could find its libraries. I also tried setting JAVA_HOME and JRE_HOME though I have not had to do that in a long time. The new 1.5 jdk is registered in the javavms file . What did I do wrong? Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-java@FreeBSD.ORG Sun Mar 4 20:54:07 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAC4F16A400 for ; Sun, 4 Mar 2007 20:54:07 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 8E48E13C47E for ; Sun, 4 Mar 2007 20:54:07 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HNxiY-0002KE-Vd; Sun, 04 Mar 2007 13:54:07 -0700 In-Reply-To: References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Sun, 4 Mar 2007 13:54:05 -0700 To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: "Chad Leigh -- Shire.Net LLC" Subject: getting Error: could not find libjava.so Re: building a jdk1.5 package and installing it elsewhere (inside a jail) Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 20:54:07 -0000 On Mar 3, 2007, at 5:18 PM, Bill Moran wrote: > >> On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: >> >>> Hi >>> >>> I am trying to build jdk15 inside my jail with PREFIX set to /usr/ >>> public (At one time I successfully got jdk 1.4 to build after much >>> hacking) >>> >>> I have the option for builing inside a jail set. We get to the >>> point where the linux java is installed and it is actually building >>> the jdk >>> >>> # Start of jdk build >>> /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined >>> symbol "__mb_cur_max" >>> *** Error code 1 >>> >>> Stop in /usr/ports/java/jdk15. >>> # >>> >>> I am not exactly sure what it is doing at this point in order to >>> hack round it. libiconv a fresh install from ports >>> >> >> Turns out that the issue is that gmake cannot run. I have not >> figured out why yet, having removed and reinstalled libiconv and >> gmake and getting the same error. But it is not java related. >> >> I'll redirect this to -questions >> >> If anyone has an idea on why gmake would fail as above on a fresh >> install, 6.2-RELEASE from a day or two ago, I would appreciate it. >> Please CC me as I am not currently subscribed to -questions, though I >> am on -java > > Not a direct answer to your question, but when I needed to do this > a few months ago, I just did a "make package" on my workstation, then > shipped the package up to the jail system and installed it with > pkg_add. > > Doesn't solve the problem, but if you're in a pinch, it's a handy > workaround. > OK, I had never done this before -- built a package from a port. So I did this on the base machine and then copied it into the jail and did a pkg_add like so # pkg_add -P /usr/public -v jdk-1.5.0p4_1.tbz as I wanted it installed in my local policy dir /usr/public (which gets mounted RO in every jail). My 1.4.2 java on my other jail server is installed like this (but was built inside the jail many moons ago). Now, when I try to run java I get # java -version Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. # Java is in /usr/public/jdk1.5.0/ (the same as my 1.4.2 on the other server which is in /usr/public/jdk1.4.2/). libjava.so is inside the lib dir and I thought that java was referential to itself so it could find its libraries. I also tried setting JAVA_HOME and JRE_HOME though I have not had to do that in a long time. The new 1.5 jdk is registered in the javavms file . When I run the javavm script with /bin/sh -x it does run the correct java and running it with an explicit path does not help. # /bin/sh -x /usr/public/bin/javavm -version + _JAVAVM_SAVE_PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/pub/ sbin:/usr/pub/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/ bin + export PATH=/bin:/sbin:/usr/bin:/usr/sbin + _JAVAVM_PREFIX=/usr/public + _JAVAVM_CONF=/usr/public/etc/javavms + _JAVAVM_OPTS_CONF=/usr/public/etc/javavm_opts.conf + basename /usr/public/bin/javavm + _JAVAVM_PROG=javavm + _JAVAVM_MAKE=/usr/bin/make + [ javavm = javavm ] + echo javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated + _JAVAVM_PROG=java + [ -r /usr/public/etc/javavm_opts.conf ] + . /usr/public/etc/javavm_opts.conf + _JAVAVM_OPTS= + setJavaHome + realpath + realpath /usr/public + [ -n -a /stubs/usr_local/etc/ssmtp != /usr/public ] + unset JAVA_HOME + _JAVAVM_PORTSDIR= + [ -r /usr/share/mk/bsd.port.mk ] + /usr/bin/make -f /usr/share/mk/bsd.port.mk -V PORTSDIR + _JAVAVM_PORTSDIR= + _JAVAVM_BSD_PORT_MK= + [ -n -a -r /Mk/bsd.port.mk ] + [ -n ] + [ ! -e /usr/public/etc/javavms ] + sed -E s|[[:space:]]*#.*|| + uniq + _JAVAVM_VMS=/usr/public/jdk1.5.0/bin/java /usr/public/linux-sun-jdk1.4.2/bin/java + [ -n ] + dirname /usr/public/jdk1.5.0/bin/java + JAVA_HOME=/usr/public/jdk1.5.0/bin + dirname /usr/public/jdk1.5.0/bin + JAVA_HOME=/usr/public/jdk1.5.0 + basename /usr/public/jdk1.5.0 + _JAVAVM_VM=jdk1.5.0 + [ -n ] + [ -n ] + [ -n ] + [ -n /usr/public/jdk1.5.0 -a -f /usr/public/jdk1.5.0/bin/java ] + _JAVAVM_PROG_PATH=/usr/public/jdk1.5.0/bin + return 0 + [ 0 != 0 ] + [ -x /usr/public/jdk1.5.0/bin/java ] + basename /usr/public/jdk1.5.0 + setJavaOptions java jdk1.5.0 + echo java + sed -e s/\./_/g -e s/-/_/g + local OPTS_PROG=java + echo jdk1.5.0 + sed -e s/\./_/g -e s/-/_/g + local OPTS_JAVA_HOME=jdk1_5_0 + eval echo ${JAVAVM_OPTS_jdk1_5_0_java} + local JAVA_HOME_PROG_OPTS= + eval echo ${JAVAVM_OPTS_jdk1_5_0} + local JAVA_HOME_OPTS= + eval echo ${JAVAVM_OPTS_java} + local PROG_OPTS= + [ -n ] + [ -n ] + [ -n ] + [ -n ] + export JAVA_HOME + tryJavaCommand /usr/public/jdk1.5.0/bin/java -version + [ -n ] + [ -x /usr/public/jdk1.5.0/bin/java ] + [ -n /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/pub/sbin:/usr/ pub/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin ] + export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/pub/sbin:/ usr/pub/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin + exec /usr/public/jdk1.5.0/bin/java -version Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. # What did I do wrong? Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-java@FreeBSD.ORG Mon Mar 5 07:48:34 2007 Return-Path: X-Original-To: java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21A5616A406 for ; Mon, 5 Mar 2007 07:48:34 +0000 (UTC) (envelope-from artetmiss@free.fr) Received: from frontal1.erenis.fr (frontal1.erenis.fr [84.205.157.69]) by mx1.freebsd.org (Postfix) with ESMTP id C294D13C4B5 for ; Mon, 5 Mar 2007 07:48:33 +0000 (UTC) (envelope-from artetmiss@free.fr) Received: from localhost (localhost.localdomain [127.0.0.1]) by frontal1.erenis.fr (Postfix) with ESMTP id 3C10429ECAC for ; Mon, 5 Mar 2007 08:17:23 +0100 (CET) Received: from frontal1.erenis.fr ([127.0.0.1]) by localhost (frontal1 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24013-04 for ; Mon, 5 Mar 2007 08:17:23 +0100 (CET) Received: from famille (unknown [84.205.128.118]) by frontal1.erenis.fr (Postfix) with ESMTP id 121E329ECAA for ; Mon, 5 Mar 2007 08:17:23 +0100 (CET) From: "Galerie Art et Miss" To: java@FreeBSD.org MIME-Version: 1.0 Date: Mon, 5 Mar 2007 08:20:28 +0100 Message-Id: <20070305071723.121E329ECAA@frontal1.erenis.fr> X-Virus-Scanned: by erenis.fr Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Papadatos =?iso-8859-1?q?=E0?= Paris X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: artetmiss@free.fr List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 07:48:34 -0000 - This mail is a HTML mail. Not all elements could be shown in plain = text mode. - Madame, Monsieur, Nous avons le plaisir de vous inviter au vernissage de l'exposition de Dionysis PAPADATOS , artiste plasticien grec qui exposera du 3 au 31 mars 2007. Vernissage samedi 10 mars =E0 18h. Informations compl=E9mentaires : http://artetmiss.club.fr/ComPresse.htm Dans l?attente de partager cet =E9v=E8nement, recevez nos plus sinc=E8= res salutations Dominique, Sonia et Nadia *L'art pour une d=E9fiscalisation agr=E9able ( http://artetmiss.oxatis.com/PBCPPlayer.asp?ID=3D125772 ) Galerie Art' et Miss 16, rue Sainte Anastase 75003 PARIS T=E9l : 01 43 57 37 42 ? Fax : 08 21 90 17 48 Mail : artetmiss@free.fr Site : http://www.art-et-miss.com E-commerce : http://artetmiss.oxatis.com Rejoindre le r=E9seau de contacts de la Galerie Art et Miss sur Viaduc : http://www.viaduc.com/invitationpersonnelle/002740hbq4y9rpa * Si ce mail vous a importun=E9, nous vous demandons de bien vouloir n= ous en excuser et si vous ne souhaitez plus recevoir notre lettre d?in= formation, il vous suffit de nous retourner ce courrier avec la mentio= n stop From owner-freebsd-java@FreeBSD.ORG Mon Mar 5 11:08:14 2007 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D6EB16A477 for ; Mon, 5 Mar 2007 11:08:14 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0056313C4C2 for ; Mon, 5 Mar 2007 11:08:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l25B8D0c037515 for ; Mon, 5 Mar 2007 11:08:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l25B8Cj9037511 for freebsd-java@FreeBSD.org; Mon, 5 Mar 2007 11:08:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Mar 2007 11:08:12 GMT Message-Id: <200703051108.l25B8Cj9037511@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 11:08:14 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java Unsafe use of getaddrinfo in jvm 1.4.2-p5 o java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes on 4.9 works f java/72151 java JVM crash on 5.2.1-R o java/76631 java any port linux-*-jdk12 will core dump if using linux_b o java/104627 java Makefile jdk14 broken o java/105369 java problem with port diablo-jdk15 o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug 7 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires f ports/91244 java Bad instruction on making process of jdk14 o java/97461 java Diablo JDK does not report Update level in a format su o ports/108406 java Offer for maintainership of devel/apache-ant 6 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 5 22:55:17 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5ECD16A40B for ; Mon, 5 Mar 2007 22:55:17 +0000 (UTC) (envelope-from daniel.tourde@spray.se) Received: from mxfep04.bredband.com (mxfep04.bredband.com [195.54.107.79]) by mx1.freebsd.org (Postfix) with ESMTP id 5597113C4B2 for ; Mon, 5 Mar 2007 22:55:15 +0000 (UTC) (envelope-from daniel.tourde@spray.se) Received: from ironport2.bredband.com ([195.54.107.84] [195.54.107.84]) by mxfep01.bredband.com with ESMTP id <20070305222454.TUVP3634.mxfep01.bredband.com@ironport2.bredband.com> for ; Mon, 5 Mar 2007 23:24:54 +0100 Received: from c-748572d5.023-68-73746f42.cust.bredbandsbolaget.se (HELO maerlyn.bredbandsbolaget.se) ([213.114.133.116]) by ironport2.bredband.com with ESMTP; 05 Mar 2007 23:24:54 +0100 From: Daniel Tourde To: freebsd-java@freebsd.org Date: Mon, 5 Mar 2007 23:25:01 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703052325.01801.daniel.tourde@spray.se> Subject: Is there any native Java3d for FreeBSD6.x? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel.tourde@spray.se List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:55:18 -0000 Hello, I need Java3d on my FreeBSD 6.2 box. When I try to build the java3d port, I end up with some Linux binary support (FedoraCore) and a Java3D based on some Linux binary. I have sun-jdk-1.5 native on my system. It's not that I hate Linux (I am a very satisfied owner of a few Gentoo boxes), it's just that I want my FreeBSD box to remain as simple as possible and as native as possible... So here are my questions: - Is there any native Java3D package for FreeBSD, if yes, where can I find it? - If no native package are planned, is it easy to build Java3D on my FreeBSD box without being forced to have some Linux support? Daniel From owner-freebsd-java@FreeBSD.ORG Tue Mar 6 08:06:46 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DA7816A401 for ; Tue, 6 Mar 2007 08:06:46 +0000 (UTC) (envelope-from dkirhlarov@mail.oilspace.com) Received: from office.oilspace.com (ns2.oilspace.com [194.129.65.230]) by mx1.freebsd.org (Postfix) with ESMTP id EFF2113C46B for ; Tue, 6 Mar 2007 08:06:45 +0000 (UTC) (envelope-from dkirhlarov@mail.oilspace.com) Received: from localhost.mow.oilspace.com (unknown [81.222.156.11]) by office.oilspace.com (Postfix) with ESMTP id 3A5F5136E44 for ; Tue, 6 Mar 2007 07:37:03 +0000 (GMT) Received: from localhost.mow.oilspace.com (localhost [127.0.0.1]) by localhost.mow.oilspace.com (8.13.8/8.13.8) with ESMTP id l258CxiP013402 for ; Mon, 5 Mar 2007 11:13:59 +0300 (MSK) (envelope-from dkirhlarov@localhost.mow.oilspace.com) Received: (from dkirhlarov@localhost) by localhost.mow.oilspace.com (8.13.8/8.13.8/Submit) id l258Cwxb013401 for freebsd-java@freebsd.org; Mon, 5 Mar 2007 11:12:58 +0300 (MSK) (envelope-from dkirhlarov) Date: Mon, 5 Mar 2007 11:12:58 +0300 From: Dmitriy Kirhlarov To: freebsd-java@freebsd.org Message-ID: <20070305081254.GA11596@dkirhlarov.mow.oilspace.com> Mail-Followup-To: freebsd-java@freebsd.org References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 6.2-STABLE User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: building a jdk1.5 package and installing it elsewhere (inside a jail) Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 08:06:46 -0000 On Sat, Mar 03, 2007 at 11:22:16PM -0700, Chad Leigh -- Shire.Net LLC wrote: > OK, I had never done this before -- built a package from a port. So I did this on the base machine and then copied it into the jail and did a pkg_add like so > > # pkg_add -P /usr/public -v jdk-1.5.0p4_1.tbz > > as I wanted it installed in my local policy dir /usr/public (which gets mounted RO in every jail). My 1.4.2 java on my other jail server is installed like this (but > was built inside the jail many moons ago). > > Now, when I try to run java I get > > # java -version > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > # unmount procfs. It's known bug. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:DmitriyKirhlarov@oilspace.com Building Successful Supply Chains - One Solution At A Time. www.oilspace.com From owner-freebsd-java@FreeBSD.ORG Tue Mar 6 08:41:17 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3317616A404 for ; Tue, 6 Mar 2007 08:41:17 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 17C7C13C4A8 for ; Tue, 6 Mar 2007 08:41:16 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HOVES-0007n4-EC for freebsd-java@freebsd.org; Tue, 06 Mar 2007 01:41:16 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20070305081254.GA11596@dkirhlarov.mow.oilspace.com> References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> <20070305081254.GA11596@dkirhlarov.mow.oilspace.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 6 Mar 2007 01:41:15 -0700 To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: Re: building a jdk1.5 package and installing it elsewhere (inside a jail) Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 08:41:17 -0000 On Mar 5, 2007, at 1:12 AM, Dmitriy Kirhlarov wrote: > On Sat, Mar 03, 2007 at 11:22:16PM -0700, Chad Leigh -- Shire.Net > LLC wrote: > >> OK, I had never done this before -- built a package from a port. >> So I did this on the base machine and then copied it into the jail >> and did a pkg_add like so >> >> # pkg_add -P /usr/public -v jdk-1.5.0p4_1.tbz >> >> as I wanted it installed in my local policy dir /usr/public (which >> gets mounted RO in every jail). My 1.4.2 java on my other jail >> server is installed like this (but >> was built inside the jail many moons ago). >> >> Now, when I try to run java I get >> >> # java -version >> Error: could not find libjava.so >> Error: could not find Java 2 Runtime Environment. >> # > > unmount procfs. > It's known bug. Ok, I will have to give it a try. Right now I am building java as a port inside the jail fresh. Will see how that and my pkg version goes with doing this. Thanks! Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-java@FreeBSD.ORG Wed Mar 7 13:33:50 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A1A416A400 for ; Wed, 7 Mar 2007 13:33:50 +0000 (UTC) (envelope-from teemu@utu.fi) Received: from smtp-out-01.utu.fi (smtp-out-01.utu.fi [130.232.202.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5F54913C481 for ; Wed, 7 Mar 2007 13:33:50 +0000 (UTC) (envelope-from teemu@utu.fi) Received: from temuli.local ([130.232.3.146]) by smtp01.mess.utu.fi (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPS id <0JEJ001H5CCDSEDF@smtp01.mess.utu.fi> for freebsd-java@freebsd.org; Wed, 07 Mar 2007 15:33:49 +0200 (EET) Date: Wed, 07 Mar 2007 15:33:44 +0200 From: Teemu =?iso-8859-1?q?V=E4lim=E4ki?= To: freebsd-java@freebsd.org Message-id: <200703071533.44116.teemu@utu.fi> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Content-disposition: inline User-Agent: KMail/1.9.6 Subject: JAI on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 13:33:50 -0000 Hi all, I'm running FreeBSD 6.2 with Diablo JDK 1.5. What I need now is JAI library= =20 under however, the ports version complains about system being amd64. On IRC= I=20 was instructed to use jail to compile it under i386 and then install it on = 64=20 box with lib32. What I'm asking now, is there easier method and if not, can I find somewher= e a=20 precompiled package? Thanks =2D-=20 Teemu V=E4lim=E4ki From owner-freebsd-java@FreeBSD.ORG Wed Mar 7 13:58:50 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27C9016A402 for ; Wed, 7 Mar 2007 13:58:50 +0000 (UTC) (envelope-from teemu@utu.fi) Received: from smtp-out-01.utu.fi (smtp-out-01.utu.fi [130.232.202.171]) by mx1.freebsd.org (Postfix) with ESMTP id E31AE13C48D for ; Wed, 7 Mar 2007 13:58:49 +0000 (UTC) (envelope-from teemu@utu.fi) Received: from temuli.local ([130.232.3.146]) by smtp01.mess.utu.fi (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPS id <0JEJ00L44AQ0S5G8@smtp01.mess.utu.fi> for freebsd-java@freebsd.org; Wed, 07 Mar 2007 14:58:48 +0200 (EET) Date: Wed, 07 Mar 2007 14:58:43 +0200 From: Teemu =?iso-8859-1?q?V=E4lim=E4ki?= To: freebsd-java@freebsd.org Message-id: <200703071458.43664.teemu@utu.fi> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Content-disposition: inline User-Agent: KMail/1.9.6 Subject: JAI on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 13:58:50 -0000 Hi all, I'm running FreeBSD 6.2 with Diablo JDK 1.5. What I need now is JAI library= =20 under however, the ports version complains about system being amd64. On IRC= I=20 was instructed to use jail to compile it under i386 and then install it on = 64=20 box with lib32. What I'm asking now, is there easier method and if not, can I find somewher= e a=20 precompiled package? Thanks =2D-=20 Teemu V=E4lim=E4ki From owner-freebsd-java@FreeBSD.ORG Wed Mar 7 19:54:24 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7624316A402 for ; Wed, 7 Mar 2007 19:54:24 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mail1.intricatesoftware.com (static-64-115-215-92.isp.broadviewnet.net [64.115.215.92]) by mx1.freebsd.org (Postfix) with ESMTP id AC9D113C428 for ; Wed, 7 Mar 2007 19:54:23 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from seraph.intricatesoftware.com (relay@localhost.intricatesoftware.com [IPv6:::1]) by mail1.intricatesoftware.com (8.13.8/8.13.4) with ESMTP id l27Js96H022909; Wed, 7 Mar 2007 14:54:13 -0500 (EST) Received: from localhost.intricatesoftware.com (truk@localhost.intricatesoftware.com [127.0.0.1]) by seraph.intricatesoftware.com (8.14.0/8.14.0) with ESMTP id l27Js3La016126; Wed, 7 Mar 2007 14:54:03 -0500 (EST) From: Kurt Miller To: freebsd-java@freebsd.org Date: Wed, 7 Mar 2007 14:54:02 -0500 User-Agent: KMail/1.9.6 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703071454.02785.lists@intricatesoftware.com> X-SMTP-Vilter-Version: 1.3.4 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean X-Spamd-Symbols: ALL_TRUSTED,SPF_HELO_PASS X-SMTP-Vilter-Spam-Backend: spamd X-Spam-Score: -1.4 X-Spam-Threshold: 5.0 X-Spam-Probability: -0.3 X-Its-A-Nuisance: This is spam X-SMTP-Vilter-Unwanted-Backend: attachment X-SMTP-Vilter-attachment-Unwanted-Status: clean Cc: "Arne H. Juul" Subject: Re: patch: autoadjust datasegment size X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:54:24 -0000 Hi Arne, Some comments inline... On Thursday 22 February 2007 3:53:25 pm Arne H. Juul wrote: > We're running in an environment where the default datasegment size is > often adjusted upwards to provide more address space for applications that > allocate a lot of memory, but this causes the Java VM to fail during > startup since the Java heap is allocated outside the data segment by using > mmap(). I've been compiling with a patch (below) that auto-adjusts the > datasegment down to a "reasonable" value. > > I don't know enough about the details of the VM system of the various BSDs > to be certain that this is generally applicable, but my guess is that this > will be useful on all 32-bit BSDs. > > - Arne H. J. > > diff -ru jdk-1_5_0_11.b4/hotspot/src/os/bsd/vm/os_bsd.cpp jdk-1_5_0_11.ahj12/hotspot/src/os/bsd/vm/os_bsd.cpp > --- jdk-1_5_0_11.b4/hotspot/src/os/bsd/vm/os_bsd.cpp Sun Feb 18 16:13:42 2007 > +++ jdk-1_5_0_11.ahj12/hotspot/src/os/bsd/vm/os_bsd.cpp Tue Feb 20 22:29:27 2007 > @@ -2706,7 +2833,30 @@ > > // this is called _after_ the global arguments have been parsed > jint os::init_2(void) { > - > + > + // XXX ugly hack for 32-bit address space, since we know the > + // java heap is allocated with mmap() not sbrk(): > +#if SSIZE_MAX == 0x7fffffff On OpenBSD mmap is constrained by RLIMIT_DATA too. Not sure about NetBSD though. I think the _LP64 define is the more common way to check for 64bit vs 32bit: #if !defined(__OpenBSD__) && !defined(_LP64) > + // set the max datasegment size to something reasonable > + // complain if getrlimit/setrlimit fails but continue regardless. > + struct rlimit dseg_size; > + int status = getrlimit(RLIMIT_DATA, &dseg_size); > + if (status != 0) { > + if (PrintMiscellaneous && (Verbose || WizardMode)) > + perror("os::init_2 getrlimit failed"); > + } else { > + if (dseg_size.rlim_max > 1000 * 1024 * 1024) { > + dseg_size.rlim_max = 500 * 1024 * 1024; > + dseg_size.rlim_cur = 500 * 1024 * 1024; Some spot checking on 6.1 revealed that data seg size could be increased to slightly above 800M before interfeering with the jvm. I think it would be better if this was constrained by 800M instead of 1G and if > 800M then set to 800M. > + status = setrlimit(RLIMIT_DATA, &dseg_size); > + if (status != 0) { > + if (PrintMiscellaneous && (Verbose || WizardMode)) > + perror("os::init_2 setrlimit failed"); > + } > + } > + } > +#endif > + > // Allocate a single page and mark it as readable for safepoint polling > if( SafepointPolling ) { > address polling_page = (address) ::mmap(NULL, page_size, > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From owner-freebsd-java@FreeBSD.ORG Wed Mar 7 20:18:59 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 508C816A405 for ; Wed, 7 Mar 2007 20:18:59 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mail1.intricatesoftware.com (static-64-115-215-92.isp.broadviewnet.net [64.115.215.92]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE1B13C4C4 for ; Wed, 7 Mar 2007 20:18:58 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from seraph.intricatesoftware.com (relay@localhost.intricatesoftware.com [IPv6:::1]) by mail1.intricatesoftware.com (8.13.8/8.13.4) with ESMTP id l27KIlpx027938; Wed, 7 Mar 2007 15:18:49 -0500 (EST) Received: from localhost.intricatesoftware.com (truk@localhost.intricatesoftware.com [127.0.0.1]) by seraph.intricatesoftware.com (8.14.0/8.14.0) with ESMTP id l27KIjob015470; Wed, 7 Mar 2007 15:18:45 -0500 (EST) From: Kurt Miller To: freebsd-java@freebsd.org Date: Wed, 7 Mar 2007 15:18:44 -0500 User-Agent: KMail/1.9.6 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703071518.45121.lists@intricatesoftware.com> X-SMTP-Vilter-Version: 1.3.4 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean X-Spamd-Symbols: ALL_TRUSTED,SPF_HELO_PASS X-SMTP-Vilter-Spam-Backend: spamd X-Spam-Score: -1.4 X-Spam-Threshold: 5.0 X-Spam-Probability: -0.3 X-Its-A-Nuisance: This is spam X-SMTP-Vilter-Unwanted-Backend: attachment X-SMTP-Vilter-attachment-Unwanted-Status: clean Cc: "Arne H. Juul" Subject: Re: patch: fix and re-enable curthread hash lookup X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 20:18:59 -0000 On Thursday 22 February 2007 6:10:55 pm Arne H. Juul wrote: > I've analyzed the currently disabled code that implements a faster method > to find the current (Java) thread object by getting hold of the stack > pointer and doing a lookup in a hash table. This used to fail on thread > exit sometimes because the invalidation wasn't done properly; I've also > changed some of the parameters for the hash code and upped the size of the > hash table so it should be more optimal. > > Finally I've added a "near hit" feature that should make the lookup faster > when a thread is crossing back and forth over a stack page boundary; > earlier this would always trigger the slow path, but now it compares the > current stack pointer with the low and high stack boundaries and gets a > hit if the hash table entry still points at the right thread object. > > This patch is still experimental, so if people can take a look at it and > tell me about any problems they can spot that would be much appreciated. Hi Arne, I've been testing your patch. So far so good. Interestingly, OpenBSD tends to be more susceptible to the original race condition problem. Prior to disabling the fast case, I could not complete a build of the jdk without a crash due to the race. Typically the crash occurred with javah or CompileProperties. In an effort to test your patch thoroughly I first enabled the old fast case and confirmed I could reproduce the original problem. As before I couldn't complete a build without a crash. After applying your patch I was able to complete several builds without issues. Next I wrote a script that executed several javah and CompileProperties commands in a loop and let that run for about 12 hours. About 300K commands completed without issue. I repeated the above steps on OpenBSD/amd64 with the same results. For FreeBSD however, I can't get the old fast case to crash the jvm. I know the race can cause the jvm to crash on FreeBSD too, but only because I analyzed some javah crash reports posted to this list. I suppose my hardware doesn't generate the timing needed to trip over the race. Anyway, I'll apply the patch and run the javah/CompileProperties test but I suspect that will go fine too. -Kurt From owner-freebsd-java@FreeBSD.ORG Thu Mar 8 06:06:53 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2931E16A400 for ; Thu, 8 Mar 2007 06:06:53 +0000 (UTC) (envelope-from teemu@utu.fi) Received: from smtp-out-01.utu.fi (smtp-out-01.utu.fi [130.232.202.171]) by mx1.freebsd.org (Postfix) with ESMTP id E0EAE13C441 for ; Thu, 8 Mar 2007 06:06:52 +0000 (UTC) (envelope-from teemu@utu.fi) Received: from temuli.local ([130.232.3.146]) by smtp01.mess.utu.fi (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPS id <0JEK00LQNMBFS9FA@smtp01.mess.utu.fi> for freebsd-java@freebsd.org; Thu, 08 Mar 2007 08:06:51 +0200 (EET) Date: Thu, 08 Mar 2007 08:06:43 +0200 From: Teemu =?iso-8859-1?q?V=E4lim=E4ki?= In-reply-to: <200703071533.44116.teemu@utu.fi> To: freebsd-java@freebsd.org Message-id: <200703080806.43602.teemu@utu.fi> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Content-disposition: inline References: <200703071533.44116.teemu@utu.fi> User-Agent: KMail/1.9.6 Subject: Re: JAI on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 06:06:53 -0000 On Wednesday 07 March 2007 15:33:44 Teemu V=E4lim=E4ki wrote: > What I'm asking now, is there easier method and if not, can I find > somewhere a precompiled package? Actually.. I changed jai and linuxplugin makefiles so that they didn't chec= k=20 for architecture. Both installed just fine and even ran fine. There might b= e=20 speed losses, I don't really know how to check that, but other than that no= =20 problems so far. As there is JAI for amd64 Linux maybe the package should be updated a bit? =2D-=20 Teemu V=E4lim=E4ki