Recieving ClassNotFoundException with sqljdbc4.jar using JBoss 6
----------------------------------------------------------------
Key: JBAS-9423
URL:
https://issues.jboss.org/browse/JBAS-9423
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.Final
Environment: Laptop with Windows 7 Ultimate, x64 Intel Core i7 - 2.3ghz, 16 GB
ram, 2048 video card, manufacturer = Lenovo.
JBoss 6.0, Eclipse Helios 4.2.3 SP2.
Reporter: Michael Gafron
Priority: Critical
Deploying an EAR file to JBoss 6. If I use eclipse the project starts successfully. If I
deploy outside of eclipse (i.e. place .ear in the deploy directory) I receive the
following message:
ERROR:
Deployment
"vfs:///C:/work/jboss-6.0.0.Final_LocalCopy/jboss-6.0.0.Final/server/default/deploy/NapersoftCCM_JBOSS60_EAR.ear"
is in error due to the following reason(s): java.lang.ClassNotFoundException:
sqljdbc4.jar.com.microsoft.sqlserver.jdbc.XAReturnValue
The sqljdbc4.jar file is located in the ..\jboss-6.0.0.Final\server\default\lib directory.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira