• ActiveMQ Integration

    I posted the following on the ActiveMQ forum ---------- I am trying to create an MDB in jboss that runs off an ActiveMQ queue. To do this, you apparently need add something like the following into the jms-ds.xml fi...
    Profile Photo
    last modified by wconroy
  • EJB and a remote Client ( on another machine ) , using JNDI

    Hi !   Wanting to create an Application project: A EJB-Module and a WEB-module. I want to depoy these on two different machine ( running Ubuntu on one, running Mint on the other). So it is about a remote clien...
    Profile Photo
    created by inkimannen
  • merging into jboss5.1 sources

    Hi, My old JBoss 5.1.0-GA had been pached long ago using the jar executable version jboss-ejb3-plugin-1.0.19-installer.jar   For now, I'd prefer having this done at the source level so I don't have to apply it...
    Profile Photo
    created by bha007
  • Undeploy and runnable threads?

    After undeploy of EAR, are all runnable threads guaranteed to complete before undeploy happens?   For example, say my EAR receives a number of requests to do writes to transactional cache. While those writes are...
    Profile Photo
    created by jhn134910
  • How do javax.ejb.Singletons work?

    Are singletons implemented using synchronized methods?   I have an EJB singleton, say:   @Singleton public void MySingleton {      ...        public void rec...
    Profile Photo
    created by jhn134910
  • Are EJB3 session bean calls always in the same thread?

    Suppose you have a class like this:     public class MyEJB {      @EJB      public OtherEJBLocal other;      public void callSomething() {  ...
    Profile Photo
    created by bsonrisa
  • javax.ejb.EJBTransactionRolledbackException:detached entity passed to persist in EJB3

    Hi,           I am using Seam2.3.0.Final with JSF2.1.   In My screen , when i click the Save button first time it succesfully save the record in RTP table and Rtp_Goal ta...
    Profile Photo
    last modified by maran_su
  • Hibernate 4.1.9 Jboss 6.0.0

    Hi   I am trying to deploy and use hibernate 4.1.9 on the Jboss server 6.0.0. What I did: 1. Deployed EJB3 example from this tutorial on jboss6.0.0 (http://www.laliluna.de/download/first-ejb3-tutorial-en.pdf) ...
    Profile Photo
    created by sapan.vas
  • Backward compatibility - IllegalStateException: Failed to find method for hash:6087666598386677791

    JBoss 4.2.3.GA   We are working on a migration to EJB3 and working on the backward compatibility.   We have a server that is running with our SessionBeans that have been migrated to EJB 3.0.  ...
    Profile Photo
    created by mikemil
  • Problems using the @RemoteHome annotation for backward compatibility

    We are (hopefully) coming to the end of our migration from EJB 2.1 to EJB 3 "exercise".   We are encountering ClassCastExceptions when we try to load an EJB3 bean from one of our older, yet to be migrated EJ...
    Profile Photo
    last modified by mikemil
  • How to add the @NamedQuery in Entity class

    Hello All,   I want to ask if someone know how to write the query inside @NamedQuery.   The query is joining 3 tables S below: compound_property logical_operator rtp_goal rtp   -rtp is the parent...
    Profile Photo
    created by ferdaus87
  • EJB Concurrency Management

    Hi All,   I am practising the EJB3.x tec, I found some issues, 1. I used @PostActivateand @PrePassivate, but I didn't found these methods are called even though I set the session timeout value to 2 seconds 2. ...
    Profile Photo
    last modified by rex_2013
  • MDB connection to remote JMS provider (Webmethods)

    Hi Folks,   What is the preferred way to connect to remote JMS provider (Webmethods) in Jboss eap 5.1? Is it better to use JMSProviderLoader service of jboss (Jboss resource adapter which uses client jars) or us...
    Profile Photo
    created by abhijithtn
  • Remote access works fine, but local injection does not – any ideas?

    I have created a business interface called SurveillanceFunctionality which is implemented by an EJB called SurveillanceBean. I am able to invoke the bean through the business interface from a remote, standalone applic...
    Profile Photo
    last modified by randahl
  • jboss 5.1.2 remoting client exception from osgi ejb client app

    Hi All,   Am facing problem during remote calling ejb service deployed in jboss 5.1.2 from my osgi client app following is a log stracktrace . I'm able to remote call my ejb service from standalone   Caused ...
    Profile Photo
    last modified by kaustuv.maji
  • Closing jms connection in EJB componenets

    Hi. I writing a simple chat application using EJB3 and JMS. The app is almost done but I have problem with closing connection. When I close connection in one user then i can't close connection in the other. This is c...
    Profile Photo
    created by lukhash
  • NotSerializableException encountered in EJB3 calling remote service on the server

    We are in the process of testing a migration from EJB 2.1 to EJB 3 on JBoss 4.2.3.GA.   Currently most of our code (inherited from years past) always loads the remote service interface even when we can tell ...
    Profile Photo
    last modified by mikemil
  • Invoke an EJB from anoter ear through local interface

    I have a two J2EE 6 applications deployed to JBoss AS 7.1.1 An ejb (ejb "A") from the first ear invoke another ejb (ejb "B") from the second ear. But the JBoss server throws a ClassCastException durin lookup:   ...
    Profile Photo
    created by sandello
  • Obtaining an EJB proxy from a CDI Interceptor

    Hello,   I have a CDI interceptor that when placed on an EJB method (of a SLSB) enlists the EJB in a protocol for which it will later receive callbacks that enable it to participate in the protocol.   Her...
    Profile Photo
    created by paul.robinson
  • How does a @EJB dependency injection work on a Stateless Bean? Will that injected class behave like an instance variable in that stateless session bean?

    Hi guys,   I have this question on the latest  version EJB 3.1 has the "@EJB" annotation which is used for the dependency injection. I have two stateless session bean and a singleton bean   @Stateless...
    Profile Photo
    last modified by adheep