I just noticed this:
Feb 3, 2010 10:49:23 PM org.apache.coyote.http11.Http11NioProtocol
destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Feb 3, 2010 11:19:20 PM org.apache.catalina.loader.WebappClassLoader
loadClass
INFO: Illegal access: this web application instance has been stopped
already.
Indrajit,
Thanks for the advise. I already tried that, but not worked on *.html
templates. Exception occurs at runtime, not at build.
> UTF-8
Regards,
Pomu TAKEUCHI
2010/2/4 Indrajit Raychaudhuri :
> Takeuchi-san,
>
> Can you please set project.build.sourceEncoding=UTF-8 in your pom.xml and
> c
Straight from the headers:
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
It's a regular form with four text fields. Simple.
Wireshark shows that the packets are arriving at the server with the
parameters intact in the header. Adding a valve to the server.xml file
allowed me to d
I don't think this issue is related to Derby because I am seeing this
problem too -- but I am not using Derby.
What version of Tomcat are you using? I am using 6.0.24 on either
Windows or Solaris 10 and see these errors too, like:
Feb 3, 2010 10:49:22 PM org.apache.catalina.loader.WebappClassLoa
I would like to have the list view of one of my model objects as my home
page.
Can this done with out having the home page redirect to /mymodel/list ?
Cheers
Jono
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to li
Takeuchi-san,
Can you please set project.build.sourceEncoding=UTF-8 in your pom.xml
and check if it works?
You can set project.build.sourceEncoding in pom.xml the following way:
UTF-8
...
...
Cheers, Indrajit
On 04/02/10 1:01 AM, David Pollak wrote:
On Wed, Feb 3, 2010 at 1:54 AM
Sure, I will. This would go in as regular 280_port_refresh update activity.
Cheers, Indrajit
On 04/02/10 3:13 AM, Timothy Perrett wrote:
Awesome stuff :-)
IRC, will you take the lead on this?
Cheers, Tim
Sent from my iPhone
On 3 Feb 2010, at 20:33, "Rickard Nilsson" wrote:
I have now bui
Are you sending Content-Type: application/x-www-form-urlencoded or
multipart/form-data (as appropriate for the body)?
-Ross
On Feb 3, 2010, at 2:48 PM, c...@munat.com wrote:
> I have a lift app that works perfectly when I use mvn jetty:run. Then I
> package it into a war and load it up in Tomca
It's POST vs. PUT. I'm using AJAX, so I can do PUTs.
The two are identical, except:
POST instead of PUT
The POST version includes:
Pragma: no-cache
Cache-Control: no-cache
which the PUT does not. In other words, the headers are identical except
for the above.
In Jetty, no problem. In Tomcat,
Is it a POST or a GET?
On Wed, Feb 3, 2010 at 11:44 PM, wrote:
> Thanks, David.
>
> That's a non-trivial exercise for me, so let me chase down another lead at
> the moment. If that proves fruitless, I'll bite the bullet and get
> something up on GitHub.
>
> Chas.
>
> > Please put together a repr
Thanks, David.
That's a non-trivial exercise for me, so let me chase down another lead at
the moment. If that proves fruitless, I'll bite the bullet and get
something up on GitHub.
Chas.
> Please put together a reproduceable example on GitHub (works in Jetty,
> doesn't work in Tomcat) and we'll
You can also add to Boot.scala (given that the StandardDBVendor is called
dbVendor):
LiftRules.unloadHooks.append(() => dbVendor.closeAllConnections_!())
What this will do is close all the DB connections when the context is
unloaded.
Additionally, you can switch to H2 which is generally more sta
I talked to the user and he says that Tomcat didn't shutdown. He had
to kill -9 the process.
We'll move to
On Feb 3, 9:10 pm, Timothy Perrett wrote:
> See:http://is.gd/7Dzv4
Thanks for the link. We'll move to the StandardDBVendor in our next
release.
>
> Cheers, Tim
>
> On 3 Feb 2010, at 19:58
Try upgrading to the latest version of maven (2.2.1 or later ). I was having
a simliar issue.
Cheers
Jono
j...@192-168-1-69:~ $mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-07 05:16:01+1000)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Defa
Hi all,
I seem to be to doing something wrong, as I keep getting out of memory
errors when trying to build Lift from source. My command is:
mvn -DXmx1024m -U clean install
Am I missing something obvious? I've tried with 1024 and 2048
megabytes of memory. I'm running Java 1.6.0_17 and Maven 2.2.0
On Wed, Feb 3, 2010 at 12:44 PM, Tim Maxwell wrote:
> Hi folks,
>
> I am trying to do binds based on a list of products. The point is to
> create links that can be wrapped around existing text or images.
> Something like this:
>
> This is the link text our marketing dept.
> creates
>
> Here's wha
On Tue, Feb 2, 2010 at 11:00 PM, celestocalculus <
celestocalcu...@yahoo.co.uk> wrote:
> Hello,
> I'm an intermediate lift developer. Suddenly, it has become my first
> choice framework for web applications. I really think it's a nice
> framework you guys are doing a great job.
> I'm new on facebo
Awesome stuff :-)
IRC, will you take the lead on this?
Cheers, Tim
Sent from my iPhone
On 3 Feb 2010, at 20:33, "Rickard Nilsson" wrote:
I have now built ScalaCheck for Scala 2.8.0 Beta 1:
http://groups.google.com/group/scalacheck/browse_thread/thread/5a1e216fa82ed91
Regards,
Rickard
De
Heh, Indrajit, now I know why you were excited about the GitHub API I used in
my app! :)
It seems to me that the labels in lift's github issues fall into 3 categories:
owner, component, and status (some statuses should really be a separate boolean
field, not mutually exclusive to other statuses)
Thanks Joni,
I've opened a ticket http://github.com/dpp/liftweb/issues/issue/323.
Cheers
Jono
On 3 February 2010 17:46, Joni Freeman wrote:
> Hi Jonathan,
>
> Yes, definitely a bug. Could you please open a ticket (http://
> github.com/dpp/liftweb/issues) and I will take a look at it. And
> th
That's a very simple example, but imagine a more complex situation
where you want to have polymorphic functions on a list of results. Or
where the functions are lift ajax calls.
Like this:
[{name:"marius", poke:function(){liftAjax...}}, {name:"dpp",
poke:function(){liftAjax...}}]
- Jon
On Feb 3
It's my app that's returning the function
On Feb 3, 3:08 pm, David Pollak wrote:
> On Wed, Feb 3, 2010 at 11:55 AM, Jonathan Hoffman wrote:
>
> > I was able to find the root cause. jQuery 1.4.1 does not consider
> > javascript objects that contain functions to be be valid JSON.
>
> According the
Hmmm ... in Lift we do use JSON structures with functions (but not
with JSON mime type). For instance ScriptRenderer.scala defines a JSON
with functions. jlift.js also defines a JSON with functions.
But looking at your example app, you're using JSON mimetype in the
response and that JSON has a fun
Hi folks,
I am trying to do binds based on a list of products. The point is to
create links that can be wrapped around existing text or images.
Something like this:
This is the link text our marketing dept.
creates
Here's what I have so far in the snippet related to it:
def links(html:NodeSeq)
I have now built ScalaCheck for Scala 2.8.0 Beta 1:
http://groups.google.com/group/scalacheck/browse_thread/thread/5a1e216fa82ed91
Regards,
Rickard
Den 2010-01-31 21:57:07 skrev David Pollak :
The problem is that there's no ScalaCheck version for Scala 2.8.0 Beta1.
The Beta1-RC5 compilation
Folks,
On today's committer call, we made the final decision to move the Lift
ticketing system from GitHub to Assembla. We made the decision to move
ticketing systems because the current GitHub ticket system, while visually
pretty, is slow, lacks support for ordinal ordering (bug priority, milest
See: http://is.gd/7Dzv4
Cheers, Tim
On 3 Feb 2010, at 19:58, Dick Hirsch wrote:
> David,
>
> Thanks.
>
> Is the new StandardDBVendor just available the 2.0 Snapshot?
>
> Do you have a link to a description of the StandardDBVendor,
>
> D.
>
> On Feb 3, 8:30 pm, David Pollak wrote:
>> On Wed
On Wed, Feb 3, 2010 at 11:55 AM, Jonathan Hoffman wrote:
> I was able to find the root cause. jQuery 1.4.1 does not consider
> javascript objects that contain functions to be be valid JSON.
>
According the to JSON spec, a function is not valid JSON.
>
> This is ok: {"foo":"bar"}
> This is bad:
On Wed, Feb 3, 2010 at 11:58 AM, Dick Hirsch wrote:
> David,
>
> Thanks.
>
> Is the new StandardDBVendor just available the 2.0 Snapshot?
>
It's been around since 1.1-M7 I think.
>
> Do you have a link to a description of the StandardDBVendor,
>
/**
* The standard DB vendor.
* @param drive
David,
Thanks.
Is the new StandardDBVendor just available the 2.0 Snapshot?
Do you have a link to a description of the StandardDBVendor,
D.
On Feb 3, 8:30 pm, David Pollak wrote:
> On Wed, Feb 3, 2010 at 10:12 AM, Dick Hirsch wrote:
> > A developer using ESME has a problem.
>
> > After he sh
I was able to find the root cause. jQuery 1.4.1 does not consider javascript
objects that contain functions to be be valid JSON.
This is ok: {"foo":"bar"}
This is bad: {"foo":function(){alert('hello')}
jquery-1.4.1.js:491 --> parseJSON
jquery 1.3.2 simply eval'd strings to created json objects
Please put together a reproduceable example on GitHub (works in Jetty,
doesn't work in Tomcat) and we'll look at it.
On Wed, Feb 3, 2010 at 11:48 AM, wrote:
> I have a lift app that works perfectly when I use mvn jetty:run. Then I
> package it into a war and load it up in Tomcat 6 on the server,
I have a lift app that works perfectly when I use mvn jetty:run. Then I
package it into a war and load it up in Tomcat 6 on the server, and when I
do, suddenly it won't work.
The issue is with the S.params. I have a form that submits via an Ajax PUT
request. The params are sent in the header just
On Wed, Feb 3, 2010 at 1:54 AM, Timothy Perrett wrote:
> Do not use the 2.8 port of Lift yet... its mostly broken. Please use 2.7.7
> until the official 2.8 release is out.
>
Although this is the kind of bug we want to find.
For production sites, I would strongly recommend sicking with 2.7.7
If
On Wed, Feb 3, 2010 at 10:12 AM, Dick Hirsch wrote:
> A developer using ESME has a problem.
>
> After he shuts down Tomcat, he sees that there are exceptions in the
> log file. Derby is also not getting shutdown correctly. Next time,
> when he restarts Tomcat, ESME fails to load and he gets all k
Hi,
There is a problem with making jsonCalls which return JSON with anonymous
functions. I've created a very simple reproducible example, but have not been
able to track down the root cause.
Take a look at jsonCallBug in:
http://github.com/hoffrocket/lift_1_1_sample/blob/master/src/main/sca
Hi Jarod,
It sounds like you're running into a known problem that has already
been addressed:
http://groups.google.com/group/liftweb/browse_thread/thread/5e0335583e2a248b
Peter
On Feb 3, 1:45 am, Jarod Liu wrote:
> At first I don't know the Flot.init
> things(https://groups.google.com/group/l
A developer using ESME has a problem.
After he shuts down Tomcat, he sees that there are exceptions in the
log file. Derby is also not getting shutdown correctly. Next time,
when he restarts Tomcat, ESME fails to load and he gets all kinds of
exception in the browser.
Once he manually kils ( with
On Wed, Feb 3, 2010 at 7:27 AM, Marius wrote:
> Technically you could override :
>
> def toJavaScript(session: LiftSession, displayAll: Boolean): JsCmd
>
> from CometActor, but you'd probably loose important things that Lift
> does for you there. You could call super but I don't think that it
> w
Thanks for pointing that out. There are other problems as well... I'll fix
them (in both the Scala and Lift diffs)
On Wed, Feb 3, 2010 at 7:39 AM, Feng Zhang wrote:
> I found that in the fix, \n is changed to \t, while \t to \n. Is this
> desired behavior?
>
> Thank you,
>
> Feng
>
> On Wed, Fe
For in production java app, I generaly wrap them with Java Service
Wrapper for Tanuki Software. (include heartbeat, restart, script to
run as service,...)
http://wrapper.tanukisoftware.org/
or the 100% java alternative : yajsw http://yajsw.sourceforge.net/
/davidB
On Wed, Feb 3, 2010 at 17:26,
Thanks Adam, I'll take this one up :)
- Indrajit
On 03/02/10 12:48 PM, Adam Warski wrote:
Sure:
(a) http://github.com/dpp/liftweb/issues/issue/320
(b) http://gist.github.com/293435
I've also updated the wiki.
On Feb 2, 2010, at 8:10 PM, Indrajit Raychaudhuri wrote:
Adam, can you please (a)
+1
JVM flags are like major ninja foo. Cant wait!
Cheers, Tim
On 3 Feb 2010, at 16:12, Naftoli Gugenheim wrote:
> Looking forward!
>
> -
> David Pollak wrote:
>
> I've got a work in progress jvm memory options for Lift post... but I've
> gotta get below 30
Looking forward!
-
David Pollak wrote:
I've got a work in progress jvm memory options for Lift post... but I've gotta
get below 30 unread email messages before I finish it (probably late Feb)
Connected by MOTOBLUR™ on T-Mobile
-Original message-
From
I've got a work in progress jvm memory options for Lift post... but I've gotta
get below 30 unread email messages before I finish it (probably late Feb)
Connected by MOTOBLUR™ on T-Mobile
-Original message-
From: Jim Barrows
To: liftweb@googlegroups.com
Sent: Wed, Feb 3, 2010 14:52:47 G
Is that possible without Ajax?
-
Jim Barrows wrote:
On Wed, Feb 3, 2010 at 5:23 AM, Naftoli Gugenheim wrote:
> It's very different -- you edit the whole table on one screen at the same
> time, and changes are buffered until you click save.
>
We're doing that
I wanted to work on it offline, so I typed the API url into the browser and
saved it -- that's all! :)
-
Indrajit Raychaudhuri wrote:
Naftoli,
Yes, looked at your source. I was curious about the source of the
downloaded xml you have in there.
http://develop
I found that in the fix, \n is changed to \t, while \t to \n. Is this
desired behavior?
Thank you,
Feng
On Wed, Feb 3, 2010 at 9:20 AM, Indrajit Raychaudhuri
wrote:
> 1. Fix in head/master (2.0-SNAPSHOT) and prepone 2.0-M2.
>
> 2. Backport in 1.0.x branch and spin 1.0.4. We haven't marked 1.0.x
On Wednesday, February 3, 2010, Marius wrote:
> Technically you could override :
>
> def toJavaScript(session: LiftSession, displayAll: Boolean): JsCmd
>
> from CometActor, but you'd probably loose important things that Lift
> does for you there. You could call super but I don't think that it
> wo
Technically you could override :
def toJavaScript(session: LiftSession, displayAll: Boolean): JsCmd
from CometActor, but you'd probably loose important things that Lift
does for you there. You could call super but I don't think that it
would be very helpful.
Perhaps we should add an easy way to
Hi,
It looks like the output from fixedRender is always placed below the
one from render. Is there a way to change this?
Heiko
--
Heiko Seeberger
Work: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web
On Wed, Feb 3, 2010 at 5:23 AM, Naftoli Gugenheim wrote:
> It's very different -- you edit the whole table on one screen at the same
> time, and changes are buffered until you click save.
>
We're doing that in a very heavy data entry app. A really nice feature is
to be able for the client to g
On Tue, Feb 2, 2010 at 9:18 PM, David Pollak
wrote:
>
>
> On Tue, Feb 2, 2010 at 5:49 PM, Naftoli Gugenheim wrote:
>
>> Hmm... Can the code catch the exception and try to execute a script that
>> restarts it? :)
>
>
> The Sun JVM has the following flag:
>
> -XX:OnOutOfMemoryError="script_to_execu
Naftoli,
Yes, looked at your source. I was curious about the source of the
downloaded xml you have in there.
http://develop.github.com/p/issues.html seems to have them all. Thanks!
Cheers, Indrajit
On 03/02/10 7:57 PM, Naftoli Gugenheim wrote:
They have an API. I think the site is develop.g
I've created a ticket here:
http://github.com/dpp/liftweb/issues/issue/322
Thanks again!
- Aaron
On Tue, Feb 2, 2010 at 10:10 PM, Peter Robinett wrote:
> You're welcome. I'm happy to look into adding Flot plugin support, but
> please open a ticket on GitHub (http://github.com/dpp/liftweb/issues
They have an API. I think the site is develop.github.com, or something like
that.
The source code is on github.com/nafg, although I think there it references an
xml file I downloaded rather than the live urls, as it does locally (ironically
:) ). I took the basic archetype (actually I couldn't m
1. Fix in head/master (2.0-SNAPSHOT) and prepone 2.0-M2.
2. Backport in 1.0.x branch and spin 1.0.4. We haven't marked 1.0.x
'unsupported' yet. Forcing apps to move to 2.0-M2 just for this
vulnerability fix isn't fun.
Cheers, Indrajit
On 03/02/10 3:34 PM, Timothy Perrett wrote:
+1
Fix it i
Great stuff! Where did you get the github issue xml?
Cheers, Indrajit
On 03/02/10 10:14 AM, Naftoli Gugenheim wrote:
If anyone finds github's issue manager too limited, I made a teeny
little app that lets you list the issues in a more configurable way. All
comments welcome!
http://github-issue
Is there a wiki article? Otherwise are the scaladocs not sufficient?
-
Jeppe Nejsum Madsen wrote:
Naftoli Gugenheim writes:
> It's very different -- you edit the whole table on one screen at the same
> time, and changes are buffered until you click save.
So
Naftoli Gugenheim writes:
> It's very different -- you edit the whole table on one screen at the same
> time, and changes are buffered until you click save.
Sounds cool. Any live demos available? Alternatively, full examples?
/Jeppe
--
You received this message because you are subscribed to
It's very different -- you edit the whole table on one screen at the same time,
and changes are buffered until you click save.
-
Jeppe Nejsum Madsen wrote:
Naftoli Gugenheim writes:
[...]
> They tickets are:
> 299 - ItemsList should be have refresh method t
Thanks for the comment. I was too much hasted... I'm going to use
2.7.7 for a while.
Pomu TAKEUCHI
2010/2/3 Timothy Perrett :
> Do not use the 2.8 port of Lift yet... its mostly broken. Please use 2.7.7
> until the official 2.8 release is out.
>
> Cheers, Tim
--
You received this message becau
+1
Fix it in head, no need to back-port; M2 is only around the corner.
Cheers, Tim
On 3 Feb 2010, at 09:49, Jeppe Nejsum Madsen wrote:
> David Pollak writes:
>
>> I'd like to get a sense of how important the community views this defect.
>> Is it a "backport the fix to every milestone and rel
Do not use the 2.8 port of Lift yet... its mostly broken. Please use 2.7.7
until the official 2.8 release is out.
Cheers, Tim
On 3 Feb 2010, at 02:00, pomu0325 wrote:
> Hi, I'm quite a newbie to Lift. I'm now trying to port my first Lift
> application from Lift1.0.2 to latest Lift2.0-scala280,
Naftoli Gugenheim writes:
[...]
> They tickets are:
> 299 - ItemsList should be have refresh method to clear added/removed
> without requerying database
> Until now it only had a reload method, which reset the state to that
> of the database, clearing pending additions and deletions. This adds
David Pollak writes:
> I'd like to get a sense of how important the community views this defect.
> Is it a "backport the fix to every milestone and release yesterday" or is it
> a "fix it in 2.0-M2" or someplace in between.
For me, it's fix it in 2.0-SNAPSHOT
/Jeppe
--
You received this messa
At first I don't know the Flot.init things(
https://groups.google.com/group/liftweb/browse_thread/thread/8c974d50b9cc5c3b
). I copy jquery.flot.js and excanvas.js to /static (without
jquery.flot.css) and link to these js's on the page. At this time my
charts work fine. After I know the Flot.init,
Really nice stuff naftoli!!
Cheers, Tim
On 3 Feb 2010, at 04:44, Naftoli Gugenheim wrote:
> If anyone finds github's issue manager too limited, I made a teeny little app
> that lets you list the issues in a more configurable way. All comments
> welcome!
>
> http://github-issues.naftoligug.sta
Jim Barrows writes:
> That would require memory allocation etc to do so. Which is of course, a
> problem at this point.
But you can allocate some "baloon" memory at startup and free this on
the OOM if you must do some cleanup in the app. I've not used this in a
multi threaded server setting so
69 matches
Mail list logo