GreenPepper Seeds of GreenPepper
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
eclipse - failed to retrieve specification list  XML
Forum Index -> Installation & Configuration Go to Page: 1, 2 Next 
Author Message
vterzic


Joined: 11/01/2010 14:09:38
Messages: 15
Offline

confluence ver. 2.7.3
eclipse ver. 3.5

what works:
- eclipse "Window -> Pref -> Greenpepper" connects
- eclipse "Project -> Greenpepper" pulls repo data / systems under test
- eclipse "Greenpeeper Repository View" shows what is in the local greenpepper repo"
- eclipse test against local repo works just fine

what doesn't work:
- eclipse "Greenpepper Repository View" for Confuence shows "Specification Not Found" - double clicking on it shows "Page Not Found" error from confluence (i think)
- can't run any tests against confluence from eclipse (same error as above without "Page not found" part)

I hope it is really simple what I am missing ;-)

On confluence side I created space (that is registered with Greenpepper) and then I created child page that contains (calculator) test. Registered space is using greenpepper theme and test page is "pepperized"

btw...I got errors trying to install demo space

thanks
vladimir
fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

How do you install the GreenPepper Confluence Plugin : using the plugin manager or by copying the greenpepper-confluence-plugin-2.x-complete.jar to WEB-INF/lib ?

Can you show me the error you got when installing the Demo space ?

Cheers,
Francois D.
vterzic


Joined: 11/01/2010 14:09:38
Messages: 15
Offline

fdenommee wrote:
Hi,

How do you install the GreenPepper Confluence Plugin : using the plugin manager or by copying the greenpepper-confluence-plugin-2.x-complete.jar to WEB-INF/lib ?

Can you show me the error you got when installing the Demo space ?

Cheers,
Francois D. 


I installed plugin via plugin manager (and restarted confluence afterwords).
I can move it to WEB-INF/lib if you think that would help

error I get when installing demo space
net.sf.hibernate.ObjectDeletedException: The object with that id was deleted: 29556750, of class: com.atlassian.confluence.security.SpacePermission

in confluence log only two new enries
Fatal error parsing XML: org.xml.sax.SAXParseException: Premature end of file.
Fatal error parsing XML: org.xml.sax.SAXParseException: Premature end of file.


note that I am using HQSQL for Greenpepper trial (confluence db is on mssql) and that some of the confluence/greenpepper functionality seems to work
fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

Installation should not involve the plugin manager (see the red box at the top) : http://www.greenpeppersoftware.com/confluence/display/GPWODOC/1.+Install+GreenPepper+Confluence+plugin

You should uninstall the plugin from the plugin manager, stop Confluence, copy the .jar to WEB-INF/lib and restart Confluence...

Cheers,
Francois D.

vterzic


Joined: 11/01/2010 14:09:38
Messages: 15
Offline

fdenommee wrote:
Hi,

Installation should not involve the plugin manager (see the red box at the top) : http://www.greenpeppersoftware.com/confluence/display/GPWODOC/1.+Install+GreenPepper+Confluence+plugin

You should uninstall the plugin from the plugin manager, stop Confluence, copy the .jar to WEB-INF/lib and restart Confluence...

Cheers,
Francois D.

 


your red box refers to Confluence 2.8 and up - I am running Confluence 2.7.3. I will go ahead and try your approach and report back

thanks
vladimir
fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

Thanks for reporting the misleading version - it should be for all version of Confluence...

Sorry...

Cheers,
Francois D.
vterzic


Joined: 11/01/2010 14:09:38
Messages: 15
Offline

fdenommee wrote:
Hi,

Thanks for reporting the misleading version - it should be for all version of Confluence...

Sorry...

Cheers,
Francois D. 


better but not quite there yet ;-)

- I managed to create demo space and I can view demo space via repository viewer from eclipse
- If I switch repository viewer to the space I created I get
INSUFFICIENT PRIVILEGES ! (no specifications)

Since space privileges are same I think it is the later part of the message that is the problem. I have Calculator page as a child page of Home and contents of home is as follows:

{greenpepper-children:spaceKey=GPDEMO|pageTitle=Home|expanded=true}

