Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 93558 invoked from network); 28 Sep 2006 15:27:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2006 15:27:31 -0000 Received: (qmail 71223 invoked by uid 500); 28 Sep 2006 15:27:28 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 71189 invoked by uid 500); 28 Sep 2006 15:27:27 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 71178 invoked by uid 99); 28 Sep 2006 15:27:27 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 08:27:27 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=david_jencks@yahoo.com; domainkeys=good X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [68.142.206.243] ([68.142.206.243:47047] helo=smtp110.plus.mail.mud.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 0C/54-17533-AD9EB154 for ; Thu, 28 Sep 2006 08:27:23 -0700 Received: (qmail 41546 invoked from network); 28 Sep 2006 15:27:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=CBRKDI4qlGOB/oSIX8LTjfEj8+a1dJVbAf52tiNBVdi3wArzevqSS3NwiY5rAKejgZAM/ejBB18zg5YYz+FFjdKN6kuwYoZfXzZYhX0t2OHlMo8sd3bhanyHjsEP9JAAe5Sri6wrxP0rn5eEiUc/r4O5Vn0T/KTAlByZZtLemQE= ; Received: from unknown (HELO ?10.11.55.38?) (david?jencks@63.105.20.225 with plain) by smtp110.plus.mail.mud.yahoo.com with SMTP; 28 Sep 2006 15:27:18 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20060928150741.13888.qmail@web31710.mail.mud.yahoo.com> References: <20060928150741.13888.qmail@web31710.mail.mud.yahoo.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8BAA8B42-BEBF-426B-9AEB-6920D0744C13@yahoo.com> Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: Is java.endorsed.dirs actually working? Date: Thu, 28 Sep 2006 08:27:16 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.2) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sep 28, 2006, at 8:07 AM, anita kulshreshtha wrote: > > > --- Rick McGuire wrote: > >> >> I decided to try an experiment using the jetty-j2ee Geronimo >> assembly. >> I deleted the Xerces jars from the lib/endorsed directory. I did >> this >> to convince myself that the java.endorsed.dirs mechanism was working >> correctly and the problem was due to me missing something with the >> yoko >> cofiguration. I expected Geronimo to "fall over" during launch >> because >> of the missing jars. To my surprise, it didn't. > I deleted xerces dir from the repository and the startup failed. > You are correct in saying that the jars from lib/endorsed are not > being > used. Now I am wondering how are the jars from the G repository being > used. Are they really being used? Well, the copies of xerces etc in lib/endorsed are in the server.jar manifest classpath so even if they aren't really "endorsed" they are at least on the classpath. The exception you see is from us checking that the jars we claim we want are really available where we say they are -- something the manifest cp doesn't do. In particular the exception you see comes before a configuration classloader that is expected to contain the dependency is constructed. However, it looks to me as if your server startup is starting client- system. This is a serious problem if true. Have you made any local modifications to cause this or is it happening with a server built straight from svn? thanks david jencks > > Thanks > Anita > > Booting Geronimo Kernel (in Java 1.4.2_12)... > Starting Geronimo Application Server v1.2-SNAPSHOT > [********> ] 36% 9s Starting > org.apache.geronimo.co...10:47:16,625 INFO [ > BrokerService] ActiveMQ 4.1-incubator-SNAPSHOT JMS Message Broker > (possibly-unique-broker) > is starting > 10:47:16,625 INFO [BrokerService] For help or more information please > see: http://incubat > or.apache.org/activemq/ > 10:47:16,687 INFO [ManagementContext] JMX consoles can connect to > service:jmx:rmi://your- > 4dacd0ea75/jndi/rmi://localhost:1099/jmxrmi > [********> ] 36% 9s Starting > org.apache.geronimo.co...10:47:16,781 INFO [ > JDBCPersistenceAdapter] Database driver recognized: > [apache_derby_embedded_jdbc_driver] > [********> ] 36% 11s Starting > org.apache.geronimo.co...10:47:18,015 INFO [ > DefaultDatabaseLocker] Attempting to acquire the exclusive lock to > become the Master broke > r > 10:47:18,015 INFO [DefaultDatabaseLocker] Becoming the master on > dataSource: org.tranql.c > onnector.jdbc.DataSource@4ef122 > 10:47:18,125 INFO [JournalPersistenceAdapter] Journal Recovery > Started > from: Active Journ > al: using 2 x 20.0 Megs at: > C:\anita\geronimo\geronimo-tomcat-j2ee-1.2-SNAPSHOT\activemq-d > ata\possibly-unique-broker\journal > 10:47:18,187 INFO [JournalPersistenceAdapter] Journal Recovered: 0 > message(s) in transact > ions recovered. > [********> ] 36% 11s Starting > org.apache.geronimo.co...10:47:18,406 INFO [ > BrokerService] ActiveMQ JMS Message Broker (possibly-unique-broker, > ID:your-4dacd0ea75-139 > 9-1159454836203-1:0) started > 10:47:18,468 INFO [TransportConnector] Connector vm://localhost > Started > 10:47:18,515 INFO [TransportServerThreadSupport] Listening for > connections at: stomp://yo > ur-4dacd0ea75:61613 > 10:47:18,515 INFO [TransportConnector] Connector > stomp://your-4dacd0ea75:61613 Started > 10:47:18,531 INFO [TransportServerThreadSupport] Listening for > connections at: tcp://0.0. > 0.0:61616 > 10:47:18,531 INFO [TransportConnector] Connector tcp://0.0.0.0:61616 > Started > [***************- ] 62% 18s Loading > org.apache.geronimo.co...10:47:25,078 ERROR [ > GBeanInstanceState] Error while starting; GBean is now in the FAILED > state: abstractName=" > org.apache.geronimo.configs/client-system/1.2-SNAPSHOT/car? > configurationName=org.apache.ge > ronimo.configs/client-system/1.2-SNAPSHOT/car" > org.apache.geronimo.kernel.repository.MissingDependencyException: > Unable to resolve depend > ency xerces/xercesImpl/2.6.2/jar > at > org.apache.geronimo.kernel.config.ConfigurationResolver.resolve > (ConfigurationRe > solver.java:112) > at > org.apache.geronimo.kernel.config.Configuration.buildClassPath > (Configuration.ja > va:397) > at > org.apache.geronimo.kernel.config.Configuration.createConfigurationCla > sssLoader > (Configuration.java:322) > at > org.apache.geronimo.kernel.config.Configuration. > (Configuration.java:267) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance > (NativeConstructorAccessor > Impl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance > (DelegatingConstructor > AccessorImpl.java:27) > at > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance > (GBeanInstance.ja > va:936) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart( > GBeanInst > anceState.java:267) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start > (GBeanInstanceState.j > ava:102) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.start > (GBeanInstance.java:529) > at > org.apache.geronimo.kernel.basic.BasicKernel.startGBean > (BasicKernel.java:361) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.load > (KernelConfigu > rationManager.java:161) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi > guration( > SimpleConfigurationManager.java:307) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi > guration( > SimpleConfigurationManager.java:275) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi > guration( > SimpleConfigurationManager.java:250) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi > guration( > KernelConfigurationManager.java:112) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager$ > $FastClassByCGLIB$ > $b117102f.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke > (FastMethodInvoker.ja > va:38) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke > (GBeanOperation.java:122 > ) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke > (GBeanInstance.java:820) > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: > 57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke > (RawOperationInvoker > .java:35) > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept > (ProxyMethodIn > terceptor.java:96) > at > org.apache.geronimo.kernel.config.EditableConfigurationManager$ > $EnhancerByCGLIB > $$a79f3d70.loadConfiguration() > at > org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294) > at > org.apache.geronimo.system.main.Daemon.(Daemon.java:74) > at org.apache.geronimo.system.main.Daemon.main(Daemon.java: > 377) > [***************- ] 62% 18s Startup failed > org.apache.geronimo.kernel.config.LifecycleException: load of > org.apache.geronimo.configs/ > client-deployer/1.2-SNAPSHOT/car failed > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi > guration( > SimpleConfigurationManager.java:322) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi > guration( > SimpleConfigurationManager.java:275) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi > guration( > SimpleConfigurationManager.java:250) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi > guration( > KernelConfigurationManager.java:112) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager$ > $FastClassByCGLIB$ > $b117102f.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke > (FastMethodInvoker.ja > va:38) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke > (GBeanOperation.java:122 > ) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke > (GBeanInstance.java:820) > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: > 57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke > (RawOperationInvoker > .java:35) > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept > (ProxyMethodIn > terceptor.java:96) > at > org.apache.geronimo.kernel.config.EditableConfigurationManager$ > $EnhancerByCGLIB > $$a79f3d70.loadConfiguration() > at > org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294) > at > org.apache.geronimo.system.main.Daemon.(Daemon.java:74) > at org.apache.geronimo.system.main.Daemon.main(Daemon.java: > 377) > Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: > Error starting config > uration gbean > org.apache.geronimo.configs/client-system/1.2-SNAPSHOT/car > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.load > (KernelConfigu > rationManager.java:180) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi > guration( > SimpleConfigurationManager.java:307) > ... 15 more > Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: > Configuration gbean fa > iled to start > org.apache.geronimo.configs/client-system/1.2-SNAPSHOT/car > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.load > (KernelConfigu > rationManager.java:163) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com