RE: [JBoss-user] env-entry JDNI name

2001-04-20 Thread Deadman, Hal

I think I am losing my mind. I don't know what I saw that made me think the
jboss-web.xml support was in tomcat40. I must have been looking at the code
from jboss/contrib/tomcat which is for 3.2. Anyway, my original post about
support for jboss-web.xml in tomcat40 still stands, although my confidence
is shaken. Sorry.

Hal

> -Original Message-
> From: Deadman, Hal
> Sent: Friday, April 20, 2001 11:06 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] env-entry JDNI name
>
>
> Nevermind, pre-mature posting. The support for jboss-web.xml
> is already in
> Tomcat4.0. I didn't expect to find Jboss in the Tomcat code-base but I
> continue to be pleasantly suprised by Jboss and Tomcat.
>
> Thanks, Hal
>
> > -Original Message-
> > From: Hal Deadman [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 20, 2001 10:48 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [JBoss-user] env-entry JDNI name
> >
> >
> > As far as I can tell jboss-web.xml only exists for tomcat
> > 3.2. It seems like weblogic relies on the jndi-name entries
> > in weblogic.xml to do jndi lookups of EJBs from a webapp, and
> > I presume jboss would need the same thing. Since there
> > doesn't appear to be a jboss-web.xml for the embedded
> > Catalina/Tomcat 4.0, I am having trouble doing lookups. (I
> > had the lookups working before but I switched to doing all my
> > lookups with "java:comp/env/ejb/SomeBean", and I would like
> > to keep it that way since I got it to work in weblogic with
> > some difficulty)
> >
> > Does embedded Tomcat 4.0 eventually need to support
> > jboss-web.xml? If so, if nobody is working on it, let me know
> > and I will look into trying to add it. I am new to tomcat,
> > jboss, and jndi but I might be able to borrow code from
> > contrib/tomcat.
> >
> > Thanks,
> > Hal
> >
> > > -Original Message-
> > > From: Mike Hoolehan [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, April 19, 2001 10:19 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [JBoss-user] env-entry JDNI name
> > >
> > >
> > > An empty jboss-web.xml in WEB-INF.  By empty I mean the file
> > > consists of:
> > >
> > > 
> > > 
> > >
> > > as Darrin suggested below.
> > >
> > > On Wed, Apr 18, 2001 at 04:06:33PM -0700, Jason Dillon wrote:
> > > > Is this an empty  element or an empty jboss.xml (or
> > > > jboss-web.xml) file in WEB-INF/?
> > > >
> > > > --jason
> > > >
> > > >
> > > > On Wed, 18 Apr 2001, Mike Hoolehan wrote:
> > > >
> > > > > Thanks for the help everyone.  Darrin pinpointed the problem.
> > > > >
> > > > > The comp/env namespace seemed to work for for env-entries
> > > declared in
> > > > > my ejb-jar.xml file, but i could not access the comp/env
> > > entries declared
> > > > > in my web.xml unless that "empty" jboss-web was also there.
> > > > >
> > > > > Thanks.
> > > > >
> > > > > Mike
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Apr 18, 2001 at 03:16:38PM -0500, root wrote:
> > > > > > Mike Hoolehan <[EMAIL PROTECTED]> writes:
> > > > > >
> > > > > > > I'm attempting to use the  tag in my
> > > web.xml descriptor of a j2ee app to define some constants.
> > Like this:
> > > > > > >
> > > > > > > 
> > > > > > > Hex code for highlight
> color
> > > > > > > htmlHighlightColor
> > > > > > > #FF
> > > > > > > java.lang.String
> > > > > > >  
> > > > > > >
> > > > > > > As the app is deployed, I see this in the log:
> > > > > > > ...
> > > > > > > 2001-04-11 09:39:23 - ContextManager: Adding context
> > > Ctx( /mbz-test )
> > > > > > > [Auto deploy] Add env-entry htmlHighlightColor
> > > java.lang.String #FF Hex code for highlight color
> > > > > > > ...
> > > > > > >
> > > > > > > Looks good.. But under what JDNI name is this?
> > > java:/comp/env/htmlHighlightColor doesn't work, plain
> > > htmlHighlightColor doesn't work, using
&g

RE: [JBoss-user] env-entry JDNI name

2001-04-20 Thread Deadman, Hal

Nevermind, pre-mature posting. The support for jboss-web.xml is already in
Tomcat4.0. I didn't expect to find Jboss in the Tomcat code-base but I
continue to be pleasantly suprised by Jboss and Tomcat.

Thanks, Hal

> -Original Message-
> From: Hal Deadman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 20, 2001 10:48 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [JBoss-user] env-entry JDNI name
>
>
> As far as I can tell jboss-web.xml only exists for tomcat
> 3.2. It seems like weblogic relies on the jndi-name entries
> in weblogic.xml to do jndi lookups of EJBs from a webapp, and
> I presume jboss would need the same thing. Since there
> doesn't appear to be a jboss-web.xml for the embedded
> Catalina/Tomcat 4.0, I am having trouble doing lookups. (I
> had the lookups working before but I switched to doing all my
> lookups with "java:comp/env/ejb/SomeBean", and I would like
> to keep it that way since I got it to work in weblogic with
> some difficulty)
>
> Does embedded Tomcat 4.0 eventually need to support
> jboss-web.xml? If so, if nobody is working on it, let me know
> and I will look into trying to add it. I am new to tomcat,
> jboss, and jndi but I might be able to borrow code from
> contrib/tomcat.
>
> Thanks,
> Hal
>
> > -Original Message-
> > From: Mike Hoolehan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 19, 2001 10:19 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-user] env-entry JDNI name
> >
> >
> > An empty jboss-web.xml in WEB-INF.  By empty I mean the file
> > consists of:
> >
> > 
> > 
> >
> > as Darrin suggested below.
> >
> > On Wed, Apr 18, 2001 at 04:06:33PM -0700, Jason Dillon wrote:
> > > Is this an empty  element or an empty jboss.xml (or
> > > jboss-web.xml) file in WEB-INF/?
> > >
> > > --jason
> > >
> > >
> > > On Wed, 18 Apr 2001, Mike Hoolehan wrote:
> > >
> > > > Thanks for the help everyone.  Darrin pinpointed the problem.
> > > >
> > > > The comp/env namespace seemed to work for for env-entries
> > declared in
> > > > my ejb-jar.xml file, but i could not access the comp/env
> > entries declared
> > > > in my web.xml unless that "empty" jboss-web was also there.
> > > >
> > > > Thanks.
> > > >
> > > > Mike
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, Apr 18, 2001 at 03:16:38PM -0500, root wrote:
> > > > > Mike Hoolehan <[EMAIL PROTECTED]> writes:
> > > > >
> > > > > > I'm attempting to use the  tag in my
> > web.xml descriptor of a j2ee app to define some constants.
> Like this:
> > > > > >
> > > > > > 
> > > > > > Hex code for highlight color
> > > > > > htmlHighlightColor
> > > > > > #FF
> > > > > > java.lang.String
> > > > > >  
> > > > > >
> > > > > > As the app is deployed, I see this in the log:
> > > > > > ...
> > > > > > 2001-04-11 09:39:23 - ContextManager: Adding context
> > Ctx( /mbz-test )
> > > > > > [Auto deploy] Add env-entry htmlHighlightColor
> > java.lang.String #FF Hex code for highlight color
> > > > > > ...
> > > > > >
> > > > > > Looks good.. But under what JDNI name is this?
> > java:/comp/env/htmlHighlightColor doesn't work, plain
> > htmlHighlightColor doesn't work, using
> > application.getAttribute("htmlHighlightColor") doesn't work
> > in jsp.  I don't see the entry with the JNDIView mbean...
> > > > > >
> > > > >
> > > > > This file needs to be read by jBoss as well as Tomcat
> > for some reason. It won't happen unless there is also at
> > least an "empty" jboss-web.xml file in your WEB-INF directory.
> > > > >
> > > > > I think this will work:
> > > > >
> > > > > 
> > > > > 
> > > > >
> > > > > Darrin
> > > > >
> > > > > ___
> > > > > JBoss-user mailing list
> > > > > [EMAIL PROTECTED]
> > > > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > > >
> > > >
> > >
> > >
> > > ___
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> > --
> > Mike Hoolehan
> > Sycamore Associates, Inc.
> > [EMAIL PROTECTED]
> > 301.668.4681x103
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>

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



RE: [JBoss-user] env-entry JDNI name

2001-04-20 Thread Deadman, Hal

As far as I can tell jboss-web.xml only exists for tomcat 3.2. It seems like
weblogic relies on the jndi-name entries in weblogic.xml to do jndi lookups
of EJBs from a webapp, and I presume jboss would need the same thing. Since
there doesn't appear to be a jboss-web.xml for the embedded Catalina/Tomcat
4.0, I am having trouble doing lookups. (I had the lookups working before
but I switched to doing all my lookups with "java:comp/env/ejb/SomeBean",
and I would like to keep it that way since I got it to work in weblogic with
some difficulty)

Does embedded Tomcat 4.0 eventually need to support jboss-web.xml? If so, if
nobody is working on it, let me know and I will look into trying to add it.
I am new to tomcat, jboss, and jndi but I might be able to borrow code from
contrib/tomcat.

Thanks,
Hal

> -Original Message-
> From: Mike Hoolehan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 10:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] env-entry JDNI name
>
>
> An empty jboss-web.xml in WEB-INF.  By empty I mean the file
> consists of:
>
> 
> 
>
> as Darrin suggested below.
>
> On Wed, Apr 18, 2001 at 04:06:33PM -0700, Jason Dillon wrote:
> > Is this an empty  element or an empty jboss.xml (or
> > jboss-web.xml) file in WEB-INF/?
> >
> > --jason
> >
> >
> > On Wed, 18 Apr 2001, Mike Hoolehan wrote:
> >
> > > Thanks for the help everyone.  Darrin pinpointed the problem.
> > >
> > > The comp/env namespace seemed to work for for env-entries
> declared in
> > > my ejb-jar.xml file, but i could not access the comp/env
> entries declared
> > > in my web.xml unless that "empty" jboss-web was also there.
> > >
> > > Thanks.
> > >
> > > Mike
> > >
> > >
> > >
> > >
> > > On Wed, Apr 18, 2001 at 03:16:38PM -0500, root wrote:
> > > > Mike Hoolehan <[EMAIL PROTECTED]> writes:
> > > >
> > > > > I'm attempting to use the  tag in my
> web.xml descriptor of a j2ee app to define some constants.  Like this:
> > > > >
> > > > > 
> > > > > Hex code for highlight color
> > > > > htmlHighlightColor
> > > > > #FF
> > > > > java.lang.String
> > > > >  
> > > > >
> > > > > As the app is deployed, I see this in the log:
> > > > > ...
> > > > > 2001-04-11 09:39:23 - ContextManager: Adding context
> Ctx( /mbz-test )
> > > > > [Auto deploy] Add env-entry htmlHighlightColor
> java.lang.String #FF Hex code for highlight color
> > > > > ...
> > > > >
> > > > > Looks good.. But under what JDNI name is this?
> java:/comp/env/htmlHighlightColor doesn't work, plain
> htmlHighlightColor doesn't work, using
> application.getAttribute("htmlHighlightColor") doesn't work
> in jsp.  I don't see the entry with the JNDIView mbean...
> > > > >
> > > >
> > > > This file needs to be read by jBoss as well as Tomcat
> for some reason. It won't happen unless there is also at
> least an "empty" jboss-web.xml file in your WEB-INF directory.
> > > >
> > > > I think this will work:
> > > >
> > > > 
> > > > 
> > > >
> > > > Darrin
> > > >
> > > > ___
> > > > JBoss-user mailing list
> > > > [EMAIL PROTECTED]
> > > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> > >
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
> --
> Mike Hoolehan
> Sycamore Associates, Inc.
> [EMAIL PROTECTED]
> 301.668.4681x103
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>

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



