I have a project that is running on Wildfly 10.0 and uses Oracle SQL. I'm running Wildfly from Eclipse with project already added to it.
There seems to be an almost 4 minutes gap between binding OracleDS and starting project deployment:
Here's the snippet from the log:
13:22:21,657 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:/OracleDS]
13:26:20,162 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0207: Starting subdeployment (runtime-name: "service-provider-example-depl-0.0.1-SNAPSHOT.jar")
Does this mean that binding datasource takes up 4 minutes? Or that starting my ploject deployment takes up that time? I suppose the latter, because the log message is "bound data source", not "binding data source".
What might be causing this? Everything worked fine till today, and I don't remember changing anything related to Wildfly, Java project or Oracle SQL.
EDIT: When I look at the task manager, I don't see anything taking up all of the resources(CPU, Memory or disk)
My guess would be it's the data source. Maybe the connection to your Oracle DB is slow. You'd have to monitor to see where the time is spent.
--
James R. Perkins