8 Replies Latest reply on Feb 9, 2007 5:57 AM by baz

    seamspace example does not deploy

    baz

      Hello,
      from the forum i have the assumption that the seamspace example is working.
      I have not succeeded in deploying it. Wether for seam1.1.5GA not for the CVS Verrsion from todays morning.

      The last attempt gives this : java.lang.IllegalArgumentException: You must specify org.jboss.seam.core.init.jndiPattern or use @JndiName: profile

      10:05:55,078 INFO [STDOUT] 10:05:55,078 INFO [ServletContextListener] Welcome to Seam 1.1.6.GA
      10:05:55,125 INFO [STDOUT] 10:05:55,125 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
      10:05:55,140 INFO [STDOUT] 10:05:55,125 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
      10:05:55,140 INFO [STDOUT] 10:05:55,140 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
      10:05:55,140 INFO [STDOUT] 10:05:55,140 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
      10:05:55,156 INFO [STDOUT] 10:05:55,156 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/seam-space.jar
      10:05:55,156 INFO [STDOUT] 10:05:55,156 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/jboss-
      seam-ui.jar
      10:05:55,171 INFO [STDOUT] 10:05:55,171 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/seam-s
      pace.jar
      10:05:55,187 INFO [STDOUT] 10:05:55,187 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/jboss-seam.jar
      10:05:55,203 INFO [STDOUT] 10:05:55,203 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/jboss-
      seam.jar
      10:05:55,218 INFO [STDOUT] 10:05:55,218 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
      10:05:55,250 INFO [STDOUT] 10:05:55,250 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
      10:05:55,250 INFO [STDOUT] 10:05:55,250 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
      10:05:55,250 INFO [STDOUT] 10:05:55,250 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
      10:05:55,250 INFO [STDOUT] 10:05:55,250 INFO [Initialization] reading /WEB-INF/components.xml
      10:05:55,453 INFO [STDOUT] 10:05:55,453 INFO [Initialization] reading jar:file:/E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/jboss-seam.jar!/META-INF/
      components.xml
      10:05:55,531 INFO [STDOUT] 10:05:55,531 INFO [Initialization] reading jar:file:/E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-
      INF/lib/jboss-seam.jar!/META-INF/components.xml
      10:05:55,546 INFO [STDOUT] 10:05:55,546 INFO [Initialization] reading properties from: /seam.properties
      10:05:55,562 INFO [STDOUT] 10:05:55,562 INFO [Initialization] reading properties from: /jndi.properties
      10:05:55,578 INFO [STDOUT] 10:05:55,578 INFO [Initialization] initializing Seam
      10:05:55,578 INFO [STDOUT] 10:05:55,578 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/seam-space.jar
      10:05:55,718 INFO [STDOUT] 10:05:55,718 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/jboss-
      seam-ui.jar
      10:05:55,921 INFO [STDOUT] 10:05:55,921 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/seam-s
      pace.jar
      10:05:55,953 INFO [STDOUT] 10:05:55,953 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/jboss-seam.jar
      10:05:57,125 INFO [STDOUT] 10:05:57,125 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/jboss-
      seam.jar
      10:05:58,031 INFO [STDOUT] 10:05:58,031 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.multipartConfig
      10:05:58,062 INFO [STDOUT] 10:05:58,062 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
      10:05:58,203 INFO [STDOUT] 10:05:58,203 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
      10:05:58,234 INFO [STDOUT] 10:05:58,234 INFO [Initialization] Installing components...
      10:05:58,234 INFO [STDOUT] 10:05:58,234 INFO [Component] Component: org.jboss.seam.core.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions
      10:05:58,250 INFO [STDOUT] 10:05:58,234 INFO [Component] Component: org.jboss.seam.core.applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
      10:05:58,250 INFO [STDOUT] 10:05:58,250 INFO [Component] Component: org.jboss.seam.core.conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
      10:05:58,250 INFO [STDOUT] 10:05:58,250 ERROR [[/seam-space]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.IllegalArgumentException: You must specify org.jboss.seam.core.init.jndiPattern or use @JndiName: profile
       at org.jboss.seam.Component.getJndiName(Component.java:346)
       at org.jboss.seam.Component.<init>(Component.java:222)
       at org.jboss.seam.Component.<init>(Component.java:207)
       at org.jboss.seam.init.Initialization.addComponent(Initialization.java:781)
       at org.jboss.seam.init.Initialization.addComponents(Initialization.java:690)
       at org.jboss.seam.init.Initialization.init(Initialization.java:451)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
       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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
       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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
       at org.jboss.web.WebModule.startModule(WebModule.java:83)
       at org.jboss.web.WebModule.startService(WebModule.java:61)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor3.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.GeneratedMethodAccessor6.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 $Proxy41.start(Unknown Source)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
       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.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
       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 $Proxy42.start(Unknown Source)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at sun.reflect.GeneratedMethodAccessor11.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 $Proxy6.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:263)
       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.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.server.Invocati
      10:05:58,468 INFO [STDOUT] on.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.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.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)
      10:05:58,562 ERROR [StandardContext] Error listenerStart
      10:05:58,562 ERROR [StandardContext] Context [/seam-space] startup failed due to previous errors
      10:05:58,796 WARN [ServiceController] Problem starting service jboss.web.deployment:war=seam-space.war,id=1692461539
      org.jboss.deployment.DeploymentException: URL file:/E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/ deployment failed
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)
      [....]
      10:05:59,296 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@87511f5a { url=file:/E:/IDE/jboss-4.0.5.GA-special/server/default/deploy/seam-space.ear }
       deployer: org.jboss.deployment.EARDeployer@9c2715
       status: Deployment FAILED reason: URL file:/E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/ deployment failed
       state: FAILED
       watch: file:/E:/IDE/jboss-4.0.5.GA-special/server/default/deploy/seam-space.ear
       altDD: null
       lastDeployed: 1170925548656
       lastModified: 1170925538718
       mbeans:
       jboss.j2ee:ear=seam-space.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 state: Started
       jboss.j2ee:ear=seam-space.ear,jar=jboss-seam.jar,name=TransactionListener,service=EJB3 state: Started
       persistence.units:ear=seam-space.ear,jar=seam-space.jar,unitName=seamspaceDatabase state: Started
       jboss.j2ee:ear=seam-space.ear,jar=seam-space.jar,name=BlogAction,service=EJB3 state: Started
       jboss.j2ee:ear=seam-space.ear,jar=seam-space.jar,name=ContentAction,service=EJB3 state: Started
       jboss.j2ee:ear=seam-space.ear,jar=seam-space.jar,name=FriendAction,service=EJB3 state: Started
       jboss.j2ee:ear=seam-space.ear,jar=seam-space.jar,name=ProfileAction,service=EJB3 state: Started
       jboss.j2ee:ear=seam-space.ear,jar=seam-space.jar,name=RegisterAction,service=EJB3 state: Started
      
      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.web.deployment:war=seam-space.war,id=1692461539
       State: FAILED
       Reason: org.jboss.deployment.DeploymentException: URL file:/E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/ deployment failed
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web.deployment:war=seam-space.war,id=1692461539
       State: FAILED
       Reason: org.jboss.deployment.DeploymentException: URL file:/E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/ deployment failed
      
      
      10:05:59,406 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      10:05:59,625 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      10:05:59,640 INFO [JkMain] Jk running ID=0 time=0/47 config=null
      10:05:59,656 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 44s:594ms
      
      
      
      
      
      
      


        • 1. Re: seamspace example does not deploy
          baz

          I have retried the example, with the now new code in the cvs. (I asume that this code base is identical with the release of seam 1.1.6)

          The problem has not gone away.
          11:27:38,453 INFO [STDOUT] 11:27:38,453 ERROR [[/seam-space]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
          java.lang.IllegalArgumentException: You must specify org.jboss.seam.core.init.jndiPattern or use @JndiName: profile
          at org.jboss.seam.Component.getJndiName(Component.java:346)
          at org.jboss.seam.Component.(Component.java:222)
          at org.jboss.seam.Component.(Component.java:207)

          • 2. Re: seamspace example does not deploy

            I am able to deploy it correctly. Are the properties getting correctly expanded in build/resources/WEB-INF/components.xml?

            • 3. Re: seamspace example does not deploy
              baz

              curious, but i have assumed that from other postings in the forum:-(

              Yes the properties are expanded.

              <core:init jndi-pattern="seam-space/#{ejbName}/local" debug="false"/>


              The error is only for seam-space and the profile component. I do not have any clue what is wrong with my appserver.
              Hibernate2, seam-pay,ui and the pdf example deploy correctly.
              Ciao,
              Carsten

              • 4. Re: seamspace example does not deploy

                You will find more detailed logging in server.log. What are the messages around the initialization of the init component? Here's an example from mine:

                2007-02-09 01:14:27,026 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
                2007-02-09 01:14:27,033 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.debug=false
                2007-02-09 01:14:27,045 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.jndiPattern=seam-space/#{ejbName}/local
                2007-02-09 01:14:27,045 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.init
                2007-02-09 01:14:27,046 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.init
                2007-02-09 01:14:27,046 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.init
                


                • 5. Re: seamspace example does not deploy
                  baz

                  I download the appserver again and reinstall it. Hope that helps.

                  • 6. Re: seamspace example does not deploy
                    baz

                    I don't know what was going on. :-(
                    The reinstallation does not have any effect.
                    I recompiled the example 3 times with the given ant script (targets clean,deploy) Every time i get a complete different ear (in size )
                    The last build succeds. I was able to start the application.

                    Background:
                    I use eclipse together with exadel studio.
                    i downloaded the seam sources with eclipses CVS provider into an eclipse project. There i can build seam and any example without problems, except seam-space. This environment seems to be a little bit unstable:-(

                    • 7. Re: seamspace example does not deploy
                      shane.bryzak

                      What kind of environment are you doing this in? OS, JDK version, etc?

                      • 8. Re: seamspace example does not deploy
                        baz

                        Hello Shane,
                        i am using WXP SP2 with the newest patches
                        JDK 1.5.0_10
                        Eclipse 3.2.1
                        Exadel pro 4.0.3
                        Jboss AS installed with jems-installer-1.2.0.GA.jar (EJB3 profile)
                        seam 1.1.6GA (using the delivered facelets, myfaces and hibernate jars)

                        BTW: This is the test plattform for our new projects.
                        The current project does not use EJB3. I am using hibernate in the microcontainer in Tomcat.

                        NOTE:
                        When building the example there are three states of the result.
                        1. The ear is about 25MB When deplying it is complaing about a duplicate datasource. When removing seamspace-ds.xml from the server it gives the shown exception.

                        2. The ear is about 4MB in size and does not even deploy

                        3. The correct result. An ear of ca 4,2MB in size and a seamspace-ds.xml

                        I have no clue why this happens. And so far it occurs only with seamspace:-(