[jboss-user] [JNDI/Naming/Network] - Re: JNDI problem

2008-03-02 Thread waynebaylor
have you tried a JNDI lookup? Context ctx = new InitialContext(); | MyRemoteIfc bean = (MyRemoteIfc)ctx.lookup(ear-name/jar-name/bean-name/remote); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4133503#4133503 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-14 Thread gopinathb4u
I was not in for past few days. | Jboss-service.xml | | ?xml version=1.0 encoding=UTF-8? | | !-- $Id: jboss-service.xml,v 1.59.2.50 2004/10/23 02:19:28 starksm Exp $ -- | | !-- = -- | !-- JBoss Server

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-13 Thread berdaimo
Do you stil have the jboss-service.xml file ? Thanks in advance ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027529#4027529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027529

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-12 Thread berdaimo
Hi ! Could you like please send me jboss-service.xml releated to deploying this application ? I have a problem of MBeanServer (ConnectionManager) ! Thank you in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027206#4027206 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-06 Thread gopinathb4u
I will give it a try. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025319#4025319 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025319 ___ jboss-user mailing list

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-05 Thread gopinathb4u
It really helped me. Thanks a lot. I will try to implement this. In btw, I have a small question. How can i invoke Jboss service from standalone application? I had hibernate-service and want to invoke that service from standalone application. This will solve almost all my problem.

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-05 Thread jaikiran
Your hibernate service will be deployed as a MBean. You can get a remote access to your MBean as mentioned in section Using the RMIADaptor at http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean View the original post :

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-03 Thread jaikiran
Here's the remote session bean facade which you can use in JBoss-3.2.x to work with datasources from the standalone client: Home interface: package org.myapp.ejb; | | import java.rmi.RemoteException; | import javax.ejb.CreateException; | import javax.ejb.EJBHome; | | /** | *

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-01 Thread jaikiran
Can you post your -ds.xml and the code where you are looking up the datasource. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024267#4024267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024267

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-01 Thread gopinathb4u
Steps 1. Included use-java-contextfalse/use-java-context in -ds.xml 2. Started Jboss 3. Ran standalone program to lookup the datasource. Error occurred. | Jboss Server Console | 11:01:38,343 INFO [DatasourceConnectionProvider] Using datasource: java:/Detects | 11:01:38,359 INFO

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-01 Thread gopinathb4u
Forgot to add -ds.xml file | ?xml version=1.0 encoding=UTF-8? | datasources | local-tx-datasource | jndi-nameDetects/jndi-name | driver-classoracle.jdbc.driver.OracleDriver/driver-class | connection-urljdbc:oracle:thin:@XXX:1521:/connection-url |

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-02-28 Thread jaikiran
anonymous wrote : I am new to EJB. Frankly speaking, it would difficult to explain or understand this without going through some sample EJB applications. Once you understand EJB, this will be an easy task to use the remote facade. So if its not a production application that you are currently

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-02-28 Thread gopinathb4u
I am using Jboss 3.2.7. It is not working. I got the below error while lookup. Help me to resolve. | | javax.naming.NameNotFoundException: Detects not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:490) | at

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-02-27 Thread jaikiran
Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient However, this is not a recommended approach as mentioned at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources anonymous wrote : Note: JBoss does not recommend using this feature on a

[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-02-27 Thread gopinathb4u
Thanks for the immediate response. I am new to EJB. Can you please provide me a link to get the datasource using remote session bean facade? Thank you, Gopi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023488#4023488 Reply to the post :