• 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...
    Profile Photo
    last modified by bravefox
  • EJB3-MDB (listening to ActiveMQ queue) problem

    Hi, 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...
    Profile Photo
    last modified by seeaganesh
  • Migrating from EJB2.1 to EJB3.x

    We 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...
    Profile Photo
    last modified by mikemil
  • Is it possible avoid rollback from a particular exception ?

    Hi all,   I have the following situation in a method of a Stateless EJB ( 3.0)   public void writeInDB(String userName,String password) throws UserNotFoundException {       //  ca...
    Profile Photo
    last modified by warxsg
  • DEPLOYMENTS MISSING DEPENDENCIES (should be in state "Installed", but is actually in state "Create")

    Hi,   I just started to integrate my EJB int my first web application, but I can'r figure out, why it doesn't work.   I'm getting the following error: 2011-02-20112 18:00:47,846 ERROR [ProfileServiceBootst...
    Profile Photo
    last modified by glotzich
  • Authentication exception, principal=null when calling SLSB from another SLSB called from MDB (JBoss 6.1.0)

    hi,   I'm migrating our application from JBoss 4.2.3 to JBoss 6.1.0.   All EJB's are EJB2.1. The applications works fine in JBoss 4.2.3.   When an MDB receives and element from the queue, it calls a...
    Profile Photo
    last modified by pepgrifell
  • 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 ...
    Profile Photo
    created by tdanecito
  • EJB3 over HTTP/HTTPS in AS6

    Hello. 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...
    Profile Photo
    last modified by chengwen
  • Migration of Existing EJB 2 Entity Bean from Jboss AS 3.2.6 to Jboss AS 5

    Hello,   I am trying to migrate my existing EJB 2 Entity beans that are currently deployed in Jboss AS 3.2.6 to Jboss AS 5. While deploying my application, i am getting the following exception stack in the serve...
    Profile Photo
    last modified by vrlgohel
  • error when trying to deploy an entity bean on jboss AS 6.0

    Hi,   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...
    Profile Photo
    last modified by saurabh_agr
  • 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...
    Profile Photo
    last modified by raj_kumar
  • 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 ...
    Profile Photo
    last modified by massios
  • TimerService startup issue in JBoss AS 6

    I 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...
    Profile Photo
    last modified by arkhalil
  • missing-method-permissions-excluded-mode, unauthenticated-principal and call-by-value in EJB jboss-xml

    We have been evaluating JBoss AS 7.1.  We currently run on JBoss AS 6.1.   It appears that we need to create jboss-ebj3.xml (for JBoss AS 7.1) which replaces jboss.xml for all of our EJBs. Almost every EJB...
    Profile Photo
    created by beaster
  • AS 7.1 MDB1 persists an entity and sends key in message to MDB2; 2 tries to read entity but fails irregularly

    I am admittedly an EJB noob and hope you will please find a minute for this question.  I have deployed an app with two message-driven beans to JBoss AS 7.1.1.Final.  The first MDB creates an entity and persi...
    Profile Photo
    last modified by chrisinmtown
  • Singleton EJB with Scheduler

    All:   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...
    Profile Photo
    created by javajoy
  • How to manage a distribute transaction between 2 Session Beans

    Hi 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...
    Profile Photo
    last modified by warxsg
  • Contxt lookup fails for EJB call from JSP page

    Hi ,   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...
    Profile Photo
    last modified by kmbhagwat
  • 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 &#...
    Profile Photo
    last modified by warxsg
  • Jar deployment class loading

    Hi,   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     ...
    Profile Photo
    last modified by r4_1314