[Building Sakai] Build failure: Failed to deploy emailtemplateservice

Steve Swinsburg steve.swinsburg at gmail.com
Thu Feb 25 03:53:03 PST 2010


Hi Steve,

Looks like you are using Tomcat6? Sakai hasn't been QA'd on Tomcat 6 so best tick with 5.5.27 (or 5.5.28 but with this additional flag in JAVA_OPTS -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false).

The other issue might be that you might be using a Tomcat that shipped with the OS. Best to download and unpack a fresh one locally from http://tomcat.apache.org/download-55.cgi. Sometimes OS's split the Tomcat directories out all over the place and you can have permissions problems.

cheers,
Steve


On 25/02/2010, at 10:43 PM, Steve Henshaw wrote:

> Hello,
> 
> Im a newcomer to Sakai, as well as Tomcat and Maven.  Ive been following 
> the setting up a development environment walk-through on the sakai site:
> 
> http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough
> 
> Im working on a Ubuntu 9.10 machine using standard Ubuntu Repo versions 
> of everything except Sakai which I checked out a couple of hours ago.
> 
> I've got as far as step 11 deploying Sakai to Tomcat, but when I run
> 
> mvn -e sakai:deploy
> 
> (I added the -e to get the trace)
> 
> I get a build failure, the last bit of the output is below.
> 
> Sorry if its a really silly question, but any help / advice or tips on 
> what to google would be most appreciated :)
> 
> Thanks,
> Steve
> 
> [ERROR] BUILD FAILURE
> [INFO] ----------------------------------------------------------------
> [INFO] Fialed to deploy to container 
> :/usr/share/tomcat6/shared/lib/emailtemplateservice-api-0.5-SNAPSHOT.jar 
> (No such file or directory)
> [INFO] -----------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Fialed to deploy to container 
> :/usr/share/tomcat6/shared/lib/emailtemplateservice-api-0.5-SNAPSHOT.jar 
> (No such file or directory)
> 	at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
> 	at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
> 	at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
> 	at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> 	at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> 	at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> 	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 	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:597)
> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: Fialed to 
> deploy to container 
> :/usr/share/tomcat6/shared/lib/emailtemplateservice-api-0.5-SNAPSHOT.jar 
> (No such file or directory)
> 	at 
> org.sakaiproject.maven.plugin.component.ComponentDeployMojo.deployToContainer(ComponentDeployMojo.java:261)
> 	at 
> org.sakaiproject.maven.plugin.component.ComponentDeployMojo.execute(ComponentDeployMojo.java:109)
> 	at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> 	at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> 	... 17 more
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list