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 ...
Configurable MDB destinations at runtimeHi there, I've created code for an MDB to listen to a particular JMS destination. The tricky part is that the same MDB is required to listen to multiple JMS destinations, which may not be known at the time ...
AS 6.1 EJB dependenciesHi, I'm having some difficulties after switching a legacy project from EJB2.1 with JBoss 5.0 to EJB3 with JBoss AS 6.1. I do have lots of EJB modules, and there are dependencies among the EJBs. I was under the...
Mail Driven MDB AS 7 or 6I want to create a Message Driven Bean that listens for EMail. I have found one or 2 examples for EJB2 but I want to use EJB3. I understand that I need to use the mail-ra.rar resource adaptor. Can so...
Thread Entity-Bean in a Entity-Bean is not working
Entity-Bean in a Entity-Bean is not workingHi, I just started developing with JBoss AS 7 and EJB and I wasn't sure if I should put this question in the beginners corner. If that would be better, maybe somebody can move it there. I created an En...
Security for EJB project - JBoss 6Hi everyone, I would like to secure my EJBs using security-domains model provided by jboss. Unfortunatelly I can't find the way how to tell EJB in which security domain it exists. What I got so far: ...