facebook

error deploying cmp

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #224242 Reply

    Champion
    Member

    hello

    I am following this tutoriel http://www.laliluna.de/simple-xdoclet-ejb-tutorial.html

    when I deploy the ejb book here is the error I got.
    it seems to be e problem with jdbc connection….

    08:43:05,366 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ejb/Book,service=EJB
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:444)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:167)
        at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClassFromClassLoader(UnifiedLoaderRepository3.java:265)
        at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:270)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77)
        at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:78)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.<init>(JDBCEntityCommandMetaData.java:58)
        at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntityMetaData.java:920)
        at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init>(JDBCApplicationMetaData.java:363)
        at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
        at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:721)
        at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
        at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
        at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
        at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
    #224257 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev.

    Have you tried asking the author of the tutorial?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: error deploying cmp

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