[Lift] Re: problems with tomcat

2009-11-24 Thread DavidV
Update: The tomcat incompatability with the external server was caused by a Java version mismatch. I was compiling my scala code with a newer version of the JDK. I had an older JDK installed on the external server and this was causing a problem with some of my class files (but not others, oddly).

Re: [Lift] Re: problems with tomcat

2009-11-17 Thread Naftoli Gugenheim
If you call maven with the right parameter it will skip the tests. I think it's something like -Dmaven.tests.skip . - DavidV wrote: More specifically, I am trying to follow the stack trace to lead me to some sort of URL so that I can see where and why this con

Re: [Lift] Re: problems with tomcat

2009-11-17 Thread David Pollak
Just delete the AppTest.scala file. On Tue, Nov 17, 2009 at 7:41 AM, DavidV wrote: > More specifically, I am trying to follow the stack trace to lead me to > some sort of URL so that I can see where and why this connection is > trying to be made. I'm not sure why the AppTest needs to make a > c

[Lift] Re: problems with tomcat

2009-11-17 Thread DavidV
I skipped the Test portion of mvn package by removing the testCompile goal from my pom file under the maven-scala-plugin. War packaging is now working correctly, but the webapp still isn't deploying on the remote Tomcat server...will keep at it and will post my solution if I find one... I think i

[Lift] Re: problems with tomcat

2009-11-17 Thread DavidV
More specifically, I am trying to follow the stack trace to lead me to some sort of URL so that I can see where and why this connection is trying to be made. I'm not sure why the AppTest needs to make a connection in the first place. Can I just skip the Test portion of the mvn package command? O

[Lift] Re: problems with tomcat

2009-11-16 Thread DavidV
For the time being I have code that compiles correctly and I am leaving eclipse completely out of the picture. I am running Windows Vista 64bit. I have quit eclipse and tried to run a "mvn clean install" to rebuild my project, but I get the exact same error that I previously posted (ConnectExcept

[Lift] Re: problems with tomcat

2009-11-13 Thread David Pollak
On Fri, Nov 13, 2009 at 9:15 AM, DavidV wrote: > > When running Lift-1.0.2 and Scala-2.7.5 I am able to compile and run > my code through maven. However, I am concerned about my inability to > run the "mvn clean package" command successfully without first running > the "clean" command in eclipse

[Lift] Re: problems with tomcat

2009-11-13 Thread DavidV
When running Lift-1.0.2 and Scala-2.7.5 I am able to compile and run my code through maven. However, I am concerned about my inability to run the "mvn clean package" command successfully without first running the "clean" command in eclipse. I am afraid that this extra eclipse step may be interfe

[Lift] Re: problems with tomcat

2009-11-12 Thread David Pollak
Scala is very, very, super ultra mega version fragile. This means that code compiled with 2.7.5 will not work with code compiled with 2.7.7 and vice versa. So, in your pom.xml file, please set your scala version to 2.7.5 (nothing else... not 2.7.4, not 2.7.7) and lift to 1.0.2 Then mvn clean tom

[Lift] Re: problems with tomcat

2009-11-12 Thread DavidV
Another potentially helpful detail is that I get the same liftFilter error when running on a local jetty server through maven as I do when running on tomcat (also through maven). I am executing a clean command before running the web app each and every time. ... 2009-11-12 16:10:05.833::WARN: fa

[Lift] Re: problems with tomcat

2009-11-12 Thread DavidV
I just tried to run the same code that used to work with Lift-1.0.1 and Scala 2.7.5 with my updates to Lift 1.0.1 and Scala 2.7.7 and I got the following error: [INFO] [tomcat:run {execution: default-cli}] [INFO] Running war on http://localhost:8080/portal [INFO] Creating Tomcat server configurat

[Lift] Re: problems with tomcat

2009-11-12 Thread DavidV
On a side note, while I'm installing Lift 1.0.2 with Scala2.7.5, I always execute a "clean" command before the mvn package. However, I also need to execute a "clean" in eclipse before the mvn package works properly. Otherwise, I get this error: --

[Lift] Re: problems with tomcat

2009-11-12 Thread David Pollak
On Thu, Nov 12, 2009 at 11:36 AM, DavidV wrote: > > I don't appear to have any conflicting jars in my TOMCAT_HOME/common/ > lib folder, however, I am now realizing that I have a postgres > jdbc3 .jar file in there and I am using a jdbc4 .jar postres file in > my webapp. Perhaps that is the probl

[Lift] Re: problems with tomcat

2009-11-12 Thread DavidV
I don't appear to have any conflicting jars in my TOMCAT_HOME/common/ lib folder, however, I am now realizing that I have a postgres jdbc3 .jar file in there and I am using a jdbc4 .jar postres file in my webapp. Perhaps that is the problem? I'll check that out. I am using Lift 1.0.1 with Scala

[Lift] Re: problems with tomcat

2009-11-12 Thread David Pollak
What version of Lift are you using? If it's Lift 1.1-M7 or 1.1-SNAPSHOT, please make sure you've got the Scala version set to 2.7.7 If you're using Eclipse for development, please make sure to do a mvn *clean * package to build your WAR file. The clean phase is super important. On Thu, Nov 12,

[Lift] Re: problems with tomcat

2009-11-12 Thread ben
Have you got any conflicting jars in TOMCAT_HOME/lib ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send e