Ejb3 bean not bound

Hi I am new to EJB . Now in our project we are using ejb3 and persistance. So tried
a simple program which I found out from net. But when I am trying to run I am getting
bean not bound. And in JBoss console it is showing error like
ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS State: NOTYETINSTALLED
These are all my files.
Book.java
package de.laliluna.library;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
@Entity
@Table(name="book")
@SequenceGenerator(name = "book_sequence", sequenceName = "book_id_seq")
public class Book implements Serializable {
     private static final long serialVersionUID = 7422574264557894633L;
     private Integer id;
     private String title;
     private String author;
     public Book() {
          super();
     public Book(Integer id, String title, String author) {
          super();
          this.id = id;
          this.title = title;
          this.author = author;
     @Override
     public String toString() {
          return "Book: " + getId() + " Title " + getTitle() + " Author "
                    + getAuthor();
     public String getAuthor() {
          return author;
     public void setAuthor(String author) {
          this.author = author;
     @Id
     @GeneratedValue(strategy = GenerationType.TABLE, generator = "book_id")
     public Integer getId() {
          return id;
     public void setId(Integer id) {
          this.id = id;
     public String getTitle() {
          return title;
     public void setTitle(String title) {
          this.title = title;
}BookTestBean.java
package de.laliluna.library;
import java.util.Iterator;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
@Stateless
public class BookTestBean implements BookTestBeanLocal, BookTestBeanRemote {
     @PersistenceContext(name="FirstEjb3Tutorial")
     EntityManager em;
     public static final String RemoteJNDIName =  BookTestBean.class.getSimpleName() + "/remote";
     public static final String LocalJNDIName =  BookTestBean.class.getSimpleName() + "/local";
     public void test() {
          Book book = new Book(null, "My first bean book", "Sebastian");
          em.persist(book);
          Book book2 = new Book(null, "another book", "Paul");
          em.persist(book2);
          Book book3 = new Book(null, "EJB 3 developer guide, comes soon",
                    "Sebastian");
          em.persist(book3);
          System.out.println("list some books");
          List someBooks = em.createQuery("from Book b where b.author=:name")
                    .setParameter("name", "Sebastian").getResultList();
          for (Iterator iter = someBooks.iterator(); iter.hasNext();)
               Book element = (Book) iter.next();
               System.out.println(element);
          System.out.println("List all books");
          List allBooks = em.createQuery("from Book").getResultList();
          for (Iterator iter = allBooks.iterator(); iter.hasNext();)
               Book element = (Book) iter.next();
               System.out.println(element);
          System.out.println("delete a book");
          em.remove(book2);
          System.out.println("List all books");
           allBooks = em.createQuery("from Book").getResultList();
          for (Iterator iter = allBooks.iterator(); iter.hasNext();)
               Book element = (Book) iter.next();
               System.out.println(element);
}BookTestBeanLocal.java
package de.laliluna.library;
import javax.ejb.Local;
@Local
public interface BookTestBeanLocal {
     public void test();     
}BookTestBeanRemote.java
package de.laliluna.library;
import javax.ejb.Remote;
@Remote
public interface BookTestBeanRemote {
     public void test();
}client part--> FirstEJB3TutorialClient.java
package de.laliluna.library;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import de.laliluna.library.BookTestBean;
import de.laliluna.library.BookTestBeanRemote;
* @author hennebrueder
public class FirstEJB3TutorialClient {
      * @param args
     public static void main(String[] args) {
           * get a initial context. By default the settings in the file
           * jndi.properties are used. You can explicitly set up properties
           * instead of using the file.
            Properties properties = new Properties();
            properties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
            properties.put("java.naming.factory.url.pkgs","=org.jboss.naming:org.jnp.interfaces");
            properties.put("java.naming.provider.url","localhost:1099");
          Context context;
          try {
               context = new InitialContext(properties);
               BookTestBeanRemote beanRemote = (BookTestBeanRemote) context
                         .lookup(BookTestBean.RemoteJNDIName);
               beanRemote.test();
          } catch (NamingException e) {
               e.printStackTrace();
                * I rethrow it as runtimeexception as there is really no need to
                * continue if an exception happens and I do not want to catch it
                * everywhere.
               throw new RuntimeException(e);
}I have created persistance.xml and application.xml under META-INF folder.
persistance.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence>
<persistence-unit name="FirstEjb3Tutorial">
<jta-data-source>hsqldb-db</jta-data-source>
<properties>
<property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
</properties>
</persistence-unit>
</persistence>application.xml
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
     <display-name>Stateless Session Bean Example</display-name>
     <module>
          <ejb>FirstEjb3Tutorial.jar</ejb>
     </module>
</application>and in hsqldb-ds i have configured the driver and connection
<datasources>
   <local-tx-datasource>
      <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
      <!-- Datasources are not available outside the virtual machine -->
      <jndi-name>ejb3ProjectDS</jndi-name>
      <!-- For server mode db, allowing other processes to use hsqldb over tcp.
      This requires the org.jboss.jdbc.HypersonicDatabase mbean.
      <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
      -->
      <!-- For totally in-memory db, not saved when jboss stops.
      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
      <connection-url>jdbc:hsqldb:.</connection-url>
      -->
      <!-- For in-process persistent db, saved when jboss stops.
      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
      -->
     <!-- <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url-->
     <connection-url>jdbc:hsqldb:data/tutorial</connection-url>
      <!-- The driver class -->
      <driver-class>org.hsqldb.jdbcDriver</driver-class>
      <!-- The login and password -->
      <user-name>sa</user-name>
      <password></password>
      <!--example of how to specify class that determines if exception means connection should be destroyed-->
      <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
      <!-- this will be run before a managed connection is removed from the pool for use by a client-->
      <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
      <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
      <min-pool-size>5</min-pool-size>
      <!-- The maximum connections in a pool/sub-pool -->
      <max-pool-size>20</max-pool-size>
      <!-- The time before an unused connection is destroyed -->
      <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
      <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
      <idle-timeout-minutes>0</idle-timeout-minutes>
      <!-- sql to call when connection is created
        <new-connection-sql>some arbitrary sql</new-connection-sql>
      -->
      <!-- sql to call on an existing pooled connection when it is obtained from pool
         <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
      -->
      <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
         <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
      -->
      <!-- Whether to check all statements are closed when the connection is returned to the pool,
           this is a debugging feature that should be turned off in production -->
      <track-statements/>
      <!-- Use the getConnection(user, pw) for logins
        <application-managed-security/>
      -->
      <!-- Use the security domain defined in conf/login-config.xml -->
      <security-domain>HsqlDbRealm</security-domain>
      <!-- Use the security domain defined in conf/login-config.xml or the
           getConnection(user, pw) for logins. The security domain takes precedence.
        <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
      -->
      <!-- HSQL DB benefits from prepared statement caching -->
      <prepared-statement-cache-size>32</prepared-statement-cache-size>
      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
      <metadata>
         <type-mapping>Hypersonic SQL</type-mapping>
      </metadata>
      <!-- When using in-process (standalone) mode -->
      <depends>jboss:service=Hypersonic,database=localDB</depends>
      <!-- Uncomment when using hsqldb in server mode
      <depends>jboss:service=Hypersonic</depends>
      -->
   </local-tx-datasource>
   <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
   <mbean code="org.jboss.jdbc.HypersonicDatabase"
     name="jboss:service=Hypersonic">
     <attribute name="Port">1701</attribute>
     <attribute name="BindAddress">${jboss.bind.address}</attribute>    
     <attribute name="Silent">true</attribute>
     <attribute name="Database">default</attribute>
     <attribute name="Trace">false</attribute>
     <attribute name="No_system_exit">true</attribute>
   </mbean>
   -->
   <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
   <mbean code="org.jboss.jdbc.HypersonicDatabase"
     name="jboss:service=Hypersonic,database=localDB">
     <attribute name="Database">localDB</attribute>
     <attribute name="InProcessMode">true</attribute>
   </mbean>
</datasources>.
Edited by: bhanu on Dec 2, 2008 9:45 AM

Hi jadespirit ,
I have the same problem in the same Book example ,my ejb3 project name "BaseHotele" so i follow what u said and this is my persistence.xml:
<?xml version="1.0" encoding="UTF-8"?>
<persistence>
<persistence-unit name="FirstEjb3Tutorial">
*<jta-data-source>java:BaseHoteleDS</jta-data-source>*
<properties>
<property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
</properties>
</persistence-unit>
</persistence>
But it didn't work i have always HotelTestBean not bound!!
Help PLEASE i think that i had a mistake in the persistence.xml:i have 2 days searching for solutions without a good result!!!!!!!!!!!!!

Similar Messages

  • Bean Not Bound + Netbeans 5.5 + JBoss 4.0.2

    Hello Friends,
    I'm new to EJB. I'm writing EJB application using Netbeans 5.5 & Sun Java System application Server. When I run application I faced with following exception :
    javax.naming.NameNotFoundException: <beanname>Bean not bound
    Plz help me out. I have searched it on Google but Solutions is for JBoss.. or different situations.
    //PremInd
    Message was edited by:
    PremInd

    Hello Friends,
    I'm new to EJB. I'm writing EJB application using Netbeans 5.5 & Sun Java System application Server. When I run application I faced with following exception :
    javax.naming.NameNotFoundException: <beanname>Bean not bound
    Plz help me out. I have searched it on Google but Solutions is for JBoss.. or different situations.
    //PremInd
    Message was edited by:
    PremInd

  • Ejb3 entity bean not generating valid sql for postgres 8.1

    Hello,
    I originally posted this on the jboss seam board as I ran across this error on a seam test example, but it seems it's more generally applicable to ejb3 entity beans not generating sql that postgres can understand. I'll post my message below, all replies are appreciated.
    I'm going through the hello world example from the seam book, and I'm getting an error I cannot resolve, that with an auto generated sql statement, that's not valid for postgres 8.1, the database I'm on. Here's my error:
    17:40:31,370 INFO [STDOUT] Hibernate: select next value for person_id_seq from dual_person_id_seq
    17:40:31,394 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 42601
    17:40:31,394 ERROR [JDBCExceptionReporter] ERROR: syntax error at or near "value"
    17:40:31,396 FATAL [application] javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value
    javax.faces.el.EvaluationException: javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value
    Here's the table definition
    - create table Person (id bigint not null, name varchar(255), primary key (id))
    - create table dual_person_id_seq (zero integer)
    - create sequence person_id_seq start with 1 increment by 1
    and here's the entity bean:
    @Entity
    @Name("person")
    @Table(name="person")
    @SequenceGenerator(name="person_sequence", sequenceName="person_id_seq")
    public class Person implements Serializable {
    private long id;
    private String name;
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator="person_sequence")
    public long getId() { return id;}
    public void setId(long id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    How do I get it to generate a valid sql statement for postgres?

    I think you should try putting the sequence generator annotation over the primary key field. Try it and be sure it works.
    regards,
    Michael

  • Ejb reference not bound when calling a stateless bean in jboss

    hi there !
    i am trying to deploy a simple stateless session bean in Jboss3.0.4_tomcat-4.1.12
    my bean is successfully deployed but when it is looked up in a jsp i am getting an exception as below :
    javax.naming.NameNotFoundException ejb not bound
    my ejb-jar.xml is as follows :
    <session>
    <display-name>FirstEJB</display-name>
    <ejb-name>First</ejb-name>
    <home>com.ejb.session.FirstHome</home>
    <remote>com.ejb.session.First</remote>
    <ejb-class>com.ejb.session.FirstEJB</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    jboss.xml is as follows:
    <jboss>
    <enterprise-beans>
    <session>
    <ejb-name>First</ejb-name>
    <jndi-name>ejb/First</jndi-name>
    </session>
    </enterprise-beans>
    </jboss>
    my jsp is as follows :
    Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
    props.put(Context.PROVIDER_URL,"localhost:1099");
    props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces" );
    props.put("java.naming.rmi.security.manager","yes");
    Context ctx = new InitialContext(props);
    System.out.println("Before LookUp");
    FirstHome home = (FirstHome)ctx.lookup("session.First");
    System.out.println("LookUp Successfull");
    First bean = home.create();
    Can anyone fix this ?
    Thanx in Advance

    Hi,
    hi Vicky !
    thanx again for ur response.
    i created a Demo.jar file as u said.
    and now where should i place my JSP ?
    first i will tell u my folder structure
    <jboss-home>/server/default/deploy/index.war
    index.war has the following
    firstEJB.jsp
    Web-inf/web.xml
    Web-inf/jboss-web.xml
    Web-inf/lib/First.jar
    First.jar file has my home , remote , bean classes.
    and ejb-jar.xml and jboss.xml files
    web.xml has the <welcome-file-list>
    jboss-web.xml has the <context-root>/</context-root>
    plz tell me where i have messed up my code.
    i have created the Demo.jar file now as u said.
    so plz tell me where should i place my jsp file.
    thanx
    lakshmi
    Since your application is having the jsp and ejb hence the deployment should be done as per the J2EE specification, where you have
    1)web-module
    2)ejb-module
    3)appliction-client module
    4)JCA(It is included in J2EE1.3+)
    Now follow the following steps:
    1)Demo.ear folder
    2)Create META-INF/application.xml
    3)Put your Demo.war and Demo.jar in Demo.ear
    4)Demo.jar and Demo.war should be as expalined earlier.Also no need to place the ejb related classes in the WEB-INF/lib of Demo.war.
    5)Write the following contents in the applicaiton.xml
    <?xml version="1.0"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
    <application>
         <display-name>Project</display-name>     
         <module>
         <ejb>
         Demo.jar
         </ejb>
         </module>     
         <module>
              <web>
                   <web-uri>Demo.war</web-uri>
                   <context-root>/demo</context-root>
              </web>
         </module>
    </application>
    6)You can create the compressed form of ear or keep it exploded in the Jboss/server/default/Demo.ear
    7)Note the console for the results of deplotment
    8)call http://localhost:8080/demo/yourjsp.jsp
    Hope now I have explained in the detail and it should work now.
    Regards
    Vicky

