2 Replies Latest reply on May 10, 2008 1:48 AM by lee ang

    Error when deploying day trader to jboss - Caused by: org.jb

    lee ang Newbie

      Greetings,
      i will like to ask if anybody have deploy day trader into JBoss.

      Currently i deploying day trader into jboss and i meeting some problems and i hope to get some advice from u veterans.

      My day trader can be down load at www.openevol.com/chongming/daytrader-ear-2.0-SNAPSHOT.ear

      These are the errors i encounter

      ===============================================================================
      
      18:03:24,553 INFO [Server] Starting JBoss (MX MicroKernel)...
      18:03:24,553 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
      18:03:24,553 INFO [Server] Home Dir: D:\Program Files\Apache\jboss-4.0.5.GA
      18:03:24,563 INFO [Server] Home URL: file:/D:/Program Files/Apache/jboss-4.0.5.GA/
      18:03:24,563 INFO [Server] Patch URL: null
      18:03:24,563 INFO [Server] Server Name: default
      18:03:24,563 INFO [Server] Server Home Dir: D:\Program Files\Apache\jboss-4.0.5.GA\server\default
      18:03:24,563 INFO [Server] Server Home URL: file:/D:/Program Files/Apache/jboss-4.0.5.GA/server/default/
      18:03:24,563 INFO [Server] Server Log Dir: D:\Program Files\Apache\jboss-4.0.5.GA\server\default\log
      18:03:24,563 INFO [Server] Server Temp Dir: D:\Program Files\Apache\jboss-4.0.5.GA\server\default\tmp
      18:03:24,563 INFO [Server] Root Deployment Filename: jboss-service.xml
      18:03:25,564 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
      18:03:25,564 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc.
      18:03:25,564 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      18:03:27,717 INFO [Server] Core system initialized
      18:03:34,317 INFO [WebService] Using RMI server codebase: http://Zodiac:8083/
      18:03:34,367 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      18:03:49,028 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
      18:03:51,812 INFO [Embedded] Catalina naming disabled
      18:03:51,912 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default ru
      e set.
      18:03:51,912 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default ru
      e set.
      18:03:53,023 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      18:03:53,023 INFO [Catalina] Initialization processed in 1111 ms
      18:03:53,023 INFO [StandardService] Starting service jboss.web
      18:03:53,023 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
      18:03:53,084 INFO [StandardHost] XML validation disabled
      18:03:53,154 INFO [Catalina] Server startup in 131 ms
      18:03:53,564 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      18:03:54,175 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
      18:03:55,397 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
      18:03:56,679 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp3291jbossws-context-exp.war/
      18:03:57,991 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-h
      tpil.war/
      18:04:01,436 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-cons
      le.war/
      18:04:03,589 INFO [MailService] Mail Service bound to java:/Mail
      18:04:04,200 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc
      rar
      18:04:04,330 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.ra
      
      18:04:04,390 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.ra
      
      18:04:04,450 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      18:04:04,550 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
      18:04:04,690 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      18:04:06,613 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Default
      S' to JNDI name 'java:DefaultDS'
      18:04:07,935 INFO [jms/TradeBrokerQueue] Bound to JNDI name: TradeBrokerQueue
      18:04:07,945 INFO [jms/TradeStreamerTopic] Bound to JNDI name: TradeStreamerTopic
      18:04:07,955 INFO [A] Bound to JNDI name: queue/A
      18:04:07,965 INFO [B] Bound to JNDI name: queue/B
      18:04:07,965 INFO [C] Bound to JNDI name: queue/C
      18:04:07,965 INFO [D] Bound to JNDI name: queue/D
      18:04:07,965 INFO [ex] Bound to JNDI name: queue/ex
      18:04:08,005 INFO [testTopic] Bound to JNDI name: topic/testTopic
      18:04:08,015 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      18:04:08,015 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      18:04:08,025 INFO [testQueue] Bound to JNDI name: queue/testQueue
      18:04:08,155 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
      18:04:08,265 INFO [DLQ] Bound to JNDI name: queue/DLQ
      18:04:08,646 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBindin
      ,name=JmsXA' to JNDI name 'java:JmsXA'
      18:04:08,876 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/Tr
      deDataSource' to JNDI name 'jdbc/TradeDataSource'
      18:04:09,006 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      18:04:09,597 INFO [EARDeployer] Init J2EE application: file:/D:/Program Files/Apache/jboss-4.0.5.GA/server/default/dep
      oy/daytrader-ear-2.0-SNAPSHOT.ear
      18:04:09,928 WARN [MainDeployer] Found non-jar deployer for wsappclient.jar: org.jboss.deployment.ClientDeployer@1a6b1
      f
      18:04:11,150 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.Deployme
      tException is assignable from: class org.jboss.deployment.DeploymentException
      18:04:11,160 ERROR [MainDeployer] Could not initialise deployment: file:/D:/Program Files/Apache/jboss-4.0.5.GA/server/
      efault/deploy/daytrader-ear-2.0-SNAPSHOT.ear
      org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.De
      loymentException: expected one home tag)
       at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:755)
       at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:356)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
       at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
       at org.jboss.deployment.SubDeployerInterceptorSupport.init(SubDeployerInterceptorSupport.java:119)
       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.init(SubDeployerInterceptorSupport.java
      172)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:87)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy38.init(Unknown Source)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:2
      3)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
       at org.jboss.Main.boot(Main.java:200)
       at org.jboss.Main$1.run(Main.java:490)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.deployment.DeploymentException: expected one home tag
       at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:113)
       at org.jboss.metadata.EjbRefMetaData.importEjbJarXml(EjbRefMetaData.java:85)
       at org.jboss.metadata.WebMetaData.importWebXml(WebMetaData.java:926)
       at org.jboss.metadata.WebMetaData.importXml(WebMetaData.java:738)
       at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:750)
       ... 88 more
      18:04:11,170 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@e797dc73 { url=file:/D:/Program Files/Apache/jboss-4.0.5.GA/server/default/deploy/d
      ytrader-ear-2.0-SNAPSHOT.ear }
       deployer: org.jboss.deployment.EARDeployer@15b8520
       status: null
       state: FAILED
       watch: file:/D:/Program Files/Apache/jboss-4.0.5.GA/server/default/deploy/daytrader-ear-2.0-SNAPSHOT.ear
       altDD: null
       lastDeployed: 1209863051160
       lastModified: 1209863049587
       mbeans:
      
      
      18:04:11,360 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      18:04:11,560 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      18:04:11,590 INFO [JkMain] Jk running ID=0 time=0/90 config=null
      18:04:11,600 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 4
      s:37ms
      18:19:55,748 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/D:/Program Files/Apache/jboss-4.0.5.
      A/server/default/deploy/daytrader-ear-2.0-SNAPSHOT.ear
      18:19:55,748 INFO [EARDeployer] Undeployed J2EE application: file:/D:/Program Files/Apache/jboss-4.0.5.GA/server/defau
      t/deploy/daytrader-ear-2.0-SNAPSHOT.ear
      


        • 1. Re: Error when deploying day trader to jboss - Caused by: or
          jaikiran pai Master

           

          org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one home tag)


          Please post the contents of ejb-jar.xml and web.xml.

          Home Dir: D:\Program Files\Apache\jboss-4.0.5.GA


          On a different note, its always recommended not to install Java or any Java applications (including JBoss) in a folder containing a space in its path. You are better off installing JBoss, in maybe D:\jboss-4.0.5.GA. This is not the cause of the exception that you are seeing, but there have been many weird exceptions reported when JBoss was installed in folders with space in its path.




          • 2. Re: Error when deploying day trader to jboss - Caused by: or
            lee ang Newbie

            Hi jaikiran,

            Thanks for replying.

            I have changed the jboss directory as suggested, but the error still remains.

            As requested, below are the content for ejb-jar.xml and web.xml.

            ejb-jar.xml:

            <?xml version="1.0" encoding="UTF-8"?>
            <!--
             Licensed to the Apache Software Foundation (ASF) under one or more
             contributor license agreements. See the NOTICE file distributed with
             this work for additional information regarding copyright ownership.
             The ASF licenses this file to You under the Apache License, Version 2.0
             (the "License"); you may not use this file except in compliance with
             the License. You may obtain a copy of the License at
            
             http://www.apache.org/licenses/LICENSE-2.0
            
             Unless required by applicable law or agreed to in writing, software
             distributed under the License is distributed on an "AS IS" BASIS,
             WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
             See the License for the specific language governing permissions and
             limitations under the License.
            -->
            <ejb-jar version="3.0"
             xmlns="http://java.sun.com/xml/ns/javaee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
             <display-name>DayTrader Enterprise Bean Definitions</display-name>
            
             <!--
             All EJB 3.0 properties and attributes have been applied to the various DayTrader
             entity, session and message driven beans using annotations. The inline annotations
             can be overriden by modifing this file.
             -->
            </ejb-jar>
            



            web.xml:
            <?xml version="1.0" encoding="UTF-8"?>
            
            <!--
             Licensed to the Apache Software Foundation (ASF) under one or more
             contributor license agreements. See the NOTICE file distributed with
             this work for additional information regarding copyright ownership.
             The ASF licenses this file to You under the Apache License, Version 2.0
             (the "License"); you may not use this file except in compliance with
             the License. You may obtain a copy of the License at
            
             http://www.apache.org/licenses/LICENSE-2.0
            
             Unless required by applicable law or agreed to in writing, software
             distributed under the License is distributed on an "AS IS" BASIS,
             WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
             See the License for the specific language governing permissions and
             limitations under the License.
            -->
            <web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
            
             <display-name>DayTrader Web</display-name>
            
             <filter>
             <display-name>OrdersAlertFilter</display-name>
             <filter-name>OrdersAlertFilter</filter-name>
             <filter-class>org.apache.geronimo.samples.daytrader.web.OrdersAlertFilter</filter-class>
             </filter>
             <filter-mapping>
             <filter-name>OrdersAlertFilter</filter-name>
             <servlet-name>TradeAppServlet</servlet-name>
             </filter-mapping>
            
             <listener>
             <listener-class>org.apache.geronimo.samples.daytrader.web.TradeWebContextListener</listener-class>
             </listener>
            
             <servlet>
             <display-name>TradeAppServlet</display-name>
             <servlet-name>TradeAppServlet</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.TradeAppServlet</servlet-class>
             <load-on-startup>1</load-on-startup>
             </servlet>
            
             <servlet>
             <display-name>TestServlet</display-name>
             <servlet-name>TestServlet</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.TestServlet</servlet-class>
             </servlet>
            
             <servlet>
             <display-name>register</display-name>
             <servlet-name>register</servlet-name>
             <jsp-file>/register.jsp</jsp-file>
             </servlet>
             <servlet>
             <display-name>welcome</display-name>
             <servlet-name>welcome</servlet-name>
             <jsp-file>/welcome.jsp</jsp-file>
             </servlet>
             <servlet>
             <display-name>order</display-name>
             <servlet-name>order</servlet-name>
             <jsp-file>/order.jsp</jsp-file>
             </servlet>
             <servlet>
             <display-name>tradehome</display-name>
             <servlet-name>tradehome</servlet-name>
             <jsp-file>/tradehome.jsp</jsp-file>
             </servlet>
            
             <servlet>
             <display-name>TradeConfigServlet</display-name>
             <servlet-name>TradeConfigServlet</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.TradeConfigServlet</servlet-class>
             </servlet>
            
             <servlet>
             <display-name>TradeScenarioServlet</display-name>
             <servlet-name>TradeScenarioServlet</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.TradeScenarioServlet</servlet-class>
             <init-param>
             <description>Sets the default RuntimeMode. Legal values include EJB and Direct</description>
             <param-name>runTimeMode</param-name>
             <param-value>DIRECT</param-value>
             </init-param>
             <init-param>
             <description>Sets the default Order Processing Mode. Legal values include Synchronous, Asynchronous_1-Phase and Asynchronous_2-Phase</description>
             <param-name>orderProcessingMode</param-name>
             <param-value>Synchronous</param-value>
             </init-param>
             <init-param>
             <description>
             Sets the protocol the web application communicates with the server side services when driving with TradeScenarioServlet. Legal values incude
             Standard and WebServices.
             </description>
             <param-name>accessMode</param-name>
             <param-value>Standard</param-value>
             </init-param>
             <init-param>
             <description>Sets the WebServices endpoint when using WebServices accessMode when driving with TradeScenarioServlet.</description>
             <param-name>webServicesEndpoint</param-name>
             <param-value>http://localhost:8080/daytrader/services/TradeWSServices</param-value>
             </init-param>
             <init-param>
             <description>Sets the default workloadMix used with TradeScenario servlet. Legal values include Standard and High-Volume</description>
             <param-name>workloadMix</param-name>
             <param-value>Standard</param-value>
             </init-param>
             <init-param>
             <description>Sets the default WebInterface. Legal values include JSP and JSP-images</description>
             <param-name>WebInterface</param-name>
             <param-value>JSP</param-value>
             </init-param>
             <init-param>
             <description>Sets the population of Trade users when driving with TradeScenarioServlet.</description>
             <param-name>maxUsers</param-name>
             <param-value>200</param-value>
             </init-param>
             <init-param>
             <description>Sets the population of Stock quotes used when driving with TradeScenarioServlet.</description>
             <param-name>maxQuotes</param-name>
             <param-value>400</param-value>
             </init-param>
             <init-param>
             <description>Sets the number of iterations on web/ejb primitives.</description>
             <param-name>primIterations</param-name>
             <param-value>1</param-value>
             </init-param>
             <init-param>
             <description>Sets the data caching type</description>
             <param-name>No Caching</param-name>
             <param-value>2</param-value>
             </init-param>
             <load-on-startup>1</load-on-startup>
             </servlet>
            
             <servlet>
             <display-name>org_apache_geronimo_samples_daytrader_TradeWSAction</display-name>
             <servlet-name>org_apache_geronimo_samples_daytrader_TradeWSAction</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.soap.TradeWSAction</servlet-class>
             </servlet>
            
             <!-- Web container primitives -->
             <servlet>
             <display-name>ExplicitGC</display-name>
             <servlet-name>ExplicitGC</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ExplicitGC</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingServlet</display-name>
             <servlet-name>PingServlet</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingServlet</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingServletWriter</display-name>
             <servlet-name>PingServletWriter</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingServletWriter</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingServlet2Servlet</display-name>
             <servlet-name>PingServlet2Servlet</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingServlet2Servlet</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingServlet2ServletRcv</display-name>
             <servlet-name>PingServlet2ServletRcv</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingServlet2ServletRcv</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingServlet2Include</display-name>
             <servlet-name>PingServlet2Include</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingServlet2Include</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingServlet2IncludeRcv</display-name>
             <servlet-name>PingServlet2IncludeRcv</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingServlet2IncludeRcv</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingServlet2Jsp</display-name>
             <servlet-name>PingServlet2Jsp</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingServlet2Jsp</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingSession1</display-name>
             <servlet-name>PingSession1</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingSession1</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingSession2</display-name>
             <servlet-name>PingSession2</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingSession2</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingSession3</display-name>
             <servlet-name>PingSession3</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingSession3</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingJDBCRead</display-name>
             <servlet-name>PingJDBCRead</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingJDBCRead</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingJDBCWrite</display-name>
             <servlet-name>PingJDBCWrite</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingJDBCWrite</servlet-class>
             </servlet>
             <servlet>
             <display-name>PingServlet2JNDI</display-name>
             <servlet-name>PingServlet2JNDI</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.PingServlet2JNDI</servlet-class>
             </servlet>
             <!-- End of Web container primitives -->
            
             <!-- EJB container primitives (EJB3) -->
             <servlet>
             <servlet-name>ejb3.PingServlet2Session</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2Session</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2Entity</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2Entity</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2Session2Entity</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2Session2EntityCollection</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2Session2CMROne2One</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2Session2CMROne2Many</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2Session2JDBC</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2Session2JDBC</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2Session2JDBCCollection</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2Session2JDBCCollection</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2MDBQueue</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2MDBTopic</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic</servlet-class>
             </servlet>
             <servlet>
             <servlet-name>ejb3.PingServlet2TwoPhase</servlet-name>
             <servlet-class>org.apache.geronimo.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase</servlet-class>
             </servlet>
             <!-- End of EJB container primitives (EJB3) -->
            
            
             <servlet-mapping>
             <servlet-name>TradeAppServlet</servlet-name>
             <url-pattern>/app</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>TestServlet</servlet-name>
             <url-pattern>/TestServlet</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>TradeConfigServlet</servlet-name>
             <url-pattern>/config</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>TradeScenarioServlet</servlet-name>
             <url-pattern>/scenario</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>org_apache_geronimo_samples_daytrader_TradeWSAction</servlet-name>
             <url-pattern>/services/TradeWSServices</url-pattern>
             </servlet-mapping>
            
            
             <!-- Web container primitives (Servlet Mappings) -->
             <servlet-mapping>
             <servlet-name>ExplicitGC</servlet-name>
             <url-pattern>/servlet/ExplicitGC</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingServlet</servlet-name>
             <url-pattern>/servlet/PingServlet</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingServletWriter</servlet-name>
             <url-pattern>/servlet/PingServletWriter</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingServlet2Servlet</servlet-name>
             <url-pattern>/servlet/PingServlet2Servlet</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingServlet2ServletRcv</servlet-name>
             <url-pattern>/servlet/PingServlet2ServletRcv</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingServlet2Include</servlet-name>
             <url-pattern>/servlet/PingServlet2Include</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingServlet2IncludeRcv</servlet-name>
             <url-pattern>/servlet/PingServlet2IncludeRcv</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingServlet2Jsp</servlet-name>
             <url-pattern>/servlet/PingServlet2Jsp</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingSession1</servlet-name>
             <url-pattern>/servlet/PingSession1</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingSession2</servlet-name>
             <url-pattern>/servlet/PingSession2</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingSession3</servlet-name>
             <url-pattern>/servlet/PingSession3</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingJDBCRead</servlet-name>
             <url-pattern>/servlet/PingJDBCRead</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingJDBCWrite</servlet-name>
             <url-pattern>/servlet/PingJDBCWrite</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>PingServlet2JNDI</servlet-name>
             <url-pattern>/servlet/PingServlet2JNDI</url-pattern>
             </servlet-mapping>
             <!-- End of Web container primitives (Servlet Mappings) -->
            
            
             <!-- EJB container primitives (Servlet Mappings) -->
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2Session</servlet-name>
             <url-pattern>/ejb3/PingServlet2Session</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2Entity</servlet-name>
             <url-pattern>/ejb3/PingServlet2Entity</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2Session2Entity</servlet-name>
             <url-pattern>/ejb3/PingServlet2Session2Entity</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2Session2EntityCollection</servlet-name>
             <url-pattern>/ejb3/PingServlet2Session2EntityCollection</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2Session2CMROne2One</servlet-name>
             <url-pattern>/ejb3/PingServlet2Session2CMROne2One</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2Session2CMROne2Many</servlet-name>
             <url-pattern>/ejb3/PingServlet2Session2CMROne2Many</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2Session2JDBC</servlet-name>
             <url-pattern>/ejb3/PingServlet2Session2JDBC</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2Session2JDBCCollection</servlet-name>
             <url-pattern>/ejb3/PingServlet2Session2JDBCCollection</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2MDBQueue</servlet-name>
             <url-pattern>/ejb3/PingServlet2MDBQueue</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2MDBTopic</servlet-name>
             <url-pattern>/ejb3/PingServlet2MDBTopic</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>ejb3.PingServlet2TwoPhase</servlet-name>
             <url-pattern>/ejb3/PingServlet2TwoPhase</url-pattern>
             </servlet-mapping>
             <!-- End of EJB container primitives (Servlet Mappings) -->
            
            
             <session-config>
             <session-timeout>30</session-timeout>
             </session-config>
             <welcome-file-list>
             <welcome-file>index.html</welcome-file>
             </welcome-file-list>
             <error-page>
             <exception-type>java.lang.Exception</exception-type>
             <location>/error.jsp</location>
             </error-page>
             <error-page>
             <error-code>500</error-code>
             <location>/error.jsp</location>
             </error-page>
            
             <resource-ref>
             <res-ref-name>jdbc/TradeDataSource</res-ref-name>
             <res-type>javax.sql.DataSource</res-type>
             <res-auth>Container</res-auth>
             <res-sharing-scope>Shareable</res-sharing-scope>
             </resource-ref>
             <resource-ref>
             <res-ref-name>jms/QueueConnectionFactory</res-ref-name>
             <res-type>javax.jms.QueueConnectionFactory</res-type>
             <res-auth>Application</res-auth>
             <res-sharing-scope>Shareable</res-sharing-scope>
             </resource-ref>
             <resource-ref>
             <res-ref-name>jms/TopicConnectionFactory</res-ref-name>
             <res-type>javax.jms.TopicConnectionFactory</res-type>
             <res-auth>Application</res-auth>
             <res-sharing-scope>Shareable</res-sharing-scope>
             </resource-ref>
            
             <ejb-ref>
             <ejb-ref-name>ejb/TradeSLSBBean</ejb-ref-name>
             <ejb-ref-type>Session</ejb-ref-type>
             <remote>org.apache.geronimo.samples.daytrader.ejb3.TradeSLSBRemote</remote>
             <ejb-link>TradeSLSBBean</ejb-link>
             </ejb-ref>
             <ejb-ref>
             <ejb-ref-name>ejb/DirectSLSBBean</ejb-ref-name>
             <ejb-ref-type>Session</ejb-ref-type>
             <remote>org.apache.geronimo.samples.daytrader.ejb3.DirectSLSBRemote</remote>
             <ejb-link>DirectSLSBBean</ejb-link>
             </ejb-ref>
            
             <message-destination-ref>
             <message-destination-ref-name>jms/TradeBrokerQueue</message-destination-ref-name>
             <message-destination-type>javax.jms.Queue</message-destination-type>
             <message-destination-usage>Produces</message-destination-usage>
             <message-destination-link>dt-ejb.jar#jms/TradeBrokerQueue</message-destination-link>
             </message-destination-ref>
             <message-destination-ref>
             <message-destination-ref-name>jms/TradeStreamerTopic</message-destination-ref-name>
             <message-destination-type>javax.jms.Topic</message-destination-type>
             <message-destination-usage>Produces</message-destination-usage>
             <message-destination-link>dt-ejb.jar#jms/TradeStreamerTopic</message-destination-link>
             </message-destination-ref>
            
             <service-ref>
             <description>WSDL Service Trade</description>
             <service-ref-name>service/Trade</service-ref-name>
             <service-interface>org.apache.geronimo.samples.daytrader.client.ws.Trade</service-interface>
             <wsdl-file>WEB-INF/wsdl/TradeServices.wsdl</wsdl-file>
             <jaxrpc-mapping-file>WEB-INF/TradeServicesClient_mapping.xml</jaxrpc-mapping-file>
             <service-qname xmlns:pfx="http://daytrader.samples.geronimo.apache.org">pfx:Trade</service-qname>
             <port-component-ref>
             <service-endpoint-interface>org.apache.geronimo.samples.daytrader.client.ws.TradeWSServices</service-endpoint-interface>
             </port-component-ref>
             </service-ref>
            </web-app>
            


            Thanks again.