• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Cannot deploy JBoss on Windows 7

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Daniel Armstrong
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have mysql bundled in the deployment jars. It explodes it on the first deployment and launches it. This method works great on all OS's other than 7.
reply
    Bookmark Topic Watch Topic
  • New Topic