Re: kaptcha deployment error

2013-08-02 Thread Lance Java
1. Tapestry is built on top of an IOC container (called unimaginatively Tapestry IOC) 2. Services are added to the IOC registry by an IOC Module ( http://tapestry.apache.org/tapestry-ioc-modules.html) 3. Components often require Services 4. Component libraries can include a "Tapestry-Module-Classes

Re: kaptcha deployment error

2013-08-02 Thread Nikola Vulovic
do not know why? Services are not very clear to me and documentation is unclear it worked when I removed line binder.bind(KaptchaProducer.class, KaptchaProducerImpl.class); On Fri, Aug 2, 2013 at 5:21 AM, Nikola Vulovic wrote: > this is the error: > java.lang.RuntimeException: Service id 'Kaptc

Re: kaptcha deployment error

2013-08-02 Thread Taha Hafeez Siddiqi
Why are you binding KaptchaProvider service in your AppModule when it is already bound in tapestry-kaptcha ? regards Taha On 02-Aug-2013, at 8:51 AM, Nikola Vulovic wrote: > this is the error: > java.lang.RuntimeException: Service id 'KaptchaProducer' has already been > defined by > org.apach

kaptcha deployment error

2013-08-01 Thread Nikola Vulovic
this is the error: java.lang.RuntimeException: Service id 'KaptchaProducer' has already been defined by org.apache.tapestry5.kaptcha.internal.services.KaptchaProducerImpl(Map) (at KaptchaProducerImpl.java:34) via org.apache.tapestry5.kaptcha.services.KaptchaModule.bind(ServiceBinder) (at KaptchaMod

RE: deployment of images

2013-02-21 Thread Ken in Nashua
Thanks George, I had located everything to context:images and I am reverting back to your solution. I prefer to locate images to their relevent peers thanks - cheers Ken

Re: deployment of images

2013-02-21 Thread Nicolas Barrera
Check your maven configuration as George says.., because when you 're programming a component in a library (not in a webapp) there will be no src/main/webapp directory to put your images into, and you 'll need to do what you were doing before. cheers. Nicolás.- On Thu, Feb 21, 2013 at 1:44 AM

Re: deployment of images

2013-02-20 Thread George Ludwig
Ken, >But my app fails because somehoe the images for the tapestry component never made it. they dont exist inside my war file. This is a maven issue...you need to configure it to include the images. Your pom should have something like this in it: src/main/resources **/*.png

RE: deployment of images

2013-02-20 Thread Ken in Nashua
Thanks Bob... that worked out terrific.

Re: deployment of images

2013-02-20 Thread Robert Hailey
On 2013/02/20 (Feb), at 8:32 PM, Ken in Nashua wrote: > In the component directory I also put my button images for the component. Ordinarily, the images would go along with the "context path" rather than the class/java/tml files. For example, if I am building a component here: src/main/java/m

deployment of images

2013-02-20 Thread Ken in Nashua
Folks, I designed a component. In the component directory I also put my button images for the component. I build using maven and it all gets packaged up in a war I copy my war to tomcat webapps dir But my app fails because somehoe the images for the tapestry component never made it. they don

Re: Tomcat 7 Parallel Deployment

2013-02-09 Thread ch_pasha
Have the same Problem here with Tomcat 7.0.33 and Tapestry 5.3.6 Is it a tapestry problem or tomcat one? Any comments from devs? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-Parallel-Deployment-tp5715717p5719909.html Sent from the Tapestry - User mailing list

RE: How to execute a method automatically after deployment?

2012-11-28 Thread Tony Nelson
execute a method automatically after deployment? Hi, how can I execute a method automatically after the whole application is loaded an up running? I don't mean static blocks to initialize something. I mean just executing a method as it would be called after application deployed. With all inj

How to execute a method automatically after deployment?

2012-11-28 Thread membersound
ry do this? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-execute-a-method-automatically-after-deployment-tp5718368.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Tomcat 7 Parallel Deployment

2012-08-22 Thread trsvax
1045711.n5.nabble.com/Tomcat-7-Parallel-Deployment-tp5715717p5715723.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additi

Re: Tomcat 7 Parallel Deployment

2012-08-22 Thread Kalle Korhonen
users list: > On Mon, Aug 20, 2012 at 11:16 AM, Kalle Korhonen > wrote: >> As a by-product of some infrastructure work some time ago I hacked >> together an Ant/Maven script for parallel deployment to Tomcat 7. I >> just had a discussion about the parallel deployment feature

Re: Tomcat 7 Parallel Deployment

2012-08-22 Thread Kalle Korhonen
rallel deployment to Tomcat 7. I > just had a discussion about the parallel deployment feature last week > with a friend of mine so I figured publishing our script might be of > use to somebody: > http://tynamo.org/Zero+downtime+deployment+to+Tomcat+7+with+Maven. I've never seen it

Tomcat 7 Parallel Deployment

2012-08-22 Thread trsvax
I was looking at the Tynamo site this morning and found a writeup about Tomcat 7 Parallel Deployment. It looked simple and useful so I gave it a try but my context does not start up because of the following error: Caused by: java.io.FileNotFoundException: /home/cjis/apache-tomcat-7.0.23/webapps

Re: image link problem with different domains linking to deployment domain

2012-08-06 Thread sommeralex
i=1> > For additional commands, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=5715089&i=2> > > > > -- > If you reply to this email, your message will be added to the > discussion below: > > http://ta

Re: image link problem with different domains linking to deployment domain

2012-08-06 Thread Thiago H de Paula Figueiredo
On Sat, 04 Aug 2012 16:30:39 -0300, sommeralex wrote: i tried background:#FF url("${context:img/layout/bg.jpg}") repeat-x; Tapestry only expands ${} referenceschange in .tml files. -- Thiago H. de Paula Figueiredo - T

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread sommeralex
very wired. because > here > >>>>>>> (austria, vienna) i see the images as it should be but only on > .com > >>>>>>> > >>>>>>> hm... > >>>>>>> > >>>>>>> 2012/8/4 Thiag

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread Bob Harner
;>>>> On Sat, 04 Aug 2012 15:46:32 -0300, sommeralex >>>>>>>> <[hidden email]<http://user/SendEmail.jtp?type=node&node=5715062&i=0>> >>>>>>>> wrote: >>>>>>>> >>>>>>>> > Hello! >>>>>&g

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread sommeralex
;>>>>>> For me, here in Brazil, the same files missing in the .com and .net >>>>>>> >>>>>>> versions. And what do you mean by forward? >>>>>>> >>>>>>> > >>>>>>> >

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread sommeralex
here in Brazil, the same files missing in the .com and .net >>>>>> versions. And what do you mean by forward? >>>>>> >>>>>> > >>>>>> > I updated from tapestry 5.2.6 to 5.3.4, but now it seems that i >>>>>> have &g

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread sommeralex
sset >>>>> > errors. My app is deployed on domain A (where everything works) but >>>>> on >>>>> > domain B, C, D (which just forward to domain A) most (?!) image >>>>> links are >>>>> > broken. e.g the logo works

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread sommeralex
t;>> >>>> > asset >>>> > errors. My app is deployed on domain A (where everything works) but >>>> on >>>> > domain B, C, D (which just forward to domain A) most (?!) image links >>>> are >>>> > broken. e.g the l

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread sommeralex
works) but on >>> > domain B, C, D (which just forward to domain A) most (?!) image links >>> are >>> > broken. e.g the logo works, but not the other images. >>> > >>> > living example: (without points) >>> > >>> >

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread sommeralex
gt;> are >> > broken. e.g the logo works, but not the other images. >> > >> > living example: (without points) >> > >> > www.a.i.r.w..r.i..t...in...g.com >> > >> > not working: >> > >> > .net >> >

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread sommeralex
> > .at > > > > > > > > > > > > -- > > View this message in context: > > > http://tapestry.1045711.n5.nabble.com/image-link-problem-with-different-domains-linking-to-deployment-domain-tp5715061.html > > Sent from the Tapestry - User maili

Re: image link problem with different domains linking to deployment domain

2012-08-04 Thread Thiago H de Paula Figueiredo
context: http://tapestry.1045711.n5.nabble.com/image-link-problem-with-different-domains-linking-to-deployment-domain-tp5715061.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-14 Thread netdawg
olinko -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5641083.html Sent from the Tapestry -

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
o Index if not present just like the "french" verison. I think we have beaten this to death, thanks guys. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Kalle Korhonen
welcome-file-list element is a standard part of web.xml. index.jsp is the default value for it at the container level of Tomcat, so setting the value to "index" in a Tapestry5 application is the correct option. Looks like we are missing the configuration from the archetype, I'll fix it for the next

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Have you tried: Or with jstl

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
How about getting rid of index.jsp and adding "index" to your web.xml in the welcome file list. I'm assuming tomcat will try your config before the default

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Nope forward does not work, tried that first (see previous post). -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5638114.html Sent from the Tapestry - User

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Redirect will cause an extra request and will change the URL in the browser. Try forward instead

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
And now empty welcome file list in application does NOT work. Make sense, since the server will just default upward from application to container level default list. I win ;-) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Placing index.jsp with the following in it solves the problem: <% response.sendRedirect("Index"); %> No need to jury rig the configuration. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandl

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Perhaps you can override the tomcat defaults by adding an empty to your web.xml Then no tapestry config required?

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
has been fun. Yes, the JIRA 1904 may be closed...with the proper explanation of the workaround (as you guys see fit). -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-t

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Please try the following: public static void contributeIgnoredPathsFilter(Configuration configuration) { configuration.add("/index\\.(?:html|htm|jsp)"); } If it works, we'll close the JIRA and put some tomcat specific documentation somewhere

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Yes, this may indeed be the temporary workaround. Since it is limited to the application, and not the entire server/container, this is the preferred fix. Much Thanks for fleshing this out. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
/browse/TAP5-1904 -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637941.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Another option might be to tell tapestry to ignore the welcome file list public static void contributeIgnoredPathsFilter(Configuration configuration) { configuration.add("(index\\.html)|(index\\.htm)|(index\\.jsp)"); } http://tapestry.apache.org/configuration.html#Configuration-ConfiguringIgno

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
It looks like you will need to remove all entries from the in $TOMCAT_HOME/conf/web.xml See "How do I override the default home page loaded by Tomcat?" here http://wiki.apache.org/tomcat/HowTo

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
p/about HTTP/1.1" 200 1021 127.0.0.1 - - [13/Apr/2012:00:11:57 -1000] "GET /newapp/ HTTP/1.1" 500 288 127.0.0.1 - - [13/Apr/2012:00:12:16 -1000] "GET /newapp/about HTTP/1.1" 200 1021 -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deplo

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Thanks. YES, commenting out yui-compressor dependency in pom.xml eliminates the first error above. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637859

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Inspect the HTTP logs, is Tomcat trying to redirect from root to some other page (index.jsp or something)? There might be some config in tomcat that you can tweak / remove.

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Indeed. But it is the reference implementation of the servlet standard. In other words, the "fault" is not with Tomcat...even if it probably is. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Pro

Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
I think you've now hit this https://issues.apache.org/jira/browse/TAP5-1729 Try commenting out the following in your pom.xml org.apache.tapestry tapestry-yuicompressor ${tapestry-release-version}

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
The tapestry source code does not have a single reference to "jsp". I think that tomcat might be trying to "help" somehow.

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
page Application 'app' (version 1.0-SNAPSHOT) startup time: 234 ms to build IoC Regis try, 780 ms overall. __ __ /_ __/__ ___ ___ / /___ __ / __/ / / / _ `/ _ \/ -_|_-http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-Tape

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
The index page of the T5 tutorial. Not sure of component. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637774.html Sent from the Tapestry - User

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
I wonder if this has something to do with how tomcat 7 is trying to serve the root. Are you able to hit http://localhost:8080/newapp/about

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
So, I think that eliminates the problem that howard was mentioning on his blog. Can you paste the page / component that is trying to run? I'm trying to think of where a "jsp" component would be references inside the tapestry archetype.

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Thanks for suggestion. No luck, though. Same error in Tomcat 7 with exploded war approach BUT...war file works in Tomcat 5.5.31 ...JDK 1.6.0_03... Go figure... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
I know it's not ideal but you could deploy an exploded war.

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637652.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e

Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
tarted.png BUT, Chrome Browser shows (View Source): Application Exception An unexpected application exception has occurred. Component Index does not contain embedded component 'jsp'. Tomcat Console stacktrace (after deployment) is: Application 'app' (version 1.0-SNAPSHOT)

ContextResource when executing WAR deployment?

2010-11-18 Thread Rich M
Hi, I had been using the following code to dynamically lookup files in my Tapestry [5.1.0.5] applications context: private Logger log; private Context cimpl; private JasperService js; public ReportServiceImpl(Logger log, Context cimpl, JasperService js

Re: No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
http://osdir.com/ml/users-tapestry-apache/2009-05/msg00366.html My directory layout still needs some massaging obviously :) java.lang.RuntimeException: java.lang.ClassNotFoundException: caught an exception while obtaining a class file for au.com.vltest.admin.web.pages.voicemail.VMAccounts Tha

Re: No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
Thanks for the pointer Thaigo - tapestry has made my pages available (got my own coding to deal with now!) javax.servlet.ServletException: Filter execution threw an exception org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.NoClass

Re: No tapestry pages available in deployment

2010-08-31 Thread Thiago H. de Paula Figueiredo
On Tue, 31 Aug 2010 22:38:33 -0300, Chris Mylonas wrote: Howdy, Hi! Seems like a simple mistake in my config - Where should I be looking? I've just deployed into testing an application and can't get tapestry pages to come up. 11:32:27,848 INFO [RegistryBuilder] Adding module definition

No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
Howdy, Seems like a simple mistake in my config - Where should I be looking? I've just deployed into testing an application and can't get tapestry pages to come up. A hint (or answer) would be greatly appreciated - It's an ear deployed on jboss-4.2.3, context path is vltest 11:32:27,571 INFO

Re: t5: text file and tomcat deployment

2009-06-29 Thread nille hammer
deployment Gesendet: Mo, 29. Jun 2009 Von: Angelo Chen > > Hi, > > I put a info.txt file under src/main/resources and when jetty:run I can see > info.txt under target/classes, that's what I want. however when I deploy it > in tomcat, the info.txt file is inside a jar file: >

t5: text file and tomcat deployment

2009-06-29 Thread Angelo Chen
ly to configure some parameters, inside jar file make this impossible. any idea how to put a txt file outside of a jar and yet accessible by:this.getClass().getResourceAsStream("/info.txt") Thanks, Angelo -- View this message in context: http://www.nabble.com/t5%3A-text-file-and-to

JBoss 5 deployment

2008-12-16 Thread jthompson209
in context: http://n2.nabble.com/JBoss-5-deployment-tp1664439p1664439.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

T5 app - Tomcat with security manager deployment problem

2008-12-08 Thread shymon
... 57 more Caused by: javassist.NotFoundException: java.lang.Object at javassist.ClassPool.get(ClassPool.java:436) at org.apache.tapestry5.ioc.internal.services.CtClassSourceImpl.toCtClass(CtClassSourceImpl.java:71) ... 60 more -- View this message in context: http://

Re: T5: Best Way to Start a Service at Deployment Time

2008-11-12 Thread Charles Mason
On Wed, Nov 12, 2008 at 2:33 PM, Martijn Brinkers <[EMAIL PROTECTED]> wrote: > mark your service as EagerLoad > > See > http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/ioc/annotations/EagerLoad.html > > Martijn Thanks all for the suggestions. I used the EagerLoad annotation on th

RE: T5: Best Way to Start a Service at Deployment Time

2008-11-12 Thread Hong Yu (hoyu2)
You can annotate your service with EgarLoad. Hong -Original Message- From: Charles Mason [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 8:25 AM To: Tapestry users Subject: T5: Best Way to Start a Service at Deployment Time Hi All, I am developing a web app using

Re: T5: Best Way to Start a Service at Deployment Time

2008-11-12 Thread Hugo Palma
You can bind code to the registry startup like this: public static void contributeRegistryStartup(OrderedConfiguration configuration) { configuration.add("MyStartupCode", new Runnable() { public void run() { // initialize stuff }

Re: T5: Best Way to Start a Service at Deployment Time

2008-11-12 Thread Martijn Brinkers
mark your service as EagerLoad See http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/ioc/annotations/EagerLoad.html Martijn On Wed, 2008-11-12 at 14:25 +, Charles Mason wrote: > Hi All, > > I am developing a web app using Tapestry 5, half of it is a > conventional CRUD DB i

T5: Best Way to Start a Service at Deployment Time

2008-11-12 Thread Charles Mason
Hi All, I am developing a web app using Tapestry 5, half of it is a conventional CRUD DB interface style web app. The other part has a data collector which runs in a separate thread every 4 hours. The collector is currently implemented as a Tapestry 5 service so the web app portion of it can acces

Re: Tapestry 5, WAR files and deployment

2008-11-07 Thread tapestryphoto
Thank you Olle and everyone else who replied to my query. Indeed, I had to recreate the repository (plus I missed one or two dependencies). p. Quoting Olle Hallin <[EMAIL PROTECTED]>: The standard cure-most-dependency-problems medicin for Maven is to wipe your local repository and try aga

Re: Tapestry 5, WAR files and deployment

2008-11-07 Thread Olle Hallin
The standard cure-most-dependency-problems medicin for Maven is to wipe your local repository and try again. Delete (or rename) $HOME/.m2/repository (Linux) or %USERPROFILE%\.m2\repository (Windows). Also: the standard way to package a any Maven project is mvn package. mvn war:war happens to work

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Fernando Padilla
This is probably because it can't download the files.. I would double check your networking, but because you're emailing us I'll assume it's working. Someone I know also had issue like this, and the cause for him was he installed it as root on his laptop, so when he tried to build it as his

RE: Tapestry 5, WAR files and deployment

2008-11-06 Thread James Sherwood
: Tapestry 5, WAR files and deployment Quoting Olle Hallin <[EMAIL PROTECTED]>: > Does it work from the command line? > Olle > I tried mvn war:war from the project directory. Bizarrely it gives even more problems. I find Maven very frustrating... [INFO] Failed to resolve art

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread tapestryphoto
Quoting Olle Hallin <[EMAIL PROTECTED]>: Does it work from the command line? Olle I tried mvn war:war from the project directory. Bizarrely it gives even more problems. I find Maven very frustrating... [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.maven:maven-archi

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Olle Hallin
but >>> for >>> Jetty you may have too. Just do a quick search on deploying war's to >>> jetty. >>> >>> This is one example that might help you(I am not familiar with Jetty): >>> >>> http://markmail.org/message/csnnytlurso7b3ut >&

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread tapestryphoto
ot familiar with Jetty): http://markmail.org/message/csnnytlurso7b3ut --James -Original Message- From: tapestryphoto [mailto:[EMAIL PROTECTED] Sent: November-06-08 10:19 AM To: users@tapestry.apache.org Subject: Tapestry 5, WAR files and deployment Hi, Having gone through the Tapestry t

RE: Tapestry 5, WAR files and deployment

2008-11-06 Thread James Sherwood
Hello, I just file/export/war in eclipse. Works fine for tomcat. --James -Original Message- From: Olle Hallin [mailto:[EMAIL PROTECTED] Sent: November-06-08 11:15 AM To: Tapestry users Subject: Re: Tapestry 5, WAR files and deployment Everyday one learns something new is a good day :D

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Olle Hallin
Everyday one learns something new is a good day :D Olle 2008/11/6 Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> > Em Thu, 06 Nov 2008 12:05:50 -0300, Olle Hallin <[EMAIL PROTECTED]> > escreveu: > > Hi, >> If you insist on doing it from within Eclipse, then >> >> 1. install the m2eclipse p

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Thiago H. de Paula Figueiredo
Em Thu, 06 Nov 2008 12:05:50 -0300, Olle Hallin <[EMAIL PROTECTED]> escreveu: Hi, If you insist on doing it from within Eclipse, then 1. install the m2eclipse plugin 2. enable Maven for your project 3. right-click pom.xml and invoke Run As -> Maven package You can also right-click

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Olle Hallin
is is one example that might help you(I am not familiar with Jetty): > > http://markmail.org/message/csnnytlurso7b3ut > > --James > > -Original Message- > From: tapestryphoto [mailto:[EMAIL PROTECTED] > Sent: November-06-08 10:19 AM > To: users@tapestry.apache.

RE: Tapestry 5, WAR files and deployment

2008-11-06 Thread James Sherwood
to [mailto:[EMAIL PROTECTED] Sent: November-06-08 10:19 AM To: users@tapestry.apache.org Subject: Tapestry 5, WAR files and deployment Hi, Having gone through the Tapestry tutorials, got to grips with it, developed a small application and have got it running well I'd like to actually deplo

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Thiago H. de Paula Figueiredo
Em Thu, 06 Nov 2008 11:18:59 -0300, tapestryphoto <[EMAIL PROTECTED]> escreveu: Hi, Having gone through the Tapestry tutorials, got to grips with it, developed a small application and have got it running well I'd like to actually deploy it. I notice there are no documents, examples or t

Tapestry 5, WAR files and deployment

2008-11-06 Thread tapestryphoto
Hi, Having gone through the Tapestry tutorials, got to grips with it, developed a small application and have got it running well I'd like to actually deploy it. I notice there are no documents, examples or tutorials (as far as I can see) that address how to do this. Even the "Tapestry 5"

Re: deployment

2008-10-04 Thread Luther Baker
That was it! It makes sense - but I thought there was likely some translation being done there and so never even considered that this time around ... great! Thanks Robert. -Luther On Oct 5, 2008, at 12:43 AM, Robert Zeigler wrote: Almost guaranteed that you're running into casing issues

Re: deployment

2008-10-04 Thread Luther Baker
This is very strange. I just deployed to Jetty and I am getting the same error. If anyone has a second, please feel free to take a look: http://www.effectiveprogramming.com/effprog-web/ Development works just fine [eclipse + ganymede + m2 plugin]. I can run the application locally via (Tomcat / W

Re: deployment

2008-10-04 Thread Robert Zeigler
Almost guaranteed that you're running into casing issues. Windows is case insensitive with respect to filenames. Linux is not. Check to make sure that your template files and your java files have the same casing for their names. That is: On windows: Index.java and index.tml will work, but on li

deployment

2008-10-04 Thread Luther Baker
I've been developing with the m2 maven plugin. I have both Tomcat via WTP and Jetty via mvn jetty:run working within eclipse. I just built the war from the command line via "mvn install" and deployed it to a tomcat webserver and getting an error on the first page: Page Index did not generate any

Re: T5 (5.0.11) - ready for production deployment

2008-03-28 Thread Koka Kiknadze
On Fri, Mar 28, 2008 at 5:48 PM, Jonathan Barker < [EMAIL PROTECTED]> wrote: > Rob, > > I can't resist... > > Please, do resist. Imo thats the only way to handle it... http://article.gmane.org/gmane.comp.java.tapestry.user/59910

Re: T5 (5.0.11) - ready for production deployment

2008-03-28 Thread Robert Zeigler
I'd have to agree. I've been working on a T3 app a bit this week. It's one I haven't touched in awhile. It was pleasantly nice to work on... but I found myself itching to upgrade the app to T5, because T5 is more fun. :) Robert On Mar 27, 2008, at 3/277:35 PM , Howard Lewis Ship wrote: "F

RE: T5 (5.0.11) - ready for production deployment

2008-03-28 Thread Jonathan Barker
t; Subject: Re: T5 (5.0.11) - ready for production deployment > > Howard, > > I have 2 favorite adjectives about Tapestry 5: Over-engineerd and > Volatile!! > > Best wishes, > > Rob > > On Fri, Mar 28, 2008 at 1:35 AM, Howard Lewis Ship <[EMAIL PROTECTE

Re: T5 (5.0.11) - ready for production deployment

2008-03-28 Thread Rob Smeets
Howard, I have 2 favorite adjectives about Tapestry 5: Over-engineerd and Volatile!! Best wishes, Rob On Fri, Mar 28, 2008 at 1:35 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > "Fun" is one of my favorite adjectives for Tapestry. > > On Thu, Mar 27, 2008 at 5:20 PM, Josh Canfield <[EMAIL

Re: T5 (5.0.11) - ready for production deployment

2008-03-27 Thread Howard Lewis Ship
"Fun" is one of my favorite adjectives for Tapestry. On Thu, Mar 27, 2008 at 5:20 PM, Josh Canfield <[EMAIL PROTECTED]> wrote: > > There is another public website, thedailytube.com, developed with T5 > > by some member of this list I can't recall his name. :P > > That'd be me :) > > The site we

Re: T5 (5.0.11) - ready for production deployment

2008-03-27 Thread Josh Canfield
> There is another public website, thedailytube.com, developed with T5 > by some member of this list I can't recall his name. :P That'd be me :) The site went up with 5.0.5, and currently on 5.0.10. Tapestry 5 is rendering everything, the site, the RSS feeds, the content for the email newsletter

Re: T5 (5.0.11) - ready for production deployment

2008-03-27 Thread Thiago HP
In the company I worked for until two weeks ago, I developed an internal application with T5 and it's already in production. That was a very successful experience, so the same company is now developing another one in T5. There is another public website, thedailytube.com, developed with T5 by some

Re: T5 (5.0.11) - ready for production deployment

2008-03-27 Thread Donyee
> many UI components/forms have to be created. There will be a requirement > > to have google suggest like functionality, along with a small other Ajax > > component. The deployment platform will be

Re: T5 (5.0.11) - ready for production deployment

2008-03-27 Thread Martin Grotzke
o do so? The application is quite simple in that not > many UI components/forms have to be created. There will be a requirement > to have google suggest like functionality, along with a small other Ajax > component. The deployment platform will be tomcat. > > What do you think - 'i

  1   2   >