Log in to follow, share, and participate in this community.
Thread Cannot make my maven test client to speak with my EJB, missing jar?
Cannot make my maven test client to speak with my EJB, missing jar?Hi, here is my problem, I made an EJB with maven and 2 test clients, * a test client without maven, only added jnp-client and the EJB to it's class path, work like a charm * a test client using MAVEN, ...
ActiveMQ IntegrationI 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...
Thread EJB and a remote Client ( on another machine ) , using JNDI
EJB and a remote Client ( on another machine ) , using JNDIHi ! 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...
merging into jboss5.1 sourcesHi, 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...
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...
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...
Hibernate 4.1.9 Jboss 6.0.0Hi 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) ...
Thread Problems using the @RemoteHome annotation for backward compatibility
Problems using the @RemoteHome annotation for backward compatibilityWe 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...
How to add the @NamedQuery in Entity classHello 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...
EJB Concurrency ManagementHi 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. ...
Thread MDB connection to remote JMS provider (Webmethods)
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...
Thread Remote access works fine, but local injection does not – any ideas?
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...
jboss 5.1.2 remoting client exception from osgi ejb client appHi 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 ...
Closing jms connection in EJB componenetsHi. 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...
Thread Invoke an EJB from anoter ear through local interface
Invoke an EJB from anoter ear through local interfaceI 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: ...
Thread Obtaining an EJB proxy from a CDI Interceptor
Obtaining an EJB proxy from a CDI InterceptorHello, 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...