Re: [JBoss-user] env-entry JDNI name

2001-04-19 Thread Mike Hoolehan

An empty jboss-web.xml in WEB-INF.  By empty I mean the file consists of:




as Darrin suggested below.

On Wed, Apr 18, 2001 at 04:06:33PM -0700, Jason Dillon wrote:
> Is this an empty  element or an empty jboss.xml (or
> jboss-web.xml) file in WEB-INF/?
> 
> --jason
> 
> 
> On Wed, 18 Apr 2001, Mike Hoolehan wrote:
> 
> > Thanks for the help everyone.  Darrin pinpointed the problem.
> >
> > The comp/env namespace seemed to work for for env-entries declared in
> > my ejb-jar.xml file, but i could not access the comp/env entries declared
> > in my web.xml unless that "empty" jboss-web was also there.
> >
> > Thanks.
> >
> > Mike
> >
> >
> >
> >
> > On Wed, Apr 18, 2001 at 03:16:38PM -0500, root wrote:
> > > Mike Hoolehan <[EMAIL PROTECTED]> writes:
> > >
> > > > I'm attempting to use the  tag in my web.xml descriptor of a j2ee 
>app to define some constants.  Like this:
> > > >
> > > > 
> > > > Hex code for highlight color
> > > > htmlHighlightColor
> > > > #FF
> > > > java.lang.String
> > > >  
> > > >
> > > > As the app is deployed, I see this in the log:
> > > > ...
> > > > 2001-04-11 09:39:23 - ContextManager: Adding context Ctx( /mbz-test )
> > > > [Auto deploy] Add env-entry htmlHighlightColor  java.lang.String #FF Hex 
>code for highlight color
> > > > ...
> > > >
> > > > Looks good.. But under what JDNI name is this?  
>java:/comp/env/htmlHighlightColor doesn't work, plain htmlHighlightColor doesn't 
>work, using application.getAttribute("htmlHighlightColor") doesn't work in jsp.  I 
>don't see the entry with the JNDIView mbean...
> > > >
> > >
> > > This file needs to be read by jBoss as well as Tomcat for some reason. It won't 
>happen unless there is also at least an "empty" jboss-web.xml file in your WEB-INF 
>directory.
> > >
> > > I think this will work:
> > >
> > > 
> > > 
> > >
> > > Darrin
> > >
> > > ___
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
Mike Hoolehan
Sycamore Associates, Inc.
[EMAIL PROTECTED]
301.668.4681x103

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



