Hello,
I had the same problem.
You must override the Resin XML parser.
Put the Xerces, Xalan and Crimson jar in your classpath and add the
following lines to your resin.conf between

<caucho.com>
....
</caucho.com>

<system-property javax.xml.transform.TransformerFactory=
"org.apache.xalan.processor.TransformerFactoryImpl"/>
<system-property javax.xml.parsers.DocumentBuilderFactory=
"org.apache.crimson.jaxp.DocumentBuilderFactoryImpl"/>
<system-property javax.xml.parsers.SAXParserFactory=
"org.apache.crimson.jaxp.SAXParserFactoryImpl"/>


Luis Neves



----- Original Message -----
From: "Colin Sampaleanu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 2:36 PM
Subject: [Tapestry-developer] Tapestry and Resin 2.1.0


> Hi,
>
> I have been experimenting a little bit with Tapestry, both in WebLogic
> (e-mail to follow), and in Resin. In Resin 2.1.0. Has anybody
> successfully run the tutorial app under Resin? I took the tutorial.war
> file, added all the needed libs inside it in the WEB-INF/lib directory,
> and deployed it into Resin 2.1.0.  Trying to run any of the samples,
> such as 'Hello', produces a null pointer exception in
> SpecificationParser.java), as follows:
>
> java.lang.NullPointerException
>     at
>
com.primix.tapestry.parse.SpecificationParser.getBooleanAttribute(Specificat
ionParser.java:786)
>     at
>
com.primix.tapestry.parse.SpecificationParser.convertComponentSpecification_
2(SpecificationParser.java:872)
>     at
>
com.primix.tapestry.parse.SpecificationParser.convertComponentSpecification(
SpecificationParser.java:276)
>     at
>
com.primix.tapestry.parse.SpecificationParser.parseComponentSpecification(Sp
ecificationParser.java:231)
>     at
>
com.primix.tapestry.engine.DefaultSpecificationSource.parseSpecification(Def
aultSpecificationSource.java:188)
>     at
>
com.primix.tapestry.engine.DefaultSpecificationSource.getSpecification(Defau
ltSpecificationSource.java:137)
>     at
com.primix.tapestry.pageload.PageLoader.loadPage(PageLoader.java:429)
>     at
com.primix.tapestry.pageload.PageSource.getPage(PageSource.java:158)
>     at
> com.primix.tapestry.engine.RequestCycle.getPage(RequestCycle.java:234)
>     at
>
com.primix.tapestry.engine.AbstractEngine.activateExceptionPage(AbstractEngi
ne.java:309)
>     at
> com.primix.tapestry.engine.AbstractEngine.service(AbstractEngine.java:748)
>     at
>
com.primix.tapestry.ApplicationServlet.doService(ApplicationServlet.java:203
)
>     at
> com.primix.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:168)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
>     at
>
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
5)
>     at com.caucho.server.http.Invocation.service(Invocation.java:291)
>     at
> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
>     at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:217)
>     at
> com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:159)
>     at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
>     at java.lang.Thread.run(Thread.java:484)
>
> I have at this point not spent any time trying to track this down, but
> am just curious if anybody else has got it to go in Resin?
>
>
>
>
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer


_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to