1. For simple validation (just value) we can still use JSF validation.
2. For complex validation I use drools (jBoss Rules).
It nicely integrated with Seam Page Flow (see seam samples).
You can express your validation in rule set. IMHO it looks like quite elegantly. You can define as complex rules as you want. And validation logic is separated.
And most important, it works steadily. I have not experienced any problems yet.
Denis.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970396#3970396
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970396
Hi,
I am trying to install JBossPortal 2.2 using the bundle (JBoss AS 4.0.4 GA). One thing which is not clear for me, should i have some database before i run the run.bat file which is present in the bin directory.
When i execute the run.bat file, it throws bumch of exception and says JBoss server started in 31 sec: 49 ms.
When i say http://localhost:8080/portal, it throw HTTP 500 error but on the console i get NULLPointerException
[ERROR]org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping][ Servelt.service() for servlet PortalServeltWithMapping threw Exception java NullPointerException.
Can someone throw some light if they have seen this error before.
Is the root cause of the problem no database connectivit ?. I wish there was some pre-requitises in the document.
Please help.
TIA
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970395#3970395
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970395
anonymous wrote : Can anyboy help me how to covert the SpyObjectMessage to a TextMessage or how to display the text in a SpyObjectMessage
JMS Message can be of different types:
1) BytesMessage
2) MapMessage
3) ObjectMessage
4) StreamMessage
5) TextMessage
In short, the Message that you receive need not contain text. It can be of any of the above mentioned types. So you cannot get text out of a Message which is of type MapMessage or some other Message.
Why are you trying to print the message contents, if its not a TextMessage?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970394#3970394
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970394
I am confused on how to accomplish what I want to do.
I have a JMS Queue with an MDB attached to it. I have Container Managed JTA transaction with my MDB onMessage.
What I want to be able to do is to put something on a second queue regardless of whether my onMessage in the first queue succeeds.
For example, i want to audit a failure and my audit logging is implemented via a JMS queue. So, a failure occurs, I want to rollback my current transacation but before I do that, I want to audit that by adding something to an additional queue.
any ideas. Right now I have all queues CMT with JTA
-alexander
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970392#3970392
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970392
I'm trying to implement a webservice based on an ejb3 bean and jsr-181 annotations.
One of my requirements is to use wsse UserNameToken based authentication in the header.
I can see that its possible to use the Handler chains to set up signing and encryption but I can't see how to set up the basic UserNameToken. Can anyone give me some ideas on what I'm missing here and how to go about this?
Thanks
Dave
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970385#3970385
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970385