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
Title: Message
if i'm
understanding your question properly, you define all the database information in
a datasource file which is then placed in
the
your deployment directory. (see docs/examples/jca for example data
sources)
when
jboss starts up, it reads the datasource and builds the app
Title: Message
You can use localhost as you're doing
with your weblogic stuff but better to use the configurable hostname:
jboss.bind.address
try
{ properties = new
Properties();
properties.put("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
properti
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
do they both have the same ctx? Are you using IntialContext? Does one method
have a different jndi.properties higher in the classpath than the other?
-l
-Original Message-
From: Starsinic, Frank [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 1:42 PM
To: '[EMAIL PROTECTED]'
S
> 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
11 matches
Mail list logo