hi,
you MUST use jboss.xml and res-ref in ejb-jar.xml in order to use from
anywhere. Use JNDIView from localhost:8082 -> list to get an overview whats
on the system. you should use jdbc/datasource for DBs in ejb-jar.xml, add
resourcs-managers in jboss.xml.
Include what you tried in ejb-jar /jboss.xml in you posts...
Burkhard
----- Original Message -----
From: "Jason McKerr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 2:05 AM
Subject: [JBoss-user] <bean> Not Bound


> I have seen many posts about this but no satisfactory answers.
>
> I am attempting to deploy some EJB's (BMP Entity Beans) to Standalone
JBoss
> and call them from Standalone Tomcat Instance.
> These beens all ran fine on IntraVM system (as did the entire application
in
> fact).
> However, whenever I attempt to deploy a in the standalone systems, no joy,
I
> get :
> I can deploy test beans OK.  My feeling is that there is something wrong
> with one of three things.
>
> First, it is possible that JBoss is simply not binding the jndiName.  I
have
> tried
> without jboss.xml, and with jboss.xml (to override the ejb-name with a new
> jndi name).
> Neither of these things changed the problem.
>
> Second,  The datasource is not binding.  What format should I use in
ejb-ref
> for datasources (i.e. jdbc/datasource?), or should I not use it at all?
>
> Third, JBoss is unable to bind/resolve the reference to another EJB that
my
> bean references.
> I have tried having the ejb-ref in both the ejb-jar and jboss.xml, one or
> the other, and neither.
> All to no success.
>
>
> I must admit I'm baffled as to why this would work intra-vm, and not
> extra-vm.
> I would have thought that all I would have had to do is change the
> contexting information
> to connect to a remote system.
>
> Any help would be greatly appreciated.
>
> Thank you!
>
> Newt
>
>
>
> javax.naming.NameNotFoundException: LanguageBean not bound
> at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
> at javax.naming.InitialContext.lookup(InitialContext.java:350)
> at
>
admin._0002fadmin_0002ftest_0002ejsptest_jsp_6._jspService(_0002fadmin_0002f
> test_0002ejsptest_jsp_6.java:102)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
> va:130)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:282)
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> at org.apache.tomcat.core.Handler.service(Handler.java:287)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:213)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> at java.lang.Thread.run(Thread.java:484)
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to