Re: [JBoss-user] Problem Getting Something Stored in env-entry

2002-02-23 Thread Hunter Hillegas

Yup, that was it. Telling JBoss to validate had me fixed up in about 5
minutes.

Thanks,
Hunter

> From: "Scott M Stark" <[EMAIL PROTECTED]>
> Organization: JBoss Group
> Reply-To: "Scott M Stark" <[EMAIL PROTECTED]>
> Date: Fri, 22 Feb 2002 18:35:25 -0800
> To: "JBoss 2" <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-user] Problem Getting Something Stored in env-entry
> 
> I would guess your ejb-jar.xml is not correct. Turn on validation
> of the dtd by setting the ValidateDTDs to true and include the
> correct DOCTYPE in the ejb-jar.xml descriptor.
> 
>  name=":service=ContainerFactory">
>   true
>   true
>   false
>   true
>   false
> 
> 
> 
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> 
> - Original Message -
> From: "Hunter Hillegas" <[EMAIL PROTECTED]>
> To: "JBoss 2" <[EMAIL PROTECTED]>
> Sent: Friday, February 22, 2002 3:20 PM
> Subject: [JBoss-user] Problem Getting Something Stored in env-entry
> 
> 
>> I am storing a value in the env via my ejb-jar.xml file as follows:
>> 
>> 
>> clientName
>> java.lang.String
>> groundswell
>> 
>> 
>> When I try to look it up in my bean like this:
>> 
>> String clientName =
> (String)jndiContext.lookup("java:comp/env/clientName");
>> 
>> I get this:
>> 
>> javax.naming.NameNotFoundException: clientName not bound
>> 
>> According to a couple of my J2EE books, java:comp/env/ is where that stuff
>> should be stored... So what am I doing wrong?
>> 
>> Peeking in with JNDI view, I don't see my value anywhere in the tree...
>> 
>> Hunter
>> 
>> 
>> ___
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/jboss-user
>> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Problem Getting Something Stored in env-entry

2002-02-22 Thread Scott M Stark

I would guess your ejb-jar.xml is not correct. Turn on validation
of the dtd by setting the ValidateDTDs to true and include the
correct DOCTYPE in the ejb-jar.xml descriptor.

  
true
true
false
true
false
  


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message -
From: "Hunter Hillegas" <[EMAIL PROTECTED]>
To: "JBoss 2" <[EMAIL PROTECTED]>
Sent: Friday, February 22, 2002 3:20 PM
Subject: [JBoss-user] Problem Getting Something Stored in env-entry


> I am storing a value in the env via my ejb-jar.xml file as follows:
>
> 
> clientName
> java.lang.String
> groundswell
> 
>
> When I try to look it up in my bean like this:
>
> String clientName =
(String)jndiContext.lookup("java:comp/env/clientName");
>
> I get this:
>
> javax.naming.NameNotFoundException: clientName not bound
>
> According to a couple of my J2EE books, java:comp/env/ is where that stuff
> should be stored... So what am I doing wrong?
>
> Peeking in with JNDI view, I don't see my value anywhere in the tree...
>
> Hunter
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Problem Getting Something Stored in env-entry

2002-02-22 Thread Hunter Hillegas

I am storing a value in the env via my ejb-jar.xml file as follows:


clientName
java.lang.String
groundswell


When I try to look it up in my bean like this:

String clientName = (String)jndiContext.lookup("java:comp/env/clientName");

I get this:

javax.naming.NameNotFoundException: clientName not bound

According to a couple of my J2EE books, java:comp/env/ is where that stuff
should be stored... So what am I doing wrong?

Peeking in with JNDI view, I don't see my value anywhere in the tree...

Hunter


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user