Log in to follow, share, and participate in this community.
Thread How to catch or handle OptimisticLockException?
How to catch or handle OptimisticLockException?I ran into a problem. I develop a test application on EJB3.1 (Jboss AS 7.1.1). The project has several entity and one stateless-bean. Entity`s have annotation @ Version. In the method of stateless-bean, I get an objec...
Thread EJB3-MDB (listening to ActiveMQ queue) problem
EJB3-MDB (listening to ActiveMQ queue) problemHi, I have simple EJB3-MDB, listening to the ActiveMQ queue, deployed on JBOSS6.1.0 final app server. The ActiveMQ activemq-rar-5.4.3.rar is in place and all acivemq configuration is done properly. The activemq queue...
Migrating from EJB2.1 to EJB3.xWe are looking at migrating from EJB 2.1 over to EJB 3.x and I have what should be a simple question. How do most folks maintain their EJB 3.x 'business interface' classes? Do you just create t...
Thread How to turn passivation and unloading of Stateless EJB...
How to turn passivation and unloading of Stateless EJB...Hi All, For performance reasons I would like to keep the Stateless EJB in memory and not have it go into passivation state and eventually get collected. Is that possible with JBoss 7.1.1 Final? Is there some ...
EJB3 over HTTP/HTTPS in AS6Hello. These days I was trying to configure the ejb3 over http/https in AS 6.0. I followed the artical: https://community.jboss.org/wiki/EJB3OverHTTPHTTPSInJBossAS-5 The server and the client are not on the...
Thread error when trying to deploy an entity bean on jboss AS 6.0
error when trying to deploy an entity bean on jboss AS 6.0Hi, I am facing following error when trying to deploy an entity bean on jboss AS 6.0 ERROR [AbstractKernelController] Error installing to Real: name=vfs:///D:/JBOSS6Server/jboss-as-distribution-6.1.0.F...
Lots n Lots of stateless bean instances.All, I am using Jboss 5.1, One of my stateless bean which is heavily used. After runinng for 7 days my Jboss occupies all of memory (6G heap on solaris) and goes into unresponsive state. I took a heap dump and...
Setting the Default Remote Interface Dear all, We are using JBoss 5.1 EAP. We have an EJB that needs to be started several times on the same server in different EARs. The problem we have is that when the EJB is started it binds to a set ...
TimerService startup issue in JBoss AS 6I am using JBoss AS 6. I have created a timer service listed bellow: package com.mycompany.infrastructure.notification.service; import javax.ejb.Schedule; import javax.ejb.Stateless; import ja...
Singleton EJB with SchedulerAll: I have an ear file deployed in JBoss6.0.0 final. The ear file contains several jars. Two of these jar files, each has a singleton EJB with @Startup annotation. One of them has a timer th...
Thread How to manage a distribute transaction between 2 Session Beans
How to manage a distribute transaction between 2 Session BeansHi all, I have 2 Session Beans which are deployed in 2 JBoss. Well, each SessionBean calls an EntityBean inside to insert some data in a table. The situation is the following: JBoss1 -> ( SessionB...
Thread Contxt lookup fails for EJB call from JSP page
Contxt lookup fails for EJB call from JSP pageHi , I have a EJB call from JSP page . But it seems that EJB doesn't get deployed as lookup fails . Can someone guide me on this issue ? javax.servlet.ServletException: java.lang.StackOverflow...
Thread Is it possibile open an UserTransaction from a client ?
Is it possibile open an UserTransaction from a client ?Hi all, I have a Session bean: @Stateless @TransactionManagement(TransactionManagementType.BEAN) The session bean calls an entity bean and save the name and the surname in table called Customer ...
Jar deployment class loadingHi, I have an ejb jar with the following structure deploy to JBoss AS 7.1.0 final. test.jar |- a.class (ejb3.1) |- b.jar ...