Thanks you wolfc.
I will try this.
But is there another way to configure the timeout not using annotations? I found the solution for EJB3 to override the configuration from the standardjboss.xml in my local jboss.xml a good solution. If I use annotition I'll have to make all changes in all classes and not in one configuration file.
jc7442 mentioned that there should be way to do this in the ejb3.deployer/META-INF/jboss-service.xml, but it seams that no one knows how to do this !?
Regards
Marco
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963774#3963774
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963774
"angelogalvao" wrote : Yes, this code enters... and the rolesFromRoleGroup references the same Set of roleGroup.roles, but if a add or remove some item from this Set the t:datatable dont show, its just show the first modification (when the references is set) and if the Set is with 1000 elements , he doesn't care, only show the first modification...
Ops, this code enters just the first time...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963772#3963772
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963772
Hi,
I am not sure if it is the right place to post this question ...
What is the difference between the Java Persistence API and Hibernate?
I think the things go this way:
JPA is only specification (like EJB3.0) and TopLink, Hibernate and others persistence providers are implementations of this spec. (like JBoss implements EJB3).
The thing that makes me confussed is that the Hibernate is known to be used before JPA appeared, so can I use some kind of Hibernate sepcific syntax to provide persistence to my objects in EJB3 application? That's a little bit wierd.
Thanks for help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963769#3963769
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963769
Hello
My application runs on JBoss 3.2.8.SP1
all works fine until application stays without activity about 30mins
after that I recieve.
Invalid authentication attempt, principal=null
| java.lang.SecurityException: Invalid authentication attempt, principal=null
| at
| org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:6
| 97)
| at
| org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager
| 2.java:526)
| at
| org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnectio
| n(BaseConnectionManager2.java:926)
| at
| org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
|
Does anybody know why it happens and how to fix it?
Regards,
Vitaliy S
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963765#3963765
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963765