Re: [JBoss-user] env-entry JDNI name

2001-04-18 Thread Jason Dillon

Is this an empty  element or an empty jboss.xml (or
jboss-web.xml) file in WEB-INF/?

--jason


On Wed, 18 Apr 2001, Mike Hoolehan wrote:

> Thanks for the help everyone.  Darrin pinpointed the problem.
>
> The comp/env namespace seemed to work for for env-entries declared in
> my ejb-jar.xml file, but i could not access the comp/env entries declared
> in my web.xml unless that "empty" jboss-web was also there.
>
> Thanks.
>
> Mike
>
>
>
>
> On Wed, Apr 18, 2001 at 03:16:38PM -0500, root wrote:
> > Mike Hoolehan <[EMAIL PROTECTED]> writes:
> >
> > > I'm attempting to use the  tag in my web.xml descriptor of a j2ee app 
>to define some constants.  Like this:
> > >
> > > 
> > > Hex code for highlight color
> > > htmlHighlightColor
> > > #FF
> > > java.lang.String
> > >  
> > >
> > > As the app is deployed, I see this in the log:
> > > ...
> > > 2001-04-11 09:39:23 - ContextManager: Adding context Ctx( /mbz-test )
> > > [Auto deploy] Add env-entry htmlHighlightColor  java.lang.String #FF Hex 
>code for highlight color
> > > ...
> > >
> > > Looks good.. But under what JDNI name is this?  
>java:/comp/env/htmlHighlightColor doesn't work, plain htmlHighlightColor doesn't 
>work, using application.getAttribute("htmlHighlightColor") doesn't work in jsp.  I 
>don't see the entry with the JNDIView mbean...
> > >
> >
> > This file needs to be read by jBoss as well as Tomcat for some reason. It won't 
>happen unless there is also at least an "empty" jboss-web.xml file in your WEB-INF 
>directory.
> >
> > I think this will work:
> >
> > 
> > 
> >
> > Darrin
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>


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