  • NameNotFoundException: CustomerBean not bound

    Hi,
    after making the JavaEE5 Dukesbank example work under Sun AS 9, I've tried the same under JBoss 4.2.0.CR1.
    It gives me the following error message:
    ERROR [JBossInjectionProvider] Injection failed on managed bean.
    javax.naming.NameNotFoundException: com.sun.tutorial.javaee.dukesbank.web.CustomerBean not bound
         at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
         at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
         at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
         at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
         at sun.reflect.GeneratedMethodAccessor80.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.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:625)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
         at javax.naming.InitialContext.lookup(Unknown Source)
    Part of jboss-web.xml:
         <resource-ref>
         <res-ref-name>bean/CustomerBean</res-ref-name>
         <res-type>com.sun.tutorial.javaee.dukesbank.web.CustomerBean</res-type>
         <jndi-name>java:/bean/CustomerBean</jndi-name>
         <use-java-context>false</use-java-context>
         </resource-ref>
    Part of web.xml:
    <resource-ref>
    <res-ref-name>bean/CustomerBean</res-ref-name>
    <res-type>com.sun.tutorial.javaee.dukesbank.web.CustomerBean</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    Using the JNDIView service gives:
    java:comp namespace of the dukesbank-war.war application:
    +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
    +- env (class: org.jnp.interfaces.NamingContext)
    | +- bean (class: org.jnp.interfaces.NamingContext)
    | | +- CustomerBean[link -> java:/bean/CustomerBean] (class: javax.naming.LinkRef)
    | +- ejb (class: org.jnp.interfaces.NamingContext)
    | | +- CustomerControllerLocal[link -> dukesbank/CustomerControllerBean/local] (class: javax.naming.LinkRef)
    | | +- AccountControllerLocal[link -> dukesbank/AccountControllerBean/local] (class: javax.naming.LinkRef)
    | | +- TxController[link -> dukesbank/TxControllerBean/remote] (class: javax.naming.LinkRef)
    | | +- CustomerController[link -> dukesbank/CustomerControllerBean/remote] (class: javax.naming.LinkRef)
    | | +- TxControllerLocal[link -> dukesbank/TxControllerBean/local] (class: javax.naming.LinkRef)
    | | +- AccountController[link -> dukesbank/AccountControllerBean/remote] (class: javax.naming.LinkRef)
    | +- security (class: org.jnp.interfaces.NamingContext)
    | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
    | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
    | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
    | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
    What is wrong?
    I'm new to Java EE (actually a .NET developer) so please bear with me.
    Any suggestion is appreciated.
    Regards,
    Tar

    I haven't played with EE5 in a while, but... I think JBoss hasn't implemented the entire EE5 spec, just EJB3. So using injection on a managed bean in the client tier won't work.

  • Error:CalculatorBeanRemote not bound

    Hi Good People,
    I am developing a sample EJB3 application in eclipse3.4. I am following the following steps:
    1) First of all i am creating an EJB project (testEJB) in the eclipse. While creating this Project i am selecting the options of 1) Create an EJB Client Jar Module (testEJBClient) to hold the client interfaces and classes and 2) Add Project to an EAR (testEJBEAR) for this project. So it will create three different projects with the given names in the eclipse.
    2) Now in the project testEJB i will create a stateless session bean. Its corresponding remote interface will be automatically created in the testEJBClient. Now i will declare a simple method hello() in the remote interface and will implement it in the testEJB.
    So this completes my ejb beans.
    3) Now in the third step i am creating a dynamic web project (with jboss as server). In this project's properties, in the java EE Module Dependencies section i am giving reference to both the testEJB.jar and testEJBClient.jar so that i can access the method in my jsp or servlets. My index.jsp is looks like:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page import="com.*, javax.naming.*,java.util.Properties"%>
    <%
                           Properties p = new Properties();
                      p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
                      p.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
                      p.put("java.naming.provider.url", "localhost");
                      Context ctx = new InitialContext(p);
                      calculator = (CalculatorBeanRemote)ctx.lookup(CalculatorBeanRemote.class.getName());
                   System.out.println("Loaded Calculator Bean");
            } catch (Exception ex) {
                System.out.println("Error:"+
                        ex.getMessage());
    %>But when i am trying to run this file it is giving the following exception :
    Error:com.CalculatorBeanRemote not bound
    I am trying to solve this from last 3 days but still not successful. If any one has any idea please help me.
    I am also attaching the log file of jboss server.
    Regards,
    Khushwinder

    I think your EJB's are not bound.
    You can find this message when deploying the ejb server jar in the jboss app server.
    And also check your web-inf/lib path for any jar files.
    1.if your web-inf/lib contains the testEJBClient.jar(client jar) then remove it from there and place it in
    jbosshome/server/default/lib
    2.Place your testEJB.jar (server jar) in the deploy folder of jboss.similary your web app war file also place in the same location
    by verifying the step1.
    Don't use eclipse deployment. Manually place these jar files in the jboss and run the jboss in command prompt.
    If you found in exception like binding then check your deployment packaging once again.
    If you have any problem then ask me.
    I hope it will solve your problem.
    Regards
    Venki

  • Errors while deploying EJB3 beans in Weblogic server 10.

    Hi All,
    I am new to weblogic as well as EJB3. While trying to deploy an ant generated ejb3 bean in weblogic server 10, I got the following errors. I don't know where I went wrong. All you experts out there, pls. help me out.
    Error Stack Trace
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:364: modifier transient not allowed here
    public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:526: add(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessCont
    public void add(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:688: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
    public void remove(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:931: findByExample(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.User
    public java.util.List<com.picmond.jaas.dto.UserAccessControls> findByExample(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
    public com.picmond.jaas.dto.UserAccessControls merge(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:202: merge(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2h
    public com.picmond.jaas.dto.AccessControls merge(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:769: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2
    public void remove(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:931: add(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2hpc
    public void add(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsD
    public java.util.List<com.picmond.jaas.dto.AccessControls> findByExample(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:283: merge(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4
    public com.picmond.jaas.dto.ActivityTypes merge(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:445: add(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4_A
    public void add(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:526: modifier transient not allowed here
    public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:769: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:850: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf
    public void remove(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBe
    public java.util.List<com.picmond.jaas.dto.ActivityTypes> findByExample(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public void add(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:607: merge(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public com.picmond.jaas.dto.Roles merge(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:688: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:850: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public void remove(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public java.util.List<com.picmond.jaas.dto.Roles> findByExample(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public void add(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:526: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:688: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:769: findByExample(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public java.util.List<com.picmond.jaas.dto.Users> findByExample(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public void remove(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public com.picmond.jaas.dto.Users merge(com.picmond.jaas.dto.Users arg0)
    ^
    50 errors
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:457)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)
    at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:343)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:533)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:500)
    at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:476)
    at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:798)
    at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1234)
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
    >

    Hi,
    The issue is that the weblogic EJB compiler isn't reading the varargs method modifier properly in your class files (it is mistaking it for a transient field). I think you will either have to:
    a) Remove vararg methods from your EJBs.
    b) Wait for a new release of Weblogic 10.
    This issue was a bit of a pain for us as we are trying to use Seam to integrate various bits of the JEE specification together (and the Seam TimerDispatcher EJB uses vararg methods).

  • Exception is thrown "mydb is not bound"(needs urgent help)

    We r three students and our final project is a BPM(Business peocess Management)system.
    BPM is actually a workflow system(managing the business processes)and all the rules and constraints are applied from the Rule Management System.
    we have started the implementation, and therefore we need some help related to the implementation.
    We r using EJB2.0 with JBuilder9, JBoss3.2 as the application server and tomcate as the web server.
    problem:
    I want to create manual database connection using DataSource,
    I am using mysql and database name is mydb.
    I have done all the reqiured configration of mysql with Joss and it is working.
    After getting the initial context, when i try to lookup the datasource, exception is thrown "mydb is not bound"
    Initial context is correct because i have tried entity beans asd it works well.
    code is
    Hashtable contextValues = new Hashtable();
    contextValues.put(Context.PROVIDER_URL, "jnp://loopback:1099");
    contextValues.put(Context.INITIAL_CONTEXT_FACTORY,
    "org.jnp.interfaces.NamingContextFactory");
    Context context = new InitialContext(contextValues);
    context.lookup("java://mydb");
    Kindly help me if u find time,
    regards!

    try java:comp/env/jdbc/mydb or java:comp/env/mydb

  • Deployed EJB Not Bound

    I deplyed a simple EJB on S17AS. The server.log tells me it is deployed successful.
    CORE3282: stdout: ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1017ca1
    CORE3282: stdout: ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@9d5793
    LDR5010: All ejb(s) of [simpleEjb] loaded successfully!
    The relevant simpleEjb.jar_verified.txt is as follows
         Test Name : tests.ejb.ias.ASEjbJndiName
         Test Assertion :
         Test Description : PASSED [AS-EJB ejb] : jndi-name is simpleHome
    However, the server log did not indicate the EJB is bound even if I set the log level to finest.
    Therefore when I tried to access it, I get the following error
    Exception in thread "main" javax.naming.NameNotFoundException: No object bound f
    or java:comp/env/ejb/simpleHome
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.j
    ava:116)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at HelloClient.main(HelloClient.java:61)
    The client code is as follows
    String JNDIName = "java:comp/env/ejb/simpleHome";
    myGreeterDBHome = (GreeterDBHome) javax.rmi.PortableRemoteObject.narrow(
                   initContext.lookup(JNDIName), GreeterDBHome.class);
    The sun-ejb-jar.xml is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    -->
    <!DOCTYPE sun-ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN' 'http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd'>
    <sun-ejb-jar>
    <enterprise-beans>
    <name>simpleEjb.jar</name>
    <ejb>
    <ejb-name>simpleEJB</ejb-name>
    <jndi-name>simpleHome</jndi-name>
    <is-read-only-bean>false</is-read-only-bean>
                   <bean-pool>
                        <steady-pool-size>2</steady-pool-size>
                        <resize-quantity>5</resize-quantity>
                        <max-pool-size>20</max-pool-size>
                        <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
                   </bean-pool>
    </ejb>
    </enterprise-beans>
    </sun-ejb-jar>
    I tried to use lookup for both "java:comp/env/ejb/simpleHome" and "java:comp/env/simpleHome". None succeed.
    Does anyone know why the ejb is deployed successful but not bound?
    Sha

    Hi, Parsuram,
    I did restart the server and the error is the same.
    Here is the sample code. I did not change them. Only the names in deployment descriptors are modified.
    Below is the info.
    *************************Remote Interface
    Copyright � 2002 Sun Microsystems, Inc. All rights reserved.
    package samples.jdbc.simple.ejb;
    * Remote interface for the GreeterDBEJB. The remote interface defines all possible
    * business methods for the bean. These are the methods going to be invoked remotely
    * by the servlets, once they have a reference to the remote interface.
    * Servlets generally take the help of JNDI to lookup the bean's home interface and
    * then use the home interface to obtain references to the bean's remote interface.
    public interface GreeterDB extends javax.ejb.EJBObject {
    * Returns the greeting String such as "Good morning, John"
         * @return the greeting String
    public String getGreeting() throws java.rmi.RemoteException;
    *************************Home Interface
    Copyright � 2002 Sun Microsystems, Inc. All rights reserved.
    package samples.jdbc.simple.ejb;
    * Home interface for the GreeterDB EJB. Clients generally use home interface
    * to obtain references to the bean's remote interface.
    public interface GreeterDBHome extends javax.ejb.EJBHome {
    * Gets a reference to the remote interface to the GreeterDBBean.
         * @exception throws CreateException and RemoteException.
    public GreeterDB create() throws java.rmi.RemoteException, javax.ejb.CreateException;
    *************************Bean Class
    Copyright � 2002 Sun Microsystems, Inc. All rights reserved.
    package samples.jdbc.simple.ejb;
    import java.util.*;
    import java.io.*;
    * A simple stateless session bean which generates the greeting string for jdbc-simple
    * application. This bean implements the business method as declared by the remote interface.
    public class GreeterDBBean implements javax.ejb.SessionBean {
    private javax.ejb.SessionContext m_ctx = null;
    * Sets the session context. Required by EJB spec.
         * @param ctx A SessionContext object.
    public void setSessionContext(javax.ejb.SessionContext ctx) {
    m_ctx = ctx;
    * Creates a bean. Required by EJB spec.
    public void ejbCreate() {
    System.out.println("ejbCreate() on obj " + this);
    * Removes a bean. Required by EJB spec.
    public void ejbRemove() {
    System.out.println("ejbRemove() on obj " + this);
    * Loads the state of the bean from secondary storage. Required by EJB spec.
    public void ejbActivate() {
    System.out.println("ejbActivate() on obj " + this);
    * Keeps the state of the bean to secondary storage. Required by EJB spec.
    public void ejbPassivate() {
    System.out.println("ejbPassivate() on obj " + this);
    * Required by EJB spec.
    public void GreeterDBBean() {
    * Returns the Greeting String based on the time
    * @return the Greeting String.
    public String getGreeting() throws java.rmi.RemoteException {
    System.out.println("GreeterDB EJB is determining message...");
    String message = null;
    Calendar calendar = new GregorianCalendar();
    int currentHour = calendar.get(Calendar.HOUR_OF_DAY);
    if(currentHour < 12) message = "morning";
    else {
    if( (currentHour >= 12) &&
    (calendar.get(Calendar.HOUR_OF_DAY) < 18)) message = "afternoon";
    else message = "evening";
    System.out.println("- Message determined successfully");
    return message;
    ************************ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    -->
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <display-name>simple</display-name>
    <ejb-name>simpleEJB</ejb-name>
    <home>samples.jdbc.simple.ejb.GreeterDBHome</home>
    <remote>samples.jdbc.simple.ejb.GreeterDB</remote>
    <ejb-class>samples.jdbc.simple.ejb.GreeterDBBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Bean</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    ************************sun-ejb-jar.xml
    <sun-ejb-jar>
    <enterprise-beans>
    <name>simpleEjb.jar</name>
    <ejb>
    <ejb-name>simpleEJB</ejb-name>
    <jndi-name>ejb/simpleHome</jndi-name>
    <is-read-only-bean>false</is-read-only-bean>
                   <bean-pool>
                        <steady-pool-size>2</steady-pool-size>
                        <resize-quantity>5</resize-quantity>
                        <max-pool-size>20</max-pool-size>
                        <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
                   </bean-pool>
    </ejb>
    </enterprise-beans>
    </sun-ejb-jar>
    ************************Assemble Info
    C:\Sun\AppServer7\samples\jdbc\simple\assemble\jar>jar cvf simpleEjb.jar *
    added manifest
    ignoring entry META-INF/
    adding: META-INF/ejb-jar.xml(in = 710) (out= 350)(deflated 50%)
    adding: META-INF/sun-ejb-jar.xml(in = 803) (out= 424)(deflated 47%)
    adding: samples/(in = 0) (out= 0)(stored 0%)
    adding: samples/jdbc/(in = 0) (out= 0)(stored 0%)
    adding: samples/jdbc/simple/(in = 0) (out= 0)(stored 0%)
    adding: samples/jdbc/simple/ejb/(in = 0) (out= 0)(stored 0%)
    adding: samples/jdbc/simple/ejb/GreeterDB.class(in = 210) (out= 168)(deflated 20%)
    adding: samples/jdbc/simple/ejb/GreeterDBBean.class(in = 1441) (out= 734)(deflated 49%)
    adding: samples/jdbc/simple/ejb/GreeterDBHome.class(in = 257) (out= 177)(deflated 31%)
    C:\Sun\AppServer7\samples\jdbc\simple\assemble\jar>jar tf simpleEJB.jar
    META-INF/
    META-INF/MANIFEST.MF
    META-INF/ejb-jar.xml
    META-INF/sun-ejb-jar.xml
    samples/
    samples/jdbc/
    samples/jdbc/simple/
    samples/jdbc/simple/ejb/
    samples/jdbc/simple/ejb/GreeterDB.class
    samples/jdbc/simple/ejb/GreeterDBBean.class
    samples/jdbc/simple/ejb/GreeterDBHome.class
    ******************************** Deployment Info
    server1: Applications: EJB Modules: simpleEjb
    EJB Module Name: simpleEjb
    Location: C:\Sun\AppServer7\domains\domain1\server1\applications\j2ee-modules\simpleEjb_1
    ******************************** simplEJB.jar_verified.txt
    STATIC VERIFICATION RESULTS
         NUMBER OF FAILURES/WARNINGS/ERRORS
         # of Failures : 0
    # of Warnings : 1
         # of Errors : 0
         Test Name : tests.ejb.ias.ASEjbJndiName
         Test Assertion :
         Test Description : PASSED [AS-EJB ejb] : jndi-name is ejb/simpleHome
         WARNINGS :
         Test Name : tests.ejb.businessmethod.BusinessMethodException
         Test Assertion : Enterprise bean business method throws RemoteException test
         Test Description : For [ module_simpleEjb#simpleEjb#simpleEJB ]
    For EJB Class [ samples.jdbc.simple.ejb.GreeterDBBean ] business method [ getGreeting ]
    Error: Compatibility Note: A public business method [ getGreeting ] was found, but EJB 1.0 allowed the business methods to throw the java.rmi.RemoteException to indicate a non-application exception. This practice is deprecated in EJB 1.1 ---an EJB 1.1 compliant enterprise bean should throw the javax.ejb.EJBException or another RuntimeException to indicate non-application exceptions to the Container.
    *********************** server log (no binding info)
    [05/Jan/2003:17:07:19] FINE ( 1760): [EJBClassPathUtils] EJB Class Path for [simpleEjb] is ...
    [C:\Sun\AppServer7\domains\domain1\server1\applications\j2ee-modules\simpleEjb_1, C:\Sun\AppServer7\domains\domain1\server1\generated\ejb\j2ee-modules\simpleEjb]
    [05/Jan/2003:17:07:20] FINE ( 1760): Loading StatelessSessionContainer...
    [05/Jan/2003:17:07:20] FINE ( 1760): [BaseContainer] Registered EJB [simpleEJB] with MBeanServer under name [ias:instance-name=server1,mclass=stateless-session-bean,name=simpleEJB,root=root,standalone-ejb-module=simpleEjb,type=monitor]
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDBBean_RemoteHomeImpl_Tie", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDBHome_Stub", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDBHome_Stub", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDBBean_EJBObjectImpl_Tie", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDB_Stub", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): [Pool-ejb/simpleHome]: Added PoolResizeTimerTask...
    [05/Jan/2003:17:07:20] FINE ( 1760): Created container with uinque id: 68275827784351744
    [05/Jan/2003:17:07:20] FINE ( 1760): Application deployment successful : com.sun.ejb.containers.StatelessSessionContainer@1083717
    [05/Jan/2003:17:07:20] INFO ( 1760): LDR5010: All ejb(s) of [simpleEjb] loaded successfully!
    [05/Jan/2003:17:07:22] FINE ( 1760): Started 48 request processing threads
    [05/Jan/2003:17:07:22] INFO ( 1760): CORE3274: successful server startup
    [05/Jan/2003:17:07:22] FINE ( 1760): The server is now ready to process requests
    [05/Jan/2003:17:07:22] INFO ( 1760): CORE3282: stdout: ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@10613aa
    [05/Jan/2003:17:07:22] INFO ( 1760): CORE3282: stdout: ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1f52460
    [05/Jan/2003:17:07:22] INFO ( 1760): CORE5053: Application onReady complete.
    *********************** Client class
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import java.util.Properties;
    import java.util.Hashtable;
    import javax.ejb.*;
    import java.sql.*;
    import javax.sql.*;
    import samples.jdbc.simple.ejb.*;
    public class HelloClient {
         public static void main(String[] args) throws Exception {
    javax.ejb.Handle beanHandle;
    GreeterDBHome myGreeterDBHome;
    GreeterDB myGreeterDBRemote;
    InitialContext initContext = null;
    Hashtable env = new java.util.Hashtable(1);
    initContext = getContextInfo();
    String JNDIName = "java:comp/env/ejb/simpleHome";
    System.out.println("- Looking up: " + JNDIName);
    myGreeterDBHome = (GreeterDBHome) javax.rmi.PortableRemoteObject.narrow(initContext.lookup(JNDIName), GreeterDBHome.class);
    myGreeterDBRemote = myGreeterDBHome.create();
              String theMessage = myGreeterDBRemote.getGreeting();
    myGreeterDBRemote.remove();
         public static InitialContext getContextInfo() {
         InitialContext ctx = null;
         String url = "iiop://1st:3700";
         String fac = "com.sun.enterprise.naming.SerialInitContextFactory";
    try {
         Properties props = new Properties();
         props.put(Context.INITIAL_CONTEXT_FACTORY, fac);
         props.put(Context.PROVIDER_URL, url);
              ctx = new InitialContext(props);
         catch (NamingException ne){
    System.out.println("We were unable to get a connection to " +
    " the application server at " + url);
    ne.printStackTrace();
    return ctx;
    *********************** Running Client from command line
    C:\Sun\AppServer7\samples\jdbc\simple\assemble\jar>java HelloClient
    - Looking up: java:comp/env/ejb/simpleHome
    Exception in thread "main" javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/simpleHome
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:116)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at HelloClient.main(HelloClient.java:34)

  • Error: ConnectionFactory not bound

    Hi,
    I have created a method in session bean to send message. below is the code of my method
    public void sendMessage() throws NamingException,JMSException{
    QueueConnectionFactory cf;
    QueueConnection connection;
    QueueSession session;
    Queue destination;
    QueueSender sender;
    TextMessage message;
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "org.jnp.interfaces.NamingContextFactory");
    env.put(Context.PROVIDER_URL,
    "localhost:1099");
    Context ctx = new InitialContext(env);
    //ctx = new InitialContext();
    cf = (QueueConnectionFactory)ctx.lookup("ConnectionFactory");
    destination = (Queue)ctx.lookup("queue/testQueue");
    connection = cf.createQueueConnection();
    session = connection.createQueueSession(false,
    Session.AUTO_ACKNOWLEDGE);
    sender = session.createSender(destination);
    message = session.createTextMessage();
    message.setText("Hello World1!");
    System.out.println("Sending Message.");
    sender.send(message);
    connection.close();
    System.out.println("Done.");
    I am getting the following error in the browser
    javax.naming.NameNotFoundException: ConnectionFactory not bound
    Can anyone tell me why this error is coming
    Thanks

    I am getting the following errors in the console. Please check it
    ===============================================================================
    JBoss Bootstrap Environment
    JBOSS_HOME: C:\jboss-4.0.1\bin\\..
    JAVA: D:\j2sdk1.4.2_07\bin\java
    JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
    CLASSPATH: D:\j2sdk1.4.2_07\lib\tools.jar;C:\jboss-4.0.1\bin\\run.jar
    ===============================================================================
    14:31:23,312 INFO [Server] Starting JBoss (MX MicroKernel)...
    14:31:23,312 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)
    14:31:23,312 INFO [Server] Home Dir: C:\jboss-4.0.1
    14:31:23,312 INFO [Server] Home URL: file:/C:/jboss-4.0.1/
    14:31:23,312 INFO [Server] Library URL: file:/C:/jboss-4.0.1/lib/
    14:31:23,312 INFO [Server] Patch URL: null
    14:31:23,312 INFO [Server] Server Name: default
    14:31:23,328 INFO [Server] Server Home Dir: C:\jboss-4.0.1\server\default
    14:31:23,328 INFO [Server] Server Home URL: file:/C:/jboss-4.0.1/server/default/
    14:31:23,328 INFO [Server] Server Data Dir: C:\jboss-4.0.1\server\default\data
    14:31:23,328 INFO [Server] Server Temp Dir: C:\jboss-4.0.1\server\default\tmp
    14:31:23,343 INFO [Server] Server Config URL: file:/C:/jboss-4.0.1/server/default/conf/
    14:31:23,343 INFO [Server] Server Library URL: file:/C:/jboss-4.0.1/server/default/lib/
    14:31:23,343 INFO [Server] Root Deployment Filename: jboss-service.xml
    14:31:23,343 INFO [Server] Starting General Purpose Architecture (GPA)...
    14:31:24,312 INFO [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc.
    14:31:24,312 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_07-b05,Sun Microsystems Inc.
    14:31:24,312 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
    14:31:25,203 INFO [Server] Core system initialized
    14:31:28,468 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    14:31:28,828 INFO [WebService] Using RMI server codebase: http://Mukti:8083/
    14:31:29,140 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
    14:31:38,968 INFO [Embedded] Catalina naming disabled
    14:31:40,250 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
    14:31:40,343 INFO [Catalina] Initialization processed in 1203 ms
    14:31:40,343 INFO [StandardService] Starting service jboss.web
    14:31:40,359 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
    14:31:40,421 INFO [StandardHost] XML validation disabled
    14:31:40,453 INFO [Catalina] Server startup in 110 ms
    14:31:40,750 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/http-invoker.sar/invoker.war/
    14:31:42,859 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp4763jboss-ws4ee-exp.war/
    14:31:43,234 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
    14:31:43,703 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    14:31:48,765 INFO [MailService] Mail Service bound to java:/Mail
    14:31:49,984 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.1/server/default/deploy/jboss-local-jdbc.rar
    14:31:50,375 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.1/server/default/deploy/jboss-xa-jdbc.rar
    14:31:50,734 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.1/server/default/deploy/jms/jms-ra.rar
    14:31:51,046 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.1/server/default/deploy/mail-ra.rar
    14:31:51,968 ERROR [HypersonicDatabase] Starting failed jboss:database=localDB,service=Hypersonic
    java.sql.SQLException: General error: java.lang.NullPointerException
         at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)
         at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
         at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
         at org.hsqldb.jdbcDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)
         at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:617)
         at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:587)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272)
         at $Proxy34.start(Unknown Source)
         at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:228)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
         at org.jboss.Main.boot(Main.java:162)
         at org.jboss.Main$1.run(Main.java:423)
         at java.lang.Thread.run(Thread.java:534)
    14:31:51,968 WARN [ServiceController] Problem starting service jboss:database=localDB,service=Hypersonic
    java.sql.SQLException: General error: java.lang.NullPointerException
         at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)
         at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
         at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
         at org.hsqldb.jdbcDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)
         at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:617)
         at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:587)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272)
         at $Proxy34.start(Unknown Source)
         at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:228)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
         at org.jboss.Main.boot(Main.java:162)
         at org.jboss.Main$1.run(Main.java:423)
         at java.lang.Thread.run(Thread.java:534)
    14:31:52,562 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name 'java:JmsXA'
    14:31:52,921 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=MySqlDS,service=DataSourceBinding to JNDI name 'java:MySqlDS'
    14:31:53,000 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/jmx-console.war/
    14:31:53,515 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/management/web-console.war/
    14:31:54,859 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.1/server/default/deploy/teste.ear
    14:31:56,125 INFO [EjbModule] Deploying Teste
    14:31:56,421 WARN [StatelessSessionContainer] No resource manager found for jms/PointToPoint
    14:31:56,453 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp4815teste.ear-contents/teste-ejb.jar
    14:31:56,562 INFO [TomcatDeployer] deploy, ctxPath=/teste, warUrl=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp4815teste.ear-contents/teste-exp.war/
    14:31:56,937 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.1/server/default/deploy/teste.ear
    14:31:56,937 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    MBeans waiting for other MBeans:
    ObjectName: jboss.ejb:persistencePolicy=database,service=EJBTimerService
    state: CREATED
    I Depend On: jboss.jca:name=DefaultDS,service=DataSourceBinding
    Depends On Me:
    ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
    state: CREATED
    I Depend On: jboss.mq:service=Invoker
    jboss.web:service=WebServer
    Depends On Me:
    ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
    state: CREATED
    I Depend On: jboss:service=TransactionManager
    jboss.jca:name=DefaultDS,service=DataSourceBinding
    Depends On Me:
    ObjectName: jboss.mq:service=StateManager
    state: CREATED
    I Depend On: jboss.jca:name=DefaultDS,service=DataSourceBinding
    Depends On Me: jboss.mq:service=DestinationManager
    ObjectName: jboss.mq:service=DestinationManager
    state: CREATED
    I Depend On: jboss.mq:service=MessageCache
    jboss.mq:service=PersistenceManager
    jboss.mq:service=StateManager
    Depends On Me: jboss.mq.destination:name=testTopic,service=Topic
    jboss.mq.destination:name=securedTopic,service=Topic
    jboss.mq.destination:name=testDurableTopic,service=Topic
    jboss.mq.destination:name=testQueue,service=Queue
    jboss.mq.destination:name=A,service=Queue
    jboss.mq.destination:name=B,service=Queue
    jboss.mq.destination:name=C,service=Queue
    jboss.mq.destination:name=D,service=Queue
    jboss.mq.destination:name=ex,service=Queue
    jboss.mq:service=SecurityManager
    jboss.mq.destination:name=DLQ,service=Queue
    ObjectName: jboss.mq:service=PersistenceManager
    state: CREATED
    I Depend On: jboss.jca:name=DefaultDS,service=DataSourceBinding
    Depends On Me: jboss.mq:service=DestinationManager
    ObjectName: jboss.mq.destination:name=testTopic,service=Topic
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager
    Depends On Me:
    ObjectName: jboss.mq.destination:name=securedTopic,service=Topic
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager
    Depends On Me:
    ObjectName: jboss.mq.destination:name=testDurableTopic,service=Topic
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager
    Depends On Me:
    ObjectName: jboss.mq.destination:name=testQueue,service=Queue
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager
    Depends On Me:
    ObjectName: jboss.mq.destination:name=A,service=Queue
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    Depends On Me:
    ObjectName: jboss.mq.destination:name=B,service=Queue
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    Depends On Me:
    ObjectName: jboss.mq.destination:name=C,service=Queue
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    Depends On Me:
    ObjectName: jboss.mq.destination:name=D,service=Queue
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    Depends On Me:
    ObjectName: jboss.mq.destination:name=ex,service=Queue
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    Depends On Me:
    ObjectName: jboss.mq:service=Invoker
    state: CREATED
    I Depend On: jboss.mq:service=TracingInterceptor
    Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
    jboss.mq:service=InvocationLayer,type=JVM
    jboss.mq:service=InvocationLayer,type=UIL2
    ObjectName: jboss.mq:service=TracingInterceptor
    state: CREATED
    I Depend On: jboss.mq:service=SecurityManager
    Depends On Me: jboss.mq:service=Invoker
    ObjectName: jboss.mq:service=SecurityManager
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    Depends On Me: jboss.mq.destination:name=testTopic,service=Topic
    jboss.mq.destination:name=securedTopic,service=Topic
    jboss.mq.destination:name=testDurableTopic,service=Topic
    jboss.mq.destination:name=testQueue,service=Queue
    jboss.mq:service=TracingInterceptor
    jboss.mq.destination:name=DLQ,service=Queue
    ObjectName: jboss.mq.destination:name=DLQ,service=Queue
    state: CREATED
    I Depend On: jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager
    Depends On Me:
    ObjectName: jboss.mq:service=InvocationLayer,type=JVM
    state: CREATED
    I Depend On: jboss.mq:service=Invoker
    Depends On Me:
    ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
    state: CREATED
    I Depend On: jboss.mq:service=Invoker
    Depends On Me:
    ObjectName: jboss.jca:name=DefaultDS,service=LocalTxCM
    state: CREATED
    I Depend On: jboss.jca:name=DefaultDS,service=ManagedConnectionPool
    jboss.jca:service=CachedConnectionManager
    jboss.security:service=JaasSecurityManager
    jboss:service=TransactionManager
    Depends On Me: jboss.jca:name=DefaultDS,service=DataSourceBinding
    ObjectName: jboss.jca:name=DefaultDS,service=ManagedConnectionPool
    state: CREATED
    I Depend On: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
    Depends On Me: jboss.jca:name=DefaultDS,service=LocalTxCM
    ObjectName: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
    state: CREATED
    I Depend On: jboss:database=localDB,service=Hypersonic
    jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment
    Depends On Me: jboss.jca:name=DefaultDS,service=ManagedConnectionPool
    ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding
    state: CREATED
    I Depend On: jboss.jca:name=DefaultDS,service=LocalTxCM
    jboss:service=invoker,type=jrmp
    Depends On Me: jboss.ejb:persistencePolicy=database,service=EJBTimerService
    jboss:service=KeyGeneratorFactory,type=HiLo
    jboss.mq:service=StateManager
    jboss.mq:service=PersistenceManager
    ObjectName: jboss:database=localDB,service=Hypersonic
    state: FAILED
    I Depend On:
    Depends On Me: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
    java.sql.SQLException: General error: java.lang.NullPointerException
    MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
    ObjectName: jboss:database=localDB,service=Hypersonic
    state: FAILED
    I Depend On:
    Depends On Me: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
    java.sql.SQLException: General error: java.lang.NullPointerException
    14:31:57,265 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    14:31:57,578 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
    14:31:57,609 INFO [JkMain] Jk running ID=0 time=0/141 config=null
    14:31:57,625 INFO [Server] JBoss (MX MicroKernel) [4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)] Started in 33s:766ms

  • EJB reference not bound

    I'm running JBoss 3.0.1 with Tomcat 4.0.4 bundle. I have successfully deployed a EJB to Jboss and created 2 clients (java & JSP client).
    For some reasons, I'm able to run the java client but when I try the JSP client (served by Tomcat) I get this error message
    javax.servlet.ServletException: Name greetings is not bound in this Context
    Below is the code for the 2 clients & web.xml
    <----------- jsp client -------------->
    <%@ page import="javax.naming.*,
    java.util.*,
              java.util.Hashtable,
              javax.rmi.PortableRemoteObject,
    com.stardeveloper.ejb.session.*"%>
    <%
    long t1 = System.currentTimeMillis();
    InitialContext ctx = new InitialContext();
    Object ref = ctx.lookup("ejb/First");
    FirstHome home = (FirstHome) PortableRemoteObject.narrow (ref, FirstHome.class);
    First bean = home.create();
    String time = bean.getTime();
    bean.remove();
    ctx.close();
    long t2 = System.currentTimeMillis();
    %>
    <html>
    <head>
    <style>p { font-family:Verdana;font-size:12px; }</style>
    </head>
    <body>
    <p>Message received from bean = "<%= time %>".<br>Time taken :
    <%= (t2 - t1) %> ms.</p>
    </body>
    </html>
    <----------- java client ------------->
    import javax.naming.*;
    import com.stardeveloper.ejb.session.*;
    import java.util.Hashtable;
    import javax.rmi.PortableRemoteObject;
    import com.stardeveloper.ejb.session.*;
    class firstEJBclient {
         public static void main(String[] args) {
              try {
                   long t1 = System.currentTimeMillis();
                   InitialContext ctx = new InitialContext();
                   System.out.println("Got CONTEXT");
                   Object ref = ctx.lookup("ejb/First");
                   System.out.println("Got REFERENCE");
                   FirstHome home = (FirstHome) PortableRemoteObject.narrow (ref, FirstHome.class);
                   First bean = home.create();
                   String time = bean.getTime();
                   bean.remove();
                   ctx.close();
                   long t2 = System.currentTimeMillis();
                   System.out.println("Message received from bean = "+time+" Time taken : "+(t2 - t1)+" ms.");
              catch (Exception e) {
                   System.out.println(e.toString());
    <----------------- web.xml -------------------->
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <session-config>
    <session-timeout>
              1800
    </session-timeout>
    </session-config>
    <welcome-file-list>
         <welcome-file>
              firstEJB2.jsp
    </welcome-file>
    </welcome-file-list>
    <ejb-ref>
         <description>A reference to an entity bean</description>
         <ejb-ref-name>ejb/First</ejb-ref-name>
         <ejb-ref-type>Stateless</ejb-ref-type>
         <home>com.stardeveloper.ejb.session.FirstHome</home>
         <remote>com.stardeveloper.ejb.session.First</remote>
    </ejb-ref>
    </web-app>
    Why is it not bound?

    Please Ignore my other Message(My META-INF was not in Root and now I am able to get my beans bound).
    I am using Jboss 3.0
    I am able to access service of my HelloWorld Session Bean through a jsp.
    But not able to do so using a java client.
    my directory structure is :
    com\ideas\users\<Bean classes(Remote Interface,home interface,Bean)>
    com\ideas\users\<Bean client(a java client)>
    My java client program is :
    import javax.rmi.*;
    import javax.naming.*;
    import java.util.*;
    import com.ideas.users.*;
    public class HelloWorld {
    public static void main( String args[]) {
    try{
    Properties p = new Properties();
              p.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
              p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
              p.put("java.naming.provider.url","localhost");
              InitialContext ctx = new InitialContext(p);
              //Lookup the bean using it's deployment id
              Object obj = ctx.lookup("users/Hello");
    //Be good and use RMI remote object narrowing
    //as required by the EJB specification.
    HelloHome ejbHome = (HelloHome) PortableRemoteObject.narrow(obj,HelloHome.class);
    //Use the HelloHome to create a HelloObject
    Hello ejbObject = ejbHome.create();
    //The part we've all been wainting for...
    String message = ejbObject.sayHello();
    //A drum roll please.
    System.out.println( " run successfully and message is :" + message);
    } catch (Exception e){
    e.printStackTrace();
    I am able to compile but when i try to Run I get the following error message
    javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no security manager: RMI class loader disabled)
    at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
    at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
    at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
    at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.inputObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.inputClassFields(Unknown Source)
    at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
    at java.io.ObjectInputStream.inputObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.rmi.MarshalledObject.get(Unknown Source)
    at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:449)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at HelloWorld.main(HelloWorld.java:25)
    Please help me out .
    Thanks in advance
    Sujith

  • JNDI Lookup for EJB3 (Bean to Bean)

    Hi Forum,
    i've search the whole internet and two books but I could not find an answer that pleased me.
    I want to get a reference to an EJB3 by JNDI Lookup. With container managed dependency injection everything works fine but I have to do a little more generic way, thats why I want to work with JNDI Lookup.
    I have the following situation:
    At first I have a stateless bean
    @Local
    public interface Job {
         * run the job
         * @return true if the job executed without errors
        public boolean run(SchedulerConfig schedulerConfig ,JobContext context);
    @Local
    public interface AConcreteJobLocal extends Job {   
    //no more declarations
    @Stateless
    @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
    public class AConcreteJobBean implements AConcreteJobLocal {
    //implemented methods goes here | removed for better overview in the post
    } This is a typical declaration for a bunch of jobs I have. Every concrete job has it's own bean if it necessary in some way for you to know.
    So now I wanted to write a bean which returns me an bean instance via a JNDI lookup
    @Stateless
    public class JobJNDILookupBean implements JobJNDILookupLocal {
        Logger logger = Logger.getLogger(JobJNDILookupBean.class.getName());
        public Job getJobBeanFromJNDIName(String jndiName) {
            Job job = null;
            try {
                Context c = new InitialContext();
                job = (Job) c.lookup("jndiName");
            } catch (NamingException ex) {
                Logger.getLogger(JobJNDILookupBean.class.getName()).log(Level.SEVERE, null, ex);
            } catch (IllegalArgumentException ex) {
                logger.log(Level.SEVERE, "Bean not found", ex);
            return job;
    }When I call this method I always get a NameNotFoundException
    javax.naming.NameNotFoundException: JNDI_NAME_GOES_HERE not found
            at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:216)
            at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:188)
            at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:74)
            at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:398)
            at javax.naming.InitialContext.lookup(InitialContext.java:351)
            at com.vw.ais.dcl.timer.engine.JobJNDILookup.getJobBeanFromJNDIName(JobJNDILookup.java:46)
            at com.vw.ais.dcl.timer.engine.EngineBean.init(EngineBean.java:221)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
            at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
            at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
            at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
            at $Proxy713.init(Unknown Source)
            at com.vw.ais.dcl.timer.SchedulerBean.runEngine(SchedulerBean.java:192)
            at com.vw.ais.dcl.timer.SchedulerBean.handleIncomingByTimer(SchedulerBean.java:171)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
            at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
            at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
            at com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:2824)
            at com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1401)
            at com.sun.ejb.containers.EJBTimerService.access$100(EJBTimerService.java:99)
            at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1952)
            at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.service(EJBTimerService.java:1948)
            at com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:75)
            at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)I've tried I guess all combinations for the JNDI_NAME
    java:/comp/env/ejb/AConcreteJob
    java:/comp/env/ejb/AConcreteJobLocal
    java:/comp/env/ejb/AConcreteJobBean
    java:/comp/env/AConcreteJob
    java:/comp/env/full.package.and.Class.name
    this all without java:/comp/env
    etc.
    The only way it worked was when I added a annotation to the JobJNDILookupBean in this way
    @Stateless
    *@EJB(name="ejb/AConcreteJob",beanInterface=A.Interface.location)*
    public class JobJNDILookupBean implements JobJNDILookupLocal {
    }But this is not what I want to do. Thats why my question. How can I lookup a bean without annotate it in the bean which want to look it up???
    In other words whats wrong here
    @Stateless
    public class JobJNDILookupBean implements JobJNDILookupLocal {
        Logger logger = Logger.getLogger(JobJNDILookupBean.class.getName());
        public Job getJobBeanFromJNDIName(String someJndiName) {
            Job job = null;
            try {
                Context c = new InitialContext();
                job = (Job) c.lookup("someJndiName");
            } catch (NamingException ex) {
                Logger.getLogger(JobJNDILookupBean.class.getName()).log(Level.SEVERE, null, ex);
            } catch (IllegalArgumentException ex) {
                logger.log(Level.SEVERE, "Bean not found", ex);
            return job;
    }I hope you understand my question and more than this I hope some has the answer.

    Hi Zsom,
    Zsom wrote:
    One thing you need to keep in mind is that beans aren't instantiated every time you make a call to your EJB. You're right! But because the fact the beans are all stateless it doesn't matter. I don't want to get a new EJB at a lookup. If I get a reference to a bean which was used a million times before it is absolutely ok
    Zsom wrote:
    You might be gaining some time because the container can create new beans more quickly, but you are also looking up the beans before each call, which in the long run will be even more expensive.Mhm, I don't know if I understand you. Maybe I explain my process a little bit. I have a lot of different jobs in my application (JobDoThis, JobDoThat, JobFoo, JobBar). Every job has a own bean which keeps the business logic. Furthermore I have an job engine which is able to execute jobs which are configured to run and this engine can solve some dependencies (If JobFoo fails don't execute JobBar , and so on). When I build my engine I want to get a reference to a jobBean by jndi lookup which keeps the business logic and then call some method on it. This means that the lookup will only be called when I build a new engine. And because this doesn't happen so often performance is not so important. Furthermore if all jobs all configured to run the application needs sometimes more than 12 hours (depended from the amount of data) for one run (Start to End -> the application has a little script character), that's why performance as I said already is not so important.
    Zsom wrote:
    But it would be worth making some test, because to me it seems a bit like bad design.Yes it could be, but this was my first thought to instantiate a bean (or get a reference to an existing one) dynamically. I don't like this hard coded dependency injection. I mean it's great If you know at compiletime which beans you need. But because we don't know which beans we need it's a big overhead to inject them all by container and then use only 40 percent of the injected bean because for example only 40 of 100 jobs shall run.
    If there is another approach to get a reference dynamically which is better than this then I will try, no problem, but unfortunally I don't see another.

  • EJB not bound Exception

    Hi All,
    Any body can help me to Run my first EJB. I am getting Name not bound error. I thing it is JNDI error. I generate the classes and interfaces using Xdoclet.
    I am using eclipse3.1, jboss4
    Please see the entry in ejb-jar.xml
    <entity >
    <description><![CDATA[Description for Simple]]></description>
    <display-name>Name for Simple</display-name>
    <ejb-name>Simple</ejb-name>
    <local-home>com.interfaces.SimpleLocalHome</local-home>
    <local>com.interfaces.SimpleLocal</local>
    <ejb-class>com.ejb.SimpleCMP</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>Simple</abstract-schema-name>
    <cmp-field >
    <description><![CDATA[]]></description>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field >
    <description><![CDATA[]]></description>
    <field-name>name</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    </entity>
    Please see the entry in jboss.xml file
    <entity>
    <ejb-name>Simple</ejb-name>
    <local-jndi-name>ejb/SimpleLocal</local-jndi-name>
    <method-attributes>
    </method-attributes>
    </entity>
    When i do lookup with "ejb/SimpleLocal" name then It gives me Not Bound error.
    Please help me to solve this problem.
    Thanks in advance
    Message was edited by:
    raviadha

    hi
    Here is my client
    HelloClient
    import javax.naming.*;
    import javax.ejb.*;
    import javax.rmi.*;
    public class HelloClient
    public static void main(String [] args)
    try{
    InitialContext ctx=new InitialContext();
    Object obj=ctx.lookup("HelloEJB");
    HelloHome home=(HelloHome)PortableRemoteObject.narrow(obj, HelloHome.class);
    Integer id=new Integer(Integer.parseInt(args[0]));
    Hello h=home.create(id,args[1]);
    }catch(Exception e)
    System.out.println(e);
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>HelloEJB</ejb-name>
    <local-home>HelloHome</local-home>
    <local>Hello</local>
    <ejb-class>HelloBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>HelloAA</abstract-schema-name>
    <cmp-field>
    <field-name>helloId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>helloName</field-name>
    </cmp-field>
    <primkey-field>helloId</primkey-field>
    </entity>
    </enterprise-beans>
    </ejb-jar>

  • EJB not bound

    Hello
    Recently i faced an Exception when i run the client that "EJB not Bound exception". It only comes on Entity bean when i run any session bean i run porperly i don't know whats happen with Entity bean plz guide me on that i m using Jboss server.
    And when i define relation b/w local ejbs how can i define forigen key?
    Best Regards
    Uzair

    hi
    Here is my client
    HelloClient
    import javax.naming.*;
    import javax.ejb.*;
    import javax.rmi.*;
    public class HelloClient
    public static void main(String [] args)
    try{
    InitialContext ctx=new InitialContext();
    Object obj=ctx.lookup("HelloEJB");
    HelloHome home=(HelloHome)PortableRemoteObject.narrow(obj, HelloHome.class);
    Integer id=new Integer(Integer.parseInt(args[0]));
    Hello h=home.create(id,args[1]);
    }catch(Exception e)
    System.out.println(e);
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>HelloEJB</ejb-name>
    <local-home>HelloHome</local-home>
    <local>Hello</local>
    <ejb-class>HelloBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>HelloAA</abstract-schema-name>
    <cmp-field>
    <field-name>helloId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>helloName</field-name>
    </cmp-field>
    <primkey-field>helloId</primkey-field>
    </entity>
    </enterprise-beans>
    </ejb-jar>

  • Javax.naming.NameNotFoundException, msg=SessionEJB not bound

    Hi everybody
    I am very new to jdeveloper and ejb3.0
    I tried to build a simpleapplication having ejb,jsf as a template in jdeveloper as per the example available here
    http://www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-detail_pagewith_ejb.htm
    I tried as per the example and deployed in to JBoss3.0.2 application server and try to access the jsf page and i am getting the exceptions like
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: javax.naming.NameNotFoundException, msg=SessionEJB not bound
         oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:178)
         oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         oracle.adf.model.BindingContext.get(BindingContext.java:457)
         oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.<init>(JUMethodIteratorDef.java:138)
         oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:93)
         oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:84)
         oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         oracle.adf.model.BindingContext.get(BindingContext.java:483)
         oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
         oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
         oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)
         oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    In this JSF page i am accesing data from ejb
    Please help me to resolve this issue
    thanks
    shirdhi

    I don't think Tomcat is actually an EJB container:
    http://tomcat.apache.org/faq/misc.html#ejb

Maybe you are looking for

  • How to run/generate a payment in f110

    Guys help me!! I have created a parameter in TCODE F110(AUTOMATIC PAYMENT TRANSACTIONS: STATUS )  and I need to run/generate it. The only message I got was "payment run has been carried out". I need to come up with a message like this "posting orders

  • Day Limit, Fixed day/Additinal months & Baseline Date in Payment Terms-OBB8

    Hi Gurus, Please put some light on the following:- 1. What is the relation between Day Limit & Baseline Date. 2. What is the use or significance of Day Limit as far as Payment Term for Vendor/Customer is concerned? Thanks & regards, CS

  • Changing to manual sync while the ipod is NOT connected?

    I was trying to find out if there was a way to change the iPods setting to sync manually (or only for selected material) without connecting the iPod to the Mac. I do not want to loose high score settings on some games. As far as I can tell I can chan

  • Release of APO Demand Planning to R/3 Demand Management

    Hi All, Is there a way to release the forecast in Demand Planning in APO to R/3 Demand Management without passing overwriting the historical buckets in R/3. I have created a special data view that does not contain any historical weeks. However, if we

  • Error on Installing Oracle9iAS Portal

    I have the following error installing Portal 9i "An unexpected error occurred during install process. Check the install.log located at <Oracle_Home>/assistants/opca for more datails." So I went to the install.log and I found this log: "PLS-00201: ide