context : migrating the application from websphere to jboss application server
Problem : web sphere allows name space binding using the admin console as shown below 1. Select Environment > Naming > Name Space Bindings 2. Select 'Server : server1' 3. Click 'Apply' 4. Click 'New' 5. Binding type 'String', Next 6. Binding Identifier 'myproperty Url' 7. Name in Name Space 'myPropertyUrl' 8. String Value file:///C:/dev/abc/abc_sources/abc/src/test/resources/abc.properties Next 9. Finish 10. Save i am accessing this property value in spring application context file as shown in the below snippet. <bean id="propertyUrl" | class="org.springframework.jndi.JndiObjectFactoryBean"> | <property name="jndiName"> | <value>myPropertyUrl</value> | </property> | </bean> after migration , jboss is throwing the below mentioned exception with out the mypropertyUrl configuration. javax.naming.NameNotFoundException: myPropertyUrl not bound javax.naming.NameNotFoundException: myPropertyUrl not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) ........................ .......................... ...... how can i get rid of this exception in Jboss ? how can i configure the mypropertyUrl as a jndi key in jboss ? please let me know if you need any further information about the issue. Thanks & Regards Yughandhar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205238#4205238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205238 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user