-
1. Re: JBAS018040: Failed to start context
nickarls Feb 8, 2013 3:47 AM (in response to maelstrom3)Are you saying that there is nothing more in the log and if you take the broken war and just take out the sqljdbc.jar it works? PS. Why do you need the driver jar in the war?
-
2. Re: JBAS018040: Failed to start context
maelstrom3 Feb 8, 2013 9:49 AM (in response to nickarls)You are right, Nicklas. It turns out I didn't need the driver jar in the war file. I'm new to JBoss, so sometimes I feel I'm not sure about many things.
I had to manually configure an SQL server data source on the machine to get things to work.
To test the data source connection was working, I ran cli.bat from the bin folder:
[standalone@localhost:9999 /] connect
[standalone@localhost:9999 /] /subsystem=datasources/data-source=<pool-name>:test-connection-in-pool
{
"outcome" => "success",
"result" => [true]
}
See this link for more information.
Previously, things were working because the application was using an Oracle data source which was configured by the original developer on the machine. Yes, there were logs which I should have put up there. But, now things are resolved. Thanks!