I work for a company that uses JBoss to run our software and the software works great on XP and Vista. However when I was testing the software on Windows 7 it failed to deploy mysql. On other operating systems it explodes 'mysqld-nt.exe' to %JBOSS_HOME%/server/default/data/mysql/bin. On Windows 7 I get an error in the server log stating
ERROR [ org.jboss.deployment.MainDeployer] Could not create deployment: file:/%JBOSS_HOME%/server/default/mysqld-service.xml
org.jboss.deployment.DeploymentException: Resource '5-0-51a/Windows_7-x86/mysqld-nt.exe' not found; - nested throwable: (java.util.MissingResourceException: Resource '5-0-51a/Windows_7-x86/mysqld-nt.exe' not found)
JBoss fails to start up due to this. Why would JBoss be trying to run MySQL from a different directory on Windows 7?
I have been running JBoss AS (4.0.5, 4.2.x and 5.x) on Windows 7 since the first beta, CR 1 and RTM using JDK 5 and 6 without any issues.
I have no idea what you are talking about regarding 'mysqld-nt.exe'. How did you install MySQL? I installed mySQL on my Windows 7 systems without any issue and am using JBoss AS to access the MySQL databases without any issues.
The mysqld-nt.exe file is use to run MySQL as a service - that file should not appear in the JBoss AS directory. On my system it is located at "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld.exe". Hmm, different name, what version of MySQL are you running? I have the 64-bit version of MySQL 5.1.37 installed on my 64-bit Windows 7 Professional on my laptop. If I recall correctly, mysql-nt.exe is for an older version of MySQL, perhaps 4.x.
Where did this file come from: file:/%JBOSS_HOME%/server/default/mysqld-service.xml??? It is not part of JBoss AS.