no Maven2 in the Build runners list

Hi,
In a fresh installed TC4: in Default Agent > Build Runners I have only the following build runners:

    

This agent supports the following build runners:

  • Rake: Runner for executing Rake tasks, Test::Unit and RSpec tests
  • Command Line: Simple command execution
 

I expected Maven2 to be there but it is not.
The question is what happend to the  "bundled Maven2"? and how can I add Maven as a build runner to TeamCity?
I have also Maven already installed on my Ubuntu machine by apt-get

Cheers,
Mahmood
[This is the first time I am trying to use TeamCity.]

4 comments
Comment actions Permalink

Hello,

  After an initial installation and registration, build agent should download and install build runner plugins from the server.
  So the runners may appear in a couple of minutes.

  If this won't happen, please take a look at TeamCity/buildAgent/logs/teamcity-agent.log and TeamCity/buildAgent/logs/upgrade.log
  If you'll see anything suspicious, send us the zipped TeamCity/buildAgent/logs directory.

  Kind regards,
  KIR

0
Comment actions Permalink

Thank you for your reply,

I have checked the log files and nothing seems suspicious.
The log files are here: http://sting-71.holding.kth.se/~mahmood/logs.tar.gz
There is also another problem which might have the same origin as what the build runner problem has) :
By clicking on My Changes tab I get the following exception:

Unexpected Error

  

Error message: /myChanges.jsp(188,4) /myChangesList.jsp(95,10) File "/userChangeInfo.jsp" not found

    Show stacktrace   
org.apache.jasper.JasperException: /myChanges.jsp(188,4) /myChangesList.jsp(95,10) File "/userChangeInfo.jsp" not found
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:345)
at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:378)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:486)
at org.apache.jasper.compiler.Parser.parseElementsScriptless(Parser.java:1491)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1678)
at org.apache.jasper.compiler.Parser.parseNamedAttributes(Parser.java:1713)
at org.apache.jasper.compiler.Parser.parseJspAttributeAndBody(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1020)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1290)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467)
at org.apache.jasper.compiler.Parser.parse(Parser.java:138)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
at org.apache.jasper.compiler.JspRuntimeContext.checkCompile(JspRuntimeContext.java:300)
at org.apache.jasper.servlet.JspServlet.periodicEvent(JspServlet.java:290)
at org.apache.catalina.core.StandardWrapper.backgroundProcess(StandardWrapper.java:668)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)

Thanks,
Mahmood

0
Comment actions Permalink

Hello,

   What kind of distribution do you use? war/tar.gz? Are you sure that the package was downloaded entirely?

   Regarding JSP problem - please try removing the contents of TeamCity/work/*  (or tomcat/work/* if you use war distribution)

   The list of agent plugins should look like the following (filesizes may be different, because example taken not from release version.):


kir-mac:TeamCity-8078 kir$ ls -l webapps/ROOT/update/plugins
total 162880
-rw-r--r--  1 kir  staff   3563726 26 ноя 21:58 ant.jar
-rw-r--r--  1 kir  staff     60188 26 ноя 21:58 antPlugin.zip
-rw-r--r--  1 kir  staff    439936 26 ноя 21:58 coveragePlugin.zip
-rw-r--r--  1 kir  staff    589997 26 ноя 21:58 cvsAgent.zip
-rw-r--r--  1 kir  staff         0 27 ноя 19:08 cvsAgent.zip.plugin
-rw-r--r--  1 kir  staff   5347750 26 ноя 21:58 dotnetPlugin.zip
-rw-r--r--  1 kir  staff     83388 26 ноя 21:58 duplicatePlugin.zip
-rw-r--r--  1 kir  staff     22316  3 дек 12:49 fxcop-agent.zip
-rw-r--r--  1 kir  staff         0 27 ноя 19:08 fxcop-agent.zip.plugin
-rw-r--r--  1 kir  staff  56240801 26 ноя 21:53 idea_dist.jar
-rw-r--r--  1 kir  staff     83075 26 ноя 21:58 inspectionPlugin.zip
-rw-r--r--  1 kir  staff   2171198 26 ноя 21:58 iprPlugin.zip
-rw-r--r--  1 kir  staff   2024878 26 ноя 21:58 maven.jar
-rw-r--r--  1 kir  staff     26434 26 ноя 21:58 mavenPlugin.zip
-rw-r--r--  1 kir  staff     55708  3 дек 12:49 rake-runner-agent.zip
-rw-r--r--  1 kir  staff         0 27 ноя 19:08 rake-runner-agent.zip.plugin
-rw-r--r--  1 kir  staff   5468666 26 ноя 21:58 rcodedupPlugin.zip
-rw-r--r--  1 kir  staff   4091813 26 ноя 21:58 stacktracesAgent.zip
-rw-r--r--  1 kir  staff         0 27 ноя 19:08 stacktracesAgent.zip.plugin
-rw-r--r--  1 kir  staff   3049760 26 ноя 21:58 svnAgent.zip
-rw-r--r--  1 kir  staff         0 27 ноя 19:08 svnAgent.zip.plugin
-rw-r--r--  1 kir  staff     26442 26 ноя 21:58 testNGPlugin.zip
-rw-r--r--  1 kir  staff      7370 26 ноя 21:58 windowsNetStatAgent.zip
-rw-r--r--  1 kir  staff         0 27 ноя 19:08 windowsNetStatAgent.zip.plugin
kir-mac:TeamCity-8078 kir$



 

  Regards,
  KIR

0
Comment actions Permalink

Hi Kirill

I just downloaded the tar.gz package again and now TeamCity is configured and working perfectly on my machine.

Thank you for your help.
Mahmood

0

Please sign in to leave a comment.