I downloaded and installed SoapUI 5.1.3.
I loaded the CONNECT Validation Suite.
I copied FileUtils-4.4.1.jar and mysql-connector-java-5.1.10.jar to:
I edited the Custom Properties -
GatewayPropDir = C:\jboss-as-7.1.1.Final\modules\org\connectopensource\configuration\main
I ran TestSuite g1
I am receiving the following in the global-groovy.log
2015-05-04 14:57:32,204 INFO [log] Start backupConfiguration
2015-05-04 14:57:32,204 ERROR [log]
2015-05-04 14:57:32,204 INFO [log] End backupConfiguration
2015-05-04 14:57:32,205 INFO [log] copying property file from F:\CONNECT\CONNECT-Direct-4.4.1-JBOSS\ValidationSuite\uddiConnectionInfo_g1.xml to \uddiConnectionInfo.xml
2015-05-04 14:57:32,206 INFO [log] File uddiConnectionInfo_g1.xml copied to uddiConnectionInfo.xml.
2015-05-04 14:57:32,206 INFO [log] copying property file from F:\CONNECT\CONNECT-Direct-4.4.1-JBOSS\ValidationSuite\internalConnectionInfo_g1.xml to \internalConnectionInfo.xml
2015-05-04 14:57:32,207 INFO [log] File internalConnectionInfo_g1.xml copied to internalConnectionInfo.xml.
2015-05-04 14:57:32,235 INFO [log] begin ReadProperty; directory='';filename='gateway.properties';key='admindist.inboundAdminDist';
2015-05-04 14:57:32,235 ERROR [log] \gateway.properties (The system cannot find the file specified)
2015-05-04 14:57:32,235 INFO [log] Passthrough property value = null
2015-05-04 14:57:42,302 INFO [log] Start restoreConfiguration
2015-05-04 14:57:42,303 INFO [log] End restoreConfiguration
For some reason, it's not picking up the value you entered for GatewayPropDir. I'd like to see if it loaded the other preconfigured variables -- when you check the Custom Properties at the project level, do you see Name/Value pairs loaded from F:\CONNECT\CONNECT-Direct-4.4.1-JBOSS\ValidationSuite\ConnectValidation-soapui-project.properties ? If you do see them, can you also verify that the GatewayPropDir value hasn't somehow been reset at any point?
Let me know what you find, and we can work from there.
This is what I have found thus far:
The Name/Value pairs are being loaded from F:\CONNECT\CONNECT-Direct-4.4.1-JBOSS\ValidationSuite\ConnectValidation-soapui-project.properties.
I select the GatewayPropDir entry under the Custom Properties tab. (I make sure it is set to C:\jboss-as-7.1.1.Final\modules\org\connectopensource\configuration\main).
I then launch TestRunner and select TestSuite g1.
I monitor the GatewayPropDir value during the run and the value does not change.
I repeat the above for Testsuite g0.
I am still receiving : (in the global-groovy.log)
2015-05-05 12:27:49,314 INFO [log] copying property file from F:\CONNECT\CONNECT-Direct-4.4.1-JBOSS\ValidationSuite\uddiConnectionInfo_g0.xml to \uddiConnectionInfo.xml
2015-05-05 12:27:49,314 INFO [log] File uddiConnectionInfo_g0.xml copied to uddiConnectionInfo.xml.
2015-05-05 12:27:49,315 INFO [log] copying property file from F:\CONNECT\CONNECT-Direct-4.4.1-JBOSS\ValidationSuite\internalConnectionInfo_g0.xml to \internalConnectionInfo.xml
2015-05-05 12:27:49,315 INFO [log] File internalConnectionInfo_g0.xml copied to internalConnectionInfo.xml.
2015-05-05 12:27:49,349 INFO [log] begin ReadProperty; directory='';filename='gateway.properties';key='admindist.inboundAdminDist';
2015-05-05 12:27:49,349 ERROR [log] \gateway.properties (The system cannot find the file specified)
2015-05-05 12:27:49,349 INFO [log] Passthrough property value = null
2015-05-05 12:27:59,396 INFO [log] Start restoreConfiguration
2015-05-05 12:27:59,398 INFO [log] End restoreConfiguration
As you can see from the first line SoapUI is copying property file from the wrong location.
SoapUI seems to get the property value from the Project Summary File Path. (This is also the "File" value under the Project Properties tab).
and hard coded the GatewayPropDir Name to C:jboss-as-7.1.1.Finalmodulesorgconnectopensourceconfigurationmain
I then closed and reopened SoapUI.
I reran both Test Suites.
The test suites completed with the message:
Execution finished with error Code -1.
Please check log for error messages.
The requests are now going out, but JBoss is throwing back a 404 response. This likely means that CONNECT didn't start when JBoss did. Check if the CONNECT deployment is "enabled" in JBoss -- if not, enable and watch the JBoss logs to make sure no errors are preventing it from enabling. If it's already enabled, see if there are any startup exceptions.
Once the deployment is enabled, you can run a quick smoke test on any given unsecured endpoint by hitting the WSDL directly via the browser, e.g.:
I rebooted the server and restarted JBOSS.
I ran your smoke test and it failed.
I checked the JBOSS server.log and it seems that not everything is starting correctly.
I have attached the JBOSS server.log.
Can you please review and check if you can see why there are issues?
I'm not seeing anything in the log that indicates an issue with CONNECT configuration. If there's an issue with the JBoss setup, the Admin Console can work even if deployments fail otherwise. I suggest troubleshooting that first, starting with looking in the log for environment- or JBoss- specific errors.
I found and resolved a port conflict on port 8181.
However, I am still receiving the same error as above.
I have attached the JBOSS server.log.
Can you please review to see if you can find any other issues?
Or, point me in the direction to resolve this issue?