[JBoss-user] [EJB/JBoss] - weblogic db-is-shared equivalent in jboss for BMP beans

2006-05-16 Thread atulksh
Hi, I have a BMP bean which is deployed in a clustered environment. How can I specify that the BMP will be sharing the database with other BMP instances and state should be appropriately synchronized at each call by calling the ejbStore and ejbLoad methods? In weblogic I could do that using the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - is there a db-is-shared equivalent in jboss.xml for BMP bean

2006-05-16 Thread atulksh
Hi, I have a BMP bean which is deployed in a clustered environment. How can I specify that the BMP will be sharing the database with other BMP instances and state should be appropriately synchronized at each call by calling the ejbStore and ejbLoad methods? In weblogic I could do that using the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: is there a db-is-shared equivalent in jboss.xml for BMP

2006-05-16 Thread atulksh
Sorry. Posted this by mistake in this group. Have posted in the JBoss/EJB message board. But if you have an idea please respond. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943251#3943251 Reply to the post : http://www.jboss.com/index.html?mod

[JBoss-user] [EJB/JBoss] - Re: weblogic db-is-shared equivalent in jboss for BMP beans

2006-05-12 Thread atulksh
It looks like the Commit B option which is the default in JBoss is the one that is needed in my case, where data can be modified external to the bean. But then I am seeing that my ejbLoad method is not getting called when a transactional method (method for which the transaction attribute defined

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - org.apache.jasper.runtime.TagHandlerPool concurrency issue

2006-05-04 Thread atulksh
Hi, We are using JBoss 4.0.3 with JDK 1.4 on Fedora Linux. We have a web application with some tags invoked from nested jsps (jsp includes). What we are seeing is that when we put stress on the application the data passed in the attributes to the tag by the jsp is not properly passed. The tag se

[JBoss-user] [Security & JAAS/JBoss] - Re: java.io.StreamCorruptedException accessing Keystore

2005-12-21 Thread atulksh
I myself found the problem. In my build.xml the ant task to copy the keystore to the proper location had filtering="true" for tokens. This was somehow messing up the keystore and it was getting modified. Removing the filtering solved the problem. So the keystore was getting corrupt and the excep

[JBoss-user] [Security & JAAS/JBoss] - java.io.StreamCorruptedException accessing Keystore

2005-12-21 Thread atulksh
Hi, I am getting java.io.StreamCorruptedException when I try to access a keystore file. The keystore was generated using JDK 1.2.2 (old application) and I am trying to access the same code that ran in Weblogic 5.1 under JDK 1.2.2 in JBoss 4.0.2 using JDK 1.4.2. The JCE jar version that I am usin

[JBoss-user] [Beginners Corner] - Re: ejbStore method called where ejbCreate is expected

2005-12-20 Thread atulksh
I had created the following thread in the JBoss/EJB forum and I have put my resolution in that thread. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=74280 Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913674#3913674 Reply to the post

[JBoss-user] [EJB/JBoss] - Re: transaction not committed after ejbCreate

2005-12-20 Thread atulksh
Okay. I have found how to resolve my issue. The original issue still remains. I had followed the jboss official documentation to setup the Oracle 9i data source. This tells to setup an xa datasource. http://docs.jboss.org/jbossas/getting_started/v4/html/db.html This was giving me the issue. My

[JBoss-user] [EJB/JBoss] - transaction not committed after ejbCreate

2005-12-19 Thread atulksh
Hi, I am using JBoss 4.02 with Oracle 91 (XA datasource). I have a BMP EJB. I can see that after I create a new instance (ejbCreate called) a record gets inserted in the db - since there is not exception thrown. But the transaction does not get committed. For that reason the record does not get

[JBoss-user] [Beginners Corner] - Re: ejbStore method called where ejbCreate is expected

2005-12-19 Thread atulksh
Okay. After some research I have found that ejbCreate does get called. But even if the database record creation for the BMP does go through successfully it is not comitted. That is why it is not reflected in further finds and my application fails with exceptions. Please reply if anybody knows w

[JBoss-user] [Beginners Corner] - ejbStore method called where ejbCreate is expected

2005-12-16 Thread atulksh
Hi, I have a BMP EJB which is successfully deployed in JBoss (4.02). What I see is when I do a home.create() on the home interface I can see that the ejbStore method is called (i can see in the log). Shouldn't the ejbCreate method get called? Maybe I am doing something wrong? Anybody has any id