geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Hogstrom (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (GERONIMO-1103) Error while deploying Daytrader
Date Fri, 11 Nov 2005 02:10:04 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1103?page=all ]
     
Matt Hogstrom closed GERONIMO-1103:
-----------------------------------

    Resolution: Fixed

Resolved in GERONIMO-512

> Error while deploying Daytrader
> -------------------------------
>
>          Key: GERONIMO-1103
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1103
>      Project: Geronimo
>         Type: Bug
>   Components: sample apps
>     Versions: 1.0-M5
>  Environment: Daytrader app built on trunk on 2005-10-23, 18:50GMT+1
>     Reporter: Vincent Massol

>
> Here's what I get when i deploy daytrader into a running Geronimo:
> ------
> Booting Geronimo Kernel (in Java 1.4.2_05)...
> Starting Geronimo Application Server
> [****************] 100%  16s Startup complete
>   Listening on Ports:
>     1099 0.0.0.0 RMI Naming
>     1527 0.0.0.0 Derby Connector
>     4201 0.0.0.0 ActiveIO Connector EJB
>     4242 0.0.0.0 Remote Login Listener
>     8019 0.0.0.0 Tomcat Connector AJP
>     8080 0.0.0.0 Jetty Connector HTTP
>     8090 0.0.0.0 Tomcat Connector HTTP
>     8443 0.0.0.0 Jetty Connector HTTPS
>     8453 0.0.0.0 Tomcat Connector HTTPS
>    61616 0.0.0.0 ActiveMQ Message Broker Connector
>   Started Application Modules:
>     EAR: org/apache/geronimo/Console/Jetty
>     WAR: org/apache/geronimo/applications/Welcome/Jetty
>   Web Applications:
>     http://vma:8080/
>     http://vma:8080/console
>     http://vma:8080/console-standard
> Geronimo Application Server started
> Retrieving document at 'WEB-INF/wsdl/TradeServices.wsdl'.
> Retrieving document at 'META-INF/wsdl/TradeServices.wsdl'.
> 18:51:27,821 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=QuoteDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:28,262 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=HoldingDataBean@http://daytrader.samples.gero
> nimo.apache.org
> 18:51:28,272 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=OrderDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:28,272 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=QuoteDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:28,272 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=HoldingDataBean@http://daytrader.samples.gero
> nimo.apache.org
> 18:51:28,282 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=OrderDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:28,282 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfOrderDataBean@http://daytrader.samples
> .geronimo.apache.org
> 18:51:28,282 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfQuoteDataBean@http://daytrader.samples
> .geronimo.apache.org
> 18:51:28,282 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfHoldingDataBean@http://daytrader.sampl
> es.geronimo.apache.org
> Retrieving document at 'WEB-INF/wsdl/TradeServices.wsdl'.
> 18:51:29,263 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=QuoteDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:29,303 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=HoldingDataBean@http://daytrader.samples.gero
> nimo.apache.org
> 18:51:29,313 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=OrderDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:29,323 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=QuoteDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:29,323 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=HoldingDataBean@http://daytrader.samples.gero
> nimo.apache.org
> 18:51:29,333 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=OrderDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:29,333 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfOrderDataBean@http://daytrader.samples
> .geronimo.apache.org
> 18:51:29,333 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfQuoteDataBean@http://daytrader.samples
> .geronimo.apache.org
> 18:51:29,333 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfHoldingDataBean@http://daytrader.sampl
> es.geronimo.apache.org
> 18:51:29,844 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=QuoteDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:29,874 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=HoldingDataBean@http://daytrader.samples.gero
> nimo.apache.org
> 18:51:29,904 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=OrderDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:29,904 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=QuoteDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:29,914 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=HoldingDataBean@http://daytrader.samples.gero
> nimo.apache.org
> 18:51:29,914 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=OrderDataBean@http://daytrader.samples.geroni
> mo.apache.org
> 18:51:29,914 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfOrderDataBean@http://daytrader.samples
> .geronimo.apache.org
> 18:51:29,914 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfQuoteDataBean@http://daytrader.samples
> .geronimo.apache.org
> 18:51:29,914 WARN  [HeavyweightTypeInfoBuilder] No soap array info for schematype: T=ArrayOfHoldingDataBean@http://daytrader.sampl
> es.geronimo.apache.org
> TradeLog:Sun Oct 23 18:51:35 CEST 2005------
> TradeWebContextListener contextInitialized -- initializing TradeDirect threadID=Thread[RMI
TCP Connection(7)-192.168.1.100,5,RMI R
> untime]
> TradeLog:Sun Oct 23 18:51:35 CEST 2005------
> Error: TradeDirect:init -- error on JNDI lookups of DataSource -- TradeDirect will not
work
>         javax.naming.NamingException: could not look up : env/jdbc/TradeDataSource [Root
exception is java.lang.IllegalStateExcept
> ion: Could not get proxy]
> javax.naming.NamingException: could not look up : env/jdbc/TradeDataSource [Root exception
is java.lang.IllegalStateException: Cou
> ld not get proxy]
>         at org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyContext.java:222)
>         at org.apache.geronimo.naming.java.RootContext.lookup(RootContext.java:51)
>         at javax.naming.InitialContext.lookup(InitialContext.java:347)
>         at org.apache.geronimo.samples.daytrader.direct.TradeDirect.init(TradeDirect.java:2240)
>         at org.apache.geronimo.samples.daytrader.web.TradeWebContextListener.contextInitialized(TradeWebContextListener.java:33)
>         at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:497)
>         at org.apache.geronimo.jetty.JettyWebAppContext.doStart(JettyWebAppContext.java:328)
>         at org.mortbay.util.Container.start(Container.java:72)
>         at org.apache.geronimo.jetty.JettyWebAppContext.doStart(JettyWebAppContext.java:316)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:891)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:140)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
>         at org.apache.geronimo.kernel.KernelGBean.startRecursiveGBean(KernelGBean.java:73)
>         at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:795)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
>         at org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
>         at mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
>         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>         at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
>         at $Proxy0.invoke(Unknown Source)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
>         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>         at sun.rmi.transport.Transport$1.run(Transport.java:148)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.IllegalStateException: Could not get proxy
>         at org.apache.geronimo.naming.reference.ResourceReference.getContent(ResourceReference.java:55)
>         at org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyContext.java:220)
>         ... 50 more
> Caused by: java.lang.IllegalStateException: Operations can only be invoke while the GBean
is running: geronimo.server:J2EEApplicat
> ion=Trade,J2EEServer=geronimo,JCAResource=TradeDataSource,j2eeType=JCAManagedConnectionFactory,name=jdbc/TradeDataSource
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:793)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:175)
>         at org.apache.geronimo.naming.reference.ResourceReference.getContent(ResourceReference.java:53)
>         ... 51 more
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> Error: TradeDirect:init -- error on JNDI lookups of DataSource -- TradeDirect will not
work
>         javax.naming.NamingException: could not look up : env/jdbc/TradeDataSource [Root
exception is java.lang.IllegalStateExcept
> ion: Could not get proxy]
> javax.naming.NamingException: could not look up : env/jdbc/TradeDataSource [Root exception
is java.lang.IllegalStateException: Cou
> ld not get proxy]
>         at org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyContext.java:222)
>         at org.apache.geronimo.naming.java.RootContext.lookup(RootContext.java:51)
>         at javax.naming.InitialContext.lookup(InitialContext.java:347)
>         at org.apache.geronimo.samples.daytrader.direct.TradeDirect.init(TradeDirect.java:2240)
>         at org.apache.geronimo.samples.daytrader.web.TradeAppServlet.init(TradeAppServlet.java:53)
>         at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
>         at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
>         at org.apache.geronimo.jetty.JettyWebAppContext.registerServletHolder(JettyWebAppContext.java:508)
>         at org.apache.geronimo.jetty.JettyWebAppContext$$FastClassByCGLIB$$99d6fb54.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:760)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.jetty.JettyServletRegistration$$EnhancerByCGLIB$$1362da77.registerServletHolder(<generated>)
>         at org.apache.geronimo.jetty.JettyServletHolder.<init>(JettyServletHolder.java:77)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:856)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:140)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
>         at org.apache.geronimo.kernel.KernelGBean.startRecursiveGBean(KernelGBean.java:73)
>         at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:795)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
>         at org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
>         at mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
>         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>         at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
>         at $Proxy0.invoke(Unknown Source)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
>         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>         at sun.rmi.transport.Transport$1.run(Transport.java:148)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.IllegalStateException: Could not get proxy
>         at org.apache.geronimo.naming.reference.ResourceReference.getContent(ResourceReference.java:55)
>         at org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyContext.java:220)
>         ... 63 more
> Caused by: java.lang.IllegalStateException: Operations can only be invoke while the GBean
is running: geronimo.server:J2EEApplicat
> ion=Trade,J2EEServer=geronimo,JCAResource=TradeDataSource,j2eeType=JCAManagedConnectionFactory,name=jdbc/TradeDataSource
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:793)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:175)
>         at org.apache.geronimo.naming.reference.ResourceReference.getContent(ResourceReference.java:53)
>         ... 64 more
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: WebInterface=JSP
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: primIterations=1
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: maxQuotes=1000
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: runTimeMode=EJB
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: webServicesEndpoint=http://localhost:8080/daytrader/services/TradeWSServices
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: maxUsers=500
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: orderProcessingMode=Synchronous
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: No Caching=2
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: workloadMix=Standard
> TradeLog:Sun Oct 23 18:51:37 CEST 2005------
> TradeConfig setting parameter: accessMode=Standard

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message