NPE when using Response.sendRedirect(String url) to forward to offsite address.
Hi everyone, For various reasons (that are good enough for our team ;) ) we have to make use of a sendRedirect to forward to an offsite url. This works fine when I do so from an event, such as @OnEvent(value=EventConstants.SUCCESS) but throws a NPE when attempting to do so from any phase of the render-request :( Even the onActivate() counts as one of the phases for which it fails unfortunately. I can redirect inside T5 just fine, using the obvious method of returning a Class or Link, but I need to be able to redirect off-site as well! As a results my post has two goals: 1) I want to establish if this problem is a bug and if so should I report it, or is it already reported (I could not find it in Jira). 2) Can anybody come up with a work-around for this bug. The behaviour I need is that a user-request to 'a page' causes the page to redirect to an external url, without user interaction. (Currently I have a form with hidden input containing pertinent information, and the user needs to click the form-button). Some additional technical information: - I am using Tapestry 5.1.0.5 - This is the start if the stacktrace root-cause: 12-Oct-2009 11:25:43 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.NullPointerException at org.apache.tapestry5.internal.services.ResponseCompressionAnalyzerImpl.isCompressable(ResponseCompressionAnalyzerImpl.java:65) at $ResponseCompressionAnalyzer_12448028aeb.isCompressable($ResponseCompressionAnalyzer_12448028aeb.java) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.openResponseOutputStream(BufferedGZipOutputStream.java:77) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.checkForCutover(BufferedGZipOutputStream.java:70) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.write(BufferedGZipOutputStream.java:116) at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336) at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395) at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136) at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191) at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:111) at java.io.BufferedWriter.write(BufferedWriter.java:212) at java.io.PrintWriter.write(PrintWriter.java:384) at java.io.PrintWriter.write(PrintWriter.java:401) at java.io.PrintWriter.print(PrintWriter.java:532) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:367) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Document.toMarkup(Document.java:163) at org.apache.tapestry5.dom.Node.toMarkup(Node.java:80) at org.apache.tapestry5.internal.services.MarkupWriterImpl.toMarkup(MarkupWriterImpl.java:57) at org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:67) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Re: T5, tapestry-spring-security, slf4j MDC
Hello, I simplified the code so it does not use RequestGlobals which was giving me NULL for this.requestGlobals.getHTTPServletRequest() AppModule.java = ... binder.bind(HttpServletRequestFilter.class, RequestLoggingFilter.class).withId(RequestLoggingFilter); ... public static void contributeHttpServletRequestHandler( OrderedConfigurationHttpServletRequestFilter configuration, @InjectService(RequestLoggingFilter) HttpServletRequestFilter myfilter) { configuration.add(myfilter, myfilter, before:*); } RequestLoggingFilter.java = public class RequestLoggingFilter implements HttpServletRequestFilter { @Override public boolean service(HttpServletRequest request, HttpServletResponse response, HttpServletRequestHandler handler) throws IOException { MDC.put(remoteIP, request.getRemoteAddr()); HttpSession se = request.getSession(false); if (se != null) { String id = se.getId(); if (id == null) { id = ; } MDC.put(sessionID, id); } try { return handler.service(request, response); } finally { MDC.remove(remoteIP); MDC.remove(sessionID); } } } Thanks for hints. 2009/10/9 Olle Hallin olle.hal...@hit.se Do like this: MDC.put(xxx, ...); MDC.put(yyy, ...); try { return handler.service(request, response); } finally { MDC.remove(xxx) MDC.remove(yyy) } or else you will have problems when your request throws an exception Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/9 dirk.latterm...@bgs-ag.de Hi! Borut Bolčina borut.bolc...@gmail.com schrieb am 09.10.2009 14:55:32: this is what I did: public class RequestLoggingFilter implements HttpServletRequestFilter { public final RequestGlobals requestGlobals; public RequestLoggingFilter(final RequestGlobals requestGlobalss) { this.requestGlobals = requestGlobalss; } @Override public boolean service(HttpServletRequest request, HttpServletResponse response, HttpServletRequestHandler handler) throws IOException { MDC.put(remoteIP, this.requestGlobals.getHTTPServletRequest().getRemoteAddr()); String s = this.requestGlobals.getHTTPServletRequest().getRequestedSessionId(); if (s == null) { s = ; } MDC.put(sessionID, s); return handler.service(request, response); } } but I feel I am missing something. Where do I put the code: MDC.remove(remoteIP); MDC.remove(sessionID); In a similar situation, I used something like @Override public boolean service(HttpServletRequest request, HttpServletResponse response, HttpServletRequestHandler handler) throws IOException { MDC.put(remoteIP, this.requestGlobals.getHTTPServletRequest().getRemoteAddr()); String s = this.requestGlobals.getHTTPServletRequest().getRequestedSessionId(); if (s == null) { s = ; } MDC.put(sessionID, s); boolean result = handler.service(request, response); MDC.remove(remoteIP); MDC.remove(sessionID); return result; } } but I'm not sure if it does the right thing in all situations. Dirk BGS Beratungsgesellschaft Software Systemplanung AG Niederlassung Köln/Bonn Grantham-Allee 2-8 53757 Sankt Augustin Fon: +49 (0) 2241 / 166-500 Fax: +49 (0) 2241 / 166-680 www.bgs-ag.de Geschäftssitz Mainz Registergericht Amtsgericht Mainz HRB 62 50 Aufsichtsratsvorsitzender Klaus Hellwig Vorstand Hermann Kiefer Nils Manegold Thomas Reitz
Re: Problems using upload inside an ajax zone
All solutions are either java/flash based or pretty hacky. See http://stackoverflow.com/questions/166221/how-to-upload-file-jquery - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: NPE when using Response.sendRedirect(String url) to forward to offsite address.
Hello Try by returning a java.net.URL from your activate method. This should work i think. Regards, Christophe. 2009/10/12 Martin Reurings mar...@windgazer.nl Hi everyone, For various reasons (that are good enough for our team ;) ) we have to make use of a sendRedirect to forward to an offsite url. This works fine when I do so from an event, such as @OnEvent(value=EventConstants.SUCCESS) but throws a NPE when attempting to do so from any phase of the render-request :( Even the onActivate() counts as one of the phases for which it fails unfortunately. I can redirect inside T5 just fine, using the obvious method of returning a Class or Link, but I need to be able to redirect off-site as well! As a results my post has two goals: 1) I want to establish if this problem is a bug and if so should I report it, or is it already reported (I could not find it in Jira). 2) Can anybody come up with a work-around for this bug. The behaviour I need is that a user-request to 'a page' causes the page to redirect to an external url, without user interaction. (Currently I have a form with hidden input containing pertinent information, and the user needs to click the form-button). Some additional technical information: - I am using Tapestry 5.1.0.5 - This is the start if the stacktrace root-cause: 12-Oct-2009 11:25:43 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.NullPointerException at org.apache.tapestry5.internal.services.ResponseCompressionAnalyzerImpl.isCompressable(ResponseCompressionAnalyzerImpl.java:65) at $ResponseCompressionAnalyzer_12448028aeb.isCompressable($ResponseCompressionAnalyzer_12448028aeb.java) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.openResponseOutputStream(BufferedGZipOutputStream.java:77) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.checkForCutover(BufferedGZipOutputStream.java:70) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.write(BufferedGZipOutputStream.java:116) at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336) at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395) at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136) at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191) at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:111) at java.io.BufferedWriter.write(BufferedWriter.java:212) at java.io.PrintWriter.write(PrintWriter.java:384) at java.io.PrintWriter.write(PrintWriter.java:401) at java.io.PrintWriter.print(PrintWriter.java:532) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:367) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Document.toMarkup(Document.java:163) at org.apache.tapestry5.dom.Node.toMarkup(Node.java:80) at org.apache.tapestry5.internal.services.MarkupWriterImpl.toMarkup(MarkupWriterImpl.java:57) at org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:67) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
t5: redirect to a page in javascript?
Hi, How to redirect to another page in a javascript? example: function do_proc() { saveupdates() window.location=items } this does not work, any idea? Thanks, -- View this message in context: http://www.nabble.com/t5%3A-redirect-to-a-page-in-javascript--tp25853995p25853995.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: NPE when using Response.sendRedirect(String url) to forward to offsite address.
Hi Cristophe, Thanks for pointing that out, you're a legend! Works a charm! Even after working with T5 for 2 years orso I still get stumped by how simple some solutions are ;) Regards, Martin cordenier christophe wrote: Hello Try by returning a java.net.URL from your activate method. This should work i think. Regards, Christophe. 2009/10/12 Martin Reurings mar...@windgazer.nl Hi everyone, For various reasons (that are good enough for our team ;) ) we have to make use of a sendRedirect to forward to an offsite url. This works fine when I do so from an event, such as @OnEvent(value=EventConstants.SUCCESS) but throws a NPE when attempting to do so from any phase of the render-request :( Even the onActivate() counts as one of the phases for which it fails unfortunately. I can redirect inside T5 just fine, using the obvious method of returning a Class or Link, but I need to be able to redirect off-site as well! As a results my post has two goals: 1) I want to establish if this problem is a bug and if so should I report it, or is it already reported (I could not find it in Jira). 2) Can anybody come up with a work-around for this bug. The behaviour I need is that a user-request to 'a page' causes the page to redirect to an external url, without user interaction. (Currently I have a form with hidden input containing pertinent information, and the user needs to click the form-button). Some additional technical information: - I am using Tapestry 5.1.0.5 - This is the start if the stacktrace root-cause: 12-Oct-2009 11:25:43 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.NullPointerException at org.apache.tapestry5.internal.services.ResponseCompressionAnalyzerImpl.isCompressable(ResponseCompressionAnalyzerImpl.java:65) at $ResponseCompressionAnalyzer_12448028aeb.isCompressable($ResponseCompressionAnalyzer_12448028aeb.java) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.openResponseOutputStream(BufferedGZipOutputStream.java:77) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.checkForCutover(BufferedGZipOutputStream.java:70) at org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.write(BufferedGZipOutputStream.java:116) at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336) at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395) at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136) at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191) at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:111) at java.io.BufferedWriter.write(BufferedWriter.java:212) at java.io.PrintWriter.write(PrintWriter.java:384) at java.io.PrintWriter.write(PrintWriter.java:401) at java.io.PrintWriter.print(PrintWriter.java:532) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:367) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:840) at org.apache.tapestry5.dom.Element.toMarkup(Element.java:356) at org.apache.tapestry5.dom.Document.toMarkup(Document.java:163) at org.apache.tapestry5.dom.Node.toMarkup(Node.java:80) at org.apache.tapestry5.internal.services.MarkupWriterImpl.toMarkup(MarkupWriterImpl.java:57) at org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:67) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5: calling action link from a javascript
You can't really rely on Tapestry expansions inside JS code ... it's best to use the RenderSupport to pass data to the Javascript. You may find this wiki post helpful: http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained 2009/10/12 Angelo Chen angelochen...@yahoo.com.hk Hi Toby, It got called in the firefox but not in safari, here is what I do: in the .tml file: script type=text/javascript function updateItem() { return ${updateItem}; } /script in the .js file: jQuery.post(updateItem(), { item_no : ino }, function(data){ alert(Data Loaded: + data.status), json; }); Toby Hobson-3 wrote: Are you sure you're javascript is using the correct url? I don't know what your updateItem() JS function does, but generally you need to construct the actionlink url (as you have done) then pass this to the javascript using RenderSupport's addScript() method Toby 2009/10/12 Angelo Chen angelochen...@yahoo.com.hk Hi, I'm trying to call an actionlink from a javascript, but i'm getting: Remote server closed the connection before sending response header and I never see the pop up dialog in the javascript, any idea how to avoid errors like this? Thanks. A.C. sample code: in java: public String getUpdateItem() { return resources.createActionLink(updateItem, false).toURI() } Object onUpdateItem() { return new TextStreamResponse(text/html, ok); } in javascript: jQuery.post(updateItem(), { item_no : ino }, function(data){ alert(Data Loaded: + data); }); -- View this message in context: http://www.nabble.com/t5%3A-calling-action-link-from-a-javascript-tp25849523p25849523.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- View this message in context: http://www.nabble.com/t5%3A-calling-action-link-from-a-javascript-tp25849523p25849812.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5: calling action link from a javascript
You may get away with using an expansion as explained here: http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript but I think RenderSupport is still the better option 2009/10/12 Toby Hobson toby.hob...@googlemail.com You can't really rely on Tapestry expansions inside JS code ... it's best to use the RenderSupport to pass data to the Javascript. You may find this wiki post helpful: http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained 2009/10/12 Angelo Chen angelochen...@yahoo.com.hk Hi Toby, It got called in the firefox but not in safari, here is what I do: in the .tml file: script type=text/javascript function updateItem() { return ${updateItem}; } /script in the .js file: jQuery.post(updateItem(), { item_no : ino }, function(data){ alert(Data Loaded: + data.status), json; }); Toby Hobson-3 wrote: Are you sure you're javascript is using the correct url? I don't know what your updateItem() JS function does, but generally you need to construct the actionlink url (as you have done) then pass this to the javascript using RenderSupport's addScript() method Toby 2009/10/12 Angelo Chen angelochen...@yahoo.com.hk Hi, I'm trying to call an actionlink from a javascript, but i'm getting: Remote server closed the connection before sending response header and I never see the pop up dialog in the javascript, any idea how to avoid errors like this? Thanks. A.C. sample code: in java: public String getUpdateItem() { return resources.createActionLink(updateItem, false).toURI() } Object onUpdateItem() { return new TextStreamResponse(text/html, ok); } in javascript: jQuery.post(updateItem(), { item_no : ino }, function(data){ alert(Data Loaded: + data); }); -- View this message in context: http://www.nabble.com/t5%3A-calling-action-link-from-a-javascript-tp25849523p25849523.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- View this message in context: http://www.nabble.com/t5%3A-calling-action-link-from-a-javascript-tp25849523p25849812.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Cursor in first empty filed - problem with FormFragment?
T5 has a very nice usability feature, on a form it puts the cursor in the first empty textfield. But this seems not to work, if there is a FormFragment involved. On the LoginPage, where I have a form with username and password and a FormFragment with email (to request password reset), the non visible email field from the FormFragment gets the cursor, and not the username field. Is this a known bug? Is there a workaround for this? Cause especially on the login page ist is very annoying if you have to use the mouse to set focus, when it works on all other pages thx, Max - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5 and fckeditor component
Hi, I use tapestry 5.1.05, I downloaded chenillekit-core-1.1.0.jar and chenillekit-tapestry-1.1.0.jar and put it WEB-INF/lib, and I got ava.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration error. I'm new to tapestry, is there any place I can have document on how to use chenillekit? or what else should I do to make it works for me? Thanks Roy. spaway wrote: Hi Kalle yes - the chenille kit fckeditor worked perfectly well for me. cheers SPA 2009/6/9 Kalle Korhonen kalle.o.korho...@gmail.com I can verify that chenillekit's editor works great and is fully customizable using FCKEditor api. Kalle On Fri, Jun 5, 2009 at 1:23 AM, Othotaa...@googlemail.com wrote: This is outdated I would assume. Try the chenillekit editor, which is also based on fckeditor. 2009/6/5 spaway supa@googlemail.com Dear all, I am trying to test out the use of FCKEditor with tapestry 5 ( http://code.google.com/p/tapestry5-fckeditor/) - the best guide I've seen is do download tapestry5-fckeditor-1.0.2.jar into the lib folder and then use the fckeditor component in template pages like below. t:fckeditor.editor t:id=biography t:value=celebrity.biography/ I have done this but getting a classnotfoundexception 'java.lang.NoClassDefFoundError: org/apache/tapestry/ioc/MappedConfiguration' could anybody help me confirm if there is a way I can use Maven to manage this dependency. Any guide to sort above will also be appreciated. cheers SPA - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- View this message in context: http://www.nabble.com/t5-and-fckeditor-component-tp23883701p25857474.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Tapestry5.1 Upgrade Issue
I'm trying to upgrade to Tapestry 5.1 from 5.0.18. The Select field component is giving me some errors. I'm using a Spring application context that is externally maintained (tapestry.use-external-spring-context) and have 4 instances of java.util.Locale (named locale_DE, locale_FR, locale_UK, locale_US) configured in the applicationContext. It seems that Tapestry borks when it tries to inject a Locale to Select component because there are two to choose from. How can I fix this (I cannot remove those 4 Locale configurations, they are required for an existing non-Tapestry application)? Why is Tapestry trying to ask Spring applicationContext for Locale? Render queue error in SetupRender[LayoutBlocks:hbflayout]: Exception assembling root component of page ComponentBlocks: Exception assembling embedded component 'signupFormComponent' (of type com.example.components.form.SignupFormComponent, within ComponentBlocks): Failure creating embedded component 'layoutSelectField' of com.example.components.ComponentEditorPanel: java.lang.ClassNotFoundException: caught an exception while obtaining a class file for org.apache.tapestry5.corelib.components.Select * java.lang.ClassNotFoundException caught an exception while obtaining a class file for org.apache.tapestry5.corelib.components.Select exception org.apache.tapestry5.internal.services.TransformationException: Error obtaining injected value for field org.apache.tapestry5.corelib.components.Select.locale: Spring context contains 4 beans assignable to type java.util.Locale: locale_DE, locale_FR, locale_UK, locale_US. * org.apache.tapestry5.internal.spring.SpringModuleDef$4$1.provide(SpringModuleDef.java:258) * org.apache.tapestry5.internal.spring.SpringModuleDef$4$2$1.invoke(SpringModuleDef.java:274) * org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) * org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) * org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) * org.apache.tapestry5.internal.spring.SpringModuleDef$4$2.provide(SpringModuleDef.java:268) * org.apache.tapestry5.internal.spring.SpringModuleDef$4$3.provide(SpringModuleDef.java:290) * org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invoke(MasterObjectProviderImpl.java:48) * org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) * org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) * org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) * org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:41) * $MasterObjectProvider_1244929e11f.provide($MasterObjectProvider_1244929e11f.java) * org.apache.tapestry5.internal.services.DefaultInjectionProvider.provideInjection(DefaultInjectionProvider.java:58) * $InjectionProvider_1244929e193.provideInjection($InjectionProvider_1244929e193.java) * $InjectionProvider_1244929e18b.provideInjection($InjectionProvider_1244929e18b.java) * org.apache.tapestry5.internal.transform.InjectWorker.transform(InjectWorker.java:57) * $ComponentClassTransformWorker_1244929e191.transform($ComponentClassTransformWorker_1244929e191.java) * $ComponentClassTransformWorker_1244929e187.transform($ComponentClassTransformWorker_1244929e187.java) * org.apache.tapestry5.internal.services.ComponentClassTransformerImpl.transformComponentClass(ComponentClassTransformerImpl.java:170) * $ComponentClassTransformer_1244929e13e.transformComponentClass($ComponentClassTransformer_1244929e13e.java) * org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.onLoad(ComponentInstantiatorSourceImpl.java:205) * javassist.Loader.findClass(Loader.java:340) * org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass(ComponentInstantiatorSourceImpl.java:94) * javassist.Loader.loadClass(Loader.java:311) * java.lang.ClassLoader.loadClass(ClassLoader.java:251) * org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.findClass(ComponentInstantiatorSourceImpl.java:296) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5 and fckeditor component
Em Mon, 12 Oct 2009 12:15:44 -0300, Roy Douglas onj888-tapes...@yahoo.com.hk escreveu: Hi, I use tapestry 5.1.05, I downloaded chenillekit-core-1.1.0.jar and chenillekit-tapestry-1.1.0.jar and put it WEB-INF/lib, and I got ava.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration error. You'll need to put chenillekit-core in the classpath, maybe also chenillekit-google and chenillekit-image. That's exatcly what makes Maven shine the most: you don't need to worry about your dependencies' dependencies. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry5 IoC and Request problem
Someone who can help??? i accept any advice -- View this message in context: http://www.nabble.com/Tapestry5-IoC-and-Request-problem-tp25813570p25859358.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5 and fckeditor component
On Mon, Oct 12, 2009 at 8:46 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Mon, 12 Oct 2009 12:15:44 -0300, Roy Douglas onj888-tapes...@yahoo.com.hk escreveu: You'll need to put chenillekit-core in the classpath, maybe also chenillekit-google and chenillekit-image. That's exatcly what makes Maven shine the most: you don't need to worry about your dependencies' dependencies. IMHO, this is a complete misnomer. Whatever tool you use, the dependencies are yours to manage and you need to know what dependencies your application uses and what you want it to use. Maven simply makes it easier to manage these dependencies - i.e. it would download the missing commons-configuration library (the packagename org/apache/commons/configuration of the missing class gives you a pretty good indication of what the problem is) for you. If you are not using Maven, you need to download it and add it to the classpath yourself. Kalle - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry5 IoC and Request problem
That's because the injected request shadow in your service doesn't have the real request backing it up since the request wasn't processed by Tapestry5 but Tapestry 4. It's the same situation if call a service from say a Quartz job - you never had the request in the first place. You need to do it the old-fashioned way in this, i.e. pass in a HttpServletRequest object as part of the arguments of a service operation and use that request object in your service. Kalle On Thu, Oct 8, 2009 at 4:55 PM, cuartz carlos.pc...@gmail.com wrote: Hello everybody, i had a problem trying to use the tapestr5 IoC from tapestry 4 pages, its a big system whit tpaestry5 and tapestry 4 pages, when i call a service that handles the request (org.apache.tapestry5.services.Request) from tapestry5 pages everything is ok, but when i call this service from a tapestry4 page i get a java.lang.RuntimeException, everithing is ok but when the service call some method from the request i get this error. i hope someone can help me, believe me i try a lot of diferent methods to solve this but i simply cant. java.lang.NullPointerException Stack Trace: * org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76) * org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) * org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) * org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) * org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) * org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) * org.apache.tapestry5.ioc.internal.services.PerThreadServiceCreator.createObject(PerThreadServiceCreator.java:48) -- View this message in context: http://www.nabble.com/Tapestry5-IoC-and-Request-problem-tp25813570p25813570.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Problem with error404
1. Create a class ErrorCode that will handle the error status and error message 2. Implement an ErrorCodeResultProcessor public class ErrorCodeResultProcessor implements ComponentEventResultProcessorErrorCode { private final Response response; public ErrorCodeResultProcessor(Response response) { this.response = response; } public void processResultValue(ErrorCode value) throws IOException { if (value != null) { this.response.sendError(value.getStatus(), value.getMessage()); } } } 3. Add your processor to the list by contributing to ComponentEventResultProcessor service public void contributeComponentEventResultProcessor( @Traditional @ComponentInstanceProcessor ComponentEventResultProcessor componentInstanceProcessor, MappedConfigurationClass, ComponentEventResultProcessor configuration) { configuration.addInstance(ErrorCode.class, ErrorCodeResultProcessor.class); } Now you can return an ErrorCode instance from you activation method, and it should work as expected. Regards Christophe. 2009/10/7 Kalle Korhonen kalle.o.korho...@gmail.com On Wed, Oct 7, 2009 at 9:17 AM, cordenier christophe christophe.corden...@gmail.com wrote: Thanks, but i didn't look that way because of what found in the Tapestry documentation. I mean 'vestigal' like deprecated :) I will have a try. tapestry.start-page-name The logical name of the start page, the page that is rendered for the *root URL*. This is normally start. This functionality is vestigal: it has been superceded by the use of Index pages.Christophe. Yes - certainly an area where documentation could be improved. I think Howard has a blog post on this (yes.. at http://tapestryjava.blogspot.com/2008/02/tapestry-5-index-pages.html) and I think the semantics between Start and Index were semi-unintentional. Nevertheless you can use it to your advantage, and since it's there maybe the simplest thing to do is to just document it properly. Kalle 2009/10/7 Kalle Korhonen kalle.o.korho...@gmail.com On Wed, Oct 7, 2009 at 1:24 AM, cordenier christophe christophe.corden...@gmail.com wrote: Does it mean that since we have an index page in our application, 404 will never be thrown automatically ? There's a different between Start and Index page. Start page handles a request to context path only, but Index handles is sort of a catch all (try it: if you have a Start page, your application will return 404s for non-existent urls). Personally, I use a Start page for the root of the context, but Index pages for sub-folders. Kalle Christophe. 2009/10/6 Kalle Korhonen kalle.o.korho...@gmail.com Don't think I can help you much, but I can verify the same sendError and error configurations work for me on Tomcat 5.5 (haven't tried on Tomcat 6). Kalle On Tue, Oct 6, 2009 at 3:05 AM, Jan Jirout jjir...@indracompany.com wrote: Hi All, I'm playing some time with t5. I have meet simple problem. I hope that it's not my fault. So. I would like to handle Error 404 in my application so I have in web.xml: filter-mapping filter-nameapp/filter-name url-pattern/*/url-pattern dispatcherREQUEST/dispatcher dispatcherERROR/dispatcher /filter-mapping error-page error-code404/error-code location/error404/location /error-page My Index.java is: void onActivate(final String pageUrl) throws IOException { if (isKnownPage(pageUrl)) { //show page } else { response.sendError(404, null); } } If I access page /hello then pageUrl property is hello. If there is page /hello then this page is normally processed. If I sendError then page error404 should be shown. This Error page exists. So when I access /blah then /error404 page is shown. It works fine with jetty. But it doesn't work with tomcat 6. I have tried to debug it, and it seems to me, that information about content type is lost. In class BufferedGZipOutputStream is already information about content type lost but in class PageResponseRendererImpl is still present. thanks for help Jan Here is my stack trace: SEVERE: Servlet.service() for servlet default threw exception java.lang.NullPointerException at org.apache.tapestry5.internal.services.ResponseCompressionAnalyzerImpl.isCompressable(ResponseCompressionAnalyzerImpl.java:65) at
Re: Problem with error404
Hello The previous solution is based on the same idea than returning a javax.net.URL or Tapestry Link, i'm not sure this is the best thing to do but it works. Regards, Christophe. 2009/10/12 cordenier christophe christophe.corden...@gmail.com 1. Create a class ErrorCode that will handle the error status and error message 2. Implement an ErrorCodeResultProcessor public class ErrorCodeResultProcessor implements ComponentEventResultProcessorErrorCode { private final Response response; public ErrorCodeResultProcessor(Response response) { this.response = response; } public void processResultValue(ErrorCode value) throws IOException { if (value != null) { this.response.sendError(value.getStatus(), value.getMessage()); } } } 3. Add your processor to the list by contributing to ComponentEventResultProcessor service public void contributeComponentEventResultProcessor( @Traditional @ComponentInstanceProcessor ComponentEventResultProcessor componentInstanceProcessor, MappedConfigurationClass, ComponentEventResultProcessor configuration) { configuration.addInstance(ErrorCode.class, ErrorCodeResultProcessor.class); } Now you can return an ErrorCode instance from you activation method, and it should work as expected. Regards Christophe. 2009/10/7 Kalle Korhonen kalle.o.korho...@gmail.com On Wed, Oct 7, 2009 at 9:17 AM, cordenier christophe christophe.corden...@gmail.com wrote: Thanks, but i didn't look that way because of what found in the Tapestry documentation. I mean 'vestigal' like deprecated :) I will have a try. tapestry.start-page-name The logical name of the start page, the page that is rendered for the *root URL*. This is normally start. This functionality is vestigal: it has been superceded by the use of Index pages.Christophe. Yes - certainly an area where documentation could be improved. I think Howard has a blog post on this (yes.. at http://tapestryjava.blogspot.com/2008/02/tapestry-5-index-pages.html) and I think the semantics between Start and Index were semi-unintentional. Nevertheless you can use it to your advantage, and since it's there maybe the simplest thing to do is to just document it properly. Kalle 2009/10/7 Kalle Korhonen kalle.o.korho...@gmail.com On Wed, Oct 7, 2009 at 1:24 AM, cordenier christophe christophe.corden...@gmail.com wrote: Does it mean that since we have an index page in our application, 404 will never be thrown automatically ? There's a different between Start and Index page. Start page handles a request to context path only, but Index handles is sort of a catch all (try it: if you have a Start page, your application will return 404s for non-existent urls). Personally, I use a Start page for the root of the context, but Index pages for sub-folders. Kalle Christophe. 2009/10/6 Kalle Korhonen kalle.o.korho...@gmail.com Don't think I can help you much, but I can verify the same sendError and error configurations work for me on Tomcat 5.5 (haven't tried on Tomcat 6). Kalle On Tue, Oct 6, 2009 at 3:05 AM, Jan Jirout jjir...@indracompany.com wrote: Hi All, I'm playing some time with t5. I have meet simple problem. I hope that it's not my fault. So. I would like to handle Error 404 in my application so I have in web.xml: filter-mapping filter-nameapp/filter-name url-pattern/*/url-pattern dispatcherREQUEST/dispatcher dispatcherERROR/dispatcher /filter-mapping error-page error-code404/error-code location/error404/location /error-page My Index.java is: void onActivate(final String pageUrl) throws IOException { if (isKnownPage(pageUrl)) { //show page } else { response.sendError(404, null); } } If I access page /hello then pageUrl property is hello. If there is page /hello then this page is normally processed. If I sendError then page error404 should be shown. This Error page exists. So when I access /blah then /error404 page is shown. It works fine with jetty. But it doesn't work with tomcat 6. I have tried to debug it, and it seems to me, that information about content type is lost. In class BufferedGZipOutputStream is already information about content type lost but in class PageResponseRendererImpl is still present. thanks for help Jan Here is my stack trace: SEVERE: Servlet.service() for servlet default threw exception
Re: Tapestry5 IoC and Request problem
Ok thanks, now i understand, unfortunately i cant change that parameter on the services, but now that i know whats happends i can think on a solution, if someone had a solution or an advice let me know. Thanks Kalle and Thiago -- View this message in context: http://www.nabble.com/Tapestry5-IoC-and-Request-problem-tp25813570p25861180.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5 and fckeditor component
Thanks Thiago, sorry if it sounds stupid, I follow the description from http://tapestry.formos.com/wiki/display/T5IDEINT/Eclipse+%28including+Maven%29 to set up my environment, I really don't know how to put chenillekit in to my maven project, is there any tutorial I can reference from ? Roy Em Mon, 12 Oct 2009 12:15:44 -0300, Roy Douglas onj888-tapes...@yahoo.com.hk escreveu: Hi, I use tapestry 5.1.05, I downloaded chenillekit-core-1.1.0.jar and chenillekit-tapestry-1.1.0.jar and put it WEB-INF/lib, and I got ava.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration error. You'll need to put chenillekit-core in the classpath, maybe also chenillekit-google and chenillekit-image. That's exatcly what makes Maven shine the most: you don't need to worry about your dependencies' dependencies. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5 and fckeditor component
Em Mon, 12 Oct 2009 16:36:44 -0300, Roy Douglas onj888-tapes...@yahoo.com.hk escreveu: Thanks Thiago, sorry if it sounds stupid, I follow the description from http://tapestry.formos.com/wiki/display/T5IDEINT/Eclipse+%28including+Maven%29 to set up my environment, I really don't know how to put chenillekit in to my maven project, is there any tutorial I can reference from ? Just use the m2eclipse Eclipse plugin (http://m2eclipse.sonatype.org/) and the use its pom.xml editor to add a dependency. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry5.1 Upgrade Issue
Does any one have any ideas on why this is happening? Shouldn't tapestry be looking at the request to see which Locale it is for? Why is it going into Spring's application context? I'm not sure where to even start. I'm going try Tap 5.1 with tapestry-spring 5.0.18 to see whether that works. It wouldn't be ideal to only do a partial upgrade but I'll try it until I get any replies. - Original Message From: Dave Greggory davegregg...@yahoo.com To: Tapestry users users@tapestry.apache.org Sent: Mon, October 12, 2009 11:18:05 AM Subject: Tapestry5.1 Upgrade Issue I'm trying to upgrade to Tapestry 5.1 from 5.0.18. The Select field component is giving me some errors. I'm using a Spring application context that is externally maintained (tapestry.use-external-spring-context) and have 4 instances of java.util.Locale (named locale_DE, locale_FR, locale_UK, locale_US) configured in the applicationContext. It seems that Tapestry borks when it tries to inject a Locale to Select component because there are two to choose from. How can I fix this (I cannot remove those 4 Locale configurations, they are required for an existing non-Tapestry application)? Why is Tapestry trying to ask Spring applicationContext for Locale? Render queue error in SetupRender[LayoutBlocks:hbflayout]: Exception assembling root component of page ComponentBlocks: Exception assembling embedded component 'signupFormComponent' (of type com.example.components.form.SignupFormComponent, within ComponentBlocks): Failure creating embedded component 'layoutSelectField' of com.example.components.ComponentEditorPanel: java.lang.ClassNotFoundException: caught an exception while obtaining a class file for org.apache.tapestry5.corelib.components.Select * java.lang.ClassNotFoundException caught an exception while obtaining a class file for org.apache.tapestry5.corelib.components.Select exception org.apache.tapestry5.internal.services.TransformationException: Error obtaining injected value for field org.apache.tapestry5.corelib.components.Select.locale: Spring context contains 4 beans assignable to type java.util.Locale: locale_DE, locale_FR, locale_UK, locale_US. * org.apache.tapestry5.internal.spring.SpringModuleDef$4$1.provide(SpringModuleDef.java:258) * org.apache.tapestry5.internal.spring.SpringModuleDef$4$2$1.invoke(SpringModuleDef.java:274) * org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) * org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) * org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) * org.apache.tapestry5.internal.spring.SpringModuleDef$4$2.provide(SpringModuleDef.java:268) * org.apache.tapestry5.internal.spring.SpringModuleDef$4$3.provide(SpringModuleDef.java:290) * org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invoke(MasterObjectProviderImpl.java:48) * org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) * org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) * org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941) * org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:41) * $MasterObjectProvider_1244929e11f.provide($MasterObjectProvider_1244929e11f.java) * org.apache.tapestry5.internal.services.DefaultInjectionProvider.provideInjection(DefaultInjectionProvider.java:58) * $InjectionProvider_1244929e193.provideInjection($InjectionProvider_1244929e193.java) * $InjectionProvider_1244929e18b.provideInjection($InjectionProvider_1244929e18b.java) * org.apache.tapestry5.internal.transform.InjectWorker.transform(InjectWorker.java:57) * $ComponentClassTransformWorker_1244929e191.transform($ComponentClassTransformWorker_1244929e191.java) * $ComponentClassTransformWorker_1244929e187.transform($ComponentClassTransformWorker_1244929e187.java) * org.apache.tapestry5.internal.services.ComponentClassTransformerImpl.transformComponentClass(ComponentClassTransformerImpl.java:170) * $ComponentClassTransformer_1244929e13e.transformComponentClass($ComponentClassTransformer_1244929e13e.java) * org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.onLoad(ComponentInstantiatorSourceImpl.java:205) * javassist.Loader.findClass(Loader.java:340) * org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass(ComponentInstantiatorSourceImpl.java:94) * javassist.Loader.loadClass(Loader.java:311) * java.lang.ClassLoader.loadClass(ClassLoader.java:251) * org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.findClass(ComponentInstantiatorSourceImpl.java:296)
Re: Tapestry5.1 Upgrade Issue
Em Mon, 12 Oct 2009 17:57:09 -0300, Dave Greggory davegregg...@yahoo.com escreveu: Does any one have any ideas on why this is happening? Shouldn't tapestry be looking at the request to see which Locale it is for? It does, but Tapestry adds Locale as something that is @Inject'able, not explecting to have Locales as beans/services. Please post a JIRA about it, at it does seem to me as a bug. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Tapestry5.1 upgrade
I'm trying to upgrade to Tapestry 5.1 from 5.0.14. I change ApplicationState-SessionState and also change *createPageLinkhttp://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/ComponentResourcesCommon.html#createPageLink(java.lang.Class, boolean, java.lang.Object...)*(Classhttp://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html pageClass, boolean override, Objecthttp://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html ... context) *Deprecated.* *Use PageRenderLinkSource.createPageRenderLink(Class)http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/PageRenderLinkSource.html#createPageRenderLink(java.lang.Class) * And after that my application do not start: HTTP Status 404 - /digileping/ -- *type* Status report *message* */digileping/* *description* *The requested resource (/digileping/) is not available.* -- Apache Tomcat/5.5.26 Is there some extra configuration issue with new version of Tapestry? Argo
Re: Tapestry5.1 upgrade
And also console log: 13.10.2009 1:00:53 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 13.10.2009 1:00:53 org.apache.catalina.core.StandardContext start SEVERE: Context [/digileping] startup failed due to previous errors FilterStart Error? # JRebel 2.1a (200910071200) (c) Copyright ZeroTurnaround, Ltd, 2007-2009. All rights reserved. A rough estimate: Over the last 1 days JRebel prevented the need for at least 8 redeploys/restarts. Using industry standard build and redeploy times, JRebel saved you between 0,2 and 0,4 hours. You are running JRebel evaluation license. You have 29 days until the license expires. You will see this notification until you obtain a full license for your installation. Visit www.jrebel.com for instructions on obtaining a full license. If you wish to continue your evaluation please e-mail to supp...@zeroturnaround.com. If you think you should not see this message contact supp...@zeroturnaround.com or check that you have your license file in the same directory as the JAR file. # 13.10.2009 1:00:48 org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java \jdk1.5.0_16\bin;.;C:\WINDOWS\system32;C:\WINDOWS;G:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projec ts\Bpl\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\PROGRA~1\ULTRAE~1;C:\Program Files\apache-ant-1.7.1\bin;C:\Progra m Files\Java\jdk1.5.0_16\bin;C:\Program Files\Unifier;C:\Program Files\TortoiseSVN\bin;C:\Program Files\WinMerge;c:\Program Files\Microsoft SQL Server\90\Tools\ binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\DivX Shared\;C:\Program Files\OpenVPN\bin 13.10.2009 1:00:48 org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-80 13.10.2009 1:00:49 org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-443 13.10.2009 1:00:49 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2187 ms 13.10.2009 1:00:49 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 13.10.2009 1:00:49 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.26 13.10.2009 1:00:49 org.apache.catalina.core.StandardHost start INFO: XML validation disabled 13.10.2009 1:00:51 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.26\webapps\digileping\WEB-INF\lib\selenium-server-1.0-beta-2-standalone.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 13.10.2009 1:00:51 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.26\webapps\digileping\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 13.10.2009 1:00:51 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.26\webapps\digileping\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Ser vlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class === [JRebel Spring Framework Plugin] === Plugins are contributed by third party and can cause compatibility problems. If you have any troubles set -Drebel.spring_plugin=false to disable it. -- Description: Supports adding new beans and adding new bean dependencies using annotations or XML. Singletons will be reconfigured after the change. It also supports adding or changing Spring MVC controllers or handlers. === [/JRebel Spring Framework Plugin] == 13.10.2009 1:00:53 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 13.10.2009 1:00:53 org.apache.catalina.core.StandardContext start SEVERE: Context [/digileping] startup failed due to previous errors 13.10.2009 1:00:53 org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-80 13.10.2009 1:00:53 org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-443 13.10.2009 1:00:53 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 13.10.2009 1:00:53 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=null 13.10.2009 1:00:53
Re: Tapestry5.1 upgrade
Em Mon, 12 Oct 2009 19:06:17 -0300, Argo Vilberg wilps...@gmail.com escreveu: HTTP Status 404 - /digileping/ -- *type* Status report *message* */digileping/* *description* *The requested resource (/digileping/) is not available.* -- Take a look at the logs. Most probably some exception was thrown. Without knowing which one, we can't help you. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry5.1 upgrade
Em Mon, 12 Oct 2009 19:14:07 -0300, Argo Vilberg wilps...@gmail.com escreveu: INFO: validateJarFile(C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.26\webapps\digileping\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Never put the Servlet API JAR in WEB-INF. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry5.1 upgrade
ok i deleted servlet-api-2.4.jarbut nothing change. # JRebel 2.1a (200910071200) (c) Copyright ZeroTurnaround, Ltd, 2007-2009. All rights reserved. A rough estimate: Over the last 1 days JRebel prevented the need for at least 8 redeploys/restarts. Using industry standard build and redeploy times, JRebel saved you between 0,2 and 0,4 hours. You are running JRebel evaluation license. You have 29 days until the license expires. You will see this notification until you obtain a full license for your installation. Visit www.jrebel.com for instructions on obtaining a full license. If you wish to continue your evaluation please e-mail to supp...@zeroturnaround.com. If you think you should not see this message contact supp...@zeroturnaround.com or check that you have your license file in the same directory as the JAR file. # 13.10.2009 1:20:24 org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java \jdk1.5.0_16\bin;.;C:\WINDOWS\system32;C:\WINDOWS;G:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projec ts\Bpl\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\PROGRA~1\ULTRAE~1;C:\Program Files\apache-ant-1.7.1\bin;C:\Progra m Files\Java\jdk1.5.0_16\bin;C:\Program Files\Unifier;C:\Program Files\TortoiseSVN\bin;C:\Program Files\WinMerge;c:\Program Files\Microsoft SQL Server\90\Tools\ binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\DivX Shared\;C:\Program Files\OpenVPN\bin 13.10.2009 1:20:24 org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-80 13.10.2009 1:20:25 org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-443 13.10.2009 1:20:25 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2250 ms 13.10.2009 1:20:25 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 13.10.2009 1:20:25 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.26 13.10.2009 1:20:25 org.apache.catalina.core.StandardHost start INFO: XML validation disabled 13.10.2009 1:20:26 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.26\webapps\digileping\WEB-INF\lib\selenium-server-1.0-beta-2-standalone.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class === [JRebel Spring Framework Plugin] === Plugins are contributed by third party and can cause compatibility problems. If you have any troubles set -Drebel.spring_plugin=false to disable it. -- Description: Supports adding new beans and adding new bean dependencies using annotations or XML. Singletons will be reconfigured after the change. It also supports adding or changing Spring MVC controllers or handlers. === [/JRebel Spring Framework Plugin] == 13.10.2009 1:20:28 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 13.10.2009 1:20:28 org.apache.catalina.core.StandardContext start SEVERE: Context [/digileping] startup failed due to previous errors 13.10.2009 1:20:29 org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-80 13.10.2009 1:20:29 org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-443 13.10.2009 1:20:29 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 13.10.2009 1:20:29 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/125 config=null 13.10.2009 1:20:29 org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource 13.10.2009 1:20:29 org.apache.catalina.startup.Catalina start INFO: Server startup in 4641 ms HTTP Status 404 - /digileping/ -- *type* Status report *message* */digileping/* *description* *The requested resource (/digileping/) is not available.* -- Apache Tomcat/5.5.26 2009/10/13 Thiago H. de Paula Figueiredo thiag...@gmail.com Em Mon, 12 Oct 2009 19:14:07 -0300, Argo Vilberg wilps...@gmail.com escreveu: INFO: validateJarFile(C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.26\webapps\digileping\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Never put the Servlet API JAR in WEB-INF.
Re: Tapestry5.1 upgrade
Hint: Offending class: javax/servlet/Servlet.class On Tue, Oct 13, 2009 at 1:22 AM, Argo Vilberg wilps...@gmail.com wrote: ok i deleted servlet-api-2.4.jarbut nothing change. # JRebel 2.1a (200910071200) (c) Copyright ZeroTurnaround, Ltd, 2007-2009. All rights reserved. A rough estimate: Over the last 1 days JRebel prevented the need for at least 8 redeploys/restarts. Using industry standard build and redeploy times, JRebel saved you between 0,2 and 0,4 hours. You are running JRebel evaluation license. You have 29 days until the license expires. You will see this notification until you obtain a full license for your installation. Visit www.jrebel.com for instructions on obtaining a full license. If you wish to continue your evaluation please e-mail to supp...@zeroturnaround.com. If you think you should not see this message contact supp...@zeroturnaround.com or check that you have your license file in the same directory as the JAR file. # 13.10.2009 1:20:24 org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java \jdk1.5.0_16\bin;.;C:\WINDOWS\system32;C:\WINDOWS;G:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projec ts\Bpl\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\PROGRA~1\ULTRAE~1;C:\Program Files\apache-ant-1.7.1\bin;C:\Progra m Files\Java\jdk1.5.0_16\bin;C:\Program Files\Unifier;C:\Program Files\TortoiseSVN\bin;C:\Program Files\WinMerge;c:\Program Files\Microsoft SQL Server\90\Tools\ binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\DivX Shared\;C:\Program Files\OpenVPN\bin 13.10.2009 1:20:24 org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-80 13.10.2009 1:20:25 org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-443 13.10.2009 1:20:25 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2250 ms 13.10.2009 1:20:25 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 13.10.2009 1:20:25 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.26 13.10.2009 1:20:25 org.apache.catalina.core.StandardHost start INFO: XML validation disabled 13.10.2009 1:20:26 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\Program Files\Apache Software Foundation\apache-tomcat-5.5.26\webapps\digileping\WEB-INF\lib\selenium-server-1.0-beta-2-standalone.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class === [JRebel Spring Framework Plugin] === Plugins are contributed by third party and can cause compatibility problems. If you have any troubles set -Drebel.spring_plugin=false to disable it. -- Description: Supports adding new beans and adding new bean dependencies using annotations or XML. Singletons will be reconfigured after the change. It also supports adding or changing Spring MVC controllers or handlers. === [/JRebel Spring Framework Plugin] == 13.10.2009 1:20:28 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 13.10.2009 1:20:28 org.apache.catalina.core.StandardContext start SEVERE: Context [/digileping] startup failed due to previous errors 13.10.2009 1:20:29 org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-80 13.10.2009 1:20:29 org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-443 13.10.2009 1:20:29 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 13.10.2009 1:20:29 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/125 config=null 13.10.2009 1:20:29 org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource 13.10.2009 1:20:29 org.apache.catalina.startup.Catalina start INFO: Server startup in 4641 ms HTTP Status 404 - /digileping/ -- *type* Status report *message* */digileping/* *description* *The requested resource (/digileping/) is not available.* -- Apache Tomcat/5.5.26 2009/10/13 Thiago H. de Paula Figueiredo thiag...@gmail.com Em Mon, 12 Oct 2009 19:14:07 -0300, Argo Vilberg wilps...@gmail.com escreveu: INFO: validateJarFile(C:\Program Files\Apache Software
Re: Tapestry5.1 upgrade
Em Mon, 12 Oct 2009 19:22:05 -0300, Argo Vilberg wilps...@gmail.com escreveu: ok i deleted servlet-api-2.4.jarbut nothing change. You have to take a look at the Tomcat log to see what was the exception. No stack trace, no way to find out what happened. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry5.1 upgrade
I get over this error: Hint: Offending class: javax/servlet/Servlet.class In tomcat log are ERROR: ERROR main org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/digileping] - Exception starting filter digileping java.lang.NoClassDefFoundError: org/hibernate/Session at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) at java.lang.Class.privateGetPublicMethods(Class.java:2519) at java.lang.Class.getMethods(Class.java:1406) at org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.init(DefaultModuleDefImpl.java:112) at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:124) at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:151) at org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137) at org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107) at org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77) at org.apache.tapestry5.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:85) at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:74) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302) at org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:78) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) DEBUG main org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/digileping] - Stopping filters DEBUG main org.apache.catalina.session.ManagerBase - Stopping DEBUG main org.apache.catalina.session.ManagerBase - Unloading persisted sessions DEBUG main org.apache.catalina.session.ManagerBase - Saving persisted sessions to SESSIONS.ser DEBUG main org.apache.catalina.session.ManagerBase - Unloading 0 sessions DEBUG main org.apache.catalina.session.ManagerBase - Expiring 0 persisted sessions DEBUG main org.apache.catalina.session.ManagerBase - Unloading complete 2009/10/13 Thiago H. de Paula Figueiredo thiag...@gmail.com Em Mon, 12 Oct 2009 19:22:05 -0300, Argo Vilberg wilps...@gmail.com escreveu: ok i deleted servlet-api-2.4.jarbut nothing change. You have to take a look at the Tomcat log to see what was the exception. No stack trace, no way to find out what happened. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry5.1 upgrade
If i removetapestry-hibernate-5.1.0.5.jar tapestry-hibernate-core-5.1.0.5.jar tapestry-spring-5.1.0.5.jar then works. 2009/10/13 Argo Vilberg wilps...@gmail.com I get over this error: Hint: Offending class: javax/servlet/Servlet.class In tomcat log are ERROR: ERROR main org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/digileping] - Exception starting filter digileping java.lang.NoClassDefFoundError: org/hibernate/Session at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) at java.lang.Class.privateGetPublicMethods(Class.java:2519) at java.lang.Class.getMethods(Class.java:1406) at org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.init(DefaultModuleDefImpl.java:112) at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:124) at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:151) at org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137) at org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:107) at org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77) at org.apache.tapestry5.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:85) at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:74) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302) at org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:78) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) DEBUG main org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/digileping] - Stopping filters DEBUG main org.apache.catalina.session.ManagerBase - Stopping DEBUG main org.apache.catalina.session.ManagerBase - Unloading persisted sessions DEBUG main org.apache.catalina.session.ManagerBase - Saving persisted sessions to SESSIONS.ser DEBUG main org.apache.catalina.session.ManagerBase - Unloading 0 sessions DEBUG main org.apache.catalina.session.ManagerBase - Expiring 0 persisted sessions DEBUG main org.apache.catalina.session.ManagerBase - Unloading complete 2009/10/13 Thiago H. de Paula Figueiredo thiag...@gmail.com Em Mon, 12 Oct 2009 19:22:05 -0300, Argo Vilberg wilps...@gmail.com escreveu: ok i deleted servlet-api-2.4.jarbut nothing change. You have to take a look at the Tomcat log to see what was the exception. No stack trace, no way to find out what happened. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Upgrade to 5.1.0.5 submitbutton problem
In 5.0.14 my submit buttons works fine. But in 5.1.0.5 are not. If i click to submit form no action take place. why? In tapestry 5.0.14 HTML code i see : form action=mallid.lisa id=lisa method=post name=lisadiv class= t-invisible But in 5.1.0.5 HTML code: form onsubmit=javascript:Tapestry.waitForPage(event); action=mallid.lisa method=post id=lisa name=lisa Argo
Re: Upgrade to 5.1.0.5 submitbutton problem
Em Mon, 12 Oct 2009 20:24:49 -0300, Argo Vilberg wilps...@gmail.com escreveu: In 5.0.14 my submit buttons works fine. No error message, we can't help you. Use Firebug or Web Developer (Firefox plugins) to find out what error happened. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Using Checkboxe on t:grid or table
Do these examples help? http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/component/coreinputcomponents http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/gridwithdeletecolumn1 http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/loopwithdeletecolumn1 Cheers, Geoff On 12/10/2009, at 3:44 PM, tapestryfan wrote: Hi, I am new to tapestry so excuses if this question is already been posted. How can I add checkboxes to a form and how can i find out which checkboxes are check in java class ? -- View this message in context: http://www.nabble.com/Using-Checkboxe-on-t%3Agrid-or-table-tp25850459p25850459.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org