[jboss-user] [EJB 3.0] - Good build.xml to build the ear file

2007-10-19 Thread urswag
Is there a good template for an ANT build.xml file? I would like to compile, build, deploy, undeploy, test an ear application. Thanks for Your support. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097027#4097027 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Multiple pages.xml file

2007-09-07 Thread urswag
Replace the file suffix xhtml with page.xml. first-component.xhtml first-component.page.xml This should work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082141#4082141 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam 2.0: java.lang.OutOfMemoryError: PermGen space

2007-09-07 Thread urswag
I use (in Eclipse) the VM arguments for starting JBoss -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m. It seems to better. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081986#4081986 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Does project EL work in Seam?

2007-09-06 Thread urswag
Of course a syntax error View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081554#4081554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081554 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Does project EL work in Seam?

2007-09-05 Thread urswag
I use the projection | h:column | h:outputText value=#{rowObject.(row|row.identifier} / | /h:column | This generates the error | | aused by javax.el.ELException with message: Error Parsing: #{rowObject.(row|row.identifier} | |

[jboss-user] [JBoss Seam] - org.jboss.seam.RequiredException with message:

2007-09-05 Thread urswag
What ist exact meaning of this exception? org.jboss.seam.RequiredException with message: In attribute requires non-null value: manager.value I have code | | @Name(manager) | @Scope(ScopeType.CONVERSATION) | public class Manager { | | @In(create=true) |

[jboss-user] [JBoss Seam] - Seam Tests and JDK 6

2007-09-05 Thread urswag
It is requirement to use JDK 6. Were are are JBoss Seam 2.0.1 Beta. Is there an embedded EJB version working with this configuration? I tried it with version embedded EJB Beta 2. The consequence is I get the exception | [testng] [Parser] Running: |[testng]

[jboss-user] [JBoss Seam] - Exception calling stateful session bean default @Remove meth

2007-08-31 Thread urswag
This method generates an exception Exception calling stateful session bean default @Remove method What have I to change? | @End | @Destroy | @Remove | public void destroy() { | | } | | 13:36:23,086 WARN [Component] Exception calling

[jboss-user] [JBoss Seam] - Multiple pages.xml file

2007-08-31 Thread urswag
Hello I need more than one pages.xml file. My ways do not work. I tried it with another name somewhere in the tree. It does not work. Are there any restriction for the name and location of these files? The content of the file is: | ?xml version=1.0 encoding=UTF-8? | pages

[jboss-user] [JBoss Seam] - Identity remove all roles

2007-08-30 Thread urswag
Hello There is no cleanup method for the Seam Identity class. If I authenticate again with another user the roles of the logged in before are still active. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079471#4079471 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Identity remove all roles

2007-08-30 Thread urswag
It does clear the roles. I had an implementation problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079573#4079573 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079573 ___

[jboss-user] [JBoss Seam] - Re: [SEAM 2.0 BETA 1] Embedded ejb container fails at test s

2007-08-17 Thread urswag
The rar files are still not deployed! The deploy directory of JBoss Seam boostrap has the files. As You can see there are no rar files. | Directory of C:\devapp\jbossseam\jboss-seam-2.0.0.BETA1\bootstrap\deploy | | 03.08.2007 18:44DIR . | 03.08.2007 18:44DIR

[jboss-user] [JBoss Seam] - Seam Test and java.util.EmptyStackException

2007-08-15 Thread urswag
Using Seam 2.0.0 Beta and JBoss 4.2.0. Making an own test with my user definend Entity Bean User for Oracle DB, I get a strange exception | [testng] java.util.EmptyStackException |[testng] at java.util.Stack.peek(Stack.java:79) |[testng] at

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-14 Thread urswag
Thanks but it does not change the effect. Simply pwdchange.screen.title is written on the screen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073830#4073830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073830

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-14 Thread urswag
Seam 2.0 Beta If I try this it works. The entry in the properties file for pwdchange.screen.title is printed out correctly. | f:loadBundle basename=messagesAfn var=messagesAfn / | h:outputText value=#{messagesAfn['pwdchange.screen.title']} / | Putting the entries in the properties file

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-14 Thread urswag
If I use it in the context with pages.xml it works. | page view-id=/* bundle=messagesAfn | | /page | This works but I would to use it as a global resource. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073878#4073878 Reply to the post

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-14 Thread urswag
|application | message-bundlemessages/message-bundle | locale-config | default-localeen/default-locale | /locale-config | !-- Disabled when using Ajax4JSF -- | !-- |

[jboss-user] [JBoss Seam] - SeamTest Target Unreachable, identifier 'authenticator' re

2007-08-14 Thread urswag
Seam 2.0 Beta JBoss 4.2.0 I would to build tests. I have the following problem. When I add the security rules file I get an exception. Has anyone any idea? part of components.xml |drools:rule-base name=securityRules |drools:rule-files |value/security.drl/value

[jboss-user] [JBoss Seam] - Re: SeamTest Target Unreachable, identifier 'authenticator

2007-08-14 Thread urswag
I would the problem, the Authenticator class was not in the classpath. I do not until now what I shall to do. The resaon is the a lot of classes like Authenticator are use for different projects. They will be stay separated. View the original post :

[jboss-user] [JBoss Seam] - resource bundle

2007-08-13 Thread urswag
m using Seam 2.0 Beta. I have troubles with the resource bundle. The texts do not appear. For example | h:outputText value=#{messagesAfn['pwdchange.screen.title']} / | generates an empty test. The pwdchange.screen.title entry is in the properties file. In components.xml I have the entry

[jboss-user] [JBoss Seam] - Re: [SEAM 2.0 BETA 1] Embedded ejb container fails at test s

2007-08-10 Thread urswag
I also got this error. What I did was to download embedded-jboss-beta2. I copied then the bootstrap directory into the jboss Seam boostrap directroy. Then I should work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072840#4072840 Reply to the post :

[jboss-user] [JBoss Seam] - Seam 2.0 Beta booking test

2007-08-10 Thread urswag
When I run the tests for the booking example of Seam 2.0 is get now an unbound transaction error. What could be not correctly configured? Thanks |[testng] ERROR 10-08 14:11:44,809 (DebugPageHandler.java:handle:23) -redirecting to debug page |[testng]

[jboss-user] [JBoss Seam] - Re: transaction:ejb-transaction/ and SeamTest

2007-08-10 Thread urswag
I have the same problem and cannot fix it. It is clear when You remove the ejb-transaction tag then You do not use the Seam support for EJB transaction. It have to do with the Seam library. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073001#4073001 Reply to

[jboss-user] [JBoss Seam] - Re: Test Case Seam application

2007-08-09 Thread urswag
I use now the bootstrap directory from embedded JBoss Beta 2. I get this exception stack. | java.lang.UnsupportedClassVersionError: Bad version number in .class file | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

[jboss-user] [JBoss Seam] - Re: Test Case Seam application

2007-08-09 Thread urswag
What shall I delete? I get an inconsistency when I start the test. | java.lang.RuntimeException: Could not create Component: org.jboss.seam.security.identity | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:908) | at

[jboss-user] [JBoss Seam] - Re: CVS configuration

2007-08-05 Thread urswag
Could You please give me the concrete configuration? I use in Eclipse :pserver:[EMAIL PROTECTED]:/cvsroot/jboss Can I modify this configuration for the JBoss 4.0.5 server source? I would like to use JBoss 4.2.x but this server does not run in Eclipse. Urs View the original post :

[jboss-user] [JBoss Seam] - Re: CVS configuration

2007-08-05 Thread urswag
Yes thanks for Your advice. I thought I can set a version number somewehere and check out the 1.2.1 GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070996#4070996 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070996

[jboss-user] [JBoss Seam] - ejb-jar.xml must either obey the right xml schema or define

2007-08-05 Thread urswag
JBoss 4.0.5 and JBoss Seam Booking sample I can build this example. I use a different booking-dx.xml for MySQL. When the ear is deploy this exception is generated. All files are included, I have checked this. content of of ejb-jar.xml is | ?xml version=1.0 encoding=UTF-8? | ejb-jar

[jboss-user] [JBoss Seam] - CVS configuration

2007-08-04 Thread urswag
Hello Please tell me how I can configure CVS that I can check out the Seam version for JBoss 4.0.5. Thanks for Your answer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070879#4070879 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Bug or featur

2007-07-17 Thread urswag
Thanks I recognized it, Janary is 0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065066#4065066 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065066 ___ jboss-user mailing

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Disable Hibernate log4 logging

2007-07-17 Thread urswag
Hello I try to disable the hibernate logging in my web app with Hibernate. | log4j.rootLogger=INFO, A1 | log4j.appender.A1=org.apache.log4j.ConsoleAppender | log4j.appender.A1.layout=org.apache.log4j.PatternLayout | log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Bug or featur

2007-07-15 Thread urswag
Bug or feature? The result shoud be Dec 9 1966 but I get birthday = Mon Jan 09 00:00:00 CET 1967 What can I do else? | Calendar calendar = GregorianCalendar.getInstance(); | calendar.clear(); | calendar.set(Calendar.YEAR, 1966); |

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JSF 1.2

2007-05-02 Thread urswag
Does JBoss support JSF 1.2 I get the error meesage | warUrl=.../tmp/deploy/tmp5668jsf-guessNumber-exp.war/ | 14:51:51,593 ERROR [[/jsf-guessNumber]] Error configuring application listener of class com.sun.faces.config.ConfigureListener | java.lang.NoClassDefFoundError:

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - javax.el.ValueExpression

2007-03-27 Thread urswag
Which tag library does implement javax.el.ValueExpression? Thanks Urs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032215#4032215 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032215

[jboss-user] [EJB 3.0] - javax.annotation.Resource

2007-03-27 Thread urswag
Which jar library does implement | javax.annotation.Resource | ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032216#4032216 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032216

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Error parsing XML: hibernate.cfg.xml(3) A pseudo attribute n

2006-12-19 Thread urswag
Please can someone explain me this syntax error? Thanks | 125 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: hibernate.cfg.xml(3) A pseudo attribute name is expected. | Error Creating HibernateSessionFactory | org.hibernate.HibernateException: Could not parse

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Where ist the class net.sf.cglib.transform.impl.InterceptFie

2006-12-19 Thread urswag
Where ist this class net.sf.cglib.transform.impl.InterceptFieldEnabled | Exception in thread main java.lang.NoClassDefFoundError | at org.hibernate.tuple.EntityMetamodel.class$(EntityMetamodel.java:41) | at org.hibernate.tuple.EntityMetamodel.init(EntityMetamodel.java:122) |

[jboss-user] [EJB 3.0] - Re: Query parameter is modified and return as null

2006-09-07 Thread urswag
It seems to be a bug. I have the a similar problem in a other table. The workaround that I use now. I call anonymous wrote : createNativeQuery instead of anonymous wrote : createQuery or anonymous wrote : find of the anonymous wrote : EntityManager. The consequence is the field is not set to

[jboss-user] [EJB 3.0] - Re: Query parameter is modified and return as null

2006-09-04 Thread urswag
label is a reserved word in MySQL. I use this word as table name -- generates strange effects. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969287#3969287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969287

[jboss-user] [EJB 3.0] - Query parameter is modified and return as null

2006-09-03 Thread urswag
I use a stateless session bean this method. In this query the first parameter textKey is set to password. The query returns a label object with textKey field value null. It is completly unlogical, the property is different to the search property but an object is found. And as consequence

[jboss-user] [EJB 3.0] - Hashing local homes in a stateful session bean

2006-08-25 Thread urswag
I use a hash map in my stateful session bean to store the local home references. Is this not allowed? I get this exeception! anonymous wrote : | | Caused by: javax.ejb.EJBException: Application Error: no concurrent calls on stateful beans | at

[jboss-user] [EJB 3.0] - Entity collection problem.

2006-08-17 Thread urswag
Entity collection problem. Hello I try to get a many relationship collection of the Enitty language. Unfortunately I get an error message. anonymous wrote : | @OneToMany(cascade={CascadeType.ALL}) | @JoinColumn(name=langid) | public Collection getAssortments() { |

[jboss-user] [JBoss Seam] - Re: import hql insert statements at deployment time

2006-08-16 Thread urswag
Thanks It works fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3965448#3965448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3965448 ___ jboss-user mailing list

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: MyFaces tomahawk for JBoss

2006-08-15 Thread urswag
I have added a second entry in the web.xml of the conf directory. Perhaps someone can explain me the principle of the mechanism. anonymous wrote : | | init-param | MyFaces tlds | param-nametagLibJar1/param-name | param-valuejsf-libs/tomahawk.jar/param-value | /init-param | |

[jboss-user] [JBoss Seam] - import hql insert statements at deployment time

2006-08-15 Thread urswag
Hello I would like to import data into my database. The Entity are auto created. Can someone tell me what I have to do to bring additional data into the database? Thanks for Your help. Urs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3965335#3965335 Reply

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - MyFaces tomahawk for JBoss

2006-08-14 Thread urswag
I would like to use tomahawk First I get this error anonymous wrote : | | javax.servlet.ServletException: The absolute uri: http://myfaces. | apache.org/tomahawk cannot be resolved in either web.xml or the jar | files deployed with this application |

[jboss-user] [EJB 3.0] - JSF and EJB 3.0

2006-08-13 Thread urswag
Hello I am looking for a JSF without Seam and EJB 3.0 for JBoss appliaction template. Has anyone a such file containing all build files? Thanks Urs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964844#3964844 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Synchronizing to DataModels

2006-08-10 Thread urswag
I have two stateless session beans assortmentManager and categoryManager. Category is a detail bean of Assortment (1:N relation). In the inner data table the assortmentCategories list must always built up because the reference assortmemt always changes. Remember the JSF code anonymous wrote :

[jboss-user] [JBoss Seam] - Synchronizing to DataModels

2006-08-09 Thread urswag
I need a mechanism to synchronize the inner dataTable with the outer one. anonymous wrote : | h:dataTable var=assort value=#{assortments} | h:column | h:outputLink value= | h:outputText value=#{assort.description} / |

[jboss-user] [JBoss Seam] - Re: Nested datatable

2006-08-03 Thread urswag
Must I code this manually? Because the content of myList of the inner data table has always different values. Perhaps You can give me link with a similar solution. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962810#3962810 Reply to the post :

[jboss-user] [JBoss Seam] - Data retrieve before the page is displayed

2006-07-30 Thread urswag
Hello Before the page is displayed some data should be retrieved. There is no possibility for example with an action in a outputLink. Is there somewhere a good example how I can realize this. Thanks View the original post :