Okie dokie.
Thanks,
Rod
-Original Message-
From: Alexey Loubyansky [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 2:56 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JNDI Name
No, you have to expose some interface yourself to access it remotely.
alex
Rod Macpherson
otely?
-Original Message-
From: Alexey Loubyansky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 4:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JNDI Name
Everything under 'java:/' is not remotely accessible.
alex
Rod Macpherson wrote:
JBoss is binding my datas
esday, August 27, 2003 4:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JNDI Name
Everything under 'java:/' is not remotely accessible.
alex
Rod Macpherson wrote:
> JBoss is binding my datasource just fine and my webapp works but
> trying
> to connect from a stand-alone clie
Everything under 'java:/' is not remotely accessible.
alex
Rod Macpherson wrote:
JBoss is binding my datasource just fine and my webapp works but trying
to connect from a stand-alone client outside of the server fails:
14:25:52,704 INFO [FoobarDS] Bound connection factory for resource
adapt
Title: Message
The
java:/ context is only available within the same VM as the
server.
--
Danny Yates
-Original Message-From: Rod Macpherson
[mailto:[EMAIL PROTECTED] Sent: 27 August 2003
00:12To: [EMAIL PROTECTED]Subject:
[JBoss-user] JNDI Name
JBoss is binding
Title: Message
JBoss is binding my
datasource just fine and my webapp works but trying to connect from a
stand-alone client outside of the server fails:
14:25:52,704
INFO [FoobarDS] Bound connection factory for resource adapter for
ConnectionManager 'jboss.jca:service=LocalTxCM,name=Foob
Hi,
My following DD:
BANFEJB
ejb/sap/ek/BANFEJB
ejb/sap/ek/local/BANFEJB
When I call the jndi-name, I get an exception. But when I call the "BANFEJB" with JNDI
I get the EJB. Whats wronge there?
Juraj
--
hi,
I have a simple BMP to test jboss and mysql, but the problem is, I can
access mysql server with the jboss specific database name java:/MySQL,
but can not when I change to java:comp/env/jdbc/MySQL. here is my jboss.xml:
.
jdbc/MySQL
java:/MySQL
Thanks a lot. Danch. Now, I am using: ctx.lookup("java:/Customer") and change
"java:/DefaultDS" to "java:/Customer", my lookup code works fine. So I assumed if i
change "java:/Customer" back to "java:/DefaultDS", I also can lookup for
"java:/DefaultDS".
I will try to use "java:comp/env/jdbc/Custmo
You're close! See comments inline below.
-danch
Christine wrote:
> Sorry for miscopy in my previous email!
>
> The code in my function is :
>javax.naming.Context ctx = new InitialContext();
>DataSource dbs = (DataSource) ctx.lookup("jdbc/Customer");
the name should be "java:comp/env/
I am sorry to confuse you by my mistake. I have a database in MySQL called Customer,
which is specified in jboss.jcml.
DefaultDS
org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
jdbc:mysql://localhost/Customer
Now, I wanted to use bind my database Customer to JNDI server with name
Why should jdbc/Customer be bound? if your code is in an ejb, you wouldn'
link from web.xml or jboss-web.xml but the ejb counterparts. If its in a
servlet, looks like you want to look up jdbc/MilosDataSource
david jencks
On 2002.03.01 18:44:41 -0500 Christine wrote:
> Hi, Since I didn't get any
Sorry for miscopy in my previous email!
The code in my function is :
javax.naming.Context ctx = new InitialContext();
DataSource dbs = (DataSource) ctx.lookup("jdbc/Customer");
Connection aConnection = dbs.getConnection();
Statement QStatment = aConnection.createStatement();
Result
Hi, Since I didn't get any reply, I am using another approach now. I
changed my Customer Entity Bean. I removed the findMaxID method and add a
function which uses JDBC connect to Database directly and get the largest
ID for that Customer table. But now, I am getting error to find connect to
the da
I haven't looked at the Castor stuff at all ever, but I suspect it uses
jndi binding because jndi is a required part of an app server whereas jmx
is not. This makes something using Castor not so jboss-specific.
However... I think the hot deploy is pretty jboss specific.
david jencks
On 2001.
MAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 5:10 PM
Subject: Re: [JBoss-user] JNDI name for J2eeDeployer?
> So what you guys are saying is I should do this:
>
> MBeanServer server = (MBeanServer)
> MBeanServerFactory.findMBeanServer(null).iterator(
So what you guys are saying is I should do this:
MBeanServer server = (MBeanServer)
MBeanServerFactory.findMBeanServer(null).iterator().next();
J2eeDeployer deployer = (J2eeDeployer)server.getObjectInstance(
"service=J2eeDeployer" );
Sorry about my misconception. I had based my understanding
On Mon, 17 Sep 2001, Scott M Stark wrote:
>
> There is no JNDI name for an MBean. Each MBean has a JMX ObjectName
> by which it is accessed through a MBeanServer instance. JMX makes
> no use of JNDI.
Well, the RI doesn't make use of JNDI. That doesn't mean an implementation
of JMX can't make us
ember 17, 2001 9:21 AM
Subject: [JBoss-user] JNDI name for J2eeDeployer?
> What is the JNDI name for the J2eeDeployer? I want to do:
>
> String deployerName = ???
>
> J2eeDeployer deployer = (J2eeDeployer)new InitialContext().lookup(
> deployerName );
>
> What is deployerName su
Find it as an mbean, I don't think it is or should be in jndi. You can see
how to do this from a client (from a server is almost the same, but
simpler) in the (rabbithole) testsuite//test/JBossTestServices.java
file. If you are doing this from a client, the Connector class may be in a
differ
What is the JNDI name for the J2eeDeployer? I want to do:
String deployerName = ???
J2eeDeployer deployer = (J2eeDeployer)new InitialContext().lookup(
deployerName );
What is deployerName supposed to be? In the JMX HTTP interface it is
listed under the J2EE heading with a hyper link of
"se
Hi,
having the jar files in the classpath without the DDs worked for me
Thanks to Scott M Stark
r
vahees
-Original Message-
From: Gianni Gottardi <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, May 31, 2001 4:35 PM
Subject: RE: [JBoss-use
Title: RE: [JBoss-user] JNDI name bindings are not working properly on deployment
OK.fine that means if I am to make available my
bean classes to my JSPs in embedded Tomcat, I have to make another jar file
without DDs and put then in the classpath..right?
ok..lemme try
that
vahees
Title: RE: [JBoss-user] JNDI name bindings are not working properly on deployment
You are talking about the OLD bean jndi. If you mean you've deployed a jar and all the jndi bindings were correct, then you changed something and restarted, but the changes don't seem to have effect.
Show your ejb-jar.xml and jboss.xml deployment descriptors.
- Original Message -
From: "Selvarajah Vahees" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 1:27 AM
Subject: [JBoss-user] JNDI name bindings are not working properly on depl
Sent: jeudi, 31. mai 2001 10:27
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JNDI name bindings are not working properly on
deployment
Hello folks,
I have a few EJBs and I am trying to deploy it on a JBoss2.2 with embedded
tomcat3.2.1.
My deployment goes fine. But my JNDI name bindings are not
Hello folks,
I have a few EJBs and I am trying to deploy it on a JBoss2.2 with embedded
tomcat3.2.1.
My deployment goes fine. But my JNDI name bindings are not getting place. It
always puts one of my OLD bean JNDI on the Namespace. And also all my beans
are getting that beans Namespace,which I
Hello folks,
I have a few EJBs and I am trying to deploy it on a JBoss2.2 with embedded
tomcat3.2.1.
My deployment goes fine. But my JNDI name bindings are not getting place. It
always puts one of my OLD bean JNDI on the Namespace. And also all my beans
are getting that beans Namespace,which I f
Hi All,
I would like to get all available JNDI name
on the sever. How can I do it? Is there an
example code for a client?
Thanks in advance.
__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
__
rate the InitialContexts under a single JNDI provider to create a
single
JNDI namespace spanning multiple providers. You could use the
ExternalContext
mbean in JBoss to do this.
==
- Original Message -
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROT
You are supposed to define ejb-refs for any bean you access. This is
specified in the chapter 14 of the EJB 1.1 spec.
- Original Message -
From: "Fredrik Ålund" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 4:15 AM
Subject: SV: [JBoss-u
Scott M Stark
Skickat: den 9 april 2001 12:27
Till: [EMAIL PROTECTED]
Ämne: Re: [JBoss-user] JNDI name for EJB from another EJB
Your not declaring an ejb-ref in your ejb-jar.xml descriptor as required:
ejb/Actors
Session
Ålund" <[EMAIL PROTECTED]>
To: "Jboss-User" <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 2:31 AM
Subject: [JBoss-user] JNDI name for EJB from another EJB
Hi,
As I understand it, when calling an EJB from another EJB you should use
java:comp/env/ejb/EJBNAME, but this
Hi,
As I understand it, when calling an EJB from another EJB you should use
java:comp/env/ejb/EJBNAME, but this doesn't work for me.
I have one EnityBean called Actor and a SessionBean called ActorSB. From
within the ActorSB I want to invoke Actor. When I use the non commented
pease of code belo
34 matches
Mail list logo