• 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...
    Profile Photo
    last modified by iamar
  • DEPLOYMENT FAILED

    I 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 ...
    Profile Photo
    last modified by hmougy
  • java.sql.SQLException: Table already exists: JMS_MESSAGES in

    Hi 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...
    Profile Photo
    created by mrimbeau
  • plzzz give the steps to be followed to run any ex in workboo

    Do I need to set any classpath ? i set the variables JBOSS_HOME, JAVA_HOME,PATH on windows Iam using jboss 4.0.4, jdk1.5 regards, kk
    Profile Photo
    created by kphb707
  • 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...
    Profile Photo
    created by kphb707
  • Entity Inheritance and Many-to-Many

    When 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...
    Profile Photo
    created by jfloehr
  • 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...
    Profile Photo
    last modified by cnsunyong
  • EJB 3.0 with Oracle outside application container

    Hello, 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...
    Profile Photo
    created by apachejo
  • Ex. 9.2 NativeQueries.java is a bit misleading

    This 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...
    Profile Photo
    last modified by cbiswa
  • Ex. 9.1 FetchJoins.java does not work as expected

    com.titan.clients.FetchJoins.java moving call manager.clear(); to happen before the calls to noJoin(manager) and joinFetch(manager) makes it work as expected
    Profile Photo
    created by cbiswa
  • Trouble with transactions

    I 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...
    Profile Photo
    last modified by knaveofhearts
  • error messages in all standalone persistence examples

    Using 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...
    Profile Photo
    created by knaveofhearts
  • File Access with ejb's and MBean's

    Hi! 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 ...
    Profile Photo
    last modified by hoeft
  • please i need help

    can any one help me locating SLSB from servlet what it means by the url is not support the GET method
    Profile Photo
    created by hmougy
  • 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 ...
    Profile Photo
    last modified by foxviewn2632
  • which version of iboss ide should i use?

    which version of iboss ide should i use?
    Profile Photo
    created by hmougy
  • problem with ejb3

    i'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...
    Profile Photo
    last modified by hmougy
  • ex07-1 not working

    I'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...
    Profile Photo
    created by cpalm
  • Hooking up a servlet to Chap4 example

    I'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...
    Profile Photo
    last modified by hallorant
  • Error in the URL for JBoss Workbook Examples

    On 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...
    Profile Photo
    last modified by pete.bennett