users@javaserverfaces.java.net

RE: Re: javax.faces.el.EvaluationException: Can I use the javaee.jar with JSF?

From: Todd Patrick <Todd.Patrick_at_dtn.com>
Date: Mon, 6 Nov 2006 16:35:57 -0600

Ryan:

This was just stupid on my part.

I fixed the issue.

I wish I could use Glassfish, but I am stuck at Tomcat 5.0.28 in a
development, QA and production environment.

Thanks,

--Todd

-----Original Message-----
From: Ryan.Lubke_at_Sun.COM [mailto:Ryan.Lubke_at_Sun.COM]
Sent: Monday, November 06, 2006 4:13 PM
To: users_at_javaserverfaces.dev.java.net
Subject: Re: javax.faces.el.EvaluationException: Can I use the
javaee.jar with JSF?

Todd Patrick wrote:
> The exception I am returning is:
>
> javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError:
> javax/ejb/ObjectNotFoundException
>
> I didn't believe that I could deploy a war to Tomcat 5.0.28 or Tomcat
> (any version) and include the javaee.jar.
>
Well, any classes like javax.servlet, javax.servlet.jsp, etc should be
ignored by Tomcat - so those components of javaee.jar should be ignored.

However, the javax.faces APIs may be out of sync with what you have in
jsf-api.jar, so I wouldn't recommend it.

If you're attempting to use EJB - is there a reason you're not using
GlassFish?


> How can I use the ObjectNotFoundException in my code?
>
> Is there something else that I should be using?
>
> Thanks,
>
> --Todd
>
> -----------------------------------------
> NOTICE: This email message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information.
> Any unauthorized use, disclosure or distribution is prohibited. If you

> are not the intended recipient, please contact the sender by reply
> email and destroy all copies of the original message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail:
> users-help_at_javaserverfaces.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net