facebook

EJB 3 Tutorial with JBoss

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 31 through 37 (of 37 total)
  • Author
    Posts
  • #282766 Reply

    kendenil
    Member

    good

    #298311 Reply

    ozanyurt
    Member

    thanks alexeinov You saved my weekend. This will probably happen to many many people

    #303579 Reply

    fastex
    Member

    This message has not been recovered.

    #304326 Reply

    amira88
    Member

    Hi ,
    I followed the tutorial and it’s very clear. i just change Book to Hotel:
    but when i try to run the “FirstEJB3TutorialClient ” class i have this errors ,i tried many times but without a good result and this is the errors :

    
    18:51:28,365 DEBUG TimedSocketFactory:87 - createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0
    javax.naming.NameNotFoundException:BookTestBean not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at ClientBeans.ClientA.main(ClientA.java:39)
    Exception in thread "main" java.lang.RuntimeException: javax.naming.NameNotFoundException: BookTestBean not bound
        at ClientBeans.FirstEJB3TutorialClient.main(ClFirstEJB3TutorialClient.java:49)
    Caused by: javax.naming.NameNotFoundException: BookTestBean not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at ClientBeans.FirstEJB3TutorialClient.main(ClientA.java:39)
    

    Thank u for help it’s very urgent i have to finish it for saturday

    #304446 Reply

    amira88
    Member

    I’m using the lalliluna tutorial step by step But when i have to check the application depolyment i can’t find the folder FirstEjb3Tutorial.jar and the other folders, is the deploy of application generated automaticly or i have to do it by my self!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    #306409 Reply

    shivaily
    Member

    Can any one post how to do ejb3.0 with weblogic 10 or higher versions…
    I will be greatfull if any one can help me in doing ejb3.0 with weblogic 10 or higher version….

    #324175 Reply

    Sorry to hijack EJB3 tutorial but this is the closest I could find to post my question.

    I’m try to run setup my EJB2 project from http://www.myeclipseide.com/documentation/quickstarts/firstejb/.

    My problem is w/XDoclet. I’m using JBOSS 4.3.2.GA and the message I get from the compiler is this:
    C:\Documents and Settings\LL808187\Workspaces\MyEclipse 9\firstEJB\.xdoclet-build.tmp.xml:33: 4.2.3.GA is not a legal value for this attribute

    This is the version I need to run as we are on JDK 1.4. Below is the installation summary.

    *** Date:
    Sunday, March 11, 2012 6:47:21 PM CDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 9.1
    Build id: 9.1-20110701

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 9.1
    Build id: 9.1-20110701

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse\MyEclipse 9\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Program Files\MyEclipse\MyEclipse 9\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\Program Files\MyEclipse\MyEclipse 9\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    -install
    C:\Program Files\MyEclipse\MyEclipse 9
    -configuration
    C:\Program Files\MyEclipse\MyEclipse 9\configuration
    -vm
    C:\Program Files\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll

Viewing 7 posts - 31 through 37 (of 37 total)
Reply To: EJB 3 Tutorial with JBoss

You must be logged in to post in the forum log in