You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2005/10/09 16:31:58 UTC
[ANNOUNCE] Tapestry 4.0-beta-10 released
The latest beta release of Tapestry 4.0 is now available. Tapestry is
a component based web application framework that provides lots of
functionality with minimal Java coding, and creates an environment
that supports high levels of reuse. This is another a bug fix release,
building on the beta-9 release. In addition, a default implementation
of IPrimaryKeyConverter, used in conjuction with the For component,
was added. A full listing of bug fixes is available in the change log.
Tapestry 4.0 is getting very close to a final release.
Tapestry is provided as a combined binary/source distribution, and a
separate documentation distribution.
Download Tapestry from
http://jakarta.apache.org/site/downloads/downloads_tapestry.cgi
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org
RE: Configuration mess
Posted by Alexander Kolesnikov <ak...@galactica.ru>.
Okay, returned to previous configuration, tapestry-contrib-3.0.3.jar is
back in WEB-INF/lib, removed from shared/lib. Declared in application
specification:
<library id="contrib" specification-
path="/org/apache/tapestry/contrib/Contrib.library"/>
Now I cannot even load the home page without this exception:
javax.servlet.ServletException: Could not parse specification
classpath:/org/apache/tapestry/contrib/Contrib.library.
WHY?
I will definitely spend another evening reading Tomcat docs, but now it
is just exactly according to TIA, should be no problem at all, but it
doesn't work.
On Mon, 2005-10-10 at 16:48 +0300, Sergiy Kyrylkov wrote:
> What made you think it should work with these files in shared/lib? Have you
> read Tomcat documentation about this and class loaders in general?
>
> Sergiy
>
> -----Original Message-----
> From: Alexander Kolesnikov [mailto:ak@galactica.ru]
> Sent: Monday, October 10, 2005 3:51 PM
> To: Tapestry users
> Subject: Configuration mess
>
> In a successfully working Tapestry application I decided to move two
> libraries, jdom.jar and tapestry-contrib-3.0.3.jar from WEB-INF/lib to
> Tomcats shared/lib and made appropriate changes in the project's Java
> Build Path. After this the hell unleashed.
>
> The Home page loads successfully but trying to get any other page I see
> some really strange exceptions (see below). And this is for pages which
> worked perfectly well and I didn't change them...
>
> It is interesting that when I uploaded all the application to my test
> server, everything worked fine there. So is it a problem with my
> Eclipse/Spindle configuration or what?
>
> Thanks,
>
> Alexander
>
> ************************************************************
>
> Here is what I get trying to load one page:
>
> org.apache.tapestry.BindingException
>
> Unable to resolve expression 'popup' for com.some.app.Thebox
> $Enhance_47@10bc995[thebox].
>
> binding: ExpressionBinding[thebox popup] location: context:/WEB-
> INF/thebox.page, line 99, column 54
>
> ognl.OgnlException
>
> popup
>
> java.lang.NoClassDefFoundError
> org/apache/tapestry/link/DefaultLinkRenderer Stack Trace:
> * java.lang.ClassLoader.defineClass0(Native Method)
> * java.lang.ClassLoader.defineClass(ClassLoader.java:539)
> * etc...
>
> and here is the binding which is referenced in the error message:
>
> <component id="popup" type="DirectLink">
> <binding name="listener" expression="listeners.onMoreVisitors"/>
> <binding name="renderer" expression="popup"/>
> </component>
>
> and here is the getter for it:
>
> public ILinkRenderer getPopup() {
> PopupLinkRenderer pop = new PopupLinkRenderer();
> pop.setFeatures
> ("resizable,scrollbars,top=100,left=100,height=450,width=400");
> return pop;
> }
>
> This worked pretty fine before...
>
> **************************************************************
>
> And when I am trying to load some other page, I receive a huge number of
> messages, here are the first few lines:
>
> org.apache.tapestry.ApplicationRuntimeException
>
> Could not load class org.apache.tapestry.contrib.form.FormConditional
> from WebappClassLoader delegate: false repositories: /WEB-INF/classes/
> ----------> Parent Classloader: StandardClassLoader delegate: true
> repositories: file:/home/sundraw/jakarta-tomcat-5.0.28/shared/classes/
> file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/javassist.jar
> file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/jakarta-
> oro-2.0.6.jar file:/home/sundraw/jakarta-
> tomcat-5.0.28/shared/lib/tapestry-3.0.3.jar file:/home/sundraw/jakarta-
> tomcat-5.0.28/shared/lib/commons-codec-1.2.jar
> file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/jdom.jar
> file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/commons-
> fileupload-1.0.jar
>
> etc...
>
> ----------> Parent Classloader: sun.misc.Launcher
> $AppClassLoader@7b7072 : org/apache/tapestry/form/AbstractFormComponent
>
> and then
>
> java.lang.NoClassDefFoundError
> org/apache/tapestry/form/AbstractFormComponent
> Stack Trace:
> * java.lang.ClassLoader.defineClass0(Native Method)
> * java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Configuration mess
Posted by Sergiy Kyrylkov <ky...@sac.com.ua>.
What made you think it should work with these files in shared/lib? Have you
read Tomcat documentation about this and class loaders in general?
Sergiy
-----Original Message-----
From: Alexander Kolesnikov [mailto:ak@galactica.ru]
Sent: Monday, October 10, 2005 3:51 PM
To: Tapestry users
Subject: Configuration mess
In a successfully working Tapestry application I decided to move two
libraries, jdom.jar and tapestry-contrib-3.0.3.jar from WEB-INF/lib to
Tomcats shared/lib and made appropriate changes in the project's Java
Build Path. After this the hell unleashed.
The Home page loads successfully but trying to get any other page I see
some really strange exceptions (see below). And this is for pages which
worked perfectly well and I didn't change them...
It is interesting that when I uploaded all the application to my test
server, everything worked fine there. So is it a problem with my
Eclipse/Spindle configuration or what?
Thanks,
Alexander
************************************************************
Here is what I get trying to load one page:
org.apache.tapestry.BindingException
Unable to resolve expression 'popup' for com.some.app.Thebox
$Enhance_47@10bc995[thebox].
binding: ExpressionBinding[thebox popup] location: context:/WEB-
INF/thebox.page, line 99, column 54
ognl.OgnlException
popup
java.lang.NoClassDefFoundError
org/apache/tapestry/link/DefaultLinkRenderer Stack Trace:
* java.lang.ClassLoader.defineClass0(Native Method)
* java.lang.ClassLoader.defineClass(ClassLoader.java:539)
* etc...
and here is the binding which is referenced in the error message:
<component id="popup" type="DirectLink">
<binding name="listener" expression="listeners.onMoreVisitors"/>
<binding name="renderer" expression="popup"/>
</component>
and here is the getter for it:
public ILinkRenderer getPopup() {
PopupLinkRenderer pop = new PopupLinkRenderer();
pop.setFeatures
("resizable,scrollbars,top=100,left=100,height=450,width=400");
return pop;
}
This worked pretty fine before...
**************************************************************
And when I am trying to load some other page, I receive a huge number of
messages, here are the first few lines:
org.apache.tapestry.ApplicationRuntimeException
Could not load class org.apache.tapestry.contrib.form.FormConditional
from WebappClassLoader delegate: false repositories: /WEB-INF/classes/
----------> Parent Classloader: StandardClassLoader delegate: true
repositories: file:/home/sundraw/jakarta-tomcat-5.0.28/shared/classes/
file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/javassist.jar
file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/jakarta-
oro-2.0.6.jar file:/home/sundraw/jakarta-
tomcat-5.0.28/shared/lib/tapestry-3.0.3.jar file:/home/sundraw/jakarta-
tomcat-5.0.28/shared/lib/commons-codec-1.2.jar
file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/jdom.jar
file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/commons-
fileupload-1.0.jar
etc...
----------> Parent Classloader: sun.misc.Launcher
$AppClassLoader@7b7072 : org/apache/tapestry/form/AbstractFormComponent
and then
java.lang.NoClassDefFoundError
org/apache/tapestry/form/AbstractFormComponent
Stack Trace:
* java.lang.ClassLoader.defineClass0(Native Method)
* java.lang.ClassLoader.defineClass(ClassLoader.java:539)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Configuration mess
Posted by Alexander Kolesnikov <ak...@galactica.ru>.
In a successfully working Tapestry application I decided to move two
libraries, jdom.jar and tapestry-contrib-3.0.3.jar from WEB-INF/lib to
Tomcats shared/lib and made appropriate changes in the project's Java
Build Path. After this the hell unleashed.
The Home page loads successfully but trying to get any other page I see
some really strange exceptions (see below). And this is for pages which
worked perfectly well and I didn't change them...
It is interesting that when I uploaded all the application to my test
server, everything worked fine there. So is it a problem with my
Eclipse/Spindle configuration or what?
Thanks,
Alexander
************************************************************
Here is what I get trying to load one page:
org.apache.tapestry.BindingException
Unable to resolve expression 'popup' for com.some.app.Thebox
$Enhance_47@10bc995[thebox].
binding: ExpressionBinding[thebox popup] location: context:/WEB-
INF/thebox.page, line 99, column 54
ognl.OgnlException
popup
java.lang.NoClassDefFoundError
org/apache/tapestry/link/DefaultLinkRenderer Stack Trace:
* java.lang.ClassLoader.defineClass0(Native Method)
* java.lang.ClassLoader.defineClass(ClassLoader.java:539)
* etc...
and here is the binding which is referenced in the error message:
<component id="popup" type="DirectLink">
<binding name="listener" expression="listeners.onMoreVisitors"/>
<binding name="renderer" expression="popup"/>
</component>
and here is the getter for it:
public ILinkRenderer getPopup() {
PopupLinkRenderer pop = new PopupLinkRenderer();
pop.setFeatures
("resizable,scrollbars,top=100,left=100,height=450,width=400");
return pop;
}
This worked pretty fine before...
**************************************************************
And when I am trying to load some other page, I receive a huge number of
messages, here are the first few lines:
org.apache.tapestry.ApplicationRuntimeException
Could not load class org.apache.tapestry.contrib.form.FormConditional
from WebappClassLoader delegate: false repositories: /WEB-INF/classes/
----------> Parent Classloader: StandardClassLoader delegate: true
repositories: file:/home/sundraw/jakarta-tomcat-5.0.28/shared/classes/
file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/javassist.jar
file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/jakarta-
oro-2.0.6.jar file:/home/sundraw/jakarta-
tomcat-5.0.28/shared/lib/tapestry-3.0.3.jar file:/home/sundraw/jakarta-
tomcat-5.0.28/shared/lib/commons-codec-1.2.jar
file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/jdom.jar
file:/home/sundraw/jakarta-tomcat-5.0.28/shared/lib/commons-
fileupload-1.0.jar
etc...
----------> Parent Classloader: sun.misc.Launcher
$AppClassLoader@7b7072 : org/apache/tapestry/form/AbstractFormComponent
and then
java.lang.NoClassDefFoundError
org/apache/tapestry/form/AbstractFormComponent
Stack Trace:
* java.lang.ClassLoader.defineClass0(Native Method)
* java.lang.ClassLoader.defineClass(ClassLoader.java:539)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: defaultScriptLanguage property missing? [was: Re: [ANNOUNCE] Tapestry 4.0-beta-10 released]
Posted by "Jason L. Buberel" <ja...@buberel.org>.
Apologies: False Alarm
Looks like a version mismatch resulting from not thoroughly cleaning up the
war-file staging area in the build.
So far, everything looking good with beta-10. Great work Howard!
-jason
On Sunday 09 October 2005 11:10, Jason L. Buberel wrote:
> Just dropped these Jars into my class path, but am now seeing the following
> error when I deploy the webapp:
>
> javax.servlet.ServletException: Unable to construct service
> tapestry.page.PageLoader: Error building service tapestry.page.PageLoader:
> Error at
> jar:file:/opt/jakarta-tomcat-5.5.9/webapps/altos/WEB-INF/lib/tapestry-4.0.j
>ar!/META-INF/tapestry.page.xml, line 45, column 90: Class
> org.apache.tapestry.pageload.PageLoader does not contain a property named
> 'defaultScriptLanguage'.
>
> org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(
>WebRequestServicerPipelineBridge.java:60)
>
--
Jason L. Buberel -- jason@buberel.org -- www.buberel.org
+1.650.483.1989 -- jabber:jason@im.buberel.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
defaultScriptLanguage property missing? [was: Re: [ANNOUNCE] Tapestry 4.0-beta-10 released]
Posted by "Jason L. Buberel" <ja...@buberel.org>.
Just dropped these Jars into my class path, but am now seeing the following
error when I deploy the webapp:
javax.servlet.ServletException: Unable to construct service
tapestry.page.PageLoader: Error building service tapestry.page.PageLoader:
Error at
jar:file:/opt/jakarta-tomcat-5.5.9/webapps/altos/WEB-INF/lib/tapestry-4.0.jar!/META-INF/tapestry.page.xml,
line 45, column 90: Class org.apache.tapestry.pageload.PageLoader does not
contain a property named 'defaultScriptLanguage'.
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:60)
[snip]
root cause
org.apache.hivemind.ApplicationRuntimeException: Unable to construct service
tapestry.page.PageLoader: Error building service tapestry.page.PageLoader:
Error at
jar:file:/opt/jakarta-tomcat-5.5.9/webapps/altos/WEB-INF/lib/tapestry-4.0.jar!/META-INF/tapestry.page.xml,
line 45, column 90: Class org.apache.tapestry.pageload.PageLoader does not
contain a property named 'defaultScriptLanguage'.
[jar:file:/opt/jakarta-tomcat-5.5.9/webapps/altos/WEB-INF/lib/tapestry-4.0.jar!/META-INF/tapestry.page.xml,
line 36, column 36]
org.apache.tapestry.error.ExceptionPresenterImpl.presentException(ExceptionPresenterImpl.java:64)
--
Jason L. Buberel -- jason@buberel.org -- www.buberel.org
+1.650.483.1989 -- jabber:jason@im.buberel.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org