You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jan Mikkelsen <jm...@adslhome.dk> on 2003/12/01 00:36:04 UTC

Re: Example Application

... more information regarding this problem with registration.war:

I get this exception: 

java.lang.NoClassDefFoundError: javassist/NotFoundException
at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.createEnhancedClassFactory(DefaultComponentClassEnhancer.java:104)
at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.<init>(DefaultComponentClassEnhancer.java:99)
at org.apache.tapestry.engine.AbstractEngine.createComponentClassEnhancer(AbstractEngine.java:2224)
at org.apache.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1284)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:866)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:238)
at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:199)
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:96)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:534)

/Jan Mikkelsen


On Sun, 30 Nov 2003 22:42:37 +0100
Jan Mikkelsen <jm...@adslhome.dk> wrote:

> Hi Harish
> 
> registration.war does not seem to work if I replace the tapestry jars
> with beta 3. I replaced commons-fileupload-1.0-beta-1.jar too, but to no
> avail. Could you have a look sometime?
> 
> Kind regards, 
> Jan
> 
> 
> On Fri, 14 Nov 2003 12:38:56 -0500
> Harish Krishnaswamy <hk...@comcast.net> wrote:
> 
> > Checkout http://myworkspace.sf.net.
> > 
> > -Harish
> > 
> > Tom E. Cole wrote:
> > 
> > > I am just starting (today) on the Tapestry Framework using the Spindle
> > > plug-in for Eclipse.
> > > 
> > > I have downloaded the User and Developer Docs as well. 
> > > 
> > > Is anyone aware of a small example application (maybe a simple two-three
> > > page app) written in Tapestry that I can download and look at? If I
> > > could see it run and walk through the code I think I could shorten my
> > > learning curve dramatically.
> > > 
> > > Also, do the Tapestry .jar files need to be in the WEB-INF/lib of my
> > > application or can they be in the shared/lib directory (I'm running
> > > Tomcat 4.1.24).
> > > 
> > > Thank you in advance.
> > > 
> > > Best Regards,
> > > 
> > > Tommy E. Cole, Jr.
> > > General Manager & C.O.O.
> > > Lamatek, Inc.
> > > tcole@lamatek.com
> > > http://www.lamatek.com 
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > 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



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Example Application

Posted by Jan Mikkelsen <jm...@adslhome.dk>.
Thanks a lot, Harish

It works now!

/Jan


On Sun, 30 Nov 2003 19:26:44 -0500
Harish Krishnaswamy <hk...@comcast.net> wrote:

