have you checked your vignette class locates the applicable xml configuration?

http://global.vignette.com/docs/V7/rel7.3/cs/cmsruntime/com/vignette/as/client/javabean/ManagedObject.html#importXML(com.vignette.as.client.common.ref.ObjectTypeRef,%20java.lang.String,%20boolean)
  SubclassOfManagedObject myManagedObject = new SubclassOfManagedObject();
  ObjectTypeRef ref = myManagedObject.getObjectTypeRef();
  myManagedObject = ManagedObject.importXML(ref, xmlString, true);
making sure that xmlString is a String object that contains XML
  document
(with applicable jndi name)

then at minimum myManagedObject will be serialised
?
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
This message is confidential and may be privileged. If you are not the intended 
recipient, we kindly ask you to  please inform the sender. Any unauthorised 
dissemination or copying hereof is prohibited. This message serves for 
information purposes only and shall not have any legally binding effect. Given 
that e-mails can easily be subject to manipulation, we can not accept any 
liability for the content provided.






> Date: Wed, 1 Apr 2009 09:42:21 -0700
> From: chaitanya.b.re...@gmail.com
> To: users@tomcat.apache.org
> Subject: NameNotFoundException
> 
> 
> 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 
> -- 
> View this message in context: 
> http://www.nabble.com/NameNotFoundException-tp22830748p22830748.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
Windows Liveā„¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009

Reply via email to