[jboss-user] [JBoss Seam] - registration example throws exception

2006-10-25 Thread baz
Hello , the registration example throws exception. A patch is filed to the jira. http://jira.jboss.org/jira/browse/JBSEAM-437 2006-10-25 08:55:37,078 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-registration].[jsp]] Servlet.service() for servlet jsp threw

[jboss-user] [JBoss Seam] - Re: How to configure an embedded Ejb to connect to MySql not

2006-10-24 Thread baz
Hello, anonymous wrote : about your third solution, would you please explain more? Sure. try to search your complete project for the string hsql. Not only the source code, check the generated artifacts also. Even check the deployed project. There must be an erroneus configuration. And this need to

[jboss-user] [JBoss Seam] - Re: Trinidad example uploaded to wiki

2006-10-24 Thread baz
Hello, the uploaded trinidad example is just the adf example (also found at the wiki) converted to trinidad. I must state that i am not the author of the adf example. The uploaded example works for me on JBoss AS 4.0.4GA and on JBoss 4.0.5GA Yes, the mentioned warning is rendered, but the button

[jboss-user] [JBoss Seam] - Re: How to configure an embedded Ejb to connect to MySql not

2006-10-23 Thread baz
Hello, First, try to not use autoReconnect property name=connectionURL | jdbc:mysql://192.168.0.157:3306/seamtest?autoReconnect=trueuseUnicode=truecharacterEncoding=UTF8 | From the MySQL Connector/J documentation about autoReconnect: anonymous wrote : The use

[jboss-user] [JBoss Seam] - Trinidad example uploaded to wiki

