I've written a stateful session bean, and according to the console, it is
deployed OK, but doesn't appear to be bound to a JNDI name. Is there an
extra step needed to bind a stateful session bean?
--
--
To subscribe:[EMAIL
Does your jboss.xml contain an entry for the "Default EntityBean"
configuration?
- Original Message -
From: "Ken Jenks" [EMAIL PROTECTED]
To: "jBoss" [EMAIL PROTECTED]
Sent: Monday, July 31, 2000 2:01 AM
Subject: Re: [jBoss-User] Need Help with Monson-Haefel EJB BookTitanExamples
Now
"Luan O'Carroll" [EMAIL PROTECTED] asked:
Does your jboss.xml contain an entry for the "Default EntityBean"
configuration?
Yes. Here's the whole thing.
jboss
enterprise-beans
entity
ejb-nameCabinBean/ejb-name
jndi-nameCabinBean/jndi-name
configuration-nameDefault
Ken,
Shouldn't the element configuration-name have a value of "BMP EntityBean"
or "CMP EntityBean" ( depending on the type Entity bean you have created )
instead of "Default EntityBean".
--Navjeet
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ken
I'm not having any major issues for a change. I have found that the run.bat
doesn't work for me (and for most Windows users), but executing "java -jar
run.jar" inside of run.bat (instead of the old stuff) works just fine.
-Original Message-
From: marc fleury [mailto:[EMAIL PROTECTED]]
In the testbeans the BMP Entity Bean gets a connection as follows
Connection connection = ((DataSource)
namingContext.lookup("java:comp/env/jdbc/myDatabase")).getConnection();
and the ejb-jar.xml file contains
resource-ref
descriptionA jdbc connection for the BMP
I am trying to run the InterestClient example and Im getting this message:
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jnp.interf
aces.NamingContextFactory [Root exception is
java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
does anyone
I am trying to run the InterestClient example and Im getting this message:
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jnp.interf
aces.NamingContextFactory [Root exception is
java.lang.ClassNotFoundException: o
Are the
I believe I read somewhere in a FAQ or tutorial that spaces in the path
name (such as "Program Files") would break jBoss. I think it's safe to
assume that is what was wrong in your instance.
On other note, on the site it says that jBoss 2 runs in JDK1.2.2 when in
fact the AutoLoader uses
send me your code and xml. I need to see a clear example of this.
marc
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ray
Sent: Monday, July 31, 2000 12:14 AM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Are stateful session beans supported?
Marc I had this happen before the binary (we really need build numbers).
Stateful session beans with no jboss.xml simply wouldn't bind. Never made
good sense.
-Original Message-
From: marc fleury [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 6:04 PM
To: jBoss
Subject: RE:
Again TestBeans stateful session beans with no jboss.xml bind fine for me so
I have no way of troubleshooting this.
Let's stop this streak of "is SSB supported" it's annoying, send me a clear
example that I can troubleshoot.
Just send me you .jar (privately) and I will try to take a look at it
You can configure jBoss to run in JDK 1.2.2. The default
configuration is 1.3-only. This fact, and the procedure for changing the
configuration, should be included in the FAQ. Who maintains the FAQ these
days?
Aaron
On Mon, 31 Jul 2000, Ryan Marsh wrote:
I believe I read somewhere
You specify which JDBC URL to use for your data source in
jboss.conf and/or jboss.jcml. You can follow the "Minerva" link on the
left sidebar of www.jboss.org to get the procedure for configuring a
database pool. Once jBoss is loading your pool, you add entries to
jboss.xml for each
"Josh Zeidner" [EMAIL PROTECTED] asked:
I am trying to run the InterestClient example and Im getting this message:
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jnp.interfaces.NamingContextFactory [Root exception is
java.lang.ClassNotFoundException:
15 matches
Mail list logo