Hello!
I'm trying to configure Hibernate to work with JBoss 3.2.3 as a SAR. Everything is
working but when I try to get access to this service remotely, it says it is not
bound. I have ensured that it is being bound to that, and double checked in the JNDI
view that it is bound in the java names
9 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JNDI question
Which part don't you understand?
In jboss you cannot access a datasource over the network,
even if it is local sockets to a process on the same server.
Your use of the provider url in the jndi settings makes
---
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Adrian Brock
> Sent: Tuesday, January 13, 2004 5:41 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] JNDI question
>
>
> If you are trying to use the DataSource on the server,
> you should
; URL=localhost:1099
> TC_DATASOURCE=MYDATASOURCE
> JNDI_FACTORY=org.jnp.interfaces.NamingContextFactory
> PKG_PREFIXES=org.jboss.naming
>
>
>
> It can not find the connection pool name
>
>
> Thanks for the help
>
>
>
&g
It can
not find the connection pool name
Thanks
for the help
-Original
Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Jae
GangemiSent: Tuesday, January 13, 2004 2:44 PMTo:
[EMAIL PROTECTED]Subject: RE: [JBoss-user] JNDI
quest
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret
KumlerSent: Tuesday, January 13, 2004 4:51 PMTo:
JbossSubject: [JBoss-user] JNDI question
I was wonder, with
the default installation of JBOSS, what is the jndi factory lookup for a
datasource, the url, usernam
r
[mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 1:51
PMTo: JbossSubject: [JBoss-user] JNDI
question
I was wonder, with
the default installation of JBOSS, what is the jndi factory lookup for a
datasource, the url, username and the password.
E.G. for
Webl
I was wonder, with
the default installation of JBOSS, what is the jndi factory lookup for a
datasource, the url, username and the password.
E.G. for
Weblogic:
private
Context getInitialContext(){
Properties properties = null; Context ctx
=null;
String
weblogic_url="t3:/
Title: RE: [JBoss-user] JNDI question
I've asked this one before but have not gotten around the problem so i'm re-asking. forgive me.
I start up JBOSS and things get loaded into JNDI (just strings)
Jboss uses them and they work just fine doing a ctx.lookup("name");
Title: RE: [JBoss-user] jndi question
oh. i did not think my posts were going through.
yes, i'm using initialContext. the jndi.properties always points to
my own machine.
the problem presents itself when i do a rebind("object", "newvalue");
whichever jvm doe
Well, it depends on what context the code inside the JBoss JVM is
executing in and on what the 'something' is. If it's in a J2EE component
(servlet, JSP, EJB) JBoss will give it an Environment Naming Context
(ENC) which contains JNDI entries that are mapped into the components
environment by w
ECTED]'
Subject: [JBoss-user] jndi question
why does ctx.lookup("something") give me one result from within the JBoss
JVM and a different result outside the JBoss JMV.
thanks,
frank
___
Don't miss the 20
Title: jndi question
why does ctx.lookup("something") give me one result from within the JBoss JVM and a different result outside the JBoss JMV.
thanks,
frank
> Hello!
Hello to you too.
> I have a problem accessing JNDI from standalone application. I run Jboss.
> And on the same machine I am trying to run my application. In the
> application:
> Hashtable props = new Hashtable();
> props.put("Context.INITIAL_CONTEXT_FACTORY",
"org.jnp.interfaces.Nami
Hello!
I have a problem accessing JNDI from standalone application. I run Jboss.
And on the same machine I am trying to run my application. In the
application:
Hashtable props = new Hashtable();
props.put("Context.INITIAL_CONTEXT_FACTORY",
"org.jnp.interfaces.NamingContextFactory"
15 matches
Mail list logo