> Tapestry was using BCEL at the time this demo was written. I guess you replaced the Tapestry jars 
> with the current beta-3 jars and did not download the javassist jars. Anyway I just uploaded a new 
> version of the demo that runs on Tapestry beta-3. Please try and let me know.
> 
> -Harish
> 
> 
> Harish Krishnaswamy wrote:
> 
> > I shall take a look right now.
> > 
> > -Harish
> > 
> > Jan Mikkelsen wrote:
> > 
> >> ... more information regarding this problem with registration.war:
> >>
> >> I get this exception:
> >> java.lang.NoClassDefFoundError: javassist/NotFoundException
> >> at 
> >> org.apache.tapestry.enhance.DefaultComponentClassEnhancer.createEnhancedClassFactory(DefaultComponentClassEnhancer.java:104) 
> >>
> >> at 
> >> org.apache.tapestry.enhance.DefaultComponentClassEnhancer.<init>(DefaultComponentClassEnhancer.java:99) 
> >>
> >> at 
> >> org.apache.tapestry.engine.AbstractEngine.createComponentClassEnhancer(AbstractEngine.java:2224) 
> >>
> >> at 
> >> org.apache.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1284) 
> >>
> >> at 
> >> org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:866) 
> >>
> >> at 
> >> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:238) 
> >>
> >> at 
> >> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:199)
> >> 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:96) 
> >>
> >> at com.caucho.server.http.Invocation.service(Invocation.java:315)
> >> at 
> >> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
> >> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
> >> at 
> >> com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
> >> at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
> >> at java.lang.Thread.run(Thread.java:534)
> >>
> >> /Jan Mikkelsen
> >>
> >>
> >> On Sun, 30 Nov 2003 22:42:37 +0100
> >> Jan Mikkelsen <jm...@adslhome.dk> wrote:
> >>
> >>
> >>> Hi Harish
> >>>
> >>> registration.war does not seem to work if I replace the tapestry jars
> >>> with beta 3. I replaced commons-fileupload-1.0-beta-1.jar too, but to no
> >>> avail. Could you have a look sometime?
> >>>
> >>> Kind regards, Jan
> >>>
> >>>
> >>> On Fri, 14 Nov 2003 12:38:56 -0500
> >>> Harish Krishnaswamy <hk...@comcast.net> wrote:
> >>>
> >>>
> >>>> Checkout http://myworkspace.sf.net.
> >>>>
> >>>> -Harish
> >>>>
> >>>> Tom E. Cole wrote:
> >>>>
> >>>>
> >>>>> I am just starting (today) on the Tapestry Framework using the Spindle
> >>>>> plug-in for Eclipse.
> >>>>>
> >>>>> I have downloaded the User and Developer Docs as well.
> >>>>> Is anyone aware of a small example application (maybe a simple 
> >>>>> two-three
> >>>>> page app) written in Tapestry that I can download and look at? If I
> >>>>> could see it run and walk through the code I think I could shorten my
> >>>>> learning curve dramatically.
> >>>>>
> >>>>> Also, do the Tapestry .jar files need to be in the WEB-INF/lib of my
> >>>>> application or can they be in the shared/lib directory (I'm running
> >>>>> Tomcat 4.1.24).
> >>>>>
> >>>>> Thank you in advance.
> >>>>>
> >>>>> Best Regards,
> >>>>>
> >>>>> Tommy E. Cole, Jr.
> >>>>> General Manager & C.O.O.
> >>>>> Lamatek, Inc.
> >>>>> tcole@lamatek.com
> >>>>> http://www.lamatek.com
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> 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
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Example Application

Posted by Harish Krishnaswamy <hk...@comcast.net>.
Tapestry was using BCEL at the time this demo was written. I guess you replaced the Tapestry jars 
with the current beta-3 jars and did not download the javassist jars. Anyway I just uploaded a new 
version of the demo that runs on Tapestry beta-3. Please try and let me know.

-Harish


Harish Krishnaswamy wrote:

> I shall take a look right now.
> 
> -Harish
> 
> Jan Mikkelsen wrote:
> 
>> ... more information regarding this problem with registration.war:
>>
>> I get this exception:
>> java.lang.NoClassDefFoundError: javassist/NotFoundException
>> at 
>> org.apache.tapestry.enhance.DefaultComponentClassEnhancer.createEnhancedClassFactory(DefaultComponentClassEnhancer.java:104) 
>>
>> at 
>> org.apache.tapestry.enhance.DefaultComponentClassEnhancer.<init>(DefaultComponentClassEnhancer.java:99) 
>>
>> at 
>> org.apache.tapestry.engine.AbstractEngine.createComponentClassEnhancer(AbstractEngine.java:2224) 
>>
>> at 
>> org.apache.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1284) 
>>
>> at 
>> org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:866) 
>>
>> at 
>> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:238) 
>>
>> at 
>> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:199)
>> 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:96) 
>>
>> at com.caucho.server.http.Invocation.service(Invocation.java:315)
>> at 
>> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
>> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
>> at 
>> com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
>> at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
>> at java.lang.Thread.run(Thread.java:534)
>>
>> /Jan Mikkelsen
>>
>>
>> On Sun, 30 Nov 2003 22:42:37 +0100
>> Jan Mikkelsen <jm...@adslhome.dk> wrote:
>>
>>
>>> Hi Harish
>>>
>>> registration.war does not seem to work if I replace the tapestry jars
>>> with beta 3. I replaced commons-fileupload-1.0-beta-1.jar too, but to no
>>> avail. Could you have a look sometime?
>>>
>>> Kind regards, Jan
>>>
>>>
>>> On Fri, 14 Nov 2003 12:38:56 -0500
>>> Harish Krishnaswamy <hk...@comcast.net> wrote:
>>>
>>>
>>>> Checkout http://myworkspace.sf.net.
>>>>
>>>> -Harish
>>>>
>>>> Tom E. Cole wrote:
>>>>
>>>>
>>>>> I am just starting (today) on the Tapestry Framework using the Spindle
>>>>> plug-in for Eclipse.
>>>>>
>>>>> I have downloaded the User and Developer Docs as well.
>>>>> Is anyone aware of a small example application (maybe a simple 
>>>>> two-three
>>>>> page app) written in Tapestry that I can download and look at? If I
>>>>> could see it run and walk through the code I think I could shorten my
>>>>> learning curve dramatically.
>>>>>
>>>>> Also, do the Tapestry .jar files need to be in the WEB-INF/lib of my
>>>>> application or can they be in the shared/lib directory (I'm running
>>>>> Tomcat 4.1.24).
>>>>>
>>>>> Thank you in advance.
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Tommy E. Cole, Jr.
>>>>> General Manager & C.O.O.
>>>>> Lamatek, Inc.
>>>>> tcole@lamatek.com
>>>>> http://www.lamatek.com
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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: Example Application

