[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection
i had already overriden hashCode en equals. that was/is not the issue as far as I can conclude. [ an object is equal if it has the same object ID, if no ID is present, values are compared, hashCode accordingly, using apache EqualsBuilder and apache HashCodeBuilder ] the only wat to fix it was to turn of LAZY loading of the related property. putting it on EAGER solves it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130027#4130027 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection
adding to it : it probably is NOT a real seam issue but a conflict of hibernate lazy loading (using proxy) and the JSF implementation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130029#4130029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection
i ran into the same issue. feels like a SERIOUS bug to me. at worst it should get in the seam documentation, but a fix is preferred. curious on your experiences or alternative solutions ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129624#4129624 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: activationConfig for MailListener
any tip on configuring SSL (i want to use this with gmail) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129007#4129007 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: activationConfig for MailListener
any tip on configuring SSL (i want to use this with gmail) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129008#4129008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - how to capture no active context exception from filter
hello i have RTFM and configured the context filter for my servlets. however, if a user calls the server outside of a context he get's a dirty exception trace. how can i capture the exception? it's now a pretty general java.lang.IllegalStateException. the main issue is that the exception handling directions from pages.xml does not seem to apply? what are other ways to capture exceptions from the context servlet filter ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124706#4124706 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?
i'm using a similar approach for openId integration. the seam authenticate method looks up a status from the session that is only set by the servlet that confirms openId authentication an improvement of the seam security framework to handle single sign on like openId or others seams very relevant. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122994#4122994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - openId authentication to seam app
i have a seam app and want to integrate openId based integration. the openid4java lib comes with an example servlet that handles authantication and redirection. any proposal on how to integrate openid based authentication with the seam security framework??? in the servlet i have a point where i have confirmation of the identifier. a simple approach would be to be able to make it clear to seam that the user is authenticated at that point. but i can't find how to do that? thanx for any comments. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121315#4121315 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - openId authentication on seam
has anybody made an openId implementation on top of seam? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119583#4119583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: conversation per view-id [natural convesation scope]
i've posted a proposal in JIRA in short i propose to match * in a page view expression to a variable, for example named page and than alow EL expression in other elements. page view-id=/up/admin/*.xhtml conversation=%{page}Conversation .. an alternative which is maybe cleaner is to have a context variabele view which is a seam generated object representing the view. page view-id=/up/admin/*.xhtml conversation=%{view.name}Conversation .. view having properties like view.id (example /app/path/name.ext) view.fullPath ( example http://host/app/path/name.ext) view.name ( example name ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111635#4111635 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - conversation per view-id [natural convesation scope]
i'm developping an app part of which is plain editing of instances in a database. i have recently discovered natural conversation scope, that cleary should get into the documentation soon !!! i now find myselve repeating the below part for every entity (i have a list page and an edit page for each) | conversation | name=addressList | parameter-name=addressListConversation | parameter-value=main | / | | page | view-id=/up/admin/addressList.xhtml | conversation=addressList | | begin-conversation join=true / | /page | | conversation | name=address | parameter-name=addressId | parameter-value=#{address.path} | / | | page | view-id=/up/admin/address.xhtml | conversation=address | | begin-conversation join=true / | /page [from pages.xml] TWO QUESTIONS 1. for the list pages it would be ideal if there were a conversation per open window (in the same window returning to the same page would restore the same conversation, a new window starts a new conversation). CAN THIS BE DONE ??? ( i have been reading several related post but didn't find an answer to this: ie the subject : WANNABE EXAMPLE NEEDS HELP GROWING UP ) something like ??? | conversation | name=addressList | parameter-name=addressListConversation | parameter-value=#{windowId} | / | | page | view-id=/up/admin/* | conversation=addressList | | begin-conversation join=true / | /page | 2. is there a shortcut possible not te repeat myselves? something like | conversation | name=#{page} | parameter-name=#{page}Conversation | parameter-value=main | / | | page | view-id=/up/admin/* | conversation=#{page} | | begin-conversation join=true / | /page | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111263#4111263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Presenting a No Results Message with an Empty Collection
the action linked to your search button just needs to set a messages (user @In FacesMessages facesMessages). when you come to the page the first time there will be no message. if the search result is empty, you set the response message from within your search action method. take a look at the examples, it's used al over. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110756#4110756 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Presenting a No Results Message with an Empty Collection
the action linked to your search button just needs to set a messages (user @In FacesMessages facesMessages). when you come to the page the first time there will be no message. if the search result is empty, you set the response message from within your search action method. take a look at the examples, it's used al over. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110757#4110757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Setting an explicit conversation id
i'm using it in seam 2.0.0.ga and it seams to do the job. however the id attribute is deprecated and i'm referred to ' use pages.xml ' instead ... i don't find any example that explains how to set an explicit id from pages.xml anybody a tip thanx koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111053#4111053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unexpected behaviour - DataModel Nested conversations
i am having a similar issue when i'm putting a EntityQuery object in conversation scope, the moment i do an update on one of the entities the query resultList returns a list of EMPTY instances (properties are empty) afterwards i'm already capturing an event and calling REFRESH on the entityQuery but that doesnt seem to do the trick using: | event type=org.jboss.seam.afterTransactionSuccess.Address | action execute=#{managedAddresses.refresh} / | /event | i do see the refresh method getting called. any tips ??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109772#4109772 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityQuery ResultList BUG ?
hello i'm having an issue with entityQuery resultList responses when using the component within a conversation. when one of the entities get's updated (or a new one is added) the resultList returns a list of NULL objects of the correct size (the number of items is correct but the contents is NULL ) i'm already having the refresh method called (and it gets called checked by the log) through a seam event event type=org.jboss.seam.afterTransactionSuccess.Address | action execute=#{managedAddresses.refresh} / | /event any tips ? thanx ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109799#4109799 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem refreshing a DataSet on a page
i am having related issues but your prob can prob be fixed by a seam event configuration look up afterTransactionSuccess in the seam doc to find some explenation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109785#4109785 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem refreshing a DataSet on a page
sorry the snippet i wanted to include is event type=org.jboss.seam.afterTransactionSuccess.Address | action execute=#{managedAddresses.refresh} / | /event View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109786#4109786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - why does seam create two instances of my components?
test case : an entityQuery object. when I put a log statement in the constructor, i see that two instances get initiated, one pure and one 'stitched' version. anybody an idea of what's happening ? 09:47:35,382 INFO [STDOUT] CONSTRUCTOR class up.account.ManagedAccountsQuery | 09:47:35,408 INFO [STDOUT] CONSTRUCTOR class up.account.ManagedAccountsQuery_$$_javassist_6 | 09:47:35,484 INFO [STDOUT] found class class up.account.ManagedAccountsQuery | 09:47:35,484 INFO [STDOUT] found type up.seam.MyEntityQueryup.account.entity.Account View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106993#4106993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Ma generic do even more version of EntityQuery : MyEntityQue
i want to share with you this generic do-even-more version of EntityQuery with the below class it's even easier to write EntityQuery objects. the EJBQL is generated automatically (example FROM Account account). there is a getExample() method that returns an example instance (for search paramaters as in the seam-gen generated code) each time setOrder is hit, if the field was the same as the current, the order switches (for asc/desc switching). the current order can be queried with getReverse example using MyEntityQuery | @Name(managedRoles) | @Scope(ScopeType.CONVERSATION) | public class ManagedRolesQuery extends MyEntityQueryRole { | | private static final String[] RESTRICTIONS = { | role.creationPath LIKE concat(#{currentSubscription.targetPath},'%'), | role.name LIKE concat(#{managedRoles.example.name},'%') }; | | | @Override | public ListString getRestrictions() { | return Arrays.asList(RESTRICTIONS); | } | | } | feedback welcom ! | package up.seam; | | import java.lang.reflect.ParameterizedType; | import java.lang.reflect.Type; | | import org.jboss.seam.framework.EntityQuery; | | import up.util.LangUtil; | | public class MyEntityQueryT extends EntityQuery { | | // you cannot initialize (results in bug for seam 2.0.0.GA) | protected T example = null; | | public T getExample() { | if (example == null) { | example = createInstance(); | } | return example; | } | | public void setExample(final T example) { | this.example = example; | } | | protected Boolean reverse = false; | | public Boolean getReverse() { | return reverse; | } | | public void setReverse(Boolean reverse) { | this.reverse = reverse; | } | | @Override | public Integer getMaxResults() { | return 25; | } | | @Override | public void setOrder(final String order) { | | System.out.println(REQUEST TO SORT: + order + , was + super.getOrder()); | if (LangUtil.isNotEmpty(order)) { | if (order.equals(this.getOrder())) { | this.reverse = !this.reverse; | } else { | this.reverse = false; | } | super.setOrder(order); | } | } | | @Override | public String getOrder() { | if (reverse) | return super.getOrder() + desc; | else | return super.getOrder(); | } | | private static final long serialVersionUID = 1L; | | | @Override | public String getEjbql() { | | final String entityClassName = getEntityClass().getSimpleName(); | // System.out.println(entityClassName); | | final String ejbql = from +entityClassName+ +entityClassName.toLowerCase(); | // System.out.println(ejbql); | return ejbql; | } | | public T createInstance() { | | if (getEntityClass() != null) { | try { | return getEntityClass().newInstance(); | } catch (Exception e) { | throw new RuntimeException(e); | } | } else { | return null; | } | } | | protected ClassT entityClass; | | public ClassT getEntityClass() { | if (entityClass == null) { | Type type = getClass().getGenericSuperclass(); | System.out.println(found class + getClass()); | System.out.println(found type + type); | if (type instanceof ParameterizedType) { | ParameterizedType paramType = (ParameterizedType) type; | entityClass = (ClassT) paramType.getActualTypeArguments()[0]; | } else { | throw new IllegalArgumentException(Could not guess entity class by reflection); | } | } | return entityClass; | } | | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107002#4107002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: question about programmatically accessing seam component
Component.getInstance will work also for components defined by factories View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107030#4107030 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ma generic do even more version of EntityQuery : MyEntit
this new version below adds methods that generate the default search constraints given a list of fields. just override getFields and get the constraints for free using getSearchFieldRestrictions kind regards koen package up.seam; | | import java.lang.annotation.Annotation; | import java.lang.reflect.ParameterizedType; | import java.lang.reflect.Type; | import java.util.Arrays; | import java.util.LinkedList; | import java.util.List; | | import org.jboss.seam.annotations.Name; | import org.jboss.seam.framework.EntityQuery; | | import up.util.LangUtil; | | public class MyEntityQueryT extends EntityQuery { | | // you cannot initialize (results in bug for seam 2.0.0.GA) | protected T example = null; | | public T getExample() { | if (example == null) { | example = createInstance(); | } | return example; | } | | public void setExample(final T example) { | this.example = example; | } | | protected Boolean reverse = false; | | public Boolean getReverse() { | return reverse; | } | | public void setReverse(Boolean reverse) { | this.reverse = reverse; | } | | @Override | public Integer getMaxResults() { | return 25; | } | | @Override | public void setOrder(final String order) { | | System.out.println(REQUEST TO SORT: + order + , was + super.getOrder()); | if (LangUtil.isNotEmpty(order)) { | if (order.equals(this.getOrder())) { | this.reverse = !this.reverse; | } else { | this.reverse = false; | } | super.setOrder(order); | } | } | | @Override | public String getOrder() { | if (reverse) | return super.getOrder() + desc; | else | return super.getOrder(); | } | | private static final long serialVersionUID = 1L; | | @Override | public String getEjbql() { | | final String entityClassName = getEntityClass().getSimpleName(); | // System.out.println(entityClassName); | | final String ejbql = from + entityClassName + + entityClassName.toLowerCase(); | // System.out.println(ejbql); | return ejbql; | } | | public T createInstance() { | | if (getEntityClass() != null) { | try { | return getEntityClass().newInstance(); | } catch (Exception e) { | throw new RuntimeException(e); | } | } else { | return null; | } | } | | protected ClassT entityClass; | | public ClassT getEntityClass() { | if (entityClass == null) { | Type type = getClass().getGenericSuperclass(); | System.out.println(found class + getClass()); | System.out.println(found type + type); | if (type instanceof ParameterizedType) { | ParameterizedType paramType = (ParameterizedType) type; | entityClass = (ClassT) paramType.getActualTypeArguments()[0]; | } else { | throw new IllegalArgumentException(Could not guess entity class by reflection); | } | } | return entityClass; | } | | public ListString getSearchFields() { | return null; | } | | @Override | public ListString getRestrictions() { | | if (getSearchFields() == null) | return null; | | final ListString searchFieldRestrictions; | searchFieldRestrictions = new LinkedListString(); | | final String componentName; | componentName = getComponentName(); | | for (final String field : getSearchFields()) { | searchFieldRestrictions.add(account. + field + LIKE concat(#{ + componentName + .example. + field + },'%')); | } | | return searchFieldRestrictions; | } | | public String getComponentName() { | | final Annotation nameAnnotation = this.getClass().getAnnotation(Name.class); | Name name = (Name) nameAnnotation; | return name.value(); | | } | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107109#4107109 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - a4j:include and x.page.xml processing
as far as i can debug, if you include a page with the ajax4jsf include, the corresponding (included) xxx.page.xml does not get processed. this basically blocks me from putting for exampe seam-gen generated pages in for example a rich tab control as these pages require the handling of params for sorting, etc it feels like a bug or a shortcomming at least. wouldn't know if or how it could be fixed View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106794#4106794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: a4j:include and x.page.xml processing
concrete example somewhere rich:tabPanel | rich:tab label=accounts | a:include viewId=/up/admin/accountList.xhtml / | /rich:tab | ... the accountList.page.xml content: | ?xml version=1.0 encoding=UTF-8? | page | xmlns=http://jboss.com/products/seam/pages; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd; | login-required=true | | | param | name=order | value=#{managedAccounts.order} | / | param | name=reverse | value=#{managedAccounts.reverse} | / | | /page | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106798#4106798 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Online Seam DVD Store example broken?
at nov 14 2007 : from http://dvdstore.demo.jboss.com/browse.seam An Error Occurred: | javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection | +- Stack Trace | | javax.ejb.EJBTransactionRolledbackException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy244.doSearch(Unknown Source) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.Component.callComponentMethod(Component.java:1283) | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1242) | at org.jboss.seam.Component.getInstance(Component.java:1209) | at org.jboss.seam.Component.getInstance(Component.java:1195) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at com.sun.facelets.component.UIRepeat.getValue(UIRepeat.java:143) | at com.sun.facelets.component.UIRepeat.getDataModel(UIRepeat.java:121) | at com.sun.facelets.component.UIRepeat.setIndex(UIRepeat.java:305) | at com.sun.facelets.component.UIRepeat.process(UIRepeat.java:333) | at com.sun.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:617) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at
[jboss-user] [JBoss Seam] - Re: unexplode problems
i develop on windows and the response complain to MS is all to simple, i don't have any file locking issues with other apps don't want to point to jboss or jboss seam, could also be a jvm related bug ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104602#4104602 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: unexplode problems
i can delete everything but the jars in \lib .war\WEB-INF\lib == seems to be the classloader that 'locks' the jars ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104724#4104724 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - editing part of a business key with seam framework
is there a way to allow editing of a composite PK parts with the seam CRUD framework? i have a class with a composite key path and name as elements. i have written a faces converter that converts the PK class to and from a string representation. i can list and open the instances for edting, updating the PK fields does not work !!! thanx for the comments. koen handekyn View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103728#4103728 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: editing part of a business key with seam framework
the 'details' view opens fine, make a change to the one part of key value (name for example). press the standard 'update' button (triggering the update method on the home component. update success is presented (as a faces message), pushing the 'done' button brings you back to the list view, but the values belonging to the composite key don't update. so NO visible 'issues' but the update for the key fields don't seem to get triggered. it's not critical, I turned back to an artificial ID field, and defined a composite uniqueConstraint for the business identity colums of the business composite key. but i would like to understand the issue. for clarity, it's not a generic seam question, but a question relating to the seam EntityHome base class as far as i can trace. are there examples with composite business keys getting manipulated with the EntityHome base classes that I missed? thanx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103822#4103822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: editing part of a business key with seam framework
the 'details' view opens fine, make a change to the one part of key value (name for example). press the standard 'update' button (triggering the update method on the home component. update success is presented (as a faces message), pushing the 'done' button brings you back to the list view, but the values belonging to the composite key don't update. so NO visible 'issues' but the update for the key fields don't seem to get triggered. it's not critical, I turned back to an artificial ID field, and defined a composite uniqueConstraint for the business identity colums of the business composite key. but i would like to understand the issue. for clarity, it's not a generic seam question, but a question relating to the seam EntityHome base class as far as i can trace. are there examples with composite business keys getting manipulated with the EntityHome base classes that I missed? thanx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103821#4103821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: editing part of a business key with seam framework
the 'details' view opens fine, make a change to the one part of key value (name for example). press the standard 'update' button (triggering the update method on the home component. update success is presented (as a faces message), pushing the 'done' button brings you back to the list view, but the values belonging to the composite key don't update. so NO visible 'issues' but the update for the key fields don't seem to get triggered. it's not critical, I turned back to an artificial ID field, and defined a composite uniqueConstraint for the business identity colums of the business composite key. but i would like to understand the issue. for clarity, it's not a generic seam question, but a question relating to the seam EntityHome base class as far as i can trace. are there examples with composite business keys getting manipulated with the EntityHome base classes that I missed? thanx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103821#4103821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: editing part of a business key with seam framework
i totally redid the job with a clean entity bean and clean home and query components. i have put log statements in the setters for the composite key fields and can CONFIRM that they are called it should be noted that the 'not updating issue only apears for changing field values. i can perfectly use the standard pages to CREATE a new entity. more strange behaviour: when i update both a key field and another field at the same time : i DO get an exception: Caused by: javax.persistence.OptimisticLockException: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row | count: 0; expected: 1 | at org.hibernate.ejb.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:654) | at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:600) | at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:525) | at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86) | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1382) | ... 49 more | Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 | at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:61) | at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:46) | at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:68) | at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) | at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) | at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:516) | ... 54 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103914#4103914 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - extending seam Idenity with a domain
hello i'd like to extend the seam identity with a domain ( user @ domain / password ) how can i get seam to use my extended idenity object iso the default ? thanx koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093930#4093930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: extending seam Idenity with a domain
the only thing i found so far is a class parameter in components.xml cfr below security:identity authenticate-method=#{authenticator.authenticate} class=up.seam.UpIdentity auto-create=true / this however dos NOT make seam use my extended identity class View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093949#4093949 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Warning: do not use Seam managed pesistent context for BMT
warning !!! just lost a lot of time with the following. When you want to do bean managed transactions, do NOT use a seam managed persistent context (injected with @In) but use a EJB3 container managed persistent context (injected with @PersistenceContext). BMT how to summary mark bean as BMT @TransactionManagement(TransactionManagementType.BEAN) inject em @PersistenceContext // NOT !!! @In private EntityManager entityManager; inject user transaction @Resource private UserTransaction userTransaction; start / commit / rollback transaction on userTransaction object userTransaction.begin(); // etc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090192#4090192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Warning: do not use Seam managed pesistent context for BMT
warning !!! just lost a lot of time with the following. When you want to do bean managed transactions, do NOT use a seam managed persistent context (injected with @In) but use a EJB3 container managed persistent context (injected with @PersistenceContext). BMT how to summary mark bean as BMT @TransactionManagement(TransactionManagementType.BEAN) inject em @PersistenceContext // NOT !!! @In private EntityManager entityManager; inject user transaction @Resource private UserTransaction userTransaction; start / commit / rollback transaction on userTransaction object userTransaction.begin(); // etc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090194#4090194 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Warning: do not use Seam managed pesistent context for B
christian thanx for the clarification. i will try your proposal of explicitely calling joinTransaction, but i expect it to work :) still it is kind of confusing to me as it is working perfectly for the @PersistenceContext inject entityManager. i conclude that this one is joining the transaction auto-magically i'm wondering what the rationale is for not having the seam managed entityManager auto-magically join the user transaction ? ( and have a different behaviour than the EJB3 inject persitenceContext) thanx for any clarification or rationale koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090206#4090206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Warning: do not use Seam managed pesistent context for B
The good news is that indeed, a joinTransaction() call does the job with @In injected entityManager. anonymous wrote : Of course the @Injected EM will not join the transaction automatically because the transaction is started AFTER injection, when the method is called i think i understand your remark: seam injection occurs just in front of each method invocation and the transasction is only started in the method! however, @PersistenceContext injection occurs somewhere at bean creation and even earlier if i understand well. so while I think I understand the seam behaviour now (joining makes sense), i'm still confused why i don't have to do a joinTransaction with @PersistenceContext injected entityManager (where does the join happen?) and why the behaviour should be different. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090276#4090276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - user managed transaction with injected session?
i need to have user managed transactins ( i want to start and commit transacstions inside a method myself ) how can i do this inside seam ? i'm using an inject session and get the A JTA EntityManager cannot use getTransaction() error [ i'm processing a file inside the method with a bunch of records to be commited to the database, currently if i have a key conflict for one of those records the whole fails ] thanx koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082125#4082125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: communicating between two seam applications
thanx for your very clear answer. i have worked with OSGi in the past. i still feel that it could be a great enhancement to application servers to provide dynamic loading and a controlled and fine grained 'exposure' mechanism. but it's def. not something you introduce in an infrastructure like jboss in a short time :) kind regards koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081566#4081566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - setting MIME TYPES and other HTTP header attributes
is there a way to set the MIME type and other HTTP attributes for XHTML pages with SEAM? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081181#4081181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: unexplode problems
i'm having the same issues on my vista machine with jdk1.5. the same effect with jrocket 5. i'm very interested in a solution to speed up my development cycle koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081192#4081192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: setting MIME TYPES and other HTTP header attributes
found a solution: JSF provides a means through the F:VIEW tag ?xml version=1.0 encoding=UTF-8? f:view contentType=text/xml xmlns=http://unifiedpost.com/rest; xmlns:f=http://java.sun.com/jsf/core; /f:view View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081259#4081259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and RichFaces Tree component problem
hello it's a jboss classloader problem it has been discussed in this forum, try searching for webclassloader the current not perfect solution if i remember well is to instruct jboss/tomcat to share the classlaoder kind regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080837#4080837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - communicating between two seam applications
what is the best approach to communicate between 2 or more seam applications ? as an example, the first application provides a set of basic services to be used by other applications. i'm currently playing with a JNDI lookup approach. i'm having classloading issues however. to solve it i configured the two applications to use the samen classloader namespace but this is propr. to jboss. what is a good way to setup the two applications to avoid classloading issues. where do you put the shared local and/or remote interfaces? thanx koen handekyn View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080859#4080859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and RichFaces Tree component problem
looked it up for you In JBoss there is a server-wide setting that will take care of it. Look in deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml set UseJBossWebLoader=true from  http://www.jboss.com/index.html?module=bbop=viewtopict=94822postdays=0postorder=ascstart=20 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080862#4080862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: communicating between two seam applications
i have the classloading issues fixed, but had to do this in a jboss specific way. i was wondering if there is an elegent and standardized approach. for other readers info : i have the different ears configured with the same jboss-app.xml loader-repository configuration (which makes jboss 4.2.0 load the ears in the same classloader namespace) jboss-app loader-repository seam.jboss.org:loader=up /loader-repository /jboss-app View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081123#4081123 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: communicating between two seam applications
the fundamental question is in fact a question of granularity my application (as many do prob) exists out of a collection of 'modules' (jars), a group of classes that together offer a more or less independent service. i could put alle the modules (jars) inside one big ear and avoid inter ear communication but that reduces (hot) redeployment options and has a negative impact on my development cycle. ideally i would have OSGi like possibilities to load jars dynamically and control very specifically which interfaces they expose to the outside world i have been wondering about the role of JMX. however, at this time there is not yet a link between JMX services and/or SEAM components and/or SF or SL session beans. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081130#4081130 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: value for '#{org.jboss.seam.security.identity}' sometime
in my experience it's not related to an amount of restarts. i have already increased the perm gen space. still it happens. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071032#4071032 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam2.0beta : tests fail with jdk1.6
just want to share that on my machine there seams to be an issue with running the tests with jdk1.6. it's probably a jboss embedded issue much more than seam. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061118#4061118 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam2.0beta : tests fail with jdk1.6
the error starts like this, the key messag being that it doesn't find the native String class: Class not found: [Ljava.lang.String; 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.getCo | mponentMetaDataRetri | eval(AnnotatedElementMetaDataLoader.java:138) |[testng] at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRe | trieval(AbstractMeta | DataContext.java:280) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061119#4061119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pressing enter doesn't submit the form in IE when there'
thanx for the advice but i think it's fair to call this a JSF bug ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061507#4061507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen new-action : test fails
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
[jboss-user] [JBoss Seam] - Re: Generated application does not work
seems like you are missing a component for authentication. seam gen usualy creates a bean like this package upr; import org.jboss.seam.annotations.In; import org.jboss.seam.annotations.Logger; import org.jboss.seam.annotations.Name; import org.jboss.seam.log.Log; import org.jboss.seam.security.Identity; @Name(authenticator) public class Authenticator { @Logger Log log; @In Identity identity; public boolean authenticate() { log.info(authenticating #0, identity.getUsername()); //write your authentication logic here, //return true if the authentication was //successful, false otherwise identity.addRole(admin); return true; } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4060454#4060454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4060454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: params in pageflows?
indeed that was my ' backup ' solution. i have a problem though with some pages where navigation ?has? to be controlled from the pages.xml the following example to illustrate page view-id=/login.xhtml | navigation from-action=#{identity.login} | rule if=#{identity.loggedIn} | redirect view-id=/home.xhtml/ | /rule | /navigation | /page here, the identity.login build in SEAM action triggers a method with the following signature : public boolean authenticate() { } -- there is no way (as far as i know) to return a page id in this case ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058758#4058758 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: params in pageflows?
i have a related question : i want users to be able to configure there 'home' page ( the main page they use ). i tried to use an EL statement in a redirect statement inside pages.xml but it doesn't get resolved ??? any suggestions on how to have a the home page stored inside the session and navigate to that page each time we want to send the user to his 'home' ??? page view-id=/singleSignOn.xhtml action=#{identity.login} navigation from-action=#{identity.login} redirect view-id=#{homePage}/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058332#4058332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Expression Language : Nesting
if would like to write something like #{documentManager.search('label:#{label}')} as an action target where the parameter of the action is a locally bound parameter : ie here #{label} what's the best approach ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056884#4056884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
do you know if there is solution in the mean time? [ i hope to combine richfaces tree and drag and drop with seam mail ] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056490#4056490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
do you know if there is solution in the mean time? [ i hope to combine richfaces tree and drag and drop with seam mail ] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056492#4056492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Long Time Running Stateful Bean Problem
i'm having the same issue [ not using inner classes ] you changed it into what specifically ? something longer than a session/conversation timeout ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056498#4056498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Long Time Running Stateful Bean Problem
i'm having an issue with passivation of a seam statefull session bean: anonymous wrote : | 15:49:23,387 ERROR [SimpleStatefulCache] problem passivation thread | javax.ejb.EJBException: Could not passivate; failed to save state | at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:196) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129) | Caused by: java.io.IOException | at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86) | at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) | at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) | at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) | at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) | at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) | at org.jboss.mx.util.MBeanProxyExt.writeExternal(MBeanProxyExt.java:432) | at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) | at org.jboss.serial.persister.ProxyPersister.writeData(ProxyPersister.java:58) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) | at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90) | at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) | at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:110) | at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:101) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) | at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322) | at org.jboss.serial.io.MarshalledObject.(MarshalledObject.java:51) | at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:405) | at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:58) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206) | at
[jboss-user] [JBoss Seam] - bug? rendered= condition not re-evaluated within a4jsf out
i have an element inside an ajax4jsf outputPanel. i discovered that the rendered=/testcode/ test is not re-evaluated on a re-Render trigger from an ajax button. it feels to me like a bug. Code: a:outputPanel id=document_list_panel ajaxRendered=true h:outputText value=No documents to display rendered=#{hits.rowCount==0} / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055573#4055573 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - redirect to an external URL from an action
anybody has a tip on how to redirect to an external URL from a seam action? as it ' seams ' :) like a very common requirement I guess there should be some elegent way foreseen but I didn't find any (yet) the path i'm thinking about is to make a redirect page that takes in a parameter with the target URL. kind regards koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055574#4055574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - tip: put this tip in the seam reference
gavin's tip is trivial when you see it but for starters it's not something that you immediately come up with. i would advise to integrate this tip into the reference manual koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055577#4055577 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: redirect to an external URL from an action
thank you very much ! it works ! i keep on finding that i'm missing some basic JSF background (I started with seam without having worked in deapth with JSF as i didn't like it a lot without seam :) ) thanx again View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055620#4055620 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: redirect to an external URL from an action
CONCLUDING NOTE it would be nice however if seam would treat action return Strings starting with http://; differently and do the redirect automatically. that would feel natural to mee. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055623#4055623 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055623 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - howto: expose application scope component with JMX?
can anybody give me a hint on how to best expose my application scope component (ejb) through JMX. is there any provisioning from SEAM side? ideally there would be something like @RegisterMBean(name) ? thanx koen handekyn View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055682#4055682 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam app + another app using SSO
i don't know if this is going to help you but i sovled a related issue for single sign on as described below to log in to my seam application from a URL. usage : https://host:port/appdomain/SingleSignOn.seam?login=aaapassword=bbb for your problem, i guess a similar approach could be taken, while also consuming an extra parameter being the url parameter. at the end of the flow you than can redirect to the original URL with @In(#{facesContext.externalContext}) | private ExternalContext externalContext; and externalContext.redirect(documentURL); a quick and dirty approach I use: from pages.xml page view-id=/singleSignOn.xhtml | action=#{identity.login} | navigation from-action=#{identity.login} | rule if=#{identity.loggedIn} | redirect view-id=/home.xhtml/ | /rule | /navigation | /page with an empty singleSignOn.xhtml page while reading two request parameters within my AuthenticationAction bean @Stateless | @Name(authenticator) | public class AuthenticatorAction implements AuthenticatorI { | | @Logger | Log log; | | @RequestParameter | String login; | | @RequestParameter | String password; | | ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055685#4055685 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: howto: expose application scope component with JMX?
as i had to look for a while to find what gavin was referring to, i think it is the below thing : 'service beans' http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html ???any comment on service beans versus application scope session beans for holding configuration type of data??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055791#4055791 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: howto: expose application scope component with JMX?
feature request to gavin :) to inject a ' service ' bean you have to resort to the standard jboss provisioning wich looks like private GlobalConfigurationMBean globalConfiguration; @Depends (upr:service=globalConfiguration) | public void setGlobalConfiguration(final GlobalConfigurationMBean globalConfiguration) | { | this.globalConfiguration = globalConfiguration; | } | it would be nice to be able to add an @Name attribute to the service and inject it with @In View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055836#4055836 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: value for '#{org.jboss.seam.security.identity}' sometime
let me add the full stack trace it is scary to see this happen ' sometimes ' without any real logic as far as i can trace it's a seam internal nullpointer exception - - - - - 16:16:21,508 ERROR [ExceptionFilter] uncaught exception javax.servlet.ServletException: /layout/menu.xhtml @17,58 rendered=#{identity.loggedIn}: Cannot get value for expression '#{org.jboss.seam.security.identity}' at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:619) 16:16:21,552 ERROR [ExceptionFilter] exception root cause javax.faces.el.EvaluationException: /layout/menu.xhtml @17,58 rendered=#{identity.loggedIn}: Cannot get value for expression '#{org.jboss.seam.security.identity}' at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:640) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645) at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:157) at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$101(AjaxViewRoot.java:53) at org.ajax4jsf.framework.ajax.AjaxViewRoot$2.invokeRoot(AjaxViewRoot.java:287) at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:53) at
[jboss-user] [JBoss Seam] - value for '#{org.jboss.seam.security.identity}' sometimes no
i'm having some serious reliability issues with SEAM 1.2.1 GA on JBOSS 4.0.5. - i have turned off already ' devepment / debug ' configurations. sometimes the following error is thrown. SEVERE: Error Rendering View[/tasks.xhtml] javax.faces.el.EvaluationException: /layout/menu.xhtml @21,120 rendered=#{identity.loggedIn}: Cannot get value for expression '#{org.jboss.seam.security.identity}' below a first part of the rest of the stack traceat com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:520) at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:282) at org.richfaces.renderkit.html.ToolBarGroupRenderer.encodeChildren(ToolBarGroupRenderer.java:68) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524) at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:282) at org.richfaces.renderkit.html.ToolBarRendererBase.encodeChildren(ToolBarRendererBase.java:99) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573) at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052766#4052766 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE in RepositoryClassLoader
i'm having the same error today (2007). did you find a solution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052768#4052768 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - changes on @In injected properties with BUSINESS_PROCESS sco
i have just spend a long time debuging an issue with respect to updates on an object with business process scope that is injected with @In. the behaviour was that the updates where first made, but soon after dissapeared. i discovered that adding an explicit @Out(scope = ScopeType.BUSINESS_PROCESS, required = false) sovles my issue. i do not fully understand what's happening but it probably relates to the proxies that get inserted and the @Out triggering a commit somewhere. (allthough i added the @Intercept(InterceptionType.NEVER) as mentioned in the reference manual) @In @Out(scope = ScopeType.BUSINESS_PROCESS, required = false) private Invoice invoice; hope this helps someone. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052142#4052142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: row input field
there is also a warning : There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only. 20:36:00,412 WARN [HtmlRendererUtils] There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only. Component : {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /tasks.xhtml][Class: org.richfaces.component.html.HtmlPanel,Id: _id58][Class: javax.faces.component.html.HtmlForm,Id: InvoiceApproveTaskInsta nceListForm][Class: org.richfaces.component.html.HtmlDataTable,Id: _id62][Class: org.richfaces.component.html.HtmlColumn,Id: _id75][Class: org.richfaces.component.html.HtmlModalPanel,Id: modelPanel][C lass: javax.faces.component.html.HtmlInputText,Id: _id78]} anybody that understands this and knows how to deal with this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052264#4052264 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Number Guess Example Query
just download jboss 4.0.5. with ejb 3 profile as mentioned in seam doc. the examples run fine in jboss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052265#4052265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - using EL for variable ID's within columns
i'm trying to use the EL to generate unique element id's for elements within a datatable. however, for some reason it doesn't seem to work. what is the appropriate way to generate unique id's for elements within a datatable iteration? by the way : the goal of the below snipet is to open a model panel to allow a user to enter or edit row data. thanx for your reaction rich:column rich:modalPanel id=modelPanelID#{task.id} minHeight=200 minWidth=450 height=200 width=500 zindex=2000 f:facet name=header h:outputText value=Approve Invoice/ /f:facet f:facet name=controls h:graphicImage value=/images/modal/close.png style=cursor:pointer onclick=Richfaces.hideModalPanel('mp')/ /f:facet h:inputText value=#{task.variables['invoice'].approvedBy} style=width: 100px /h:inputText s:button action=#{invoiceApproval.approve} taskInstance=#{task} value=Approve/ /rich:modalPanel a href=javascript:Richfaces.showModalPanel('modelPanelID#{task.id}',{width:450, top:200}) approve /rich:column View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051887#4051887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-dvd example JBPM issue (seam 1.2.1.GA with jboss as
christian please excuse me for the duplication. i had searched quit intensively inside and outside this forum. kind regards, koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051890#4051890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: using EL for variable ID's within columns
sorry, it seems that that solves my question at the generation side. but what is the best way to regenerate that ID within the loop to be able to point to it from within javascript as below? a href=javascript:Richfaces.showModalPanel('modelPanelID:',{width:450, top:200}) i checked and it seems indeed that JSF is creating something like a fully qualified ID when i look in the generated HTML: new ModalPanel('InvoiceApproveTaskInstanceListForm:_id59:1:modelPanelID' ... but this doesn't help me very much is it seems now even more complex to regenate the full id ? probably i'm missing something simple here ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051894#4051894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - row input field not posted? when submitted from within a m
in the first code snippet below the input variable (marked in bold) is not assigned or posted when comming from within a (rich:)modelPanel. [ snippet 1 ] when posted directly from within the column the input variable is assigned well. [ snippet 2 ] thanx for helping me understand. snippet 1 : [ doesn't work ] rich:column rich:modalPanel id=modelPanel minHeight=200 minWidth=450 height=200 width=500 zindex=2000 f:facet name=header h:outputText value=Approve Invoice/ /f:facet f:facet name=controls h:graphicImage value=/images/modal/close.png style=cursor:pointer onclick=Richfaces.hideModalPanel('mp')/ /f:facet h:inputText value=#{task.variables['invoice'].approvedBy} style=width: 100px /h:inputText s:button action=#{invoiceApproval.approve} taskInstance=#{task} value=Approve/ /rich:modalPanel a href=javascript:Richfaces.showModalPanel('modelPanel',{width:450, top:200}) approve /rich:column snippet 2 : [ works well ] rich:column h:inputText value=#{task.variables['invoice'].approvedBy} style=width: 100px /h:inputText s:button action=#{invoiceApproval.approve} taskInstance=#{task} value=Approve/ /rich:column View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051898#4051898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-dvd example JBPM issue (seam 1.2.1.GA with jboss as 4.0
out of the box the current seam dvd example seems broken wrt JBPM. after creating on order the task assignment list appears empty when logging in as a manager. the headers of the table are rendered but there is no content : Task Assignment Order IdTaskOrder AmountCustomer Order Acceptance if this can be confirmed by others, this should probably be added to the bug tracking system. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051332#4051332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-dvd example JBPM issue (seam 1.2.1.GA with jboss as
i have replaced the admin.xhtml with a more recent version. it now works fine. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; xmlns:ui=http://java.sun.com/jsf/facelets; xmlns:f=http://java.sun.com/jsf/core; xmlns:h=http://java.sun.com/jsf/html; xmlns:s=http://jboss.com/products/seam/taglib; xmlns:c=http://java.sun.com/jstl/core; ui:composition template=/WEB-INF/template.xhtml ui:define name=topnav ui:include src=/WEB-INF/incl/admin_nav.xhtml / /ui:define ui:define name=sidebar ui:include src=/WEB-INF/incl/login.xhtml / ui:include src=/WEB-INF/incl/stats.xhtml / ui:include src=/WEB-INF/incl/processmenu.xhtml / /ui:define ui:define name=body f:subview rendered=#{!currentUser.admin} The admin screen is only administrative users. Please login to continue. If you are looking for the store, try s:link view=/browse.xhtml value=here /. /f:subview f:subview rendered=#{currentUser.admin} h1Order Management/h1 Pending orders are shown here on the order management screen for the store manager to process. Rather than being data-driven, order management is process-driven. A JBoss jBPM process assigns fulfillment tasks to the manager based on the version of the process loaded. The manager can change the version of the process at any time using the admin options box to the right. a onclick=window.open('../img/ordermanagement1.html','flowimg','height=560,width=300,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'); return false; href=img/ordermanagement1.htmlOrder process 1 sends orders immediately to shipping, where the manager should ship the order and record the tracking number for the user to see. a onclick=window.open('../img/ordermanagement2.html','flowimg','height=600,width=420,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'); return false; href=img/ordermanagement2.htmlOrder process 2 adds an approval step where the manager is first given the chance to approve the order before sending it to shipping. In each case, the status of the order is shown in the customer's order list. a onclick=window.open('../img/ordermanagement3.html','flowimg','height=660,width=470,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'); return false; href=img/ordermanagement3.htmlOrder process 3 introduces a decision node. Only orders over $100.00 need to be accepted. Smaller orders are automatically approved for shipping. h2Task Assignment/h2 c:choose c:when test=#{empty pooledTaskInstanceList} There are no pooled tasks to be assigned. /c:when c:otherwise h:dataTable value=#{pooledTaskInstanceList} var=task styleClass=dvdtable headerClass=dvdtablehead rowClasses=dvdtableodd,dvdtableeven columnClasses=dvdtablecol h:column f:facet name=headerOrder Id/f:facet #{task.variables['orderId']} /h:column h:column f:facet name=headerTask/f:facet h:outputText value=#{task.description} / /h:column h:column f:facet name=headerOrder Amount/f:facet h:outputText value=#{task.variables['amount']} f:convertNumber type=currency currencySymbol=$ / /h:outputText /h:column h:column f:facet name=headerCustomer/f:facet h:outputText value=#{task.variables['customer']} / /h:column h:column s:button action=#{pooledTask.assignToCurrentActor} taskInstance=#{task} value=Assign/
[jboss-user] [JBoss Seam] - 'sometimes' a nullpointer exception for #{identity.loggedIn}
i sometimes get a nullpointer exception with the following root: rendered=#{identity.loggedIn}: Cannot get value for expression '#{org.jboss.seam.security.identity}' the main issue is that it happens sometimes and that triggering a page refresh within the same session just continues as if nothing was wrong. so it seems that for some reason i don't understand sometimes the name 'identity' doesn't seem to be bound ??? i searched the forum but i did not manage to find anything related. any comments on this behaviour which is not blocking for development but blocking for deployment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4047184#4047184 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - use of facesMessages in factory methods
I'm adding messages to FacesMessages from within a factory method (@Factory) The issue is that the messages appear only at the next browser request. i tried both to bind facesmessages with injection and using FacesMessages.instance(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044229#4044229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities problem
i'm having the same issue ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040033#4040033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user