Re: [jboss-user] [jBPM] - Problem with nested Fork

2010-06-30 Thread toni wegner
toni wegner [http://community.jboss.org/people/toniw] replied to the discussion Problem with nested Fork To view the discussion, visit: http://community.jboss.org/message/550308#550308 -- For your information, the solution in posting

Re: [jboss-user] [jBPM] - Problem with nested Fork

2010-06-30 Thread toni wegner
toni wegner [http://community.jboss.org/people/toniw] replied to the discussion Problem with nested Fork To view the discussion, visit: http://community.jboss.org/message/550358#550358 -- Hi maciej, the problem is fixed in version 4.4

Re: [jboss-user] [jBPM] - nested forks

2010-06-30 Thread toni wegner
toni wegner [http://community.jboss.org/people/toniw] replied to the discussion nested forks To view the discussion, visit: http://community.jboss.org/message/550359#550359 -- this problem is fixed in version 4.4. I tested

Re: [jboss-user] [jBPM] - Problem with nested Fork

2010-06-29 Thread toni wegner
toni wegner [http://community.jboss.org/people/toniw] replied to the discussion Problem with nested Fork To view the discussion, visit: http://community.jboss.org/message/550111#550111 -- Hi Maciej, thanks for fast answer. I use

[jboss-user] [jBPM] - Problem with nested Fork

2010-06-28 Thread toni wegner
toni wegner [http://community.jboss.org/people/toniw] created the discussion Problem with nested Fork To view the discussion, visit: http://community.jboss.org/message/550005#550005 -- Hi users, i have problems with nested fork. If i

[jboss-user] [Javassist] - Error adding new field like ArrayListString

2010-04-23 Thread Toni Fernan
Toni Fernan [http://community.jboss.org/people/i02fesea] created the discussion Error adding new field like ArrayListString To view the discussion, visit: http://community.jboss.org/message/539222#539222 -- Hi everyone, I am trying

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Foreign Key Contraint

2008-06-02 Thread toni
Hi, an action of mine is deleting several entities. The deletion fails due to a foreign key constraint. The log error message only shows the table names which cause the contraint violation, but not the rows involved. It would be very helpfull, if the primary keys of the objects involved would

[jboss-user] [JBoss Seam] - Injecting/Outjecting Primitive Types

2008-01-10 Thread toni
Hi, how do I access the value of a check box contained inside a jsf view from a SFSB without creating explicitetly a Java Bean for the boolean value? This does not seem to work | | simple page | | f:view | h:form | | h:outputText value=List All/ |

[jboss-user] [JBoss Seam] - Unauthenticated Principal

2007-09-23 Thread toni
Hi, how can I grant unauthenticated users access to parts of my webapplication? I have read that we have to use the tag unauthenticated-principal in order to do this. Here is my configuration, maybe somebody can help me out? | | --- important part of web.cml

[jboss-user] [EJB 3.0] - Duplicate Key / SystemException

2007-09-23 Thread toni
(myEntityBean) ??? Toni PS: This guy seems to have the same problem http://www.jboss.com/index.html?module=bbop=viewtopict=84125 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4087645#4087645 Reply to the post : http://www.jboss.com/index.html?module=bbop

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Duplicate Key / SystemException

2007-09-21 Thread toni
entityManager.persit(myEntityBean) ??? Toni PS: This guy seems to have the same problem http://www.jboss.com/index.html?module=bbop=viewtopict=84125 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4087091#4087091 Reply to the post : http://www.jboss.com/index.html?module=bbop

[jboss-user] [EJB 3.0] - SystemException vs. ApplicationException

2007-09-19 Thread toni
entityManager.persit(myEntityBean) ??? Toni PS: This guy seems to have the same problem http://www.jboss.com/index.html?module=bbop=viewtopict=84125 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085905#4085905 Reply to the post : http://www.jboss.com/index.html?module=bbop

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Duplicate Key kills transaction

2007-09-18 Thread toni
to be possible to recover from this error. Trying to catch the exception still leaves the transaction invalid. How can I make sure that I catch this kind of duplicate key exception without the current transaction being rolled back, when I call entityManager.persit(myEntityBean) ??? Toni View the original

[jboss-user] [JBoss Seam] - Duplicate Key Violation

2007-09-18 Thread toni
to be possible to recover from this error. Trying to catch the exception still leaves the transaction invalid. How can I make sure that I catch this kind of duplicate key exception without the current transaction being rolled back, when I call entityManager.persit(myEntityBean) ??? Toni View the original

[jboss-user] [JBossCache] - Duplicate Key kills transaction

2007-09-18 Thread toni
to be possible to recover from this error. Trying to catch the exception still leaves the transaction invalid. How can I make sure that I catch this kind of duplicate key exception without the current transaction being rolled back, when I call entityManager.persit(myEntityBean) ??? Toni View the original

[jboss-user] [JBoss Seam] - Re: inputText / empty string versus NULL

2007-09-14 Thread toni
Thanks Matt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084303#4084303 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084303 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - synchronized keyword in SLSB

2007-09-14 Thread toni
Hi, may we use the java keyword synchronized on a method of a SLSB to ensure that several statements get executed all together or not at all? I have a method in a SLSB, which updates a counter kept in an Entity bean, if some condition is fulfilled. Afterwards the counter is increased. I want

[jboss-user] [EJB 3.0] - Single Inheritance / ConstraintViolationException / Postgre

2007-09-13 Thread toni
Hi, using a single table inheritance strategy with postgres 7.3 always causes a ConstraintViolationException when I try to merge the changes. I first create a new enity bean, which works. Then I add it to a OneToMany collection of another entity bean and try to merge the change. This is when I

[jboss-user] [JBoss Seam] - Single Inheritance / ConstraintViolationException / Postgre

2007-09-13 Thread toni
Hi, using a single table inheritance strategy with postgres 7.3 always causes a ConstraintViolationException when I try to merge the changes. I first create a new enity bean, which works. Then I add it to a OneToMany collection of another entity bean and try to merge the change. This is when I

[jboss-user] [JBoss Seam] - inputText / empty string versus NULL

2007-09-13 Thread toni
() or does not enter anything at all into a text field, the instance variable is set to NULL instead of to an empty string? Toni View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083988#4083988 Reply to the post : http://www.jboss.com/index.html?module=bbop

[jboss-user] [EJB 3.0] - Re: Single Inheritance / ConstraintViolationException / Pos

2007-09-13 Thread toni
Thanks for the advice. However, the problem is that those columns are out of scope for any annotations I place on my columns. That's because those columns are automatically generated by hibernate to keep track of the OneToMany relationships. In other words I have no column on which I could

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - State of @Transient instance variables

2007-08-20 Thread toni
I'm using a counter in an Entity Bean. It tracks the number of times a certain condition occurs. I have marked the counter with @Transient, because I only need it temporarily. My questions is: If several threads look up the same Entity Bean (with the same primary key), does each entity bean

[jboss-user] [JBoss Seam] - Re: Could not destroy component

2007-07-17 Thread toni
But I still keep getting this exception: 007-07-17 15:25:54,741 WARN [org.jboss.seam.contexts.Contexts] Could not destroy component: messageSchedulerManager | javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5x6n5t5h-ieb81j-f471zzrs-1-f48dvzar-az | at

[jboss-user] [JBoss Seam] - Re: Could not destroy component

2007-07-16 Thread toni
Here are the config files. What am I missing? I guess besides the web.xml descriptor timeouts are meassured in ms (you should put this in the docs)? web.xml |!-- Default Session Configuration = -- |!-- You can set the default session timeout

[jboss-user] [JBoss Seam] - Could not destroy component

2007-07-04 Thread toni
Hi, have read about the problem with components vanishing before the http sessions ends. I have left the sfsb timeout at 30 min, set the http session timeout to 20 and the conversation timeout to 60 min. I still get the error Could not destroy component. Is this because of the conversation

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Backup Migrating Data

2007-07-03 Thread toni
Hi, I have a set of entity beans, which change onces in a while. For example, maybe a new persitent field gets added to one of the entiy beans. Because the system in going to be in production, I need a way to backup all the user data and restore it after the database structure has changed

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Persting an Array of Strings

2007-06-29 Thread toni
Hi, I'm using Entity beans with seam in my webapplication. I would like to persist an Array of Strings as follows: @OneToMany(cascade = {CascadeType.ALL}) Collection descriptions = new ArrayList(); This is not working so. I get an error message. Of course I could introduce another Entity

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Persting an Array of Strings

2007-06-29 Thread toni
The copy and paste removed the important part in the code. Here it comes again: | /* @OneToMany(cascade = {CascadeType.ALL}) | CollectionString descriptions = new ArrayListString();*/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4059214#4059214

[jboss-user] [JBoss Seam] - Re: No active transaction?

2007-06-08 Thread toni
What is the best approach then for a task which might last for 1-6 hours, which is the case with mine. I have increased the transaction timeout already to 2h, but yesterday the task stopped after 2h, without raiging any exceptions. I found the following message in the logs: anonymous wrote :

[jboss-user] [JBoss Seam] - Re: No active transaction?

2007-06-08 Thread toni
But the outer transaction is always bound to the TransactionTimeout. In essence I'm just looking for a way so that a method is allowed to run as long as it needs to to get the job done. Is it possible in seam to run the whole batch without a transaction? View the original post :

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-06-08 Thread toni
Hi hbaraca, if I place the @TransactionTiemout annotation on one of my action methods of my SFSB's, which get called, when user clicks on an action link, then the timeout is being ignored. So it does not work for me. View the original post :

[jboss-user] [JBoss Seam] - No active transaction?

2007-06-06 Thread toni
Hi, in my seam application the user can start a batch process, by clicking on a link in the web application. When he clicks on that link the method of a SFSB is called, which in turn direktly calls the method of a SLSB where the job actually gets done. The processing runs for about 1h and 43

[jboss-user] [JBoss Seam] - SeamEntityConverter Mess

2007-05-21 Thread toni
Hi, I'm trying to use the SeamEntityConverter convertEntity tag in order to select an entity from a selectOneMenu widget. I downloaded the entityconverter-0.1.zip and unzipped it. The I discovered that the tld is pointing to the wrong class and that reference to the taglib is wrong too. After

[jboss-user] [JBoss Seam] - Re: SeamEntityConverter Mess

2007-05-21 Thread toni
sounds like a downgrade from the previous version View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4047249#4047249 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047249 ___

[jboss-user] [JBoss Seam] - @Create

2007-05-15 Thread toni
Hi, I'm using @Create to initialize a collection upon the creation of my SFSB. However, the method which I marked with the annotation is not being invoked. Does the method signature have to follow any conventions? View the original post :

[jboss-user] [Security JAAS/JBoss] - DatabaseServerLoginModule Postgresql

2007-05-14 Thread toni
Hi, I have set up a security realm for my seam application. When trying to authenticate the user I can see in the postgresql logifle the following error: ERROR: relation systemuser does not exist However, the table exists in the database. I have done this for mysql without running into any

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Performance problem with LEFT JOIN

2007-05-11 Thread toni
Hi, I have a LEFT JOIN, which looks like this: | | entityManager.createQuery(SELECT t FROM Template t LEFT JOIN t.messages c WHERE t.client.hostname=:ch GROUP BY t.id, t.subject, t.text, t.client ORDER BY count(c)).setParameter(ch, client.getHostname()).getResultList(); | The problem

[jboss-user] [JBoss Seam] - How to deal with Query on passivation?

2007-05-10 Thread toni
Hi, my users can browse customer data table and apply certain filter criteria to it. For that a SFSB stores a single Query object, which get's set in an action method. However, the execution of the query occurs just before the render response phase through a page action in pages.xml. This

[jboss-user] [JBoss Seam] - Re: @Future being ignored

2007-05-06 Thread toni
It's probably because you did set the input field's required attribute to true. You need required=true in your jsf view component too. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043506#4043506 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @Future being ignored

2007-05-06 Thread toni
I meant: It's probably because you did NOT set the input field's required attribute to true. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043507#4043507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043507

[jboss-user] [JBoss Seam] - @Asynchronous

2007-05-06 Thread toni
Hi, I'm using @Asynchronous on a SFSB and I get the expected behaviour. The current thread is not being blocked until the method completes. However, if I use a non HTTP client and a context lookup, then the active thread is actually being blocked, until the method finishes. So if use

[jboss-user] [EJB 3.0] - Performance issues with batch insert

2007-05-05 Thread toni
Hi, in our webapplication the user can trigger a batch insert, which will create about 400 entities. This takes about 40 minutes. In the beginning each entity gets created within a second. The more entities are inserted and the further the process progreses, the slower it gets. In the end it

[jboss-user] [JBoss Seam] - Re: Transaction Demarcation

2007-05-04 Thread toni
Hi, I'm still trying to figure out how to span several transactions within the scope of one web request/response. I guess using a TransactionalSeamPhaseListener is not an option, because it always starts a transaction at the beginning and end of the request ie response respectively. So I

[jboss-user] [JBoss Seam] - Re: Transaction Demarcation

2007-05-04 Thread toni
[EMAIL PROTECTED] wrote : By the way, you can always use the TransactionalSeamPhaseListener and @TransactionAttribute(REQUIRES_NEW) to suspend the existing transaction during a particular method call in INVOKE APPLICATION. Your method then executes in a new transaction context - which is

[jboss-user] [JBoss Seam] - Which JARS do we really need for a seam application?

2007-05-04 Thread toni
Hi, I have noticed for a while that the jboss-seam-1.2.1.GA/lib/ directory contains many more jars besides those, which gets created during the build process, which are: jboss-seam-debug.jar jboss-seam-gen.jar jboss-seam-ioc.jar jboss-seam.jar jboss-seam-mail.jar jboss-seam-pdf.jar

[jboss-user] [JBoss Seam] - Can't use s:conversationId/ !

2007-05-04 Thread toni
Hi, I get the following exception, when I try to use the tag s:conversationId/ even though I reference the taglib! | %@ taglib uri=http://jboss.com/products/seam/taglib; prefix=s % | | h:outputLink styleClass=navbar value=campaignMessages.seam | s:conversationId/ |

[jboss-user] [JBoss Seam] - Re: Transaction Demarcation

2007-05-04 Thread toni
So you are saying that @Transactional should only be used on Seam components, which are missing the tags @Stateless or @Stateful? And that seam components which are tagged with @Stateless or @Stateful should refer/use @TransactionAttribute instead ? View the original post :

[jboss-user] [JBoss Seam] - Re: Transaction Demarcation

2007-05-04 Thread toni
Well thank you for clarifying this! I was already wondering why seam would introduce an extra transaction annotation, which lacks some of the EJB3 transactional attributes. anonymous wrote : | By the way, you can always use the TransactionalSeamPhaseListener and

[jboss-user] [JBoss Seam] - Re: Transaction Demarcation

2007-05-04 Thread toni
How and where ca I turn this on? I noticed something very interesing so: I used @TransactionAttribute(TransactionAttributeType.NEVER) on the first call to the SLSB (stateless) and the transaction gets stopped! In the logfile I see: 007-05-04 14:56:08,090 ERROR

[jboss-user] [JBoss Seam] - Re: Transaction Demarcation

2007-05-04 Thread toni
Hi Christian, thanks for you help. That seems to be the reason. I introduced another session bean and now its working! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043179#4043179 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Transaction Demarcation

2007-05-04 Thread toni
Well my last post actually refers not to your last post, but the one before. What you assume in your last post I thought before and made all the session beans stateful - but that did not help either. It's seems to be that on reentrant calls the annotations are ignored. By introducing another

[jboss-user] [JBoss Seam] - Performance issues with batch insert

2007-05-04 Thread toni
Hi, in our webapplication the user can trigger a batch insert, which will create about 400 entities. This takes about 40 minutes. In the beginning each entity gets created within a second. The more entities are inserted and the further the process progreses, the slower it gets. In the end it

[jboss-user] [JBoss Seam] - Passivation

2007-05-03 Thread toni
Hi, in my stateful session beans I use field declarations like: | Preferences preferences = Preferences.userRoot(); | SecureRandom secureRandom = new SecureRandom(); | Both are not serializable, which makes me wonder whether or not I should declare them @Transient? Will the

[jboss-user] [JBoss Seam] - Re: Passivation

2007-05-03 Thread toni
I'm asking, because some passivation exceptions show up in my logfile. Unfortuantely they don't tell, which bean is causing them. | 9:35:48,152 FATAL [RegularObjectPersister] error | java.lang.reflect.InvocationTargetException | at

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-05-03 Thread toni
I have tried this on my session bean, but I still run into a TransactionTimeout exception. I used the following my stateful session bean: | @org.jboss.annotation.ejb.TransactionTimeout(1000) | Changing the timeout in jta-service.xml on the other hand works. I'm using seam 1.1 - could

[jboss-user] [JBoss Seam] - Re: Mysterious

2007-05-03 Thread toni
The timeout is set in another .xml file. Maybe this helps you: http://www.jboss.com/index.html?module=bbop=viewtopict=101719 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042984#4042984 Reply to the post :

[jboss-user] [JBoss Seam] - Transaction Demarcation

2007-04-27 Thread toni
Hi, I have a webapplication, which imports data about customers from a text file. Each row contains a record out of which several entity bean are being created and assembled. The function, which reads in a line an creates those entity beans and sets up the relationships between them is called

[jboss-user] [JBoss Seam] - Transaction Timeout / Batch Insert

2007-04-26 Thread toni
to set on which function? Any help is being appreciated... toni View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041122#4041122 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041122

[jboss-user] [JBoss Seam] - How to read a property from components.xml

2007-04-18 Thread toni
Hi, the seam docs explains how to setup properties in the components.xml file, which later can be accessed by seam components. However, I could not find which annotations or methods I have to use to actually read them in. Inside a custom seam component, how would I access them? toni View

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - could not deserialize

2007-04-17 Thread toni
Hi, I have an entity bean, which references an exception. Persiting the entity bean to the postgresql 7.4 works without problems. However, I can't read/restore them, because I get the following exception: org.hibernate.type.SerializationException: could not deserialize Does anybody know how

[jboss-user] [JBoss Seam] - @Destroy @Remove public void destroy() { @Synch

2007-04-10 Thread toni
Hi, I'm using a SFSB, which calls upong another SLSB to start a task, which takes about two minutes or so to finnish. The problem I run into is that another requests gets trigger, starting another task, which creates duplicate entries. I have placed @Synchronized on the SFSB, hoping it would

[jboss-user] [JBoss Seam] - could not deserialize

2007-04-05 Thread toni
Hi, I have an entity bean, which references an exception. Persiting the entity bean to the postgresql 7.4 works without problems. However, I can't read/restore them, because I get the following exception: org.hibernate.type.SerializationException: could not deserialize Does anybody know how

[jboss-user] [JBoss Seam] - Re: Injecting several beans of the same type/kind/class

2007-03-22 Thread toni
I think it would be a nice feature if this woul work automatically. If I define a component to be created upon injection, then why only the one which is marked with a @Name(xxx) annotation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4030620#4030620 Reply

[jboss-user] [JBoss Seam] - JSTL Tag Lib not found

2007-02-15 Thread toni
Hi, when using the c:forEach tag in my seam webapplication I get: Exception during request processing: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application I'm using the following taglib: %@ taglib

[jboss-user] [JBoss Seam] - Outjection problems with interface variables

2007-02-11 Thread toni
Hi, I have the problem that I can't outject an instance of an Entity Bean from a SFSB into a context variable. The instance field of the SFSB from which I'm trying to outject the EntityBean is an INTERFACE, which two of my Enity Beans implement. I think this is causing problems. I can tell

[jboss-user] [JBoss Seam] - Re: Strange Outjection Problems

2007-02-10 Thread toni
Hi Norman, I'm still having those problems. Now I added the scope CONVERSATION to all the @Out tags, and I get other weired stuff. Could you please comment on this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4014095#4014095 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Strange Outjection Problems

2007-02-10 Thread toni
I also completely installed JBoss 4.0.5 GA with Seam 1.1.6 from scratch, because I did not use the BETA installer before. But it does not help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4014097#4014097 Reply to the post :

[jboss-user] [JBoss Seam] - Strange Outjection Problems

2007-02-09 Thread toni
Hi, I'm having strange problems outjecting components into the only running conversation. This used to work before and since I upgraded to JBoss 4.0.5 GA I'm getting this strange behaviours. I double checked my application and I'm pretty sure ithat there is nothing wrong with the code. So I

[jboss-user] [JBoss Seam] - Re: Strange Outjection Problems

2007-02-09 Thread toni
To reproduce the error I wrote the following: Bean | | @Name(test) | | public class Test implements Serializable | { | String text; | | | public String getText() | { | return text; | } | | public void setText(String text) | { | this.text

[jboss-user] [JNDI/Naming/Network] - Re: Getting the Initial Context for a EJB3 client

2007-02-06 Thread toni
Thx! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4011965#4011965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011965 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Info messages inside a JSF page at a certain location

2007-02-05 Thread toni
, in the middle and at the bottom of the page with other text and components inbetween them? Toni View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4011224#4011224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011224

[jboss-user] [JNDI/Naming/Network] - Getting the Initial Context for a EJB3 client

2007-02-05 Thread toni
-client.jar:jboss-system-client.jar:jboss-transaction-client.jar:jbossws-client.jar:jboss-xml-binding.jar:jmx-client.jar:jmx-invoker-adaptor-client.jar:jnp-client.jar:juddisaaj.jar:log4j.jar:logkit.jar:mail.jar:scout.jar:trove.jar:wsdl4j.jar:xmlsec.jar -jar ~toni/projects/di/bin/import.jar Exception

[jboss-user] [Management, JMX/JBoss] - Invoke a SLSB from a MBean

2007-01-31 Thread toni
Hi, how do I obtain a reference to a stateless session bean from within a MBean? Toni View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008843#4008843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008843

[jboss-user] [Management, JMX/JBoss] - Re: Invoke a SLSB from a MBean

2007-01-31 Thread toni
Well, that's pretty obvious but I was wondering about the naming convention. Here is the code and naming convention: Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); p.put(Context.PROVIDER_URL, localhost:1099);

[jboss-user] [JBoss Seam] - Re: Security Authentificaiton of a Seam Application

2007-01-30 Thread toni
Does JSF provide any means of checking for the role the user is in? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008160#4008160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008160

[jboss-user] [JBoss Seam] - Re: Security Authentificaiton of a Seam Application

2007-01-29 Thread toni
One final question: How can I render parts of the page depending on the user role with this kind of security setup? I would like to hide or show menu items depending on whether or not the user belongs to a certain rule. View the original post :

[jboss-user] [JBoss Seam] - Re: Security Authentificaiton of a Seam Application

2007-01-26 Thread toni
I have now used the web.xml and it works fine for me. There is a good JAASExample in the wiki. I can recommend it. Just one last question. I noticed that the j_security_check is the URL to which the request for a FORM login gets posted to. Is that a constant or can we change it? And how could

[jboss-user] [JBoss Seam] - Re: How to postpone validation?

2007-01-26 Thread toni
Ok, thats a solution. The thing is that I use the page several times and I don't want copy and paste the code. That's why I made a second page. But you actually got me on something. Maybe I could just inherit from that class, which sets the special value? View the original post :

[jboss-user] [JBoss Seam] - How to postpone validation?

2007-01-25 Thread toni
Hi, I'm trying to set the values of an enity bean of which one value has to be chosen/set from a different page. The user gets to the page by clicking on a link whose link text displays the current value. The link is contained inside the same form, which contains the other input fields and the

[jboss-user] [JBoss Seam] - Re: How to postpone validation?

2007-01-25 Thread toni
I tried it, but it does not make to seem a difference. And why would it? The fields which do not have any validation annotations aren't validated anyway. And the once which do should be validated, but only after the user clicked on the Save button. However, validation occurs always when he

[jboss-user] [JBoss Seam] - Security Authentificaiton of a Seam Application

2007-01-25 Thread toni
Hi, I would like to setup security for my seam application. I have a database (realm) with users and password which I would like to use. I thought about using security contraints in the web.xml file in combination with some database login module from JBoss, which I remember from the past. Can

[jboss-user] [JBoss Seam] - What's @Valid usefull for ?

2007-01-24 Thread toni
Hi, what's @Valid used ie usefull for? Toni View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005998#4005998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005998 ___ jboss-user

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Base Data vs. User Data hibernate.hbm2ddl.auto on rede

2007-01-23 Thread toni
Actually I have another question relating to the one above. If I use then will only the tables, for which I defined entity beans be dropped or all tables? I have tried this line but unfortantely it does not create the missing tables. View the original post :

[jboss-user] [JBoss Seam] - h:messages and HTML tags

2007-01-23 Thread toni
Hi, I noticed that HTML tags are automatically escaped, when I use for example: FacesMessages.instance().add(The less and equal sign of this tag will be escaped, and I don't know how to avoid this.); So basically I can't use them?! I know that h:outputText/ has an attribute called escape,

[jboss-user] [JBoss Seam] - Re: h:messages and HTML tags

2007-01-23 Thread toni
any workaround? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005480#4005480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005480 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Autocomplete textfield with Seam Ajax4jsf

2007-01-23 Thread toni
Hi, I'm trying to use an autocomplete textfield in my seam applicaiton. The latest verison of ajax4jsf has a tag for that: ajax:autocomplete baseUrl=${pageContext.request.contextPath}/GetModel.view source=make target=model parameters=model={model}

[jboss-user] [JBoss Seam] - Ajax4JSF or IceFaces Tutorial

2007-01-17 Thread toni
Hi, I would like to use Ajax in my webapplication to enjance some of user widgets. I have looked around but could not find any tutorials or good documentation. Could somebody suggest a good tutorial on how to use ajax WITH seam? Should I use Ajax4JSF or IceFaces for development? Toni View

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to handle several collections, which store the same enti

2007-01-16 Thread toni
Hi, I have an EmailMessage Entity, which contains four collections, which all reference the same type of entity bean, which in my case represents an EmailAddress. So I have an EmailMessage and inside 4 collections, all of which in turn store EmailAddress Entities for the email fields to, cc,

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to handle several collections, which store the same

2007-01-16 Thread toni
Well, I manually removed the NOT NULL contstraints and then everything works as expected. So I guess my question boils down to why does JBoss or Hibernate create NOT NULL constraints for those columns? View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to handle several collections, which store the same

2007-01-16 Thread toni
Hi, I found somebody else, who has the same problem: http://www.jboss.org/index.html?module=bbop=viewtopict=95514view=previous View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002380#4002380 Reply to the post :

[jboss-user] [Messaging, JMS JBossMQ] - Re: Interfacing to a IMAP / POP3 server via JMS

2007-01-15 Thread toni
In there you can find the classes, but not the sources. Do you know where they are? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001835#4001835 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001835

[jboss-user] [JBoss Seam] - Env entry @Resource

2007-01-11 Thread toni
Hi, is it possible to use the @Resource annotation to inject deploy time configured properties into a field variable of a SLSB? Trying to inject the value into a SLSB does not work. The field of the SLSB remains NULL. Here the ejb-jar.xml which I place in /ejb/META-INF/:

[jboss-user] [Messaging, JMS JBossMQ] - Re: Interfacing to a IMAP / POP3 server via JMS

2007-01-11 Thread toni
Do you know where I can get the source code from? Then I could implement this by myself. I searched through all the JBoss 4.0.5 GA jars but I could not find the classes in the example of wiki. Where are the sources located??? View the original post :

[jboss-user] [JBoss Seam] - Re: Env entry @Resource

2007-01-11 Thread toni
Thxs. I corrected the typo, but it's still not working. I also can't see it in the JNDI Tree of the MX console so it seems to be a binding problem. It should appear there, right? Well, there is no real argument for using this over that. But I read the oreilly books and follow standards. So, I

[jboss-user] [JBoss Seam] - Re: No concurrent calls on stateful bean!

2007-01-03 Thread toni
Thanks for the reply! I looked into the documentation and found the following: Specifies that a stateful component has multiple concurrent clients, and so access to the component must be synchronized. This annotation is not required session scoped components, which are synchronized by default.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - LEFT JOIN Problem

2006-12-20 Thread toni
Hi, I have two entities: Email and Person. Each Email entity is referencing a Person entity, but each Person entity is unaware of that. I'm looking for an EJB QL statement, which will return for each Person how many Email Entities reference it. Or how many emails a Person has written. I have

[jboss-user] [Messaging, JMS JBossMQ] - Re: Interfacing to a IMAP / POP3 server via JMS

2006-12-11 Thread toni
I have looked at the wiki. But unfortunately the solution you pointed me to, requires the POP3/IMAP accounts to be known at deploy time. They have to be defined inside the ejb-jar.xml. Is there any other solution, which enables JMS delivery for incoming emails for which the pop3/imap accounts

[jboss-user] [JBoss Seam] - Problems with hibernate.hbm2ddl.auto property set to updat

2006-12-09 Thread toni
Hi, I noticed that my webapp stops working, when I change the hibernate.hbm2ddl.auto property of my persitence.xml file from create-drop to update. This used to work before and now I get the following exceptions, when I try to retrieve a set of entities to populate a DataModel for rendering a

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - LEFT JOIN, EXISTS or WHAT ELSE?

2006-12-09 Thread toni
Hi, I have three Entity Beans: Client, Person and Cooperation of which the later may connect/reference the first two using a @OneToOne Relationship. I'm looking for a EJB QL Query, which will return all the Person's, which are not referenced/contained in Cooperation's. How would the Query

[jboss-user] [JBoss Seam] - si:selectItems ...

2006-12-05 Thread toni
Hi, I read the wiki on how to use the si:selectItems several times, looked at the examples, but I still run into the following excepiton: javax.faces.FacesException: value must be iteratable But I'm returning a List, which is iteratable. I'm using JBoss 4.04GA, with Seam 1.0.1 GA and

  1   2   >