1 2 3 4 Previous Next 56 Replies Latest reply on Sep 18, 2007 5:27 AM by Pete Muir Go to original post
      • 15. Re: Seam 2.0 BETA
        Gavin King Master

         

        2) Can I download somewhere Jboss Seam 2.0 with all requered (AS, JSF 1.2 etc.) as one installation package?


        Download AS 4.2 (JSF 1.2 is preinstalled) and Seam 2.0. That's all you need.

        • 16. Re: Seam 2.0 BETA
          Markus Wolf Newbie

          You mention that Tomcat 5.5 is not compatible with JSF 1.2, but I have a running Tomcat 5.5 with Seam 1.2.1 and JSF RI 1.2. ;)
          Why should it be incompatible?

          • 17. Re: Seam 2.0 BETA
            Newbie

            I don't recall seeing anything indicating that it won't run on Tomcat 5.5--you just have to follow the instructions in the documentation for getting it to run on JBoss 4.0.5 (i.e. copying 4 specific jars to common/lib) in addition to following the instructions for adding JBoss Embedded to your Tomcat installation. When I do that, the booking example deploys properly.

            There is one thing in the change from including the microcontainer in the war file (like Seam 1.3.0.ALPHA did) to including JBoss Embedded in your Tomcat installation (like Seam 2.0.0.BETA expects) that does introduce a regression: JBoss Embedded doesn't seem to like spaces in the pathname to Tomcat, so if you try to use JBoss Embedded with Tomcat in its default windows location ("C:\Program Files\Apache Software Foundation\Tomcat 5.5") it will fail. Just install Tomcat to a path with no spaces, and you'll be fine.

            • 18. Re: Seam 2.0 BETA
              ilhami visne Newbie

              I've created a new seam project wiht ear-support and opened it with Netbeans. "Java Sources Classpath" in the project properties is pointing to the libraries in the /lib folder, which do not exist in that /lib folder.

              i didn't check all, but these "jboss-ejb3-all.jar" and "commons-digester-1.6.jar" shown in the "Java Sources Classpath" aren't in the subfolder "/lib" of project folder.

              is something forgotten or was that the intention?

              • 19. Re: Seam 2.0 BETA
                Gavin King Master

                 

                JBoss Embedded doesn't seem to like spaces in the pathname to Tomcat, so if you try to use JBoss Embedded with Tomcat in its default windows location ("C:\Program Files\Apache Software Foundation\Tomcat 5.5") it will fail. Just install Tomcat to a path with no spaces, and you'll be fine


                please report this to Bill so he can fix it.

                • 20. Re: Seam 2.0 BETA
                  Novice

                   

                  "KnisterPeter" wrote:
                  You mention that Tomcat 5.5 is not compatible with JSF 1.2, but I have a running Tomcat 5.5 with Seam 1.2.1 and JSF RI 1.2. ;)
                  Why should it be incompatible?


                  I believe this incompatibility only applies if you're not using Facelets, as Tomcat 5.5 doesn't support JSP 2.1 that JSF 1.2 uses. Actually, it might be a good idea to clarify that point in Seam docs, to not freak people out unnecessarily :)

                  • 21. Re: Seam 2.0 BETA
                    Gavin King Master

                     

                    I believe this incompatibility only applies if you're not using Facelets, as Tomcat 5.5 doesn't support JSP 2.1 that JSF 1.2 uses. Actually, it might be a good idea to clarify that point in Seam docs, to not freak people out unnecessarily :)


                    We're not prepared to make this clarification because we found that some versions of the RI ran on 5.5 and some didn't. We're not sure exactly what the RI team's goal is in terms of support for 5.5.

                    • 22. Re: Seam 2.0 BETA
                      Markus Wolf Newbie

                      Facelets are defiantly supported, since we make heavy use of it. I know that JSF RI is not supported in tomcat 5.0 but with 5.5 we have never had problems.

                      • 23. Re: Seam 2.0 BETA
                        dunks80 Newbie

                         

                        "pete.muir@jboss.org" wrote:
                        I've fixed this in CVS - thanks for the report :)


                        Correct me if I'm wrong but shouldn't the lines that render the id for s:link and s:button be...

                        if (link.getId() != null)
                         {
                         writer.writeAttribute(HTML.ID_ATTR, link.getClientId(context), HTML.ID_ATTR);
                         }
                        

                        and
                        if (button.getId() != null)
                         {
                         writer.writeAttribute(HTML.ID_ATTR, button.getClientId(context), HTML.ID_ATTR);
                         }
                        


                        ...respectively. Instead of

                        if (link.getId() != null)
                         {
                         writer.writeAttribute(HTML.ID_ATTR, link.getId(), HTML.ID_ATTR);
                         }
                        

                        and
                        if (button.getId() != null)
                         {
                         writer.writeAttribute(HTML.ID_ATTR, button.getId(), HTML.ID_ATTR);
                         }
                        


                        which is what I'm seeing in HEAD right now.


                        • 24. Re: Seam 2.0 BETA
                          Roman Ilin Newbie

                           

                          "gavin.king@jboss.com" wrote:
                          http://blog.hibernate.org/cgi-bin/blosxom.cgi/2007/06/27#seam2beta

                          * The Seam core is now independent of JSF

                          Does it means that I would be able to use Seam for example not in WebProject?
                          Can I use seam's injection and outjection enhancenments and another goodies by RMI


                          • 25. Re: Seam 2.0 BETA
                            Pete Muir Master

                            This is a big step towards that. Atm, this isn't supported ootb though, but its under discussion :) Take a look at how the WS support works for an ideas about how you could do this.

                            • 26. seam-gen new-action : test fails
                              koen handekyn Newbie

                              i created a new project using seam-gen. next i created an action using seam new-action. the test fails as follows:

                              any comments?

                              test:
                               [testng] [Parser] Running:
                               [testng] C:\workspace\upbox\test-build\ExampleActionTest.xml
                               [testng]
                               [testng] WARN 04-07 15:02:49,313 [org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoader():675] Tried to add n
                              on-URLClassLoader. Ignored
                               [testng] ERROR 04-07 15:02:49,488 [org.jboss.dependency.plugins.AbstractController.incrementState():456] Error instal
                              ling to Instantiated: name=DeploymentFilter state=Described
                               [testng] java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
                               [testng] at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
                               [testng] at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
                               [testng] at org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
                               [testng] at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetri
                              eval(AnnotatedElementMetaDataLoader.java:138)
                               [testng] at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMeta
                              DataContext.java:280)
                               [testng] at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetri
                              evalToMetaDataBridge.java:159)
                               [testng] at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJ
                              oinpoint.java:202)
                               [testng] at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoin
                              point.java:172)
                               [testng] at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPCo
                              nstructorJoinpoint.java:152)
                               [testng] at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.jav
                              a:99)
                               [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerC
                              ontextAction.java:103)
                               [testng] at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52
                              )
                               [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerConte
                              xtAction.java:197)
                               [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextActi
                              on.java:136)
                               [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextAction
                              s.java:51)
                               [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
                               [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
                               [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
                               [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
                               [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
                               [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
                               [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
                               [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302
                              )
                               [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:27
                              2)
                               [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
                               [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
                               [testng] at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
                               [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
                               [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
                               [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
                               [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:919)
                               [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856)
                               [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
                               [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                               [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               [testng] at java.lang.reflect.Method.invoke(Method.java:597)
                               [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
                               [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
                               [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
                               [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
                               [testng] at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
                               [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
                               [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
                               [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
                               [testng] at org.testng.TestRunner.run(TestRunner.java:495)
                               [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
                               [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
                               [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
                               [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
                               [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
                               [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
                               [testng] at org.testng.TestNG.run(TestNG.java:699)
                               [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
                               [testng] at org.testng.TestNG.main(TestNG.java:802)
                               [testng] Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
                               [testng] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
                               [testng] at java.security.AccessController.doPrivileged(Native Method)
                               [testng] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                               [testng] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                               [testng] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
                               [testng] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                               [testng] at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:170)
                               [testng] ... 54 more
                               [testng] FAILED CONFIGURATION: @BeforeClass init
                               [testng] org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERROR
                              S FOR DETAILS):
                               [testng]
                               [testng] *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                               [testng]
                               [testng] ResourcesToDeploy
                               [testng] -> jboss.kernel:service=Kernel{Configured:**ERROR**}
                               [testng] -> DeploymentFilter{Configured:**ERROR**}
                               [testng]
                               [testng] ResourcesToDeploy2
                               [testng] -> jboss.kernel:service=Kernel{Configured:**ERROR**}
                               [testng] -> DeploymentFilter{Configured:**ERROR**}
                               [testng]
                               [testng] ResourcesToDeploy3
                               [testng] -> DeploymentFilter{Configured:**ERROR**}
                               [testng]
                               [testng]
                               [testng] *** CONTEXTS IN ERROR: Name -> Error
                               [testng]
                               [testng] DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
                               [testng]
                               [testng] jboss.kernel:service=Kernel -> **ERROR**
                               [testng]
                               [testng]
                               [testng] at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144)
                               [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169)
                               [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
                               [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
                               [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:919)
                               [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856)
                               [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
                               [testng] ... Removed 22 stack frames
                               [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
                               [testng] SKIPPED CONFIGURATION: @AfterMethod end
                               [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
                               [testng] SKIPPED: test
                               [testng]
                               [testng] ===============================================
                               [testng] ExampleAction Test
                               [testng] Tests run: 1, Failures: 0, Skips: 1
                               [testng] Configuration Failures: 1, Skips: 3
                               [testng] ===============================================
                               [testng]
                               [testng]
                               [testng] ===============================================
                               [testng] ExampleAction Tests
                               [testng] Total tests run: 1, Failures: 0, Skips: 1
                               [testng] Configuration Failures: 1, Skips: 3
                               [testng] ============================================
                              ===

                              • 27. Re: Seam 2.0 BETA
                                Georges Goebel Newbie

                                Hi,

                                I miss an example of Seam 2.0 Beta with Icefaces 1.6.
                                I struggle with a lot of problems and would be pleased if there was an example of seam 2.0 with icefaces 1.6. I managed to work with seam 1.3 and icefaces 1.5.3, but I could not get seam 1.3 + icefaces 1.6 working.
                                Can I use seam 2 with icefaces 1.6 or are there known problems ?

                                I know there the release Icefaces 1.6 DR5 has problem with the long-conversation but the SVN version does not have this limitation

                                Thanks for any information

                                Georges

                                • 28. Re: Seam 2.0 BETA
                                  Gavin King Master

                                  I hope that the Seam2 final release will have an icefaces example that integrates the latest version of icefaces correctly.

                                  • 29. Re: Seam 2.0 BETA
                                    Arbi Sookazian Master

                                    As far as SSO is concerned, when is the JBoss Federated SSO integration with Seam going to be available (in what version)?

                                    Are there any recommended techniques or libraries to use for SSO and/or Kerberos authentication?