Re: [JBoss-user] env-entry JDNI name

2001-04-18 Thread Mike Hoolehan

Thanks for the help everyone.  Darrin pinpointed the problem.  

The comp/env namespace seemed to work for for env-entries declared in my ejb-jar.xml 
file, but i could not access the comp/env entries declared in my web.xml unless that 
"empty" jboss-web was also there.

Thanks.

Mike   




On Wed, Apr 18, 2001 at 03:16:38PM -0500, root wrote:
> Mike Hoolehan <[EMAIL PROTECTED]> writes:
> 
> > I'm attempting to use the  tag in my web.xml descriptor of a j2ee app 
>to define some constants.  Like this:
> > 
> > 
> > Hex code for highlight color
> > htmlHighlightColor
> > #FF
> > java.lang.String
> >  
> > 
> > As the app is deployed, I see this in the log:
> > ...
> > 2001-04-11 09:39:23 - ContextManager: Adding context Ctx( /mbz-test )
> > [Auto deploy] Add env-entry htmlHighlightColor  java.lang.String #FF Hex code 
>for highlight color
> > ...
> > 
> > Looks good.. But under what JDNI name is this?  java:/comp/env/htmlHighlightColor 
>doesn't work, plain htmlHighlightColor doesn't work, using 
>application.getAttribute("htmlHighlightColor") doesn't work in jsp.  I don't see the 
>entry with the JNDIView mbean...
> > 
> 
> This file needs to be read by jBoss as well as Tomcat for some reason. It won't 
>happen unless there is also at least an "empty" jboss-web.xml file in your WEB-INF 
>directory.
> 
> I think this will work:
> 
> 
> 
> 
> Darrin
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
Mike Hoolehan
Sycamore Associates, Inc.
[EMAIL PROTECTED]
301.668.4681x103

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



