Bug 209726 - Enabling the 'Also create a new local server' check box' when configuring the JBoss 4.2 Runtime Server results in an invalid Server Properties field
Summary: Enabling the 'Also create a new local server' check box' when configuring the...
Status: CLOSED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Gorkem Ercan CLA
QA Contact: Tim deBoer CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-11-13 18:14 EST by gary.smith CLA
Modified: 2017-10-11 16:21 EDT (History)
3 users (show)

See Also:


Attachments
Screen shot showing invalid Server Configuration field (40.75 KB, application/x-zip-compressed)
2007-11-13 18:18 EST, gary.smith CLA
no flags Details
proposed patch (1.84 KB, patch)
2007-11-16 13:55 EST, Eric Norman CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gary.smith CLA 2007-11-13 18:14:44 EST
Build ID: 20070625-1500

Steps To Reproduce:
1. Install JBoss Server v4.2 
2. Copy \%jbossroot%\docs\examples\jca\mssql-ds.xml to \%jbossroot%\server\default\deploy
3. Copy SoftwareAG CAF war file to \%jbossroot%\server\default\deploy
4. Copy Data Direct JDBC driver and SoftwareAG JDBC jar to
\%jbossroot%\server\default\deploy\lib
5. Bring up Eclipse, create JBoss Runtime Server:
6. Bring up webMethods UI Developer (in UI Developer Perspective)
7. Click Window > Preferences > Server > Installed Runtimes, brings up 'Installed Server Runtime 
Environments' dialogue
8. Click Add button, brings up 'New Server Runtime' dialogue
9. Browse to JBoss v4.2 and select
10. Verify the 'Also create new local server' check box is clicked (enabled)
11. click Next, brings up 'New JBoss v4.2 Runtime' 
dialogue
12. Click Finish > Ok, JBoss v4.2 entry added to Installed Server Runtime
Environments list
13. Click File > New > Web Application Projecte, brings up Dynamic Web Project page, configure page:

project name - Test
use default - enabled
target runtime - JBoss v4.2
Configurations - CAF Web Application
Add project to an EAR - disabled
EAR Project Name - EAR - greyed out
Project Template - Starter Web Application > next, brings up Project Facets

Axis2 Web Services
CAF JavaServer Faces    1.1 enab
Dynamic Web Module      2.3 enab
Java                    5.0 enab
Java Persistence        1.0
JavaServer Faces        1.1 enab
JSR-168 Portlet(s)      1.0
WebDoclet (Xdoclet)     1.2.3

14. Click Next, brings up Web Module

Context Root - proj<name>
Content Directory - WebContent
Java Source Directory - src > next, brings up JSF Capabilities

JSF Libraries

CAF Base JSF Runtime <Default> - enable
Deploy - disable
Component Libraries - CAF Base Controls (Move to Deploy side to enable)

JSF Configuration File - /WEB-INF/faces-config.xml
JSF Servlet Name - Faces Servlet
JSD Servlet Classname - javax.faces.webapp.FacesServlet
URL Mapping Patterns - /faces/* > finish

15. Creates 'JBoss v4.2 at localhost' Servers tab entry
16. Right-click 'JBoss v4.2 at localhost' entry and select Add and Remove Project
17. Select Test under 'Available Projects' and add to 'Configured Projects' 
18. Click Finish button
19. Deploy project
20.  Double-click 'JBoss v4.2 at localhost' entry on Servers tab
21.  Server Configuration shows 'default,all,minimal,other - type your own here', should show 'default'.

More information:
- If the 'Also create new local server' check box is not enabled when the JBoss v4.2 Runtime is being created, the server definition on the Servers tab can be created using the 'New' function and the Server Configuration property is set correctly.
- Can be reproduced consistently.
- Server Configuration screen shot attached.
- Eclipse debug log, configuration details text file showing all versions also available if required.
Comment 1 gary.smith CLA 2007-11-13 18:18:10 EST
Created attachment 82817 [details]
Screen shot showing invalid Server Configuration field
Comment 2 Eric Norman CLA 2007-11-15 12:59:43 EST
Just to clarify, from my experience, you *can* have the 'Also create new local server' checkbox checked as long as you don't hit finish on the "New JBoss v4.2 Runtime" page of the wizard.  Hitting next to make the "New JBoss v4.2 Server" wizard page render seems to get everything initialized properly.
Comment 3 Eric Norman CLA 2007-11-16 13:55:17 EST
Created attachment 83097 [details]
proposed patch
Comment 4 Gorkem Ercan CLA 2008-02-17 16:54:39 EST
Thank you for the patch, it was good. I have applied it to the HEAD, should get included in next week's build
Comment 5 David Williams CLA 2008-04-24 00:43:52 EDT
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword. 
Comment 6 Tim deBoer CLA 2008-06-13 10:57:39 EDT
Closing old bugs.
Comment 7 Eclipse Genie CLA 2017-10-11 16:21:12 EDT
New Gerrit change created: https://git.eclipse.org/r/108537