users@glassfish.java.net

Re: deploy a ejb component and a web application without using EAR application

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 24 Feb 2009 21:39:58 +0530

See reply in line...

glassfish_at_javadesktop.org wrote:
> Thank you Sahoo.
>
> I did browse the JNDI on the server console, there are NO remote interfaces listed for "Custom Resorces" nor "External Resources".
They don't seem to be right places to look at. Is their not an entry for
EJB? If you have successfully deployed your EJB with remote interfaces,
then the EJBs must have been bound to JNDI. The server.log should also
have some information about the EJB deployment. Try changing the log
level to FINE or something and you will get some more info.
> But I am able to access the web services from client applications. Web services call remote EJB with remote interface.
>
Is the EJB part of the webservice app?
> Looks like deployment problem. Strange thing is that three days ago I did wrote a simple EJB with remote interface, deployed it, and I was able to call it from my web application. Now I have this error.
>
> Version of GlassFish is V2 - Sun Java System Application Server 9.1_02 (build b04-fcs) on Centos 5.1 64bit.
>
> web.xml vrsion is 2.5 (<web-app version="2.5" ... )
>
Before you look at the web-app, first ensure the EJB is deployed correctly.

Thanks,
Sahoo
> Netbeans version is 6.5 on Windows XP.
>
> Thanks for your help.
> [Message sent by forum member 'antoniojsg' (antoniojsg)]
>
> http://forums.java.net/jive/thread.jspa?messageID=333571
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>