You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(28) |
Dec
(47) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(103) |
Feb
(44) |
Mar
(65) |
Apr
(140) |
May
(72) |
Jun
(233) |
Jul
(466) |
Aug
(51) |
Sep
(2) |
Oct
(17) |
Nov
(1) |
Dec
(7) |
2004 |
Jan
(8) |
Feb
(5) |
Mar
(28) |
Apr
(9) |
May
(7) |
Jun
|
Jul
(7) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
(3) |
May
(24) |
Jun
(7) |
Jul
(2) |
Aug
|
Sep
|
Oct
(4) |
Nov
(3) |
Dec
(12) |
2006 |
Jan
|
Feb
(3) |
Mar
(8) |
Apr
(59) |
May
|
Jun
|
Jul
|
Aug
(24) |
Sep
|
Oct
|
Nov
|
Dec
(3) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
(3) |
2008 |
Jan
|
Feb
(1) |
Mar
(16) |
Apr
(2) |
May
(2) |
Jun
|
Jul
(11) |
Aug
(3) |
Sep
(9) |
Oct
(9) |
Nov
(44) |
Dec
(34) |
2009 |
Jan
(12) |
Feb
(14) |
Mar
(11) |
Apr
(16) |
May
(41) |
Jun
(19) |
Jul
(33) |
Aug
(8) |
Sep
(3) |
Oct
|
Nov
|
Dec
(7) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(16) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Lane S. <la...@op...> - 2003-06-18 05:38:55
|
Macro Processing? -Lane Marc Palmer wrote: > > Guys, > > We have default SF trackers set up for: > > * Bugs > * Support Requests > * Patches > * Feature Requests > > We can create more if required (i.e. Ignition bugs / RFE etc. hint > hint!). > > I need to set up our "categories". For the "Bugs" tracker I'm thinking: > > * Parser > * Template loading > * Caching > * Distribution > * Configuration > * Servlet Container Compatibility > * i18n > > Anybody think of any more? You can't delete categories once added, so > I need to be sure you're all happy with my choices. > > I'm just nominating myself to do this as nobody else is doing it. > > Marc > > |
From: Eric B. R. <eb...@tc...> - 2003-06-17 18:03:52
|
I've modified the NextRelease page on the website include what we want our new package structure to be. This is based on the (little bit of) discussion we've had here on this list. If you have comments please add them to the page, or discuss them here. http://www.webmacro.org/NextRelease eric |
From: Marc P. <ma...@an...> - 2003-06-17 17:12:34
|
For those interested and sitting on the fence, I will periodically update: http://www.webmacro.org/IgnitionApplication With the current status of the app. Once again... please download and try it out. It's not a pile of crap, I promise. It's not "alpha" quality really, it would be releasable now with a bit of testing and Transaction, Authentication and Validation support (in progress). Sorry to go on about it... to download: http://www.wangjammers.org/ignition To see it running and read the (good) docs: http://212.135.236.36:8080/ignition Cheers -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Marc P. <ma...@an...> - 2003-06-17 16:39:11
|
Guys, We have default SF trackers set up for: * Bugs * Support Requests * Patches * Feature Requests We can create more if required (i.e. Ignition bugs / RFE etc. hint hint!). I need to set up our "categories". For the "Bugs" tracker I'm thinking: * Parser * Template loading * Caching * Distribution * Configuration * Servlet Container Compatibility * i18n Anybody think of any more? You can't delete categories once added, so I need to be sure you're all happy with my choices. I'm just nominating myself to do this as nobody else is doing it. Marc -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Marc P. <ma...@an...> - 2003-06-17 08:26:16
|
A couple of minor things: 1. http://www.webmacro.org/QuickStart - I have made it link to WebMacroScriptTrail instead of AllDirectives 2. http://www.webmacro.org/NoServlet - I have fixed the link to CVS /examples, to go to SF, and added some wording. In future I will add example code to this page showing the easiest way to load and render a template to System.out. Cheers -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Marc P. <ma...@an...> - 2003-06-17 07:52:47
|
On Mon, 16 Jun 2003 17:19:04 -0500, gang wu <gan...@ho...> wrote: > Hi, > > I have a question on passing parameter from HTML to servlet. The > situation is: Hi Gang Wu, This is really a question for the webmacro-user list. This is the list for people who are activel working on the WebMacro code (developers). > 1. I can pass a ArrayList from servlet to HTML which is called > company_list. > > 2. When HTML displayed it dynamically created a table with several > buttons in it: > > <table> > #foreach $entry in $company_list > { > <tr> > <td>$entry.field1</td> > <td>$entry.field2</td> > <td>$entry.field3</td> > <td><input type=submit name="???" value=Select></td> > </tr> > } > </table> > > 3. What I want to do next is: click any one of those buttons to invoke > next HTML page. In between servlet need to know which button was clicked > and get the information (field1 for example). > > Could someone show me a few lines of servlet code on how to do it? I'm afraid it's not that simple. In this kind of scenario you need to generate unique field names based on your data / field number i.e. <input name="field3_submit">. Then your servlet parses all the request parameters to see which one has a value. That's one way of doing it anyway. Best wishes, Marc -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Marc P. <ma...@an...> - 2003-06-17 07:50:46
|
On Mon, 16 Jun 2003 23:13:11 -0400, Harmeet Bedi <ha...@ko...> wrote: > ["Harmeet Bedi" <ha...@ko...>] > As a general rule, yes I agree templates don't need compilation and it > robs > them of power, but as a user in one case I don't want the templates to be > modifiable. Structure to support dynamic reloading of templates is > unnecessary. A jar file with classes may be more comfortable than > deploying > source templates. These classes could be generated from wm templates. Solution: Put your templates in a .JAR file and sign the templates. Make your code check the signature of the templates at startup (because they are in a jar, they can't be modified while the code is running) and if the files have been modified, don't execute. > I am not sure why it would complicate things. I was thinking it would be > a > translation into java objects from wm template and writing the restulting > structure on disk rather than executing when user hits a template. That's a serious complication compared to the existing code! You've got source-code generation or byte code generation to do in there. > ["Brian Goetz" <br...@qu...>] >> WM doesn't create its threads, it uses the threads given it by the >> environment (such as the servlet container.) Pruning these is the >> container's job. > > ["Harmeet Bedi" <ha...@ko...>] > True but WM could say a thread local variable which monitors start time > of > interaction and check for threashold at different points and if the > execution time is more than allowed throw a runtime exception. I'm pretty sure this is beyond the scope of WM. > ["Harmeet Bedi" <ha...@ko...>] > Sorry I ment that it shold not cause stack overflow. It has a bad impact > on > CPU and can cause other requests to be less responsive. Assuming (a) > model > and context varialbes exposed to templates is well thought out and safe, > and > (b) anyone is allowed to add their templates, it would be really nice if > there can a way to prevent stack overflow condition. It would be harder > to > debug these conditions for a end user and would have less than nice > impact > on server, so would be nice to have way to prevent it. You will very quickly notice that this is a problem, because people will get StackOverflowError showing in the error response they get. If your admin doesn't fix it after users tell him that, then you should fire him! Marc -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Harmeet B. <ha...@ko...> - 2003-06-17 03:14:51
|
["Harmeet Bedi" <ha...@ko...>] > > - Precompiled/Optimized templates: A mode to generate java code and classes > > from wm files would be good. ["Brian Goetz" <br...@qu...>] > Why? For performance, or for another reason? ["Harmeet Bedi" <ha...@ko...>] Performance and more importantly don't want to deploy source tempates on production server. There is no need to reload and don't want a someone/me to open file and make a mistake. ["Brian Goetz" <br...@qu...>] > Again, do you have any grounds for suspecting that WM has performance > problems, or is this just a "its interpreted, so it must be slow" thing? ["Harmeet Bedi" <ha...@ko...>] No I haven't and looking at the source code it appears that WM developers have spent good time on tuning. Also WM seems very responsive. It is more based on the gut feel that you are using Java interpreter and WM interpretter on top of it, if you remove one layer the system becomes easier to understand and profile. This is esp. important if one does not care about reloading templates. [From: "Marc Palmer" <ma...@an...>] > Like Brian I think this is a bad idea. Generating (or compiling) code is > not a good plan for template-based scripting. It complicates things and you ... > You might benefit from some compile-time optimisations but like Brian I > doubt it would be significant. ["Harmeet Bedi" <ha...@ko...>] As a general rule, yes I agree templates don't need compilation and it robs them of power, but as a user in one case I don't want the templates to be modifiable. Structure to support dynamic reloading of templates is unnecessary. A jar file with classes may be more comfortable than deploying source templates. These classes could be generated from wm templates. I am not sure why it would complicate things. I was thinking it would be a translation into java objects from wm template and writing the restulting structure on disk rather than executing when user hits a template. ["Harmeet Bedi" <ha...@ko...>] > > - Throttling. Would be cool to have a way to monitor long running threads > > and maybe reduce priority or kill those threads. A threshold time check and > > unchecked error if limit is reached may be one way I could think of. > ["Brian Goetz" <br...@qu...>] > WM doesn't create its threads, it uses the threads given it by the > environment (such as the servlet container.) Pruning these is the > container's job. ["Harmeet Bedi" <ha...@ko...>] True but WM could say a thread local variable which monitors start time of interaction and check for threashold at different points and if the execution time is more than allowed throw a runtime exception. ["Harmeet Bedi" <ha...@ko...>] > > - Sandbox. I realize that WM templates depends only on model, but it > > would > > be nice to make the view as tight as possible "Marc Palmer" <ma...@an...> > There's also the problem of providing runtime help information for template > writers, tackled to a large degree by my Ignition webapp. We could solve > both of these problems in one go, very simply: > > * Add an option to WM for "StrictJavaClasses" mode. (and > "StrictJavaClassesExcludes=") > * Add a flagging interface called something like WMScriptSafe ... > By having the flagging interface we are forcing people to implement a new > class that wraps non-safe classes, therefore giving them the ability to ["Harmeet Bedi" <ha...@ko...>] Thanks for the tip, will look into Ignition. The one problem with wrapping a unsafe object is that often it is hard to figure out what is safe and not. So it would be nice if WM folks could provide a set of object wrapper with degrees of safety. So for instance NoviceReadonlySafeHttpServletRequest for some templates and maybe a more advanced AdvancedRedirectAndContextAllowedSafeHttpServeletRequest for a more power user. I realize though that this is slippery slope and users may want different things, but I also think some common safe objects could help a lot. ["Harmeet Bedi" <ha...@ko...>] > > - Safe. Loops and cyclic loops can be written in JSP. With webmacro it is > > very hard. I use 1.0 with constraints on include directive to control > > looping( I only allow templates in subfolders and no url include). WM > > Templates should not be able to bring server down, either by intent or by > > coding error. Of course this does depend on exposed model, but if model > > safe, templates should be safe too. ["Marc Palmer" <ma...@an...>] > I don't see how #include can bring the server down. You get a ["Harmeet Bedi" <ha...@ko...>] Sorry I ment that it shold not cause stack overflow. It has a bad impact on CPU and can cause other requests to be less responsive. Assuming (a) model and context varialbes exposed to templates is well thought out and safe, and (b) anyone is allowed to add their templates, it would be really nice if there can a way to prevent stack overflow condition. It would be harder to debug these conditions for a end user and would have less than nice impact on server, so would be nice to have way to prevent it. Harmeet |
From: gang w. <gan...@ho...> - 2003-06-16 22:19:17
|
Hi, I have a question on passing parameter from HTML to servlet. The situation is: 1. I can pass a ArrayList from servlet to HTML which is called company_list. 2. When HTML displayed it dynamically created a table with several buttons in it: <table> #foreach $entry in $company_list { <tr> <td>$entry.field1</td> <td>$entry.field2</td> <td>$entry.field3</td> <td><input type=submit name="???" value=Select></td> </tr> } </table> 3. What I want to do next is: click any one of those buttons to invoke next HTML page. In between servlet need to know which button was clicked and get the information (field1 for example). Could someone show me a few lines of servlet code on how to do it? Thank you in advance. Gang Wu _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus |
From: Keats <ke...@ea...> - 2003-06-16 17:30:47
|
I went ahead and corrected the templates with $URLEncode(). See attached. Keats ----- Original Message ----- From: "Keats" <ke...@ea...> To: <ma...@an...>; <web...@li...> Sent: Monday, June 16, 2003 1:18 PM Subject: Re: [Webmacro-devel] Please don't forget... > Hmmm. Strangely after a couple of restarts it is working again. The filese > apparently existed all along, as they are dated from Friday. Perhaps this > is a Windoze drive letter thing, like if I start the server from a different > drive it can't find the files? I'll try to experiement. > > Another little bug is with the anchor tags in the documentation. I think > they need to be URL encoded. For example: > > <a name="sec_Example 2. A cleaner "Hello, World!""> > > This obviously won't work because of the double quotes. I'm not sure about > the blanks and other special characters, but $URLEncode($link) should fix > the problem. > > Keats > > ----- Original Message ----- > From: "Marc Palmer" <ma...@an...> > To: "Keats" <ke...@ea...>; <web...@li...> > Sent: Monday, June 16, 2003 1:10 PM > Subject: Re: [Webmacro-devel] Please don't forget... > > > > > Marc, > > > > > > I'm not able to access the Ignition app on my box anymore. I'm getting > > > the > > > following: > > > > > > java.lang.Exception: Partition does not exist=Anonymous in > > > /deploy/projects/visitors/storage_1983 > > > > > > I don't see a directory structure like this anywhere. > > > > This is (passing buck) Lane's code :-) > > > > It's the filesystem-based VLH. It sounds like you did have the files (or > it > > would never have worked) and you have deleted them while Ignition is > > running. They are auto-generated if they do not exist, but I suspect only > > at startup. > > > > So, if you deleted/moved a directory (or your mounts/drive names changed) > > called /deploy then that would explain it. > > > > Try restarting your servlet container. > > > > Let me know how it goes. If you need any more help you can reach me on > > Yahoo as marcp_uk, AIM as HateAiOiL or ICQ 2930802. > > > > Cheers > > > > -- > > Marc Palmer > > Contract Java Consultant/Developer > > > > http://www.anyware.co.uk/marc/ > > http://www.wangjammers.org > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel |
From: Marc P. <ma...@an...> - 2003-06-16 17:30:32
|
On Mon, 16 Jun 2003 13:18:28 -0400, Keats <ke...@ea...> wrote: > Hmmm. Strangely after a couple of restarts it is working again. The > filese > apparently existed all along, as they are dated from Friday. Perhaps > this > is a Windoze drive letter thing, like if I start the server from a > different > drive it can't find the files? I'll try to experiement. Hmm very strange. You can edit WEB-INF/classes/VLHDefaults.properties to set a Windoze-friendly location and see if it helps. No docs on that yet, waiting for Lane to pull that rabbit out of the hat. > Another little bug is with the anchor tags in the documentation. I think > they need to be URL encoded. For example: > > <a name="sec_Example 2. A cleaner "Hello, World!""> > > This obviously won't work because of the double quotes. I'm not sure > about > the blanks and other special characters, but $URLEncode($link) should fix > the problem. Ah thanks. No problem I'll fix that, easy to do. It's on the todo list now. Cheers -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Keats <ke...@ea...> - 2003-06-16 17:20:49
|
Hmmm. Strangely after a couple of restarts it is working again. The filese apparently existed all along, as they are dated from Friday. Perhaps this is a Windoze drive letter thing, like if I start the server from a different drive it can't find the files? I'll try to experiement. Another little bug is with the anchor tags in the documentation. I think they need to be URL encoded. For example: <a name="sec_Example 2. A cleaner "Hello, World!""> This obviously won't work because of the double quotes. I'm not sure about the blanks and other special characters, but $URLEncode($link) should fix the problem. Keats ----- Original Message ----- From: "Marc Palmer" <ma...@an...> To: "Keats" <ke...@ea...>; <web...@li...> Sent: Monday, June 16, 2003 1:10 PM Subject: Re: [Webmacro-devel] Please don't forget... > > Marc, > > > > I'm not able to access the Ignition app on my box anymore. I'm getting > > the > > following: > > > > java.lang.Exception: Partition does not exist=Anonymous in > > /deploy/projects/visitors/storage_1983 > > > > I don't see a directory structure like this anywhere. > > This is (passing buck) Lane's code :-) > > It's the filesystem-based VLH. It sounds like you did have the files (or it > would never have worked) and you have deleted them while Ignition is > running. They are auto-generated if they do not exist, but I suspect only > at startup. > > So, if you deleted/moved a directory (or your mounts/drive names changed) > called /deploy then that would explain it. > > Try restarting your servlet container. > > Let me know how it goes. If you need any more help you can reach me on > Yahoo as marcp_uk, AIM as HateAiOiL or ICQ 2930802. > > Cheers > > -- > Marc Palmer > Contract Java Consultant/Developer > > http://www.anyware.co.uk/marc/ > http://www.wangjammers.org > |
From: Marc P. <ma...@an...> - 2003-06-16 17:11:43
|
> Marc, > > I'm not able to access the Ignition app on my box anymore. I'm getting > the > following: > > java.lang.Exception: Partition does not exist=Anonymous in > /deploy/projects/visitors/storage_1983 > > I don't see a directory structure like this anywhere. This is (passing buck) Lane's code :-) It's the filesystem-based VLH. It sounds like you did have the files (or it would never have worked) and you have deleted them while Ignition is running. They are auto-generated if they do not exist, but I suspect only at startup. So, if you deleted/moved a directory (or your mounts/drive names changed) called /deploy then that would explain it. Try restarting your servlet container. Let me know how it goes. If you need any more help you can reach me on Yahoo as marcp_uk, AIM as HateAiOiL or ICQ 2930802. Cheers -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Keats <ke...@ea...> - 2003-06-16 16:59:07
|
Marc, I'm not able to access the Ignition app on my box anymore. I'm getting the following: java.lang.Exception: Partition does not exist=Anonymous in /deploy/projects/visitors/storage_1983 I don't see a directory structure like this anywhere. I've included the full stack trace below. Keats __Current Error Report and Stack Trace___ java.io.FileNotFoundException: \deploy\projects\visitors\storage_1983\Anonymous. sclass (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:70) at org.opendoors.util.SysEnv.iceObject(SysEnv.java:315) at org.opendoors.instant.vlh.server.CreatePartition.localExecution(Creat ePartition.java:46) at org.opendoors.instant.vlh.client.LocalProxyImpl.createPartitionKey(Lo calProxyImpl.java:91) at org.opendoors.instant.vlh.VLHProvider.createPartition(VLHProvider.jav a:142) at org.opendoors.instant.vlh.VLHProvider.getDefaultStore(VLHProvider.jav a:85) at org.webmacro.ignition.visitor.visitorimpl.VisitorSystem.init(VisitorS ystem.java:75) at org.webmacro.ignition.visitor.visitorimpl.VisitorSystem.createSystem( VisitorSystem.java:69) at org.webmacro.ignition.visitor.visitorimpl.VisitorDriver.findSystem(Vi sitorDriver.java:104) at org.webmacro.ignition.visitor.visitorimpl.VisitorDriver.getSystem(Vis itorDriver.java:81) at org.webmacro.ignition.visitor.VisitorTrackerRequestPlugin.pluginPreRe quest(VisitorTrackerRequestPlugin.java:74) at org.webmacro.ignition.core.Ignition.callRequestPlugins(Ignition.java: 952) at org.webmacro.ignition.core.Ignition.callPreRequestPlugins(Ignition.ja va:975) at org.webmacro.ignition.core.Ignition.handleRequest(Ignition.java:537) at org.webmacro.ignition.core.Ignition.handle(Ignition.java:354) at org.webmacro.servlet.WMServlet.doRequest(WMServlet.java:255) at org.webmacro.servlet.WMServlet.doGet(WMServlet.java:195) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche rValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22 3) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:530) at java.lang.Thread.run(Thread.java:534) Message=Could not serialize object to disk .//deploy/projects/visitors/storage_1 983/Anonymous.sclass Reported Exception=\deploy\projects\visitors\storage_1983\Anonymous.sclass (The system cannot find the path specified) Free Memory in System=4823640 Call stack spooled to console. java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1064) at org.opendoors.util.Console.error(Console.java:109) at org.opendoors.util.Console.error(Console.java:74) at org.opendoors.util.SysEnv.iceObject(SysEnv.java:320) at org.opendoors.instant.vlh.server.CreatePartition.localExecution(Creat ePartition.java:46) at org.opendoors.instant.vlh.client.LocalProxyImpl.createPartitionKey(Lo calProxyImpl.java:91) at org.opendoors.instant.vlh.VLHProvider.createPartition(VLHProvider.jav a:142) at org.opendoors.instant.vlh.VLHProvider.getDefaultStore(VLHProvider.jav a:85) at org.webmacro.ignition.visitor.visitorimpl.VisitorSystem.init(VisitorS ystem.java:75) at org.webmacro.ignition.visitor.visitorimpl.VisitorSystem.createSystem( VisitorSystem.java:69) at org.webmacro.ignition.visitor.visitorimpl.VisitorDriver.findSystem(Vi sitorDriver.java:104) at org.webmacro.ignition.visitor.visitorimpl.VisitorDriver.getSystem(Vis itorDriver.java:81) at org.webmacro.ignition.visitor.VisitorTrackerRequestPlugin.pluginPreRe quest(VisitorTrackerRequestPlugin.java:74) at org.webmacro.ignition.core.Ignition.callRequestPlugins(Ignition.java: 952) at org.webmacro.ignition.core.Ignition.callPreRequestPlugins(Ignition.ja va:975) at org.webmacro.ignition.core.Ignition.handleRequest(Ignition.java:537) at org.webmacro.ignition.core.Ignition.handle(Ignition.java:354) at org.webmacro.servlet.WMServlet.doRequest(WMServlet.java:255) at org.webmacro.servlet.WMServlet.doGet(WMServlet.java:195) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche rValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22 3) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:530) at java.lang.Thread.run(Thread.java:534) __End of Error Report and Stack Trace___ ----- Original Message ----- From: "Marc Palmer" <ma...@an...> To: <web...@li...> Sent: Monday, June 16, 2003 9:12 AM Subject: [Webmacro-devel] Please don't forget... > > Hi all, > > I know that I released Ignition on the worst day possible, a Friday. Now > you're all in work and really busy with Monday morning stuff. > > However I would really like as many WM developers as possible to check out > Ignition (http://www.wangjammers.org/ignition) and share their thoughts on > it here. > > Feedback is really appreciated, particularly on whether or not this should > become part of the "WM project" as the "public face" of the WM library > code, something people can use straight away with great effect. > > Today I'm implementing a simple automatic transaction mechanism and doing > some major refactoring to rationalise the configuration implementation and > main servlet a lot. > > Best wishes, > Marc > > -- > Marc Palmer > Contract Java Consultant/Developer > > http://www.anyware.co.uk/marc/ > http://www.wangjammers.org > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel |
From: Marc P. <ma...@an...> - 2003-06-16 16:46:56
|
On Mon, 16 Jun 2003 17:31:24 +0200 (CEST), Endre Stølsvik <web...@st...> wrote: > Yeah, I got it too now..! The first comment-opening, and the last comment > end fixes it all, doesn't it?! ;) > > These mails here should be pasted in there.. No way, our mails are very uninformative to the outsider! I have added some text to it: " <table> <!-- #foreach $User in $Users --> <tr><td>$User.Name</td><td>$User.Address</td></tr> <!-- #end --> </table> This would render as a table, whereas without the comments it might not. The above workaround works in a way that may not be immediately obvious. Empty HTML comments are left in the output for each row (--> and <!--) and the outer comment open/close finish it all off so it is legal HTML." -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: <web...@st...> - 2003-06-16 15:31:34
|
On Mon, 16 Jun 2003, Marc Palmer wrote: | On Mon, 16 Jun 2003 11:04:25 -0400, Keats <ke...@ea...> wrote: | | > That was me who wrote this, and no it doesn't leave mismatched comment | > delimiters laying around. It does leave empty HTML comments in your | > generated source, but this shouldn't be a problem. | | Er, now that is really obtuse but I see how it works now. That really is | obtuse! Yeah, I got it too now..! The first comment-opening, and the last comment end fixes it all, doesn't it?! ;) These mails here should be pasted in there.. -- Mvh, Endre Stk M[+47 93054050] F[+47 51625182] Developer @ CoreTrek AS - http://www.coretrek.com/ CoreTrek corporate portal / EIP - http://www.corelets.com/ |
From: Marc P. <ma...@an...> - 2003-06-16 15:27:31
|
On Mon, 16 Jun 2003 11:04:25 -0400, Keats <ke...@ea...> wrote: > That was me who wrote this, and no it doesn't leave mismatched comment > delimiters laying around. It does leave empty HTML comments in your > generated source, but this shouldn't be a problem. Er, now that is really obtuse but I see how it works now. That really is obtuse! -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Keats <ke...@ea...> - 2003-06-16 15:05:33
|
VGhhdCB3YXMgbWUgd2hvIHdyb3RlIHRoaXMsIGFuZCBubyBpdCBkb2Vzbid0IGxlYXZlIG1pc21h dGNoZWQgY29tbWVudA0KZGVsaW1pdGVycyBsYXlpbmcgYXJvdW5kLiAgSXQgZG9lcyBsZWF2ZSBl bXB0eSBIVE1MIGNvbW1lbnRzIGluIHlvdXINCmdlbmVyYXRlZCBzb3VyY2UsIGJ1dCB0aGlzIHNo b3VsZG4ndC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xvZ3kgLS0gb24gZUJh eSBub3chIENsaWNrIGhlcmU6DQo+IGh0dHA6Ly9hZGZhcm0ubWVkaWFwbGV4LmNvbS9hZC9jay83 MTEtMTE2OTctNjkxNi01DQo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fDQo+IFdlYm1hY3JvLWRldmVsIG1haWxpbmcgbGlzdA0KPiBXZWJtYWNyby1kZXZl bEBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNCj4gaHR0cHM6Ly9saXN0cy5zb3VyY2Vmb3JnZS5uZXQv bGlzdHMvbGlzdGluZm8vd2VibWFjcm8tZGV2ZWwNCg0K |
From: Marc P. <ma...@an...> - 2003-06-16 13:13:52
|
Hi all, I know that I released Ignition on the worst day possible, a Friday. Now you're all in work and really busy with Monday morning stuff. However I would really like as many WM developers as possible to check out Ignition (http://www.wangjammers.org/ignition) and share their thoughts on it here. Feedback is really appreciated, particularly on whether or not this should become part of the "WM project" as the "public face" of the WM library code, something people can use straight away with great effect. Today I'm implementing a simple automatic transaction mechanism and doing some major refactoring to rationalise the configuration implementation and main servlet a lot. Best wishes, Marc -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Lane S. <la...@op...> - 2003-06-16 12:49:49
|
good point. I have felt there was some headroom for getting a context more efficiently. -lane Brian Goetz wrote: >>It would be great if someone could provide some actual user-land info about >>the various ContextTools we supply with WM. >> >> > >I'd also like to see more lazy loading of Context tools, as cloning >the context tools map is an expensive operation and part of every >request, whether the user is going to use them or not. > > > >------------------------------------------------------- >This SF.NET email is sponsored by: eBay >Great deals on office technology -- on eBay now! Click here: >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Webmacro-devel mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > > |
From: Marc P. <ma...@an...> - 2003-06-16 11:58:30
|
On Mon, 16 Jun 2003 13:40:10 +0200 (CEST), Endre Stølsvik <web...@st...> wrote: > On Tue, 10 Jun 2003, Marc Palmer wrote: > > | > I'll write a bit on how to do this with IDEA on the Wiki site soon. > | > | Done it - it was so easy as someone had already created a page for this > | with DW info. I tidied it up a bit. > | > | http://www.webmacro.org/AuthoringTemplates > > Do anyone understand that comment about code within HTML comments? And > wouldn't that example there leave a bunch of mismatched "-->" and "<!-- > "'s > around?? Haha yes you're right. Looks like it would. I don't know who wrote that. Marc -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: <web...@st...> - 2003-06-16 11:40:17
|
On Tue, 10 Jun 2003, Marc Palmer wrote: | > I'll write a bit on how to do this with IDEA on the Wiki site soon. | | Done it - it was so easy as someone had already created a page for this | with DW info. I tidied it up a bit. | | http://www.webmacro.org/AuthoringTemplates Do anyone understand that comment about code within HTML comments? And wouldn't that example there leave a bunch of mismatched "-->" and "<!--"'s around?? -- Mvh, Endre Stølsvik M[+47 93054050] F[+47 51625182] Developer @ CoreTrek AS - http://www.coretrek.com/ CoreTrek corporate portal / EIP - http://www.corelets.com/ |
From: Marc P. <ma...@an...> - 2003-06-16 11:10:34
|
> However, we simply -must-be able to do something like this: > > WebMacro wm = new WM(); > Context ctx = wm.getContext(); > Template t = new FileTemplate( myTemplate); > ctx.put( "myVar", "myValue"); > wm.evaluate(t, ctx, System.out); > > If we can't do something as simple as that, the WM barrier (to entry) is > way too high. By this I mean without requiring even an implicit FastWriter etc. -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: Marc P. <ma...@an...> - 2003-06-16 10:49:33
|
On Mon, 16 Jun 2003 11:43:08 +0200 (CEST), Endre Stølsvik <web...@st...> wrote: > Throw away FastWriter. Throw away the very strange buffering of the > entire > page before output to the user. Throw away all those "performance hacks", > yes yes, and keep the -template engine-. > > I'd like to have a template engine. One that takes a Template, a Context > and then renders the combined information to a stream. Could WM provide > me > with that, without lots of stash, Threads, strange configs, weird search > paths, caching and shit I don't need or, more importantly, don't > understand? Then -I-could plug together my favourite things, e.g. a > servlet-based template provider, a template-cacher, a Logger, and the WM > engine. I have to say I agree with this sentiment. All the Broker and related baggage we carry is the only major criticism Velocity fanciers can still level at us. I don't think we should get rid of it all, at all. We should just make our "baggage" optional, and use defaults implementations where possible. I know we do this in most places. However, we simply -must-be able to do something like this: WebMacro wm = new WM(); Context ctx = wm.getContext(); Template t = new FileTemplate( myTemplate); ctx.put( "myVar", "myValue"); wm.evaluate(t, ctx, System.out); If we can't do something as simple as that, the WM barrier (to entry) is way too high. -- Marc Palmer Contract Java Consultant/Developer http://www.anyware.co.uk/marc/ http://www.wangjammers.org |
From: <web...@st...> - 2003-06-16 09:43:14
|
On Fri, 13 Jun 2003, Brian Goetz wrote: | One of the things I want to do for 2.0 is to get rid of all of the | performance hacks that were introduced in the early days. They might | or might not have been helpful then, but they are almost certainly | counterproductive now. This will probably get rid of a lot of code. | | Now, I know we've existed thus far without any JAR dependencies, but | one JAR we really should be using is Doug Lea's util.concurrent | library, which contains some excellent building blocks for concurrent | apps. Throw away FastWriter. Throw away the very strange buffering of the entire page before output to the user. Throw away all those "performance hacks", yes yes, and keep the -template engine-. I'd like to have a template engine. One that takes a Template, a Context and then renders the combined information to a stream. Could WM provide me with that, without lots of stash, Threads, strange configs, weird search paths, caching and shit I don't need or, more importantly, don't understand? Then -I- could plug together my favourite things, e.g. a servlet-based template provider, a template-cacher, a Logger, and the WM engine. -- Mvh, Endre Stølsvik M[+47 93054050] F[+47 51625182] Developer @ CoreTrek AS - http://www.coretrek.com/ CoreTrek corporate portal / EIP - http://www.corelets.com/ |