Re: [JBoss-user] env-entry JDNI name

2001-04-18 Thread root

Mike Hoolehan <[EMAIL PROTECTED]> writes:

> I'm attempting to use the  tag in my web.xml descriptor of a j2ee app to 
>define some constants.  Like this:
> 
> 
> Hex code for highlight color
> htmlHighlightColor
> #FF
> java.lang.String
>  
> 
> As the app is deployed, I see this in the log:
> ...
> 2001-04-11 09:39:23 - ContextManager: Adding context Ctx( /mbz-test )
> [Auto deploy] Add env-entry htmlHighlightColor  java.lang.String #FF Hex code 
>for highlight color
> ...
> 
> Looks good.. But under what JDNI name is this?  java:/comp/env/htmlHighlightColor 
>doesn't work, plain htmlHighlightColor doesn't work, using 
>application.getAttribute("htmlHighlightColor") doesn't work in jsp.  I don't see the 
>entry with the JNDIView mbean...
> 

This file needs to be read by jBoss as well as Tomcat for some reason. It won't happen 
unless there is also at least an "empty" jboss-web.xml file in your WEB-INF directory.

I think this will work:




Darrin

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



Re: [JBoss-user] env-entry JDNI name

2001-04-17 Thread Alexander Kogan

Mike Hoolehan wrote:
> 
> Looks good.. But under what JDNI name is this?  java:/comp/env/htmlHighlightColor 
>doesn't work, plain 

perhaps java:comp/env/htmlHighlightColor will?
 ^
 |
 |




-- 
__
Alexander Kogan  PTC   www.ptc.com
[EMAIL PROTECTED]140 Kendrick St. Needham MA 02494

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



Re: [JBoss-user] env-entry JDNI name

2001-04-17 Thread Victor Lan

