Re: to Jacob Kjome - Re: help to resolve a problem with XSLT generation

2004-08-27 Thread Jacob Kjome
I can't give you any advice on using JDK 1.5b2 because I've never used it
before.  I can tell you that my transformations work fine under JDk 1.4.2_05 and
I always have the latest versions of Xerces, xml-apis, and Xalan in an endorsed
directory (either jre/lib/endorsed or common/endorsed).

Jake

Quoting Eugene <[EMAIL PROTECTED]>:

> Hello Jacob, thank you for reply. Yes I thought that maybe this is a
> problem... the thing is the clients wants "the latest" (they're
> scientists, not programmers;)). So, I've installed for them  JDK-J2SE
> 5.0Beta2. Technically the docs of the application tells that I free to use
> any production environment that relatively approved by Sun. Is
> acceptable to run this application on JBoss (which isnt Tomcat as I
> know, despite of the fact that JBoss uses the TC like a platform),
> Orion and some others commercial app servers. So
> can you tell what exactly should I do in this situation (on the part of
> this question I have your answer already)? I trust the
> professionals opinion. Should I use JDK 1.4.2 instead? Is it posible
> to use xalan that goes with JBoss or should I download the new one from
> Apache? Thank you very much for your time!
> 
> Eugene.
> 
> 
> Friday, August 27, 2004, 1:35:29 AM, you wrote:
> 
> > What version of the JDK are you using?  This is telling...
> 
> > javax.xml.transform.TransformerFactoryConfigurationError: Provider
> > org.apache.xalan.processor.TransformerFactoryImpl not found
> >
> > javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
> 
> > Either you are using a JDK less than 1.4 (1.4+ includes Xalan) or the
> > version of Xalan in the classpath isn't matching what you have
> > configured.  Try putting xalan.jar in either JAVA_HOME/jre/lib/endorsed or
> > in CATALINA_HOME/common/endorsed alongside xercesImpl.jar (BTW, I suggest
> > the "2jars" distribution of Xalan because the normal distribution contains
> > an old version of BCel and will conflict with any app requiring a newer
> > version).
> 
> > Also, make sure you haven't added an older version of Xerces to
> > JAVA_HOME/jre/lib/endorsed which might not recognize the property you set
> > for it.  The version in Tomcat's endorsed directory is the latest and
> > greatest.  Don't override it.
> 
> > Jake
> 
> > At 10:31 PM 8/26/2004 -0300, you wrote:
> >>Hi, guys! I have a problem. I am running Apache 2.0.50 +
> >>Tomcat5.0.27(mod_jk2) on Windows Server 2003. We have upgraded it from
> >>Apache 2.0.46+Tomcat 4.0.27(mod_jk). This combination worked fine but for
> >>some reasons we should periodically upgrade it to a newest versions.
> >>Anyway, I've started this application and I was surprised - it didnt work
> >>like before. The base app works fine, but it seems like I have a
> >>problem with XSLT engine. Technically this application recieves
> >>requests from user, process them and then sends results to an XSLT
> >>template and then
> >>user obtains visual results through generated from this template HTML
> >>page. So on this stage I have an error 500.
> >>Please give me some advice what should I do - change the xml parser,
> >>use older version of Tomcat(which is worth decision ever in my case)
> >>or what? I am not a Java programmer, so its difficult for me
> >>to understand this situation with XML parsers - first Crimson then
> >>Xerces etc. But maybe I'm wrong and this error have the other cause,
> >>so I need a professional advice, please. Any suggestions are welcome ASAP:)
> >>BTW, this application designed to use Apache and Tomcat without any
> >>additional installations (like Ant or Xerces/Xalan or whatever)
> >>
> >>I didnt noticed nothing strange in logs (all clear) except this part of
> >>'stdout.log':
> >>
> >>request
> >>Create Parser
> >>org.xml.sax.SAXNotRecognizedException: Feature
> >>'http://apache.org/xml/features/validation/warn-on-undeclared-elemdef' is
> >>not recognized.
> >>xmlFile :/req.xml
> >>nodeValue :XSLT.xslt
> >>  === documentURL === XSLT.xslt
> >>styleSheetTable : {}
> >>xsltRealPath :
> >>C:\webpub\apache\www\application-folder\XSLT\XSLT.xslt
> >>
> >>+++
> >>
> >>And here is the content of error page generated by Tomcat:
> >>
> >>Estado HTTP 500 -
> >>
> >>type Informe de Excepcion
> >>
> >>Mensaje
> >>descripcion El servidor encontro un error interno () que hizo que no
> pudiera
> >>rellenar este requerimiento.
> >>
> >>Excepcion
> >>javax.servlet.ServletException: La ejecucion del Servlet lanzo una
> excepcion
> >>
> >>causa raiz
> >>javax.xml.transform.TransformerFactoryConfigurationError: Provider
> >>org.apache.xalan.processor.TransformerFactoryImpl not found
> >>
> >> javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
> >>
> >>com.MapEnterprise.mapService.MapService.transformationXSLT(MapService.java:1131)
> >> OurServlet.doGet(OurServlet.java:617)
> >>
> >> javax.servlet.http.HttpServlet.service(HttpSer

to Jacob Kjome - Re: help to resolve a problem with XSLT generation

2004-08-26 Thread Eugene
Hello Jacob, thank you for reply. Yes I thought that maybe this is a
problem... the thing is the clients wants "the latest" (they're
scientists, not programmers;)). So, I've installed for them  JDK-J2SE
5.0Beta2. Technically the docs of the application tells that I free to use
any production environment that relatively approved by Sun. Is
acceptable to run this application on JBoss (which isnt Tomcat as I
know, despite of the fact that JBoss uses the TC like a platform),
Orion and some others commercial app servers. So
can you tell what exactly should I do in this situation (on the part of
this question I have your answer already)? I trust the
professionals opinion. Should I use JDK 1.4.2 instead? Is it posible
to use xalan that goes with JBoss or should I download the new one from
Apache? Thank you very much for your time!

