| Summary: | Default Guvnor repository path in Eclipse webdav plugin differs from Guvnors actual path. | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | nwallace <nwallace> |
| Component: | unspecified | Assignee: | Kris Verlaenen <kris.verlaenen> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Target Release: | 5.0.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/BRMS-167 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 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.
|
|
| Last Closed: | 2009-09-01 12:23:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Link: Added: This issue is related to JBRULES-2027 Fix in place. For documenting this in the Release Notes, can you please confirm the following and fill in the missing information. Dot point explanations are fine: The CAUSE (what was actually broken) * The default Guvnor repository path in the Eclipse "webdav" plug-in differed from the actual Guvnor path. CONSEQUENCES of the bug (how it impacts users.) * It could not find the repository??? The FIX (what was changed to eliminate this bug) and * The default path setting has now been changed to match the real path. RESULTS of the fix (what now happens for users.) * We are still awaiting the outstanding information for the Release Notes on this one. Please provide it as soon as possible. Thanks. The CAUSE (what was actually broken) * The default Guvnor repository path in the Eclipse "webdav" plug-in differed from the actual Guvnor path. CONSEQUENCES of the bug (how it impacts users.) * It could not find the repository on the default URL The FIX (what was changed to eliminate this bug) and * The default path setting has now been changed to match the real path. RESULTS of the fix (what now happens for users.) * If guvnor is installed using default configuration, the default URL will be able to connect to it |
Date of First Response: 2009-09-10 01:06:14 securitylevel_name: Public 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.