[jboss-user] [JCA/JBoss] - How to expose jndi over http
hello I want to expose JNDI over HTTP. how can I do that. i read the JBoss admin guide it is talking about jmx-invoker-adaptor-service.sar where can i get this file. I would be thankful if anyboby could tell me the detailed configuration for exposing JNDI over http. Regards Milan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057174#4057174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Function 's:hasRole' not found
Hi Gavin, Facelets. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057175#4057175 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057175 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Function 's:hasRole' not found
Have you tried this with 1.3.0 alpha? I know we've done some work in this area, it might be a non-issue now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057176#4057176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: HA JMS message selector
here is the exception i got in node1 | org.jboss.mq.SpyXAException: Resource manager error during prepare; - nested throwable: (javax.jms.IllegalStateException: The connection is closed) | at org.jboss.mq.SpyXAException.getAsXAException(SpyXAException.java:72) | at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:151) | at org.jboss.tm.TransactionImpl$Resource.prepare(TransactionImpl.java:2212) | at org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:1660) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:347) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905) | at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170) | at org.jboss.mq.SpySession.run(SpySession.java:323) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Unknown Source) | Caused by: javax.jms.IllegalStateException: The connection is closed | at org.jboss.mq.Connection.checkClosed(Connection.java:1244) | at org.jboss.mq.Connection.send(Connection.java:1104) | at org.jboss.mq.SpyXAResourceManager.prepare(SpyXAResourceManager.java:255) | at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:147) | ... 11 more | [14:06:07-22:24:39,779] [ WARN:org.jboss.tm.TransactionImpl] [JMS SessionPool Worker-6] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=asterix/809, BranchQual=, localId=809] errorCode=XAER_RMERR | org.jboss.mq.SpyXAException: Resource manager error during rollback; - nested throwable: (javax.jms.IllegalStateException: The connection is closed) | at org.jboss.mq.SpyXAException.getAsXAException(SpyXAException.java:72) | at org.jboss.mq.SpyXAResource.rollback(SpyXAResource.java:182) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905) | at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170) | at org.jboss.mq.SpySession.run(SpySession.java:323) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Unknown Source) | Caused by: javax.jms.IllegalStateException: The connection is closed | at org.jboss.mq.Connection.checkClosed(Connection.java:1244) | at org.jboss.mq.Connection.send(Connection.java:1104) | at org.jboss.mq.SpyXAResourceManager.rollback(SpyXAResourceManager.java:308) | at org.jboss.mq.SpyXAResource.rollback(SpyXAResource.java:178) | ... 11 more | [14:06:07-22:24:39,788] [ERROR:org.jboss.jms.asf.StdServerSession] [JMS SessionPool Worker-6] failed to commit/rollback | org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=asterix/809, BranchQual=, localId=809] status=STATUS_NO_TRANSACTION; - nested throwable: (org.jboss.mq.SpyXAException: Resource manager error during prepare; - nested throwable: (javax.jms.IllegalStateException: The connection is closed)) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:372) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905) | at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170) | at org.jboss.mq.SpySession.run(SpySession.java:323) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Unknown Source) | Caused by: org.jboss.mq.SpyXAException: Resource manager error during prepare; - nested throwable: (javax.jms.IllegalStateException: The connection is closed) | at org.jboss.mq.SpyXAException.getAsXAException(SpyXAException.java:72) | at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:151) | at org.jboss.tm.TransactionImpl$Resource.prepare(TransactionImpl.java:2212) | at org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:1660) | at
[jboss-user] [JBoss Seam] - Re: Problem with entity in session scope and JSF inputText
For a start you aren't accessing TimelineChangeListener in a way in which Seam can intercept calls (so the @Out won't happen). Use a EL binding #{foo.timelineChangeListener} instead. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057179#4057179 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: detached entity passed to persist
I see this is an old thread but just in case someone nees a solution... try to enclose everyting in a UserTransaction. If you take an EJB3 entity outside the transaction, you cannot re-persist it or iterate over CMRs, etc. You need then a UserTransaction in the client side. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057182#4057182 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Problem in spring integration
thanks alesj you were right spring deployer was missing Now every thing is working fine kool View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057181#4057181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Bidirectional Cascade
The cascade setting will only work in one direction, so if you put it on the OneToMany relationship you can remove entities from the collection without fear of deleting the parent. As for the second question, if you have CascadeType.ALL set, then you won't be able to set the ManyToOne side because it will be deleted when the other side is deleted. Hope that helps :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057183#4057183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Good Introduction article on JBoss Seam
HI, This article will be helpful for starting JBoss Seam development: http://www.javabeat.net/jboss-seam/2007/06/jboss-seam-introduction/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057187#4057187 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with entity in session scope and JSF inputText
Thanks.That worked - where can I find this information? I've been looking through the docs and unable to find such specifics. Another problem(though it may not be the right place for the post) I am noticing is that the ajax call to rerender the inputText field does not evalualte the EL expression - selectedTimeline.startDate unless inputText is set for disabled= true. Anyone come across this? - Amit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057185#4057185 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Selector Help needed - Possible alternative suggestions
In general it's a bad idea to use selectors with queues since it requires the entire queue to be scanned every time delivery is attempted (slow). In most cases this can be refactored into using a topic with durable subscriptions - one durable subscription for each of your consumer types. The selector on the durable sub is evaluated *before* the messages reach the durable sub, so it is much more efficient. (Think of each durable subscription of a queue, but it only contains those messages which match the selector). Durable subscriptions can be clustered in JBM so you can have more than one consumer on the same durable subscription on different nodes of the cluster. (There is an issue with message redistribution in 1.3.0 which reduces performance for this, but this will be fixed in 1.4.0.) The issue about a message consumer getting all the messages is because each message consumer buffers (prefetches) into its local buffer. This is done for performance reasons. For high throughput it is much more efficient not having to go the server every time you want a message. If this is a problem for you, you can reduce the prefetch size - this is explained in the userguide. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057186#4057186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Good Introduction article on JBoss Seam
HI, This article will be helpful for starting JBoss Seam development: http://www.javabeat.net/jboss-seam/2007/06/jboss-seam-introduction/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057188#4057188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2.0 with Jboss 4.2.0
I'm having the same issue using JBoss 4.2.0.GA, Seam 1.2.1.GA with JSF 1.2 and Drools. When I include the el JARs in my EAR, the server hangs on startup. Did you happen to find a solution to your problem? Thanks. Carl View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057191#4057191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Can I use @In EntityManager entityManager; in an entity bean
Can I use @In EntityManager entityManager; in an entity bean ? I have this in my entity bean : @Transient @In(required=true) EntityManager entityManager; But the entityManager is always null. I works in other classes thought, si I wonder if it's possible ? Is this related to this : http://www.jboss.com/index.html?module=bbop=viewtopict=107353 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057193#4057193 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can I use @In EntityManager entityManager; in an entity
No you can't. http://docs.jboss.com/seam/1.3.0.ALPHA/reference/en/html/concepts.html#d0e2740 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057195#4057195 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to catch Entity Manager exceptions ?
Hi ! I have a few entity beans with validation annotations, and I'd like to be able to catch the exceptions thrown by the hibernate validator when something goes wrong. | @Entity | public class Country { | | @Id | @GeneratedValue( strategy=GenerationType.AUTO ) | private Integer id; | | @NotNull | @Length(min = 1, max = 255) | private String name; | } | | @Stateless | @Remote(Update.class) | public class UpdateSessionBean implements Serializable, Update { | public CountryDataBean updateCountry( CountryDataBean bean ) | throws UpdateException { | Country entity = this.entityManager.find( Country.class, bean.getId() ); | if ( entity == null ) { | throw new UpdateException( Country not found ); | } | | CountryMapper mapper = new CountryMapper(); | mapper.toEntity( bean, entity ); | | try { | entity = this.entityManager.merge( entity ); | } | catch( InvalidStateException e ) { | ... do some stuff | } | | mapper.toDataBean( entity, bean ); | return bean; | } | } | When I force an error, I get that kind of error message : | 19:49:43,158 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for [EMAIL PROTECTED] | javax.persistence.PersistenceException: org.hibernate.validator.InvalidStateException: validation failed for: prixmac.indexation.database.Country | at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:527) | at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:249) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:88) | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1256) | at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) | at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) | at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) | ... | Does anyone have an idea of how I could catch those damned exceptions in my session bean ? Cause it's pretty pointless for me to validate the data if I can't find a way to know that something went wrong :( I'm using JBoss 4.2.0 ! Best regards, Guillaume View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057196#4057196 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: javax.el.ELException , unable to localize the error
I must say, finally, that petemuir's version was correct : anonymous wrote : ajax4jsf namespace isn't being resolved correctly The problem is solved now, thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057198#4057198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Atomic Conversation with s:link / tag
Hi, I'd like to ask you if it's possible to mark conversation as an Atomic Conversation with s:link/ or s:button/? We've got already: - @Begin(flushMode=MANUAL) - begin-conversation flush-mode=MANUAL/ - em.setFlushMode(FlushModeType.COMMIT) but I've noticed that it seems to be not possible to do such a conversation with mentioned tags. Any advice is welcome. Slawek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057199#4057199 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Calling native C++ legacy program from Message Driven Bean
Hi, Could you please help me out on this problem: I am having a C++ program which does mathematical calculation and whan to reuse it in my JEE application. I thought of using MDB and call this C++ code using JNI. Does JBoss support calling native programs using JNI? I heard that using JNI call from EJB is not supported by specification. I also thought of keeping the C++ code as stand alone application by writing a C++ daemon program which will listen to message queue and process the request and send the response back to my J2EE env. This sounds interesting but since this is not in a container, there are many issues like fault tolerance and clustering of this C++ code in production env. If I can direct call this C++ code using JNI.. I can deploy it on production with all the advantages of having JBoss server. Please help me out on this issue. Thanks, Waikhom View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057200#4057200 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Bidirectional Cascade
Yes, that helps a lot. It may explain why I was seeing some problems. I will have to experiment more. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057201#4057201 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with proxy
Post the code where you are doing the lookup and casting. Also have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions, specifically the jmx-console method mentioned over there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057202#4057202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Atomic Conversation with s:link / tag
No, its not supported. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057205#4057205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Atomic Conversation with s:link / tag
Can I add this as feature request to JIRA? It would be nice suplement to this area, wouldn't it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057206#4057206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How can I get the value from s:selectItems
Why devIds always is null? thanks. Webpage: h:selectManyListbox value=#{devIds} size=8 | s:selectItems value=#{devListForAdd} var=dev label=#{dev.englishName}/ | s:convertEntity / | /h:selectManyListbox Action: s:button action=#{actorDevMaintAction.saveDev} | value=Add / @In(required = false) | @Out(required=false) | private ListUser devIds; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057207#4057207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How can I get the value from s:selectItems
Why devIds always is null? thanks. Webpage: h:selectManyListbox value=#{devIds} size=8 |s:selectItems value=#{devListForAdd} var=dev label=#{dev.englishName}/ |s:convertEntity / | /h:selectManyListbox Action: s:button action=#{actorDevMaintAction.saveDev} | value=Add / @In(required = false) | @Out(required=false) | private ListUser devIds; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057209#4057209 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem when destroying conversational SB
Please, anybody? No hint for the double log messages? (only some log messages appear twice)... I just don't know what's going on there. Thanks in advance, Jörg View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057210#4057210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-generated ear: IncompatiblaClassChangeError
Hi, folks! First of all I really want to thank everyone involved in this project for making such an effort in making Seam my first Application Framework of choice. I really enjoy the hours I spend in learning more and more about Seam. Now to the bad part ;-) Today I updated from CVS version and from now on my newly created web apps give me following WARNing everyime I access a page: anonymous wrote : 22:31:45,358 WARN [lifecycle] phase(RENDER_RESPONSE 6,[EMAIL PROTECTED]) threw exception: java.lang.IncompatibleClassChangeError null | org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:331) | org.jboss.seam.contexts.FacesLifecycle.endRequest(FacesLifecycle.java:83) | org.jboss.seam.jsf.SeamPhaseListener.afterRender(SeamPhaseListener.java:515) | org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:230) | org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:62) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) | org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | java.lang.Thread.run(Thread.java:595) | Any idea if this is a temporary flaw or if my app server's settings (I changed quite a few) are not compatible with the 1.3 version of seam? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057211#4057211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Is remember me cookie vulnerable
Hi! I just played a little with remember cookie. I've created a login page and checkbox for remember me. When i logged in i saw the cookie in the browser: cookie name: org.jboss.seam.security.username content: my username here Then i've opened a new instance of the broweser and opened the site and i was logged in automatically. So, the question is: if someone create his own cookie with my username would be logged in seam with my session? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057212#4057212 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM integration question
Now this approach does not work out anymore since I upgraded from CVS to version 1.3.0.BETA1 @Interceptor(NEVER) is no longer there because of a change in API. I have created my modification as follows and still the jbpm database is not being deployed automatically without having any process definition or page flow declared. | package org.jboss.jbpm.console.console; | | import org.jboss.seam.annotations.Install; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Startup; | import org.jboss.seam.annotations.intercept.Interceptor; | import org.jboss.seam.bpm.Jbpm; | import org.jboss.seam.log.Log; | | import static org.jboss.seam.annotations.intercept.InterceptorType.ANY; | | @Interceptor(type = ANY) | @Name(org.jboss.console.bpm.init) | @Startup(depends = { org.jboss.seam.bpm.jbpm }) | @Install(dependencies = org.jboss.seam.bpm.jbpm) | | public class JbpmInitializer extends Jbpm { | | @Logger | Log log; | | /** | * Startup method to start the jbpm context | */ | public void startup() throws Exception { | super.startup(); | if (getProcessDefinitions() == null | || getProcessDefinitions().length 1) { | try { | log.debug(Starting up jBPM); | getJbpmConfiguration().createJbpmContext().getContextSession(); | log.debug(jBPM initialized); | } catch (Exception e) { | log.error(jBPM Initialization Exception: + e.getMessage()); | e.printStackTrace(); | } | } | } | } | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057213#4057213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM integration question
@BypassInterceptors is the replacement. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057214#4057214 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is
Not unless his web browser knows your password. Y'know that little box that your browser pops up, asking to remember your login details? Don't automatically click yes on that :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057215#4057215 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-generated ear: IncompatiblaClassChangeError
ant cleanall build View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057216#4057216 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM integration question
Thanks Gavin but still that didn't work. Is there any parameter for the BypassInterceptors ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057218#4057218 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss 4.2 ejb not bound
My lookup is generated by Xdoclet and is correct. But anyway the bean should be listed in the JndiVew of the JBoss Console and it is not. I don't know why. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057219#4057219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM integration question
I just added a new protected method, so you can do: @Scope(ScopeType.APPLICATION) | @BypassInterceptors | @Startup | @Name(org.jboss.seam.bpm.jbpm) | public class MyJbpm | { | protected boolean isProcessDeploymentEnabled() | { | return true; | } | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057220#4057220 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Maven 2 plugin?
after some input i changed the groupid to org.jboss.maven.plugins as im told thats the default groupid for maven plugins. the goal was also changed from aopc to compile (now its jbossaop:compile) there is also support for compiling tests with: jbossaop:compile-test View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057221#4057221 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-generated ear: IncompatiblaClassChangeError
dough. Thx! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057222#4057222 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM integration question
Great, I'll checkout again from CVS and give it a try. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057223#4057223 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss 4.2 ejb not bound
I mean that the bean is not deployed. I do not know why. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057226#4057226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss 4.2 ejb not bound
Going by the log messages that you posted, i am confident that the bean is being deployed. You are looking in the wrong jndi namespace for your bean. Do the following: - Go to http://localhost:8080/jmx-console - On the page that comes up, search for service=JNDIView - Click on that - On the page that comes up click on the Invoke button beside the list() method - The next page will contain the JNDI tree view. Post it here. You will find your bean under the Global JNDI namespace on that page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057227#4057227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Configuration of just using seam taglib
I have gone through validateTag and validationAllTag. But i cant see any javascript/ajax code there and hibernate validation. Why? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057229#4057229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Configuration of just using seam taglib
anonymous wrote : The ajax stuff comes from ajax4jsf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057230#4057230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Configuration of just using seam taglib
I know seam validation tag lib is using ajax4jsf but base on the code investigation. it is go to the validateTag and validationAllTag class Which do not have ajax4jsf code there. Maybe i do not understand how the framework work. Could you explain to me how the validation tag triggers the ajax4jsf? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057232#4057232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Layering / overloading resources approach
Hi, I originally raised this issue in another thread that seems to have been overlooked, probably not the best place to raise it. So I have decided to raise my query again, hopefully not angering anyone in the process. What we want to achieve is to be able to layer our JSF projects. Typically we have a framework, that a product extends from and then a site may be introduced to capture any site specific customisations to the product. Each layer (framework, product and site) will have their own collection of Java beans, XHTML components and XML and property configuration files. All of these should be able to override the previous implementation, whilst at the same time still being able to access them to extend them (i.e. Java inheritance and Facelets style XHTML extending). Problem: How to layer Beans, XHTML components and configuration. Solution: Beans. This is quite easy, and Seam has already provided functionality for this using the @Install annotation. I simply need to annotate the beans at the framework layer with an @Install precedence lower than the product, and the same with the product lower than the site. Solved: Configuration: property files - using Seam's internationalization approach I could layer property files as well as provide internationalization support. Is this the correct approach? Unsolved: XML configuration Not sure what the solution would be? It seems that multiple pages.xml files can be loaded - but is overriding allowed within pages.xml files? Unsolved: XHTML Ideally what I would like is to have the following structure: /view/product/function/main.xhtml | /view/product/function/two.xhtml And then say, introduce the overloaded version of main.xhtml: /view/site/product/function/main.xhtml | And some how to refer to them both as the same name, either using EL (#{pages.product.function.main}) or using /product/function/main.xhtml and overloading some resource loader to scan multiple places for /product/function/main.xhtml. I am still as yet a little unclear as to what the best approach to take is, I can only assume (based on the presence of the @Install annotation) that others have faced the same problem. I am also interested in how you can load resources from JAR files - for the XHTML files as well as standard resources.. Weblets seems a little bit windy to me in this regard. I hope I have been clear in what I am asking, if I have not - please let me know.. I would rather clarify than get no response.. I am pulling a few hairs out trying to figure out the best approach on this one. Cheers, David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057233#4057233 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Alfresco Deployment Memory issue.
Hi, I am using Jbossportal 2.4.1.I have Alfrsco.war and deployd on /jboss-portal-2.4.1/server/default/deploy directory.It runs fine and I can even see the Alfresco application integrated with my jbossportal.But after 10-15 minutes, it starts giving an exception and everything goes on toss... I am getting memory exception on jbossportal console as below : at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) Caused by: java.sql.SQLException: out of memory at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source) at org.hsqldb.jdbc.jdbcDatabaseMetaData.execute(Unknown Source) at org.hsqldb.jdbc.jdbcDatabaseMetaData.getTables(Unknown Source) at org.alfresco.repo.domain.schema.SchemaBootstrap.countAppliedPatches(SchemaBootstrap.java:188) at org.alfresco.repo.domain.schema.SchemaBootstrap.updateSchema(SchemaBootstrap.java:301) at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:598) ... 96 more 2007-06-22 19:18:33,682 ERROR [org.apache.catalina.core.StandardContext] Error listenerStart 2007-06-22 19:18:33,682 ERROR [org.apache.catalina.core.StandardContext] Context [/alfresco] startup failed due to previous errors 2007-06-22 19:18:33,682 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/alfresco]] Closing Spring root WebApplicationContext 2007-06-22 19:19:33,714 ERROR [STDERR] Exception in thread DefaultScheduler_QuartzSchedulerThread 2007-06-22 19:19:34,772 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space 2007-06-22 19:23:28,803 ERROR [STDERR] Exception in thread TimeoutFactory-0 2007-06-22 19:23:30,406 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space 2007-06-22 19:29:48,904 ERROR [STDERR] Exception in thread http-0.0.0.0-8080 2007-06-22 19:29:48,904 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space I have increased the memory in run.sh also but getting same error. Please suggest how to resolve the same. Thanks in advance! Ritesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057234#4057234 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Function 's:hasRole' not found
Hi Shane, I downloaded 1.3.0 and tried. That caused a whole new universe of problems. If I remove jboss-seam.jar from the ear and copy it to $JBOSS_HOME/server/default/lib everything works well. The only problem was s:link value=User Go Home view=home.xhtml rendered=#{s:hasRole('user')} / should be s:link value=User Go Home view=/home.xhtml rendered=#{s:hasRole('user')} / This is clearly a class loading problem. Is the JBoss AS responsible for class loading, or the application? I would think it is the AS, in which case the problem lies with JBoss 4.2.0. I'll go and read up in the wiki about class loading. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057235#4057235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: What's wrong with my FARM?
resolved or not? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057238#4057238 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: How do you set the source port for a client?
Hi Ian, Actually, in general it wouldn't make sense in Remoting to specify the local address of a connection because a single connection will typically use multiple sockets. For example, the socket transport will create a pool of sockets, and, presumably, HttpURLConnections, which are used by the Remoting http transport, do the same under the covers. However, you should take a look at the bisocket transport, which was created to work around firewall restrictions in the sense that all connections are created from the client to the server. In particular, if you have callbacks sent from the server to the client, the TCP connection is made from a client socket on the client to a server socket on the server. For more information, see Section 5.4.16 Bisocket invoker in the Remoting Guide (http://labs.jboss.com/jbossremoting/docs/guide/ch05.html#d0e2629). -Ron View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057237#4057237 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL process doesn't respond
Hi. The reason for the namespace is that the Visual Designer uses it. It won't show the graphical presentation of the prosess unless that namespace is used. Also the expression is automaticly generated. I have tried it without it but it still doesn't work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057236#4057236 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user