• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

??NameNotFoundException: interest not bound

 
Author
Posts: 133
10
Android Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running JBoss 4.0 on Windows 2000 with examples from some older JBoss documentation (with an interest calculating example). My build.xml file contains the following text:
<path id="base.path_22">
<!-- Barry commented out next line and added following line as
per instructions on jboss forum -->
<!-- pathelement location="${jboss.dist}/client/ejb.jar"/ -->
<pathelement location="${jboss.dist}/client/jboss-j2ee.jar"/>
<!-- End of what Barry did -->
<pathelement location="${jboss.dist}/client/jaas.jar"/>
<pathelement location="${jboss.dist}/client/jbosssx-client.jar"/>
<pathelement location="${jboss.dist}/client/jboss-client.jar"/>
<pathelement location="${jboss.dist}/client/jnp-client.jar"/>
<pathelement location="${servlet.jar}"/>
<!-- Barry added the following: -->
<pathelement
location="${jboss.dist}/client/jboss-common-client.jar"/>
<pathelement location="${jboss.dist}/client/log4j.jar"/>
<!-- End of what Barry added -->
</path>
<path id="base.path_24">
<pathelement location="${jboss.dist}/client/jboss-j2ee.jar"/>
<pathelement location="${jboss.dist}/client/jaas.jar"/>
<pathelement location="${jboss.dist}/client/jbosssx-client.jar"/>
<pathelement location="${jboss.dist}/client/jboss-client.jar"/>
<pathelement location="${jboss.dist}/client/jnp-client.jar"/>
<pathelement location="${servlet.jar}"/>
<!-- Barry added the following: -->
<pathelement
location="${jboss.dist}/client/jboss-common-client.jar"/>
<pathelement location="${jboss.dist}/client/log4j.jar"/>
<!-- End of what Barry added -->
</path>
I'm using ant version 1.5.2. So why am I getting the following error message?
interest-client:
[java] Got context
[java] javax.naming.NameNotFoundException: interest not bound
Any help is appreciated. Thanks.
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your build file isn' the problem. It looks like your beans aren't getting deployed or are getting bound to a different place in the JNDI space than what you are expecting. You'll have to do a little legwork to figure out which is the case. If you can't figure out how to solve the problem then, try posting again with more specific information.
 
Happily living in the valley of the dried frogs with a few tiny ads.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic