Hi again D&J,

I am just looking at the versions I have. I am using Hibernate 3.1.3.

Are you using Java 1.5? I saw in the readme for hibernate that I have:

xerces-2.6.2.jar (2.6.2)
- SAX parser
- runtime, required for JDK < 1.4

So maybe the problem could be that I am using JDK 1.5... any thoughts? I
will try to remove the jar and see if this makes any difference.

My version of xml-apis.jar  is "unknown" (lol) - I guess this is what you
meant by the XML Parser APIs?

I dont have saxpath (could that be part of your Maven installation(if you
are using that?))

All these different libraries are starting to make my head spin... ;-)

Thanks again!

On 9/26/06, D&J Gredler <[EMAIL PROTECTED]> wrote:

I'm using Tap4 with Hibernate 3.1.2 without a problem and I see the
following XML-related JARS in my lib directory: dom4j 1.6.1, saxpath
1.0FCS, Xerces Impl
2.6.2, XML Parser APIs 2.2.1. Not sure how you would find out what the
official dependencies are.

On 9/26/06, Hajaansh <[EMAIL PROTECTED]> wrote:
>
> Ah, so that is the reason that no one answered :-) That might have been
a
> good tip from you though! I have found a Xerces 2.6.2 jar which came
with
> hibernate and I dont really have a clue if Tapestry (4.0) is using that
> one.
>
>
> I have also found one which came with my Java 1.5 installation.
>
> Any way to find out which Tapestry is using? I am not sure if just
> deleting
> the version that came with Hibernate would be a good idea or?
>
> Thanks for your quick response!
>
>
> On 9/26/06, D&J Gredler <[EMAIL PROTECTED]> wrote:
> >
> > I really have no idea, but maybe you have multiple versions of Xerces
> > running around on your classpath, or just a single (wrong) version?
> These
> > kinds of errors are always hard to debug...
> >
> > On 9/26/06, Hajaansh <[EMAIL PROTECTED]> wrote:
> > >
> > > No one knows what the problem could be? Each time a restart Tomcat
it
> > > seems
> > > to be fine. Maybe it is so obvious no one is responding?
> > >
> > > On 9/19/06, Hajaansh <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Sorry, the error message was formatted strangely the last time.
This
> > > time
> > > > I hope it is better... Any ideas anyone?
> > > > Could it be how I started Tomcat? I started it with:
> > > >
> > > > set JAVA_OPTS="-Dorg.apache.tapestry.disable-caching=true"
> > > > set JPDA_ADDRESS=9045
> > > > set JPDA_TRANSPORT=dt_socket
> > > > C:\Tomcat\apache-tomcat-5.5.17\bin\catalina jpda start
> > > >
> > > > and the error I got from the DatePicker is as follows (i hope this
> > time
> > > > the formating is not as bad as the last time...)
> > > >
> > > >
> > > > org.apache.hivemind.ApplicationRuntimeException
> > > > org.apache.xerces.parsers.XML11Configuration  location:
> > > > classpath:/org/apache/tapestry/form/DatePicker.jwc, line 36,
column
> 71
> > > > 31 <parameter name="validators"/> 32 <parameter name="id"
> > > > property="idParameter" default-value="id"/> 33
> > > > 34 <asset name="defaultIcon" path="DatePickerIcon.png"/> 35
> > > > 36 <inject property="script" type="script" object="
DatePicker.script
> > "/>
> > > 37<inject property="translatedFieldSupport" object="service:
> > > > tapestry.form.TranslatedFieldSupport"/> 38 <inject
> > > > property="validatableFieldSupport" object="service:
> > > > tapestry.form.ValidatableFieldSupport"/> 39
> > > > 40</component-specification>      java.lang.ClassCastException
> > > > org.apache.xerces.parsers.XML11Configuration  Stack Trace:
> > > >
> > > >    - org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
> > > >    - org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
> > > >    - org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
> > > >    - org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser
> (Unknown
> > > >    Source)
> > > >    -
org.apache.tapestry.util.xml.RuleDirectedParser.constructParser
> (
> > > >    RuleDirectedParser.java:426)
> > > >    - org.apache.tapestry.util.xml.RuleDirectedParser.parse(
> > > >    RuleDirectedParser.java:155)
> > > >    - org.apache.tapestry.util.xml.RuleDirectedParser.parse(
> > > >    RuleDirectedParser.java:130)
> > > >    - org.apache.tapestry.script.ScriptParser.parse(
ScriptParser.java
> > > :105)
> > > >
> > > >    - org.apache.tapestry.engine.DefaultScriptSource.parse(
> > > >    DefaultScriptSource.java:88)
> > > >    - org.apache.tapestry.engine.DefaultScriptSource.getScript(
> > > >    DefaultScriptSource.java:74)
> > > >    -
> > >
$IScriptSource_10dc21a16a2.getScript($IScriptSource_10dc21a16a2.java)
> > > >
> > > >    - org.apache.tapestry.enhance.DeferredScriptImpl.getScript(
> > > >    DeferredScriptImpl.java:54)
> > > >    - $DatePicker_699.getScript($DatePicker_699.java)
> > > >    - org.apache.tapestry.form.DatePicker.renderFormComponent(
> > > DatePicker.java:129)
> > > >
> > > >    -
org.apache.tapestry.form.AbstractFormComponent.renderComponent(
> > > >    AbstractFormComponent.java:126)
> > > >    - org.apache.tapestry.AbstractComponent.render(
> > > >    AbstractComponent.java:617)
> > > >    - org.apache.tapestry.AbstractComponent.renderBody(
> > > >    AbstractComponent.java:434)
> > > >    - org.apache.tapestry.form.FormSupportImpl.render(
> > > >    FormSupportImpl.java:486)
> > > >    - org.apache.tapestry.form.Form.renderComponent(Form.java:250)
> > > >    - org.apache.tapestry.AbstractComponent.render(
> > > >    AbstractComponent.java:617)
> > > >    - org.apache.tapestry.AbstractComponent.renderBody(
> > > >    AbstractComponent.java:434)
> > > >    - org.apache.tapestry.components.RenderBody.renderComponent(
> > > >    RenderBody.java:44)
> > > >    - org.apache.tapestry.AbstractComponent.render(
> > > >    AbstractComponent.java:617)
> > > >    - org.apache.tapestry.AbstractComponent.renderBody(
> > > >    AbstractComponent.java:434)
> > > >    - org.apache.tapestry.html.Body.renderComponent(Body.java:129)
> > > >    - org.apache.tapestry.AbstractComponent.render(
> > > >    AbstractComponent.java:617)
> > > >    - org.apache.tapestry.AbstractComponent.renderBody(
> > > >    AbstractComponent.java:434)
> > > >    - org.apache.tapestry.html.Shell.renderComponent(Shell.java
:114)
> > > >    - org.apache.tapestry.AbstractComponent.render(
> > > >    AbstractComponent.java:617)
> > > >    - org.apache.tapestry.BaseComponent.renderComponent(
> > > >    BaseComponent.java:92)
> > > >    - org.apache.tapestry.AbstractComponent.render(
> > > >    AbstractComponent.java:617)
> > > >    - org.apache.tapestry.BaseComponent.renderComponent(
> > > >    BaseComponent.java:92)
> > > >    - org.apache.tapestry.AbstractComponent.render(
> > > >    AbstractComponent.java:617)
> > > >    - org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java
> > :275)
> > > >
> > > >    - org.apache.tapestry.engine.RequestCycle.renderPage(
> > > >    RequestCycle.java:366)
> > > >    -
> > > >
> > org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse
> > > >    (ResponseRendererImpl.java:71)
> > > >    -
> > >
> >
>
$ResponseRenderer_10dc21a16ae.renderResponse($ResponseRenderer_10dc21a16ae.java)
> > > >
> > > >    - org.apache.tapestry.engine.HomeService.service(
HomeService.java
> > :65)
> > > >
> > > >    -
> > >
$IEngineService_10dc21a1719.service($IEngineService_10dc21a1719.java)
> > > >
> > > >    -
> org.apache.tapestry.services.impl.EngineServiceOuterProxy.service
> > (
> > > >    EngineServiceOuterProxy.java:66)
> > > >    - org.apache.tapestry.engine.AbstractEngine.service(
> > > >    AbstractEngine.java:248)
> > > >    -
> org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
> > > >    InvokeEngineTerminator.java:60)
> > > >    -
> > >
> >
>
$WebRequestServicer_10dc21a16f8.service($WebRequestServicer_10dc21a16f8.java)
> > > >
> > > >    -
org.apache.tapestry.services.impl.DisableCachingFilter.service(
> > > >    DisableCachingFilter.java:48)
> > > >    -
> > >
> >
>
$WebRequestServicerFilter_10dc21a16fa.service($WebRequestServicerFilter_10dc21a16fa.java)
> > > >
> > > >    -
> > >
> >
>
$WebRequestServicer_10dc21a16fc.service($WebRequestServicer_10dc21a16fc.java)
> > > >
> > > >    -
> > >
> >
>
$WebRequestServicer_10dc21a16f4.service($WebRequestServicer_10dc21a16f4.java)
> > > >
> > > >    -
> > > >
> > >
> >
>
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service
> > > >    (WebRequestServicerPipelineBridge.java:56)
> > > >    -
> > >
> >
>
$ServletRequestServicer_10dc21a16d8.service($ServletRequestServicer_10dc21a16d8.java)
> > > >
> > > >    - org.apache.tapestry.request.DecodedRequestInjector.service(
> > > >    DecodedRequestInjector.java:55)
> > > >    -
> > >
> >
>
$ServletRequestServicerFilter_10dc21a16d4.service($ServletRequestServicerFilter_10dc21a16d4.java)
> > > >
> > > >    -
> > >
> >
>
$ServletRequestServicer_10dc21a16da.service($ServletRequestServicer_10dc21a16da.java)
> > > >
> > > >    - org.apache.tapestry.multipart.MultipartDecoderFilter.service(
> > > >    MultipartDecoderFilter.java:52)
> > > >    -
> > >
> >
>
$ServletRequestServicerFilter_10dc21a16d2.service($ServletRequestServicerFilter_10dc21a16d2.java)
> > > >
> > > >    -
> > >
> >
>
$ServletRequestServicer_10dc21a16da.service($ServletRequestServicer_10dc21a16da.java)
> > > >
> > > >    -
org.apache.tapestry.services.impl.SetupRequestEncoding.service(
> > > >    SetupRequestEncoding.java:53)
> > > >    -
> > >
> >
>
$ServletRequestServicerFilter_10dc21a16d6.service($ServletRequestServicerFilter_10dc21a16d6.java)
> > > >
> > > >    -
> > >
> >
>
$ServletRequestServicer_10dc21a16da.service($ServletRequestServicer_10dc21a16da.java)
> > > >
> > > >    -
> > >
> >
>
$ServletRequestServicer_10dc21a16cc.service($ServletRequestServicer_10dc21a16cc.java)
> > > >
> > > >    - org.apache.tapestry.ApplicationServlet.doService(
> > > >    ApplicationServlet.java:123)
> > > >    - org.apache.tapestry.ApplicationServlet.doGet(
> > > >    ApplicationServlet.java:79)
> > > >    - javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> > > >    - javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > > >    -
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > >    ApplicationFilterChain.java:252)
> > > >    - org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > >    ApplicationFilterChain.java:173)
> > > >    - org.apache.catalina.core.StandardWrapperValve.invoke(
> > > >    StandardWrapperValve.java:213)
> > > >    - org.apache.catalina.core.StandardContextValve.invoke(
> > > >    StandardContextValve.java:178)
> > > >    - org.apache.catalina.core.StandardHostValve.invoke(
> > > >    StandardHostValve.java:126)
> > > >    - org.apache.catalina.valves.ErrorReportValve.invoke(
> > > >    ErrorReportValve.java:105)
> > > >    - org.apache.catalina.core.StandardEngineValve.invoke(
> > > >    StandardEngineValve.java:107)
> > > >    - org.apache.catalina.connector.CoyoteAdapter.service(
> > > >    CoyoteAdapter.java:148)
> > > >    - org.apache.coyote.http11.Http11Processor.process(
> > > >    Http11Processor.java:869)
> > > >    -
> > > >
> > >
> >
>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> > > >    (Http11BaseProtocol.java:664)
> > > >    - org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> > > >    PoolTcpEndpoint.java:527)
> > > >    - org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> > > >    LeaderFollowerWorkerThread.java:80)
> > > >    - org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(
> > > >    ThreadPool.java:684)
> > > >    - java.lang.Thread.run(Thread.java:595)
> > > >
> > > >   HttpServletRequest
> > > >  authType<NULL> characterEncodingUTF-8 contentLength-1
> > contextPath/Rent
> > > > contentType<NULL> localeen_GB methodGET pathInfo<NULL>
> pathTranslated
> > > > <NULL> protocolHTTP/1.1 queryString<NULL> requestURI/Rent/app
> > schemehttp
> > > > securefalse serverNamelocalhost serverPort8080 servletPath/app
> > > > userPrincipal<NULL> Headers accept
> > > > text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> > > > ,text/plain;q=0.8,image/png,*/*;q=0.5accept-charsetISO-8859-1
> ,utf-8;q=
> > > 0.7
> > > > ,*;q=0.7 accept-encodinggzip,deflate accept-languageen-gb,en;q=0.5
> > > > connectionkeep-alive hostlocalhost:8080 keep-alive300
> > > user-agentMozilla/5.0
> > > > (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.6) Gecko/20060728
> > > > Firefox/1.5.0.6 Attributes org.apache.tapestry.Infrastructure
> > > <SingletonProxy
> > > > for tapestry.Infrastructure(
> > org.apache.tapestry.services.Infrastructure
> > > )>
> > > > HttpServlet
> > > > servletInfo
> > > > servletNameRent Initialization Parameters
> > > org.apache.tapestry.visit-class
> > > > SessionState
> > >
> > >
> >
> >
>
>


Reply via email to