This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Eclipse Collections Categorically: Level up your programming game and have Donald Raab on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

NameNotFoundException in tomcat

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to use a scriplet is jsp and place it in a web application on TOmcat 6.

This is the error I got.

Nested exception is:javax.naming.NameNotFoundException
javax.naming.NameNotFoundException: Name com.vignette.as.client.ejb.SiteOps is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.vignette.util.HomeFactory.lookupAnyHome(HomeFactory.java:329)
at com.vignette.util.HomeFactory.lookupHome(HomeFactory.java:272)
at com.vignette.util.HomeFactory.getHome(HomeFactory.java:189)
at com.vignette.as.client.javabean.OpsFactory.createRemote(OpsFactory.java:232)
at com.vignette.as.client.javabean.OpsFactory.create(OpsFactory.java:96)
at com.vignette.as.client.javabean.Site.getLocalOps(Site.java:1018)
at com.vignette.as.client.javabean.Site.findByName(Site.java:438)


I tried the same code is an independent Java Class and it is executed perfectly.
"com.vignette.as.client.javabean.Site" is a class in one of the jar files I use.
PLease advice if I am missing something here.

Thank you,
Krishna Balam
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it URGENT?
 
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic