[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIBindingServiceMgr View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953999#3953999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953999 Using Tomcat but need to do more? Need to

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread Gunark
[EMAIL PROTECTED] wrote : http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIBindingServiceMgr So I been trying to do it this way (the MBean JMX crap I mentioned above is kind of a mess), but I can't figure out how to bind an object (just a POJO with some properties set). The examples in the wiki

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread Gunark
Okay so looks like something like this works: jndi:binding name=config/CASConfig | jndi:value editor=org.jboss.util.propertyeditor.PropertiesEditor | casLogin=https://localhost:8443/cas/login |

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread Gunark
Okay, so my final solution for programmatically setting up CAS via JNDI in JBoss: web.xml config for the application with the CAS filter looks like this: filter | filter-nameCAS Filter/filter-name | filter-classcom.discursive.cas.extend.client.filter.CASFilter/filter-class |

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-28 Thread [EMAIL PROTECTED]
Gunark wrote : Okay so looks like something like this works: | | jndi:binding name=config/CASConfig | | jndi:value editor=org.jboss.util.propertyeditor.PropertiesEditor | | casLogin=https://localhost:8443/cas/login | |

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-27 Thread Gunark
For anyone interested, the answer turned out to be manual JNDI binding via JMX service MBeans. Basically I have a JMX MBean that manually binds the object I needed bound to JNDI in its create() method. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-26 Thread jaikiran
Have a look ath env-entry in ejb-jar.xml dtd: http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd Here's an brief extract: anonymous wrote : !-- | The env-entry element contains the declaration of an enterprise bean's | environment entries. The declaration consists of an optional |

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-26 Thread Gunark
From what I understand, env-entry only lets you reference instances of Integers, Floats, and other primitive wrappers. I don't think this is what I'm looking for. Once again, all I want is for an instance of some arbitrary class to be available under a global jndi name. So that when the app is

[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name

2006-06-23 Thread Gunark
Oops, second code block should be: ResourceLink name=example/MyExample | global=example/MyExample | type=com.example.MyExample/ (not that it really matters) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953099#3953099