[JBoss-user] [EJB/JBoss] - Calling DB Stored procedure from SessionBean method

2006-01-03 Thread achetan
Hi all, I am calling a Stored procedure from stateless session bean method. Stateless bean's method is having Transaction attribute as RequiresNew. I have not done any commit/rollback in Stored procedure expecting ejb container to do it. But the db changes made by stored procedure are not getti

[JBoss-user] [Installation, Configuration & Deployment] - SAXUnmarshallerHandlerImpl class not found in Jboss4.0.2

2006-01-02 Thread achetan
Hi all, I am using jboss 4.0.2. I have jaxb-impls.jar file in myserver/Lib directory. But still i am getting NoClassDefFoundError exception for SAXUnmarshallerHandlerImpl class. This was working earlier in jboss4.0.1 Please suggest something. Thanks Chetan View the original post : http://w

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler not able to Find Classes

2005-11-09 Thread achetan
Hi, I am also getting same problem. Can any one help? please. Thanks Chetan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906496#3906496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906496 -

[JBoss-user] [Security & JAAS/JBoss] - Re: Security Bug

2005-10-04 Thread achetan
Hi All, I am also getting same problem . When i was using JBOSS4.0.1 then following code at client side was working: EJBHandle handle = myBeanRequest.getBeanHandle(); MYBean mybean = (MYBean) handle.getEJBObject(); But same code is not working in JBOSS 4.0.2 Am i missing some configuration of

[JBoss-user] [EJB/JBoss] - Re: ejbhandle.getEJBObject() in JBOSS 4.0.2 throwing NullPoi

2005-09-30 Thread achetan
Hi, java.rmi.RemoteException: Error during getEJBObject; nested exception is: java.lang.NullPointerException at org.jboss.proxy.ejb.handle.StatefulHandleImpl.getEJBObject(StatefulHandleImpl.java:172) at com.adp.ebs.flt.client.requests.AuthenticateRequest.executeService

[JBoss-user] [EJB/JBoss] - ejbhandle.getEJBObject() in JBOSS 4.0.2 throwing NullPointer

2005-09-29 Thread achetan
Hi all, I am using ejbHandle.getEJBObject() method in my code as follows: MySession mysession = (MySession) ejbHandle.getEJBObject(); where MySession is a stateful bean. This code was working in 4.0.1 version but it is not working in 4.0.2. Its throwing NullPointerException . Please help.

[JBoss-user] [EJB/JBoss] - Configure lazy initialization of stateless session beans

2005-09-25 Thread achetan
Hi all, I am using JBOSS 4.0.2 . Actually , when home.create() method is called , only proxy object is created in Previous JBOSS versions but with JBOSS 4.0.2 , its actually creating bean instances also. Is there any configuration parameter in jboss through which lazy initialization of statel

[JBoss-user] [Installation, Configuration & Deployment] - Re: 4.0.1sp1 to 4.0.2 causes recursive ejbCreate calls then

2005-09-25 Thread achetan
Hi , I am also getting same problem which is in discussion. Please suggest me if you are able to figure out lazy init for SLSB in JBOSS 4.0.2 or any other work around. Thanks and regards Chetan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897000#3897000

[JBoss-user] [EJB/JBoss] - Re: 2 session beans having a reference to each other can not

2005-09-22 Thread achetan
Hi Darranl, Please suggest if it is known problem and link to issue recorded on JIRA. Please suggest any workaround. Thanks Chetan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896524#3896524 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [EJB/JBoss] - Re: StackOverflow in Stateless bean : 4.0.2

2005-09-22 Thread achetan
I have tried even that. I tried creating bean B in ejbCreate() of A and vice versa , still same error . Regards Chetan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896304#3896304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[JBoss-user] [EJB/JBoss] - Re: 2 session beans having a reference to each other can not

2005-09-22 Thread achetan
Hi frank, I tried even the same thing (Creating beans in ejbCreate() ). I am getting same problem. Actual problem is "StackOverFlow" exception is coming which is being printed as UndeclarableException in logs. I am not able to find any solution. Please let me know if you know some workaround.

[JBoss-user] [EJB/JBoss] - StackOverflow in Stateless bean : 4.0.2

2005-09-22 Thread achetan
Hi all I have two stateless session beans. //Stateless bean A public class A implements SessionBean { public void setSessionContext(SessionContext sc){ InitialContext in = new InitialContext(); BHome bhome = in.lookup("B"); B b = bhome.create(); } . } //Stateless be