2006-10-20 Thread baz
Hello, i modified the ADF registration example on the wiki to use trinidad. This example uses selfcompiled (19.11.2006) librarys for trinidad. You can find this new example in the EXAMPLE section of the wiki. As of today, trinidad does not support opera as browser:-( but firefox works. Ciao,

[jboss-user] [JBoss Seam] - which tag librarys do you use?

2006-10-19 Thread baz
Hello, i would like to ask which tag librarys can be used? In the seam documentation i found: anonymous wrote : We recommend the Ajax4JSF and | ADF faces (now Trinidad) tag libraries for use with Seam. We do not recommend the use of the Tomahawk tag | library. But, i compiled trinidad for

[jboss-user] [JBoss Seam] - Re: Problems using current cvs version of seam

2006-10-13 Thread baz
Hello Gavin, thanks for the note. I will wait. Ciao, Carsten Note: I have not expected the examples to run, i expected that seam will start (but it does not) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3976908#3976908 Reply to the post :

[jboss-user] [JBoss Seam] - Re: no application context with latest seam version

2006-10-12 Thread baz
Solved. My app runs again. Only a little change in one of my facelets templates. I have disobeyed that jscook menu must be rendered inside a form. If this is not the case tomahawk renders a dummy form which do not work with the latest seam version. @ codelion The warning is about Tomahawk. The

[jboss-user] [JBoss Seam] - Problem with HibernateEntity when id is not of type String

2006-10-12 Thread baz
Hello, i do have a little problem with the upgrade to HibernateEntity. a ClassCastException: java.lang.String is raised at org.hibernate.type.LongType.set(LongType.java:42) see below. My question: how must an id of type other than String be handled? The idclass seems to be gone. My

[jboss-user] [JBoss Seam] - Re: Problem with HibernateEntity when id is not of type Stri

2006-10-12 Thread baz
Hello, totally my fault. now solved. With HibernateManagedEntity you could outject only Objects of type String, So HibernateManagedEntity has to convert a String to the real object type (e.g.long) .For this purpose ther was the attribute idclass. Now, with HibernateEntity, you can outject the

[jboss-user] [JBoss Seam] - no application context with latest seam version

2006-10-11 Thread baz
Hello, i have compiled the latest seam version out of cvs. I am aware that it is at heavy development. We are using tomcat with hibernate in the microcontainer Besides the copying of the new seam jars to the apps lib folder i have to adapt components.xml. No other files are changed. With the

[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a

2006-10-11 Thread baz
Hello, We are using seam with tomcat. Seams comes with great documentation for its configuration. Please read this: http://docs.jboss.com/seam/latest/reference/en/html/configuration.html. You can use the embeddable EJB3 container

[jboss-user] [JBoss Seam] - Re: is there a complete reference to configure Tomcat for a

2006-10-11 Thread baz
Hello, i think your problem has nothing to do with seam running on tomcat. If i am not completly misleaded your problem is with the jndi name of the datasource. Instead of anonymous wrote : jta-data-sourcetestDatasource/jta-data-source try

[jboss-user] [JBoss Seam] - Problems using current cvs version of seam

2006-10-09 Thread baz
the newest thirdparty-all.jar into my app the NoClassDefFoundError: net/sf/cglib/proxy/Factory does not vanish. 09:51:17,812 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz]: Exception sending context initialized event to listener instance of class

[jboss-user] [JBoss Seam] - Re: ManagedEntity class has gone

2006-10-09 Thread baz
Hello, i am used to use HibernateManagedEntity. Both classes HibernateManagedEntity and ManagedEntity are renamed. Please refer to this thread: http://www.jboss.com/index.html?module=bbop=viewtopict=92311 We have to wait. There will be an example which shows how to use the refectored (renamed )

[jboss-user] [JBoss Seam] - Re: ManagedEntity class has gone

2006-10-09 Thread baz
Hello anonymous wrote : it was rather unexpected to lose the class without any traces. Not for us. This kind of functinality was never integrated in a production stable seam library. anonymous wrote : ut we try to use Seam in some kind of commercial development If this is the case why are you

[jboss-user] [JBoss Seam] - Re: s:decorate/

2006-10-06 Thread baz
Hello, i like to test s:decorate/ But i have some problems with building and using the latest seam jars. When i execute the build and testcore targets this error occur in the tests anonymous wrote :[testng] FAILED: org.jboss.seam.test.ContextTest.testContexts() |[testng]

[jboss-user] [JBoss Seam] - Re: Seam-managed persistence context set-up in Tomcat - help

2006-09-05 Thread baz
anonymous wrote : Does anyone have experience with setting up Seam-managed persistence context set-up in Tomcat? Do you want to use embedded EJB or do you want a Hibernate session in a microcontainer. The later is described in the seam docu and there is the hibernate example in the seam

[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?

2006-08-27 Thread baz
Hello, The mentioned URL is a live example of the tomahawk components. You can found more infos in the myfaces wiki: http://wiki.apache.org/myfaces/ anonymous wrote : It would have taken someone about 3 minutes to say, Hey this is what is in head.inc or you need to put this line in web.xml so

[jboss-user] [JBoss Seam] - Re: JSP insted XHTMLS (DVD store example)

2006-08-24 Thread baz
Hello, anonymous wrote : 1) the nwFile.jsp I am trying to view is just a simple JSP file why does it try to parse it? This is because you are using https://facelets.dev.java.net/. This stiuff is parsing your pages and complains about well formdness. From your exception: | ...must be

[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-08-23 Thread baz
Hello, when deploying the sample application i got an exception: 13:25:09,078 ERROR [[/seam-security]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: error while reading components.xml | at

[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: Register.memb

2006-08-14 Thread baz
Hello, try | @DataModel(scope=ScopeType.SESSION,) | private ListMember members; | | @Factory(members) | public void getmembers(){ |members = em.createQuery( from members member order by member.joinDate).getResultList(); | } You do

[jboss-user] [JBoss Seam] - Re: Managed(Hibernate)Entity usage question

2006-08-10 Thread baz
Hello, Thanks for your answer. anonymous wrote : you should not convert the id to a string. if i do not convert, i get a class cast exception. This is due to this codefragment from getInstance return (Serializable) idConverter.getAsObject( |facesContext, |

[jboss-user] [JBoss Seam] - Hundreds of IllegalArgumentException: SessionFactory not fou

2006-08-10 Thread baz
Hello, i am experience hundreds of exceptions, see below. Nevertheless the component bazDatabase gets initialized sometimes. So the app could access the database. Any ideas what went wrong. My app works with tomcat5.15 hibernate is set up in the microcontainer (configuration after the exception

[jboss-user] [JBoss Seam] - Re: When can @Logger be used?

2006-08-10 Thread baz
Hello, i am using this facility successfully with javabeans. Do you try to use a log statement in a constructor? This will not function. The bean is first constructed and then injection take place. So you can not use the logger in a constructor. If you need it, you have 2 possibilities: 1. use

[jboss-user] [JBoss Seam] - Managed(Hibernate)Entity usage question

2006-08-09 Thread baz
Hello, i do have 2 Manged Entitys set up: component name=bazProject class=org.jboss.seam.core.ManagedHibernateEntity | property name=entityClassde.bafz.lims.model.Project/property | property name=session#{bazDatabase}/property | property

[jboss-user] [JBoss Seam] - Re: Managed(Hibernate)Entity usage question

2006-08-09 Thread baz
Hello, anonymous wrote : The only difference is that bazProject is used in an html page while bazExperiment is not. That is the difference. I accessed bazExperiment in a html page and.. voila it is injected. If i do not access such a component in a html page it won't be injected. Gavin can you

[jboss-user] [JBoss Seam] - Re: @Begin and @End

2006-07-22 Thread baz
Hi Gavin, i will change back to my own manager, if you have the opinion that my change does not make sense. IMHO, it can always happen that 'getInstance()' from the Manager is called when there is no Id in any context. This will result in an exception. But if there is no Id than there is no

[jboss-user] [JBoss Seam] - Re: @Begin and @End

2006-07-20 Thread baz
anonymous wrote : And then, whenever the id of the object is available in a context variable or request parameter, we can just inject the correct instance. Hi Gavin, i have tried your approach with a ManagedHibernateEntity. i must learn what the word 'whenever' means: if the id is not available i

<    1   2   3