Wrox Home  
Search P2P Archive for: Go

  Return to Index  

enterprise_java_beans thread: Re: SAx exception XML registry


Message #1 by "In Koo Kim" <inkoo@a...> on Wed, 11 Jul 2001 15:01:46
hi,

My problem has been solved :)

u need to explicitly set this in ur .java file

 SAXParser parser = null;
//This is for weblogic6.0 parser regstn.
           
System.setProperty("javax.xml.parsers.SAXParserFactory",
                             
"org.apache.xerces.jaxp.SAXParserFactoryImpl");
            SAXParserFactory spf 
SAXParserFactory.newInstance ();
 parser               = spf.newSAXParser ();


Hope this helps

Regards 
-Sugandha
--- In Koo Kim <inkoo@a...> wrote:
> Are you still having this problem or have you found
> a solution?  Now I'm 
> have the same difficulties as you were.
> 
> 
> > Hello,
> > I 'm facing problem, when i'm using jaxp parser.
> > This is my code
> >   SAXParserFactory spf 
> SAXParserFactory.newInstance
> > ();
> >   SAXParser parser     = spf.newSAXParser ();
> >  
> > I have created xml registry in Administartion
> > console.In the left pane of Admin console i can
> see
> > this newly added registry.But when i startweblogic
> i
> > see 
> >  
> >  27, 2001 11:31:07 AM GMT+05:30> 
> > <Info> <Management> <Java system property:
> > javax.xml.parsers.DocumentBuilderFactory 
> > weblogic.xml.jaxp.RegistryDocumentBuilderFactory>
> >  
> > Still it is taking default as
> > weblogic.xml.jaxp.RegistryDocumentBuilderFactory
> which
> > i don't want.
> >  
> > If u could throw some light, it will be of great
> help.
> >  
> > Thanx & Regards
> > -Sugandha


  Return to Index