Eugene.


Friday, August 27, 2004, 1:35:29 AM, you wrote:

> What version of the JDK are you using?  This is telling...

> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> org.apache.xalan.processor.TransformerFactoryImpl not found
> 
> javax.xml.transform.TransformerFactory.newInstance(Unknown Source)

> Either you are using a JDK less than 1.4 (1.4+ includes Xalan) or the
> version of Xalan in the classpath isn't matching what you have 
> configured.  Try putting xalan.jar in either JAVA_HOME/jre/lib/endorsed or
> in CATALINA_HOME/common/endorsed alongside xercesImpl.jar (BTW, I suggest
> the "2jars" distribution of Xalan because the normal distribution contains
> an old version of BCel and will conflict with any app requiring a newer
> version).

> Also, make sure you haven't added an older version of Xerces to 
> JAVA_HOME/jre/lib/endorsed which might not recognize the property you set
> for it.  The version in Tomcat's endorsed directory is the latest and
> greatest.  Don't override it.

> Jake

> At 10:31 PM 8/26/2004 -0300, you wrote:
>>Hi, guys! I have a problem. I am running Apache 2.0.50 +
>>Tomcat5.0.27(mod_jk2) on Windows Server 2003. We have upgraded it from
>>Apache 2.0.46+Tomcat 4.0.27(mod_jk). This combination worked fine but for
>>some reasons we should periodically upgrade it to a newest versions.
>>Anyway, I've started this application and I was surprised - it didnt work
>>like before. The base app works fine, but it seems like I have a
>>problem with XSLT engine. Technically this application recieves
>>requests from user, process them and then sends results to an XSLT 
>>template and then
>>user obtains visual results through generated from this template HTML
>>page. So on this stage I have an error 500.
>>Please give me some advice what should I do - change the xml parser,
>>use older version of Tomcat(which is worth decision ever in my case)
>>or what? I am not a Java programmer, so its difficult for me
>>to understand this situation with XML parsers - first Crimson then
>>Xerces etc. But maybe I'm wrong and this error have the other cause,
>>so I need a professional advice, please. Any suggestions are welcome ASAP:)
>>BTW, this application designed to use Apache and Tomcat without any
>>additional installations (like Ant or Xerces/Xalan or whatever)
>>
>>I didnt noticed nothing strange in logs (all clear) except this part of
>>'stdout.log':
>>
>>request
>>Create Parser
>>org.xml.sax.SAXNotRecognizedException: Feature 
>>'http://apache.org/xml/features/validation/warn-on-undeclared-elemdef' is
>>not recognized.
>>xmlFile :/req.xml
>>nodeValue :XSLT.xslt
>>  === documentURL === XSLT.xslt
>>styleSheetTable : {}
>>xsltRealPath :
>>C:\webpub\apache\www\application-folder\XSLT\XSLT.xslt
>>
>>+++
>>
>>And here is the content of error page generated by Tomcat:
>>
>>Estado HTTP 500 -
>>
>>type Informe de Excepcion
>>
>>Mensaje
>>descripcion El servidor encontro un error interno () que hizo que no pudiera
>>rellenar este requerimiento.
>>
>>Excepcion
>>javax.servlet.ServletException: La ejecucion del Servlet lanzo una excepcion
>>
>>causa raiz
>>javax.xml.transform.TransformerFactoryConfigurationError: Provider
>>org.apache.xalan.processor.TransformerFactoryImpl not found
>>
>> javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
>>
>>com.MapEnterprise.mapService.MapService.transformationXSLT(MapService.java:1131)
>> OurServlet.doGet(OurServlet.java:617)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>>nota La traza completa de la causa de este error se encuentra en los
>>archivos de
>>diario de Apache Tomcat/5.0.27.
>>
>>Apache Tomcat/5.0.27
>>
>>
>>
>>Thank you very much for any help!!!
>>
>>
>>--
>>Best regards to all,
>>  Eugene  mailto:[EMAIL PROTECTED]
>>
>>
>>--