Jboss

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff

    Jboss

    When I try to deploy my CMP bean I get some weird errors.

    12:32:09,603 WARN [verifier] EJB spec violation:
    Bean : GetIDBean
    Section: 9.2.7
    Warning: Entity bean's remote interface must extend the
    javax.ejb.EJBOb ject interface.

    12:32:09,603 WARN [verifier] EJB spec violation:
    Bean : GetIDBean
    Method : public abstract void setId(Integer)
    Section: 9.2.7
    Warning: The methods in the remote interface must include
    java.rmi.Remote Exception in their throws clause.

    (repeats this with about fifty different methods)


    This makes absolutely no sense to me because the remote interface is
    already extending javax.ejb.EJBOb ject.

    I am using xdoclet to generate the deployment decriptors and the
    interface files. If I put a session bean in the source folder instead
    of CMP bean and deploy that it works like a charm.
  • Sameer Babu K K

    #2
    Re: Jboss

    Jeff wrote:[color=blue]
    > When I try to deploy my CMP bean I get some weird errors.
    >
    > 12:32:09,603 WARN [verifier] EJB spec violation:
    > Bean : GetIDBean
    > Section: 9.2.7
    > Warning: Entity bean's remote interface must extend the
    > javax.ejb.EJBOb ject interface.
    >
    > 12:32:09,603 WARN [verifier] EJB spec violation:
    > Bean : GetIDBean
    > Method : public abstract void setId(Integer)
    > Section: 9.2.7
    > Warning: The methods in the remote interface must include
    > java.rmi.Remote Exception in their throws clause.
    >
    > (repeats this with about fifty different methods)
    >
    >
    > This makes absolutely no sense to me because the remote interface is
    > already extending javax.ejb.EJBOb ject.
    >
    > I am using xdoclet to generate the deployment decriptors and the
    > interface files. If I put a session bean in the source folder instead
    > of CMP bean and deploy that it works like a charm.[/color]

    i think your ejb-jar.xml will be wrong. there is a chance for wrong tags
    in class files.
    ~ Let us linux ~


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

    Comment

    Working...