Posted by Harish Krishnaswamy <hk...@comcast.net>.
I shall take a look right now.

-Harish

Jan Mikkelsen wrote:
> ... more information regarding this problem with registration.war:
> 
> I get this exception: 
> 
> java.lang.NoClassDefFoundError: javassist/NotFoundException
> at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.createEnhancedClassFactory(DefaultComponentClassEnhancer.java:104)
> at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.<init>(DefaultComponentClassEnhancer.java:99)
> at org.apache.tapestry.engine.AbstractEngine.createComponentClassEnhancer(AbstractEngine.java:2224)
> at org.apache.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1284)
> at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:866)
> at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:238)
> at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:199)
> 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:96)
> at com.caucho.server.http.Invocation.service(Invocation.java:315)
> at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
> at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
> at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
> at java.lang.Thread.run(Thread.java:534)
> 
> /Jan Mikkelsen
> 
> 
> On Sun, 30 Nov 2003 22:42:37 +0100
> Jan Mikkelsen <jm...@adslhome.dk> wrote:
> 
> 
>>Hi Harish
>>
>>registration.war does not seem to work if I replace the tapestry jars
>>with beta 3. I replaced commons-fileupload-1.0-beta-1.jar too, but to no
>>avail. Could you have a look sometime?
>>
>>Kind regards, 
>>Jan
>>
>>
>>On Fri, 14 Nov 2003 12:38:56 -0500
>>Harish Krishnaswamy <hk...@comcast.net> wrote:
>>
>>
>>>Checkout http://myworkspace.sf.net.
>>>
>>>-Harish
>>>
>>>Tom E. Cole wrote:
>>>
>>>
>>>>I am just starting (today) on the Tapestry Framework using the Spindle
>>>>plug-in for Eclipse.
>>>>
>>>>I have downloaded the User and Developer Docs as well. 
>>>>
>>>>Is anyone aware of a small example application (maybe a simple two-three
>>>>page app) written in Tapestry that I can download and look at? If I
>>>>could see it run and walk through the code I think I could shorten my
>>>>learning curve dramatically.
>>>>
>>>>Also, do the Tapestry .jar files need to be in the WEB-INF/lib of my
>>>>application or can they be in the shared/lib directory (I'm running
>>>>Tomcat 4.1.24).
>>>>
>>>>Thank you in advance.
>>>>
>>>>Best Regards,
>>>>
>>>>Tommy E. Cole, Jr.
>>>>General Manager & C.O.O.
>>>>Lamatek, Inc.
>>>>tcole@lamatek.com
>>>>http://www.lamatek.com 
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>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
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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