this produces list of pages (Calculator is listed) and Execute button

my expectation is to see the same on eclipse side but clicking on the error message above gives me page not found

Am I missing some additional steps that are required in order for space to work with Greenpapper/Eclipse?

thanks
vladimir
vterzic


Joined: 11/01/2010 14:09:38
Messages: 15
Offline

vterzic wrote:

fdenommee wrote:
Hi,

Thanks for reporting the misleading version - it should be for all version of Confluence...

Sorry...

Cheers,
Francois D. 


better but not quite there yet ;-)

- I managed to create demo space and I can view demo space via repository viewer from eclipse
- If I switch repository viewer to the space I created I get
INSUFFICIENT PRIVILEGES ! (no specifications)

Since space privileges are same I think it is the later part of the message that is the problem. I have Calculator page as a child page of Home and contents of home is as follows:

{greenpepper-children:spaceKey=GPDEMO|pageTitle=Home|expanded=true}

this produces list of pages (Calculator is listed) and Execute button

my expectation is to see the same on eclipse side but clicking on the error message above gives me page not found

Am I missing some additional steps that are required in order for space to work with Greenpapper/Eclipse?

thanks
vladimir
 


I should also mention that I am using trial version of greenpepper - do you allow trial version to work with spaces other then demo space?

thanks
vladimir
fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

The trial is the full version. When the license will expire, all functionnalities will be locked down...

About the Space permissions, does the new Space has anonymous access or did you specify credentials (username/password) when registering it as a GreenPepper project ?

Cheers,
Francois D.
vterzic


Joined: 11/01/2010 14:09:38
Messages: 15
Offline

fdenommee wrote:
Hi,

The trial is the full version. When the license will expire, all functionnalities will be locked down...

About the Space permissions, does the new Space has anonymous access or did you specify credentials (username/password) when registering it as a GreenPepper project ?

Cheers,
Francois D. 


I created space with anonymous (view) rights and I registered space without using credentials on the Greenpepper plugin side

thanks
vladimir
fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

So, in the Eclipse plugin, did you specify anything other than Anonymous in the username/password of the selected repository ?

Cheers,
Francois D.
vterzic


Joined: 11/01/2010 14:09:38
Messages: 15
Offline

fdenommee wrote:
Hi,

So, in the Eclipse plugin, did you specify anything other than Anonymous in the username/password of the selected repository ?

Cheers,
Francois D. 


right now it is set to anonymous. I did try it with my username/password at one point but I changed it back (I got same error). I find it interesting that it works just fine for demo space...

home contents:
{greenpepper-children:expanded=true}

child page calculator: (pepperized, system under test: test)
|| import ||
| com.mdur.gk |

|| rule for \\ || Calculator \\ || ||
| x | y | sum? |
| 6 | 3 | 9 |


fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

Can you send me the HSQL database content (should be found under confluence.home/database/gpsdb.*) to fdenommee at pyxis-tech dot com

What is the base url of your Confluence instance (found under Administration / General Configuration) ?

Cheers,
Francois D.

vterzic


Joined: 11/01/2010 14:09:38
Messages: 15
Offline

fdenommee wrote:
Hi,

Can you send me the HSQL database content (should be found under confluence.home/database/gpsdb.*) to fdenommee at pyxis-tech dot com

What is the base url of your Confluence instance (found under Administration / General Configuration) ?

Cheers,
Francois D.

 


just sent you email with url / database info

thanks
vladimir
fdenommee

[Avatar]
Joined: 25/01/2008 10:23:16
Messages: 587
Offline

Hi,

In the database, i see that the GreenPepper-Demo repository has credentials on it and not the gpdemo (which is the GPDEMO space you did create right ?)

Since the GreenPepper-Demo is working inside Eclipse (and not the new one), just browse to the Space Admin of the new Space, under GreenPepper and set the credentials on the repository as the GreenPepper-Demo. Now refresh the Repository View from Eclipse and try loading a specification.... Is it working now ?

Cheers,
Francois D.
 
Forum Index -> Installation & Configuration Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.6 © JForum Team