--- Rick McGuire <[EMAIL PROTECTED]> 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? 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 [EMAIL PROTECTED] 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.createConfigurationClasssLoader (Configuration.java:322) at org.apache.geronimo.kernel.config.Configuration.<init>(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.loadConfiguration( SimpleConfigurationManager.java:307) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration( SimpleConfigurationManager.java:275) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration( SimpleConfigurationManager.java:250) at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration( KernelConfigurationManager.java:112) at org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClassByCGLIB$ $b117102f.invoke(<generated>) 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(<generated>) at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294) at org.apache.geronimo.system.main.Daemon.<init>(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.loadConfiguration( SimpleConfigurationManager.java:322) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration( SimpleConfigurationManager.java:275) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration( SimpleConfigurationManager.java:250) at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration( KernelConfigurationManager.java:112) at org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClassByCGLIB$ $b117102f.invoke(<generated>) 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(<generated>) at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294) at org.apache.geronimo.system.main.Daemon.<init>(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.loadConfiguration( 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