Community
Participate
Working Groups
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.
Created attachment 82817 [details] Screen shot showing invalid Server Configuration field
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.
Created attachment 83097 [details] proposed patch
Thank you for the patch, it was good. I have applied it to the HEAD, should get included in next week's build
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.
Closing old bugs.
New Gerrit change created: https://git.eclipse.org/r/108537