users@glassfish.java.net

Re: IllegalArgumentException: "timers" / OldTypesBase.oldObjectNameToJ2EEType

From: jsexton0 <jsexton0_at_gmail.com>
Date: Tue, 11 Nov 2008 11:54:21 -0800 (PST)

Hi -
Actually I have two problems with this effort. My second question is
probably much simpler.

1) Created an EJB in an EJB project
2) Created a servlet in a web application project
3) created an enterprise application project and added both of the above
4) In the servlet, used the wizard to add a reference to the EJB:
    @EJB
    private EJBTimerBean eJBTimerBean;
5) Deployed the enterprise application and exercised code to access the
above EJB ref. But the EJB is not available, even though the war and the
jar are both in the ear file together.

javax.naming.NameNotFoundException:
com.iwsinc.cms.ebj.EJBTimerBean#com.iwsinc.cms.ebj.EJBTimerBean not found

What other step is required?
Thank you!

Thanks



jsexton0 wrote:
>
> Hello -
> Sorry, I was using the web forum and forgot that it's a mailing list.
>
> java.lang.IllegalArgumentException: "timers"
> com.sun.enterprise.management.support.OldTypesBase.oldObjectNameToJ2EEType(OldTypesBase.java:153)
> com.sun.enterprise.management.support.oldconfig.OldProps.<init>(OldProps.java:187)
>

-- 
View this message in context: http://www.nabble.com/IllegalArgumentException%3A-%22timers%22---OldTypesBase.oldObjectNameToJ2EEType-tp19918950p20447054.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.