Garrett,

These all seem to be XML related. We are using 2.0.2, though, so not sure
about 2.1. We removed dom.jar, sax.jar and jaxp.jar from resin lib and
added. Then, we added the other jars to the expanded WEB-INF lib directory
of the Web app.

-C




                                                                                       
                                                        
                    Garrett.Suhm@E                                                     
                                                        
                    quifax.com            To:     
[EMAIL PROTECTED]                                               
      
                                          cc:                                          
                                                        
                    05/06/2002            Subject:     Re: [Tapestry-developer] 
Tapestry 2.02a and other appservers                            
                    08:59 AM                                                           
                                                        
                                                                                       
                                                        
                                                                                       
                                                        



I was curious about this too -- I've deployed the tutorial a long time ago
with earlier versions of Resin (1.x) and Tapestry with no problems. So I
downloaded the latest Resin (2.1) and the latest Tapestry and deployed
tutorial.war to Resin's webapps directory.

I then moved the following jar files:
copied     lib/com.primix.tapestry-2.0.2a.jar to resin/lib
copied     lib/ext/log4j-core.jar to resin/lib
copied     lib/ext/org.apache.crimson.jar to resin/lib

After restarting Resin I tried the tutorial -- at this point, I recieved an
application specification parsing error. So I replaced Resin's JAXP with
the one that came with Tapestry (must be more recent). Now the "Hello
World" and "Simple" tutorials work. But the others fail with a servlet
error -- and the log shows that Tapestry is having a problem parsing it's
own Inspector and Exception pages:

Exceptions:

com.primix.tapestry.ApplicationRuntimeException: Failed to acquire page
Home.

com.primix.tapestry.PageLoaderException: Unable to obtain template.
   pageName: Home
   component:
com.primix.tapestry.inspector.ShowInspector@9fd93[Home/border.show
Inspector]

com.primix.tapestry.ResourceUnavailableException: Could not parse template
/com/
primix/tapestry/inspector/ShowInspector.html.

com.primix.tapestry.parse.TemplateParseException: Tag <img> on line 6 is a
dynam
ic component, and may not appear inside an ignored block.
   line: 6
   resourcePath: /com/primix/tapestry/inspector/ShowInspector.html
com.primix.tapestry.parse.TemplateParser.startTag(TemplateParser.java:655)


javax.servlet.ServletException: Failed to acquire page Exception.

com.primix.tapestry.ApplicationRuntimeException: Failed to acquire page
Exception.

com.primix.tapestry.PageLoaderException: Unable to obtain template.
   pageName: Exception
   component:
com.primix.tapestry.html.ExceptionDisplay@7ca8[Exception/exception
Display]

com.primix.tapestry.ResourceUnavailableException: Could not parse template
/com/
primix/tapestry/html/ExceptionDisplay.html.

com.primix.tapestry.parse.TemplateParseException: Tag <jwc> on line 11 is a
dynamic component, and may not appear inside an ignored block.
   line: 11
   resourcePath: /com/primix/tapestry/html/ExceptionDisplay.html
com.primix.tapestry.parse.TemplateParser.startTag(TemplateParser.java:655)



Now comes the real interesting thing -- the tutorial works perfectly under
Resin 2.0.2. Even though the error above seems to be very much a Tapestry
error I don't get it under 2.0.2 of Resin.

Any ideas?

------------------------------------------------------------------------
Garrett Suhm
Equifax Global Architecture
(770) 740-7259
------------------------------------------------------------------------


|--------+---------------------------------------------->
|        |          Christian Sell <[EMAIL PROTECTED]>    |
|        |          Sent by:                            |
|        |          [EMAIL PROTECTED]|
|        |          eforge.net                          |
|        |                                              |
|        |                                              |
|        |          05/06/2002 03:48 AM                 |
|        |                                              |
|--------+---------------------------------------------->
  >
-----------------------------------------------------------------------------------------------------------|

  |
|
  |       To:     [EMAIL PROTECTED]
|
  |       cc:
|
  |       Subject:     [Tapestry-developer] Tapestry 2.02a and other
appservers                               |
  |
|
  >
-----------------------------------------------------------------------------------------------------------|




Hello,

I just recently started evaluating tapestry, after having been put off for
a while by the strong ties to Jetty that I perceived in the
documentation/installation instructions.

Now that I have it running under Resin 2.1 and Tomcat 4.01, I see my fears
confirmed to some degree. The tutorial does not run error-free under either
appserver.

Under resin, the tutorial apps immediately fail with a session timeout
(??), and the workbench only displays half-way. I would like to add that I
have a reasonably complicated, session-aware JSP application running on
that same server with no problems.

Under tomcat, I see errors in the console stating that page cleanup failed
with a NullPointerException (this happens when the session times out and
the SessionBindingListener callbacks fire).

I will look into this more when I find time. In the meantime I would be
grateful if anybody with more experience could give me useful hints.

BTW, is there a searchable list archive anywhere?

regards,
Christian Sell

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer




Protect yourself against identity theft with Equifax Credit Watch. Visit
http://www.creditalert.equifax.com.

This message contains information from Equifax Inc. which may be
confidential and privileged.  If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this
information and note that such actions are prohibited.  If you have
received this transmission in error, please notify by e-mail
[EMAIL PROTECTED]


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer





_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to