java:comp/env is the right context.

Where are you doing lookup from?  Make sure your servlet's init() is 
called before you do the lookup.

Victor

- Original Message -
From: Mike Hoolehan <[EMAIL PROTECTED]>
Date: Tuesday, April 17, 2001 1:41 pm
Subject: [JBoss-user] env-entry JDNI name

> I'm attempting to use the  tag in my web.xml descriptor 
> of a j2ee app to define some constants.  Like this:
> 
> 
>Hex code for highlight color
>htmlHighlightColor
>#FF
>java.lang.String
> 
> 
> As the app is deployed, I see this in the log:
> ...
> 2001-04-11 09:39:23 - ContextManager: Adding context Ctx( /mbz-
> test )
> [Auto deploy] Add env-entry htmlHighlightColor  java.lang.String 
> #FF Hex code for highlight color
> ...
> 
> Looks good.. But under what JDNI name is this?  
> java:/comp/env/htmlHighlightColor doesn't work, plain 
> htmlHighlightColor doesn't work, using 
> application.getAttribute("htmlHighlightColor") doesn't work in 
> jsp.  I don't see the entry with the JNDIView mbean...
> 
> I've seen some mention on the mailing list of needing to use jboss-
> web.xml to use the comp/env names, but haven't been able to 
> pinpoint any specific documentation.  
> 
> 
> Running jboss pre 2.1, tomcat 3.2.1
> 
> Mike
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


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



Re: [JBoss-user] env-entry JDNI name

2001-04-17 Thread danch

try java:comp/env/htmlHighlightColor (without the slash)

If that doesn't work we'll have to address that documentation issue
(once i've figured out what needs doing, anyway) 8^})

-danch

Mike Hoolehan wrote:
> 
> I'm attempting to use the  tag in my web.xml descriptor of a j2ee app to 
>define some constants.  Like this:
> 
> 
> Hex code for highlight color
> htmlHighlightColor
> #FF
> java.lang.String
>  
> 
> As the app is deployed, I see this in the log:
> ...
> 2001-04-11 09:39:23 - ContextManager: Adding context Ctx( /mbz-test )
> [Auto deploy] Add env-entry htmlHighlightColor  java.lang.String #FF Hex code 
>for highlight color
> ...
> 
> Looks good.. But under what JDNI name is this?  java:/comp/env/htmlHighlightColor 
>doesn't work, plain htmlHighlightColor doesn't work, using 
>application.getAttribute("htmlHighlightColor") doesn't work in jsp.  I don't see the 
>entry with the JNDIView mbean...
> 
> I've seen some mention on the mailing list of needing to use jboss-web.xml to use 
>the comp/env names, but haven't been able to pinpoint any specific documentation.
> 
> Running jboss pre 2.1, tomcat 3.2.1
> 
> Mike
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
Confidential e-mail for addressee only.  Access to this e-mail by anyone else is 
unauthorized.
If you have received this message in error, please notify the sender immediately by 
reply e-mail 
and destroy the original communication.


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



[JBoss-user] env-entry JDNI name

2001-04-17 Thread Mike Hoolehan

I'm attempting to use the  tag in my web.xml descriptor of a j2ee app to 
define some constants.  Like this:


Hex code for highlight color
htmlHighlightColor
#FF
java.lang.String
 

As the app is deployed, I see this in the log:
...
2001-04-11 09:39:23 - ContextManager: Adding context Ctx( /mbz-test )
[Auto deploy] Add env-entry htmlHighlightColor  java.lang.String #FF Hex code for 
highlight color
...

Looks good.. But under what JDNI name is this?  java:/comp/env/htmlHighlightColor 
doesn't work, plain htmlHighlightColor doesn't work, using 
application.getAttribute("htmlHighlightColor") doesn't work in jsp.  I don't see the 
entry with the JNDIView mbean...

I've seen some mention on the mailing list of needing to use jboss-web.xml to use the 
comp/env names, but haven't been able to pinpoint any specific documentation.  


Running jboss pre 2.1, tomcat 3.2.1

Mike

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