GreenPepper Seeds of GreenPepper
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: jd.randolph  XML
Profile for jd.randolph -> Messages posted by jd.randolph [5]
Author Message
This worked after adding the resource as described in How to Configure GreenPepper for SQL server

Thanks
I guess I'm not familiar enough with Tomcat. But how is it that the same tomcat instance has the connector enabled for Confluence, but not for other apps IE: Greenpepper?
My apologies if I missed this elsewhere, but I am trying to setup GreenPepper as a Confluence plugin using a mySQL datasource. The test for my JNDI fails. The entry for my Confluence server is jdbc:mysql://localhost/confluence?autoReconnect=true&sessionVariables=storage_engine%3DInnoDB and I figure that the GreenPepper entry shouldn't be that different, but I cannot figure out what I'm missing.

Is see this in the confluence logs:

2011-03-21 16:28:22,942 ERROR [http-8080-6] [confluence.actions.server.InstallationAction] canConnectToDbms Testing Dbms Connection using jndi (jdbc/mysql/localhost/greenpepper?autoReconnect=true&sessionVariables=storage_engine%3DInnoDB)
-- referer: http://mwsawinpdg194.analytics.moodys.net:8080/admin/plugins/greenpepper/config.action | url: /greenpepper/TestDbmsConnection.action | userName: administrator | action: TestDbmsConnection
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
....
 


Which seems to be saying that it cannot find my mySQL instance, but I know it's available since I am using it for confluence. Any help is greatly appreciated.
Thanks Francois! It looks like everything is now working as intended.
After installing the updated plugin we are now seeing the following error on the Bamboo console log.
Failed to execute plugin 'GreenPepper Results Collector' with error: com/greenpepper/util/IOUtil

This is the stack trace for this error from the bamboo server log.
INFO | jvm 2 | 2010/09/02 12:19:06 | 2010-09-02 12:19:06,478 WARN [BAM::mwsaqatest1.analytics.moodys.net::Agent:pool-2-thread-1] [ExecuteBuildTask] Failed to execute plugin with classclass com.greenpepper.bamboo.build.GreenPepperBuildProcessor : BUILD-GREENPEPPER-61
INFO | jvm 2 | 2010/09/02 12:19:06 | java.lang.NoClassDefFoundError: com/greenpepper/util/IOUtil
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.greenpepper.bamboo.build.GreenPepperReportFileVisitor.visitFile(GreenPepperReportFileVisitor.java:57)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:86)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:5
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.greenpepper.bamboo.build.GreenPepperBuildProcessor.processReports(GreenPepperBuildProcessor.java:84)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.greenpepper.bamboo.build.GreenPepperBuildProcessor.call(GreenPepperBuildProcessor.java:71)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:110)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:70)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:18
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:101)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:33)
INFO | jvm 2 | 2010/09/02 12:19:06 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 2 | 2010/09/02 12:19:06 | Caused by: java.lang.ClassNotFoundException: com.greenpepper.util.IOUtil
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:146)
INFO | jvm 2 | 2010/09/02 12:19:06 | at java.lang.ClassLoader.loadClass(Unknown Source)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:304)
INFO | jvm 2 | 2010/09/02 12:19:06 | at java.lang.ClassLoader.loadClass(Unknown Source)
INFO | jvm 2 | 2010/09/02 12:19:06 | ... 12 more

Your assistance is greatly appreciated.

Randolph
 
Profile for jd.randolph -> Messages posted by jd.randolph [5]
Go to:   
Powered by JForum 2.1.6 © JForum Team