-
1. Datasource loading in jbossweb-standalone
nickarls Feb 17, 2011 1:43 AM (in response to mmaley)Attach the server log and the *-ds.xml file you threw in your deploy directory.
-
2. Re: Datasource loading in jbossweb-standalone
mmaley Feb 17, 2011 9:57 AM (in response to nickarls)Thanks for responding Nicklas. Here's is my server.log:
{code}
2011-02-17 14:35:18,672 ERROR [ProfileServiceBootstrap] (Thread-2) Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SE
E PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "jboss-switchboard:appName=starter,module=starter" is missing the following dependencies:
Dependency "java:jdbc/starterRepository" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:jdbc/starterRepository' **")
Dependency "java:jdbc/starterContentDB" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:jdbc/starterContentDB' **")
Dependency "java:jdbc/starterControlDB" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:jdbc/starterControlDB' **")
Dependency "java:jdbc/starterEventDB" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:jdbc/starterEventDB' **")
Dependency "java:/Mail" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:/Mail' **")
Deployment "jboss.web.deployment:war=/starter" is missing the following dependencies:
Dependency "jboss-switchboard:appName=starter,module=starter" (should be in state "Installed", but is actually in state "Create")
DEPLOYMENTS IN ERROR:
Deployment "java:jdbc/starterControlDB" is in error due to the following reason(s): ** NOT FOUND Depends on 'java:jdbc/starterControlDB' **
Deployment "java:jdbc/starterContentDB" is in error due to the following reason(s): ** NOT FOUND Depends on 'java:jdbc/starterContentDB' **
Deployment "java:jdbc/starterEventDB" is in error due to the following reason(s): ** NOT FOUND Depends on 'java:jdbc/starterEventDB' **
Deployment "java:jdbc/starterRepository" is in error due to the following reason(s): ** NOT FOUND Depends on 'java:jdbc/starterRepository' **
Deployment "java:/Mail" is in error due to the following reason(s): ** NOT FOUND Depends on 'java:/Mail' **
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
2011-02-17 14:35:18,692 INFO [org.apache.coyote.http11.Http11Protocol] (Thread-2) Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2011-02-17 14:35:18,698 INFO [org.apache.coyote.ajp.AjpProtocol] (Thread-2) Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
2011-02-17 14:35:18,698 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-2) JBossAS [6.0.0.Final "Neo"] Started in 1m:6s:832ms
{code}
I have removed my other *-ds.xml files except for this one (called mssql-contentDB-ds.xml). I understand that all the other datasource bindings will fail, but I'd expect the Content mapping to be found.
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/starterContentDB</jndi-name>
<connection-url>jdbc:jtds:sqlserver://10.1.1.10:1433/starter_content;sendStringParametersAsUnicode=false</connection-url>
<driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
<user-name>myuser</user-name>
<password>secretpassword</password>
<!-- optional parameters -->
<transaction-isolation>TRANSACTION_READ_UNCOMMITTED</transaction-isolation>
<min-pool-size>4</min-pool-size>
<max-pool-size>200</max-pool-size>
<idle-timeout-minutes>15</idle-timeout-minutes>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<new-connection-sql>select 1 from test</new-connection-sql>
<check-valid-connection-sql>select 2 from test</check-valid-connection-sql>
<set-tx-query-timeout></set-tx-query-timeout>
<metadata>
<type-mapping>MS SQLSERVER2000</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
{code}
-
3. Re: Datasource loading in jbossweb-standalone
nickarls Feb 17, 2011 3:34 PM (in response to mmaley)Attach the entire log, it speaks of "previous errors"