• Always hit OutOfMemoryError If I try to invoke ejb method with large object as its parameter

    Hi, all     In my stateless EJB, there is on method defined as below.     public void modelSave(SerializableInputStream model) throws java.rmi.RemoteException;     The S...
    Profile Photo
    last modified by licheng
  • EJB3.0 : Dependency injection in Servlet problem

    Hi, I am trying few things in EJB3.0 DI, using Jboss EAP 6. I created an EAR, with a web module+ EJB (a SLSB). I am trying to inject EJB in a servlet. The deployment is successful, but when i try to access the servl...
    Profile Photo
    last modified by seeaganesh
  • java.lang.IllegalArgumentException to invoke an EJB from a servlet

    Hello,   im getting a exception when i try to invoke a ejb from a servlet. I deployed a Jar File on JBoss AS 7.1 and an war which contains the servlet.   When I deploy war and jar on Server i get no ex...
    Profile Photo
    last modified by raba
  • Disable Instance Pooling for a Stateless bean

    From this link http://planet.jboss.org/post/jboss_as_7_0_1_configuring_ejb3_pools, I can undestand how can you configure customized pools for your beans.   Last few lines in the same post suggests that disabling...
    Profile Photo
    created by mandarbk
  • Does jboss-as-7.1.1.Final supports entity beans?

    I am using EJB2.x. So I just want to confirm whether jboss-as-7.1.1.Final supports entity beans or not?   If yes then can you please help me how to lookup for local EJB ?   I tried but getting  Naming...
    Profile Photo
    last modified by surendra.konna
  • Error while lookup through client,unable to access the EntityBean

    I am trying to create a Entity bean to connect with a MySql databse using remote client but its giving error,using Jboss eap 7.1,Eclipse Juno to connect with Mysql databse 5.6,below are the source codes:   Entit...
    Profile Photo
    last modified by abhiswastik14
  • EJB2.x invocation in jboss-as-7.1.1.Final

    Hi,      I had a problem while invocating ejbs in jboss as 7. Here i have a statefull session bean named EJBController.The jndi lookup works fine but when i say HomeInterface.create() i am getti...
    Profile Photo
    last modified by surendra.konna
  • Remote ejb jboss restart

    Hi,   I have distinct client + server jboss instances for remote ejb invocation running similar to https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+server+instance They are running on di...
    Profile Photo
    last modified by andresavva
  • Calling entity bean mutators in client class and business methods in session Class?

    Hi,   I am migrating my ejb 2.1 application into ejb 3.0. I have done following changes:     EJB 2.x EJB3.0 1 Entity beans implements EntityBean having callback methods and abstract getters and setter...
    Profile Photo
    last modified by jashan07
  • EJB Deployment issue with Local JNDI Name

    Hi,   I am deploying and EJB application (EJB 2.1) in Jboss EAP 5.1.  The problem that I am facing now is my local JNDI names are not getting created in the java name sapce, insted they are getting created ...
    Profile Photo
    last modified by jijopmathew
  • jax-rs 2.0 client  api

    i 'm studing resteasy 3.0 user guider, for  jax-rs 2.0 client  api Knowledge Lack of examples although i search all from eaxmple ,Can you provide a detailed eaxmple jax-rs 2.0 client  thanks very much
    Profile Photo
    created by a7724172
  • org.hibernate.LazyInitializationException

    i I spend a lot of timeWorking on this problem but fail  please help me   The environment is jboss 7.1  ,use the jboss7.1 jar   I am in accordance with the resteasy-jaxrs-3.0.1 user guid   ...
    Profile Photo
    created by a7724172
  • how to bind EJB 2.1 bean with JNDI name specified in jboss.xml

    I have deployed a simple ear with a ejb 2.1 session bean and a war that utilizes this bean, The problems after deploying the ear, the session bean is bound to a module specific JNDI name (appname/modulename/beanname...
    Profile Photo
    last modified by kavcrus
  • how do I get the stateful session bean instance once again?

    my client public static RemoteCounter lookupRemoteCounter() throws NamingException {    final Context context = new InitialContext(jndiProperties);    final String beanName = CounterBean.class....
    Profile Photo
    last modified by tuhaihepan
  • SLSB method not working as per expectaions

    Hi all. We had developed an application using Struts2.1.8,EJB3.0,MS SQL Server 2005.  Application runs on JBoss4.2.2GA in all Dev,QA,Prod env. As we are using EJB, we expect either the whole operations in method...
    Profile Photo
    last modified by amjoshi
  • EJB Narrow function - EJB2.1 application migration from jboss 4.3 to jboss eap 6.1.0 alpha

    I am trying to migrate the jboss 4.3 EJB 2.1 Applications to Jboss EAP 6.1.0 Alpha.   In EJB 2.1 Jboss 4.3, we use the narrow functionality to create the EJB Home as below. In Jboss 6.1.0 EAP i dont think the na...
    Profile Photo
    last modified by georgesg
  • getEjbObject on SFSB throws JBAS014354: Bean has no EJBObject

    I am working on jboss-as-7.1.3.Final and want to access the Handle of a StatefulSessionBean:   <code> @Stateful @Remote(Session.class) public class SessionBean implements Session {     &...
    Profile Photo
    created by shadogray
  • Registered Interceptor using EJBClientContext.registerInterceptor(..) is not called on EAP 6.1.0

    Hi,   My requirement is to pass some additional information to security interceptors and do the same I am using " org.jboss.ejb.client.EJBClientContext.getCurrent().registerInterceptor()" for registering "EJBCli...
    Profile Photo
    last modified by sunil_dixit
  • Method annotated with transaction "REQUIRES_NEW" always hit ConcurrentAccessTimeoutException

    Hi all, i have a stateful session bean where the transaction set in the class level is "REQUIRED", inside the session bean there is a public method which annotated with transaction "REQUIRES_NEW". According to Java sp...
    Profile Photo
    last modified by td121136
  • About EJB 2.1 Transaction Rollback

    Hi   I can't understand the following server log from executing the code 1)method removeTradeBySqlAndLockByAgreementId() call method removeTradesBySqlWithNewTransation() both are 'require-new' transaction meth...
    Profile Photo
    last modified by bondchan921