[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: About the Transaction rollback of the container manageme

2006-06-11 Thread kumachan
Hello. 'org.jboss.tm.JBossRollbackException' is generated, and rollback cannot be done though RuntimeException came to be able to do in catche by using '@ApplicationException(rollback=true)' as advised. Is there a problem in the writing of the code? Or, is it a setting of Jboss and is there anyt

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: About the Transaction rollback of the container manageme

2006-06-09 Thread kumachan
Thank you for the reply. Rollback cannot be still done though '@ApplicationException(rollback=true)' was added to SessionBean. Is this a cause though the method of the business is in servlet? Stateless Session Bean Class: | @Stateless | @Local(TestSession.class) | @Remote(TestSession.c

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - About the Transaction rollback of the container management i

2006-06-08 Thread kumachan
Hello. I have a stateless session bean, entity bean, servlet program. When SQL exception happens, the rollback cannot be done though the method of the session bean is called from the servlet. When the Runtime Exception is compulsorily generated in the session bean, the roll backing is done. How

[JBoss-user] [EJB 3.0] - Re: Please help me...error in Jboss start log

2006-03-31 Thread kumachan
Thank you for the reply. I study your advice better. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933994#3933994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933994 --

[JBoss-user] [EJB 3.0] - EJB3.0 OBJECT cannot be acquired in JSP.

2006-03-31 Thread kumachan
I am acquiring data from db by calling the SessionBean from the Servlet, and using EntityManager. It is not possible to achieve it well though it wants to return Servlet the data of the EntityBean type acquired in the SessionBean, and to pass it to JSP. It is displayed in the log of jboss, "INF

[JBoss-user] [EJB 3.0] - Re: Please help me...error in Jboss start log

2006-03-28 Thread kumachan
Thank you for the reply. Because JBOSS4.0.4 was "Release Candidate", I was not using it...Is this phenomenon improved in JBOSS4.0.4? A new error came to occur though it replaced with the hibernate-entitymanager.jar file that fix is done because information on the bug had come out by following U

[JBoss-user] [EJB 3.0] - Please help me...error in Jboss start log

2006-03-27 Thread kumachan
Hello. I want to program with ejb3. However, one Warning and one fatal error occur in the start log when I dispose the following programs and persistence.xml to jboss. When the program is actually executed, it is displayed, "MH001_001Bean not bound ". It is possible to execute it normally at th

[JBoss-user] [EJB 3.0] - Re: java.lang.RuntimeException with deploy (setting of persi

2006-03-26 Thread kumachan
This error disappeared by adding properties to persistence.xml. I wish to express my gratitude for your reply. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932724#3932724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[JBoss-user] [EJB 3.0] - java.lang.RuntimeException with deploy (setting of persisten

2006-03-22 Thread kumachan
Hello. The deploy error occurs when persistence.xml is put in deploy directory. Is the writing of persistence.xml wrong though it is written "Caused by: javax.naming.NameNotFoundException: ejb3mn not bound" in deploy error log? Or, are other configuration files insufficient? Please help me. En

[JBoss-user] [EJB/JBoss] - Difference between jboss-4.0.3SP1-installer.jar and jboss-4.

2006-03-21 Thread kumachan
Hello. A different kind of error occurs when a program the same by two kinds of jboss (jboss-4.0.3SP1-installer.jar and jboss-4.0.3SP1.tar.gz) was moved. Please help me when there is a person who understands the cause. Remote Interface: package sample; | import javax.ejb.Remote; | | @Re

[JBoss-user] [EJB/JBoss] - Re: javax.naming.NameNotFoundException at jboss4.0.3 ,ejb3.0

2006-03-21 Thread kumachan
Dear anders.hedstrom I tried your advice,It succeeded in the movement of the program. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931628#3931628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931628

[JBoss-user] [EJB/JBoss] - javax.naming.NameNotFoundException at jboss4.0.3 ,ejb3.0

2006-03-21 Thread kumachan
Hello. I have created a stateless session bean, and deployed it to jboss. But, when I trying to call it's bean from my client application, jboss giving me javax.naming.NameNotFoundException: sample.Sample not bound. Please help me. Environment: JBOSS4.0.3 + jboss-EJB-3.0_RC5-PFD jdk1.5.0_06 R

[JBoss-user] [EJB/JBoss] - javax.naming.NameNotFoundException at Jboss4.0.3, ejb3.0

2006-03-21 Thread kumachan
Hello.I'm sorry by poor English. I Environment: JBOSS4.0.3 + jboss-EJB-3.0_RC5-PFD jdk1.5.0_06 Remote Interface: package sample; import javax.ejb.Remote; @Remote public interface Sample{ void func(); } Stateless Session Bean Class: package sample; import javax.ejb.Stateless; @Stateless publi