CLONE -Default Guvnor repository path in Eclipse webdav plugin differs from Guvnors actual
path.
------------------------------------------------------------------------------------------------
Key: JBRULES-2180
URL:
https://jira.jboss.org/jira/browse/JBRULES-2180
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-eclipse, drools-guvnor
Affects Versions: 5.0.0.CR1
Environment: Windows XP SP3 with Sun JDK 1.5.0_15. Eclipse Version: 3.4.1 Build
id: M20080911-1700. Note that the Guvnor was running under JBoss AS 4.2.2.
Reporter: Neil Wallace
Assignee: Kris Verlaenen
Fix For: 5.0.1.FINAL
This isn't really a bug, but more of a configuration issue.
The default repository location displayed by the "Guvnor Repository Location"
wizard in Eclipse is not the default location used by the Guvnor distributed under the
drools project. Consequently, if you accept the default value in the wizard, it is likely
you will not be able to connect to the repository running under the Guvnor. The default
repository location in the wizard is:
/jboss-brms/org.drools.guvnor.Guvnor/webdav
However, the default location to connect to the drools Guvnor is:
/drools-guvnor/org.drools.guvnor.Guvnor/webdav
as the default URL for the Guvnor is:
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/Guvnor.html
It is not obvious at first what is wrong, as if you accept the default repository location
then the new location appears in the Guvnor Repositories view. But when you click on this
repository name to browse it you get the following error:
"Server not reachable"
I initially assumed it was a network issue, or the wrong port (8080) etc. Only after
careful inspection is it obvious that the default repository location in the Eclipse
wizard does not match the default URL used by the drools Guvnor.
There has been some discussion related to this under the JIRA GUVNOR-120, but I'm not
sure if there is a conflict between the solution suggested in that JIRA and the issue
raised here.
To Reproduce Problem
============================
This assumes that the Guvnor is running locally at localhost:8080 which is the default
location "out of the box".
1. Link to the Guvnor by selecting the menu option to run the "Guvnor Repository
Location" wizard: File, New, Other, Guvnor, Guvnor Repository Location.
2. I accepted the defaults, adding only user and password:
Location: localhost
Port: 8080
Repository: /jboss-brms/org.drools.guvnor.Guvnor/webdav
User Name: admin
Password: admin
Selected to save password
Click Finish and the link is created successfully in the "Guvnor Repositories"
view as:
http://localhost:8080/jboss-brms/org.drools.guvnor.Guvnor/webdav
3. Click on the link above. This causes the following error:
"Server not reachable"
Notice that the URL for the link says jboss-brms instead of drools-guvnor.
4. Delete the link you just created and perform steps 1 and 2 again, but this time set the
Repository value in step 2 as:
/drools-guvnor/org.drools.guvnor.Guvnor/webdav
5. Click on the new link above. This should allow you to browse the repository on the
Guvnor side correctly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira