Log in to follow, share, and participate in this community.
Thread Fail to try first example in "Enterprise JavaBean 3.0"
Fail to try first example in "Enterprise JavaBean 3.0"Hi, I am trying the first example in "Enterprise JavaBeans 3.0" / chapter 4 and for some reason I am keep getting the following error message: "TravelAgentBean not bound". package titan.Clients; import titan.trave...
DEPLOYMENT FAILEDI got everything right with session beans but when i try to add entity i got no success because of unit name or connecting to database i think, i tried to choose diffrent names it works well with ant , but with IDEs ...
Thread java.sql.SQLException: Table already exists: JMS_MESSAGES in
java.sql.SQLException: Table already exists: JMS_MESSAGES inHi everybody I'm installed jboss 4.0.4 by jboss-4.0.4.GA-Patch1-installer.jar and using jdk 1.5.0_08. After the first start of jboss everything seems ok. There is no error in the default server log. But after the sec...
Thread Trouble in getting results {as stated in Ex 04 work book}
Trouble in getting results {as stated in Ex 04 work book}Hello as per the specific directions mentioned i deployed the beans but i dont the get the results specifically . i believe that i have made right path settings. The text states the following output after running "a...
Entity Inheritance and Many-to-ManyWhen I attempt to create a many-to-many mapping between two derived entity beans I get a deployment error that the "mappedBy" property in the non-owning entity does not exist. I'm using the "Joined" method of inherita...
EJB 3.0 Deployment Failure???I hava a ear pacakge in which there are 2 ejb3-pacakge and a war package. One of ejb3-package is named mis.jar which links a MSSqlserver Database. When I deploy this ear package,some errors occur. ABSTRACT INFOMATION...
Thread EJB 3.0 with Oracle outside application container
EJB 3.0 with Oracle outside application containerHello, I am running the examples in the workbook using Eclipse 3.2 and using a local Oracle 10g database. By modifying a few things, I have successfully run all the examples except for those that run outside the appli...
Thread Ex. 9.2 NativeQueries.java is a bit misleading
Ex. 9.2 NativeQueries.java is a bit misleadingThis example, as well as the related section of the book (pages 202 - 204) are a bit misleading. They seem to suggest that it is okay to select only a few properties of an entity - so long as we use @FieldResult to sp...
Thread Ex. 9.1 FetchJoins.java does not work as expected
Ex. 9.1 FetchJoins.java does not work as expectedcom.titan.clients.FetchJoins.java moving call manager.clear(); to happen before the calls to noJoin(manager) and joinFetch(manager) makes it work as expected
Trouble with transactionsI am missing something fundamental about transactions and the discussion of entity relationships in ch. 7 combined with inheritence, as in ch. 8. There are a client, a stateless session bean, and 3 entities: GeopolUni...
Thread error messages in all standalone persistence examples
error messages in all standalone persistence examplesUsing all configuration settings right "out of the box" using Hypersonic (JBoss 4.0.4.GA), I get two errors upon execution of any of the standalone examples. Other than these two error messages, the examples proceed t...
File Access with ejb's and MBean'sHi! I must write files in my application. I read that file access in ejb's is forbidden, so i wrote a MBean which writes the files if it's methods are called. This methods are called by my ejb's. Is that allowed? If ...
Is JBoss 4.0.4 CR2 ready for production?I am trying to get a simple Session Bean to work. The client is below. If this is not ready I can go to J2EE 1.4 version. GarthSession is in LDAP. I saw it in JMX View JNDIView. Please advise. Thanks, Garth public ...
problem with ejb3i've been tring over 2 weeks to apply the example in chapter 4 (TravelAgent) in jbossIDE but every time i got the same exception i set the classpath for the client as it is in the build.xml here is my client: packag...
ex07-1 not workingI'm trying to get the 7-1 example working out of the box. when I run run.client1 I get the following error. run.client1: [java] Exception in thread "main" javax.persistence.PersistenceException: java.lang.NullPointe...
Hooking up a servlet to Chap4 exampleI've tried to build a servlet that talks to the TravelAgentBean described in Chapter 4 I've packaged the EJB into a "jar," the Servlet into a "war," and created a "ear" that contains them both with a "application.xml...
Thread Error in the URL for JBoss Workbook Examples
Error in the URL for JBoss Workbook ExamplesOn page 526, the workbook states that the downloadable example code is available from: http://examples.oreilly.com/entjbeans5 This URL actually produces a File Not Found from the OReilly server. Navigating from the...