Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 5th, 2003, 05:27 AM
Registered User
 
Join Date: Aug 2003
Location: Secunderabad, AP, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Exception while running BMP

Hi
I am going through the Professional EJB.I am implementing the examples of this book. In chapter 4 one example is given for BMP bean. I have implemented that one. Deployment of BMP is successfull. And while runnign the client "TaxClient" the following exception is thrown.
This was throen at the statement
tax = home.create("IL", 5.00f);
The ejbCreate() method in the TaxEJB got executed completly, I put the debug statements. So the error is at client side only.
Why it is trowing this exception while returning teh stateCode.

Please help me...
The exception is as follows...

Caught an exception.
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
        java.rmi.RemoteException: Transaction aborted (possibly due to transacti
on time out).; nested exception is: javax.transaction.RollbackException: Transac
tion marked for rollback; nested exception is:
        javax.transaction.RollbackException: Transaction marked for rollback
        at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegat e.mapSystemExceptio
n(ShutdownUtilDelegate.java:64)
        at javax.rmi.CORBA.Util.mapSystemException(Util.java: 65)
        at bmp._TaxHome_Stub.create(Unknown Source)
        at TaxClient.main(TaxClient.java:15)
Caused by: java.rmi.RemoteException: Transaction aborted (possibly due to transa
ction time out).; nested exception is: javax.transaction.RollbackException: Tran
saction marked for rollback; nested exception is:
        javax.transaction.RollbackException: Transaction marked for rollback
        at com.sun.enterprise.iiop.POAProtocolMgr.mapExceptio n(POAProtocolMgr.ja
va:389)
        at com.sun.ejb.containers.BaseContainer.postInvoke(Ba seContainer.java:43
1)
        at bmp.TaxEJB_RemoteHomeImpl.create(TaxEJB_RemoteHome Impl.java:38)
        at bmp._TaxEJB_RemoteHomeImpl_Tie._invoke(Unknown Source)
        at com.sun.corba.ee.internal.POA.GenericPOAServerSC.d ispatchToServant(Ge
nericPOAServerSC.java:520)
        at com.sun.corba.ee.internal.POA.GenericPOAServerSC.i nternalDispatch(Gen
ericPOAServerSC.java:210)
        at com.sun.corba.ee.internal.POA.GenericPOAServerSC.d ispatch(GenericPOAS
erverSC.java:112)
        at com.sun.corba.ee.internal.iiop.ORB.process(ORB.jav a:255)
        at com.sun.corba.ee.internal.iiop.RequestProcessor.pr ocess(RequestProces
sor.java:84)
        at com.sun.corba.ee.internal.orbutil.ThreadPool$Poole dThread.run(ThreadP
ool.java:99)
Caused by: javax.transaction.RollbackException: Transaction marked for rollback
        at com.sun.enterprise.distributedtx.J2EETransaction.c ommit(J2EETransacti
on.java:161)
        at com.sun.enterprise.distributedtx.J2EETransactionMa nagerOpt.commit(J2E
ETransactionManagerOpt.java:243)
        at com.sun.ejb.containers.BaseContainer.completeNewTx (BaseContainer.java
:1485)
        at com.sun.ejb.containers.BaseContainer.postInvokeTx( BaseContainer.java:
1289)
        at com.sun.ejb.containers.BaseContainer.postInvoke(Ba seContainer.java:40
3)
        ... 8 more



Thanks & Regards
Ramko
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert .bmp to .jpg DearNeel Beginning VB 6 3 October 17th, 2014 07:17 AM
textureing by a bmp file. jopeter C# 0 December 23rd, 2007 07:08 PM
Exception in running a program furqanms Java Basics 2 June 21st, 2006 10:39 PM
Exception Error While Running XSL.Files RICHBIRD XSLT 1 June 15th, 2006 02:58 AM
BMP Iamges shs BOOK: Beginning ASP.NET 1.0 1 August 31st, 2004 05:34 PM



All times are GMT -4. The time now is 04:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.