[JBoss-user] [Management, JMX/JBoss] - Re: Calling remotely deployed MBean from local jboss server

2005-09-21 Thread achetan
Yes i am doing jndi lookup of RMIAdaptor on remote machine and trying to execute method. Is there any other way of invoking MBean method deployed on remote machine?? Please suggest. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896204#3896204 Repl

[JBoss-user] [Management, JMX/JBoss] - Binding RMIAdaptor with different JNDI name in addition to d

2005-09-21 Thread achetan
Hi all, RMIAdaptor is bound under "jmx/rmi/RMIAdaptor" name in JNDI tree by default. Can i bound another instance of RMIAdaptor under some different name in JNDI tree in addition default one? So that i can use both. This is to have a workarund problem JBAS-1442. Thanks and regards, Chetan Vi

[JBoss-user] [Management, JMX/JBoss] - Calling remotely deployed MBean from local jboss server

2005-09-21 Thread achetan
Hi , I have deployed an MBEAN on machine A and i am trying to call a method on this remotely deployed bean from a servlet deployed in local jboss server. But it seems , my locally deployed MBEAN (With same name) is getting executed. Is BUG No : JBOSSAS - 1442 affecting MBeans also?? Please sug

[JBoss-user] [EJB/JBoss] - Issue No JBAS-1442 : In which version it is incorporated.

2005-09-21 Thread achetan
Hi all, There is an issue of calling ejbs deployed on remote machine with jboss4.0.1. Issue number : JBAS-1442 http://jira.jboss.com/jira/browse/JBAS-1442 As per fixed issue document (Above link), it is fixed in JBOSS-4.0.2RC1. But in final release notes of JBOSS-4.0.2 , it is not mentioned.

[JBoss-user] [EJB/JBoss] - Re: EJB on jboss4.0.3 - HELP

2005-09-18 Thread achetan
Hi darranl, Thanks for your suggestion. I am currently trying to deploy my ejbs on JBOSS 4.0.2 but i was getting following error: javax.ejb.TransactionRolledbackLocalException: Could not instantiate bean; CausedByException is: null; CausedByException is: Could not instantiate b

[JBoss-user] [EJB/JBoss] - EJB on jboss4.0.3 - HELP

2005-09-16 Thread achetan
Hi all, I have an application currently running on jboss4.0.1 . Now i want to migrate to 4.0.2 or 4.0.3(RC) . Please suggest which i should go for? Also on 4.0.2/4.0.3 when i am trying to create a stateless session bean using home.create() method , i am getting following exception on client si

[JBoss-user] [EJB/JBoss] - EJB on JBOSS 4.0.2

2005-09-13 Thread achetan
Hi all, i have a working application on JBOSS 4.0.1 . We are migrating to 4.0.2. I am using jdk1.4.2_05 version. During ejbRemoteHome.create() method , i am getting following exception: 2005-09-14 11:19:52,625 ERROR [com.adp.ebs.flt.ejb.session.ClientManagerBean] Trace: javax.ejb.TransactionRo

[JBoss-user] [EJB/JBoss] - EJB 2.0 : CMP bean with NULLABLE NUMBER database column

2005-09-05 Thread achetan
Hi, I am using oracle as DB. There is a table which has a NULLABLE NUMBER(38) column. I have created a Entity Bean on same with accessor methods for column. public abstract int getMyCol(); public abstract void setMyCol(int c); When i am calling bean.getMyCol() , its throwing NullPointerExceptio

[JBoss-user] [Clustering/JBoss] - Steps to configure JBOSS Cluster

2005-08-30 Thread achetan
Hi I am new to JBOSS clustering. Please guide me to some article or documentation which helps me in setting up cluster on my machine Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892221#3892221 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [EJB/JBoss] - Re: Access EJB from Servlet on different JBOSS server

2005-08-29 Thread achetan
I am using JBOSS 4.0.1 version View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892183#3892183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892183 --- SF.Net email i

[JBoss-user] [EJB/JBoss] - Re: Access EJB from Servlet on different JBOSS server

2005-08-29 Thread achetan
I am using JBOSS 4.0.1 version View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892182#3892182 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892182 --- SF.Net email i

[JBoss-user] [EJB/JBoss] - Access EJB from Servlet on different JBOSS server

2005-08-29 Thread achetan
Hi , I have two JBOSS instances running on two different machines (Say A , B). I have deployed same EJBS on both machines. I have one servlet at machine A in which i am tring to access one EJB in both servers. I am getting initial context to both the server using : Context c = new Initial