我使用的是jboss服务器4.0的 jdk是1.6的
配置都配置好了,按默认配置
出现mysql-ds.xml加载出现问题
initialise deployment: file:/D:/Java/jboss-4.0.2/server/default/deploy/mysql-ds.xml
org.jboss.deployment.DeploymentException: Could not parse dd; - nested throwable: (org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.)
at org.jboss.deployment.XSLSubDeployer.findDd(XSLSubDeployer.java:263)
at org.jboss.deployment.XSLSubDeployer.init(XSLSubDeployer.java:195)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke