Run Tapestry Error Solutions and other solutions.

xiaoxiao2021-03-06  43

1, Disclaimer: I wrote this document after loosing time trying to deploy Tapestry applications with Resin This document might not be complete it only contains steps I took to assure that my application worked as planed This is not intended to be a complete solution for.. Deploying Tapestry Applications on Resin and Completions Are Welcome.

Application - The Application WAS Using TapeStry 3.0-beta4 and hibernate 2.1.2 with an oracle Database. I Wanted to Deploy It on Resin 3.0.6.

Symthoms - Form Validation Did Not Worked, The Delegate Object Seems To Be Lost In Space, Several Pages CraShed WITHOUT A REASON

The problems seems to be related to the ones described on The Resin Mailing Lists:

http://www.caucho.com/support/resin-interest/0205/0112.html

THE FIRST Solution Consisted of Adding The Default Values ​​for the delegate:

YET THIS Only Fixed The Solution Partial and Since I've Had Problems With Resin Xml Parsers Before I Tried Running Resin with a change ClassPath To Add Diferent XML Parsers:

./httpd.sh -classpath/- @ ketberapis.jar:/$ $ $ @tomcat /MMon/endorsed/xercesimpl.jar. This Added Tomcat Parsers Before The default resin parsrs. Note Just by adding the Libs in the resin / lib does NOT FIX The Problem Because of Resin ClassLoader Mechanism.

However i found this Other Resin Interest Archive Which Seemed to FIX Everything.

http://www.caucho.com/quercus/faq/question.xtp?quesque_id=295

SO i change the resin.conf file:

This Changed All XML Parsers for Resin To Xerces Based Ones. I buy The Tomcat Files Which i copied to resin / lib.

2, Tapesty changes the page file each time, how can it be automatically loaded? VM to add parameters - DORG.Apache.tapestry.Nable-reset-service = true -dorg.apache.tapestry.disable-caching = true set java_opts = -dorg .apache.tapestry.enable-reset-service = true -dorg.apache.tapestry.disable-caching = True

转载请注明原文地址:https://www.9cbs.com/read-55820.html

New Post(0)