Caros ,
por que está dando erro ao startup do Jboss
no arquivo C:\jboss-4.2.2.GA\server\default\conf\standardjbosscmp-jdbc.xml
Se alguém puder me ajudar …agradeceria…
abs
--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC
"-//JBoss//DTD JBOSSCMP-JDBC 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd">
<!-- ===================================================================== -->
<!-- -->
<!-- Standard JBossCMP-JDBC Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: standardjbosscmp-jdbc.xml 63355 2007-06-05 17:25:20Z rrajesh $ -->
<jbosscmp-jdbc>
<defaults>
<!-- -->
<datasource>java:/OracleDS</datasource>
<datasource-mapping>Oracle</datasource-mapping>
</datasources>
<!-- -->
<datasource>java:/DefaultDS</datasource>
<!-- optional since 4.0 <datasource-mapping>Hypersonic SQL</datasource-mapping> -->
<create-table>true</create-table>
<remove-table>false</remove-table>
<read-only>false</read-only>
<read-time-out>300000</read-time-out>
<row-locking>false</row-locking>
<pk-constraint>true</pk-constraint>
<fk-constraint>false</fk-constraint>
<preferred-relation-mapping>foreign-key</preferred-relation-mapping>
<read-ahead>
<strategy>on-load</strategy>
<page-size>1000</page-size>
<eager-load-group>*</eager-load-group>
</read-ahead>
<list-cache-max>1000</list-cache-max>
<clean-read-ahead-on-load>false</clean-read-ahead-on-load>
2008-09-10 14:34:04,484 DEBUG [org.jboss.system.ServiceController] starting service jboss:service=invoker,type=unified
2008-09-10 14:34:04,484 DEBUG [org.jboss.invocation.unified.server.UnifiedInvoker] Starting jboss:service=invoker,type=unified
2008-09-10 14:34:04,484 DEBUG [org.jboss.invocation.unified.server.UnifiedInvoker] Starting unified invoker service.
2008-09-10 14:34:04,500 DEBUG [org.jboss.invocation.unified.server.UnifiedInvoker] Started jboss:service=invoker,type=unified
2008-09-10 14:34:04,500 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss:service=invoker,type=unified dependent components: []
2008-09-10 14:34:04,500 DEBUG [org.jboss.system.ServiceController] starting service jboss.remoting:service=Connector,transport=socket
2008-09-10 14:34:04,500 DEBUG [org.jboss.system.ServiceController] Ignoring start request for service: jboss.remoting:service=Connector,transport=socket
2008-09-10 14:34:04,500 DEBUG [org.jboss.system.ServiceController] starting service jboss.jdbc:service=metadata
2008-09-10 14:34:04,500 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Starting jboss.jdbc:service=metadata
2008-09-10 14:34:04,515 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Loading standardjbosscmp-jdbc.xml : file:/C:/jboss-4.2.2.GA/server/default/conf/standardjbosscmp-jdbc.xml
2008-09-10 14:34:04,546 ERROR [org.jboss.metadata.XmlFileLoader] XmlFileLoader: File file:/C:/jboss-4.2.2.GA/server/default/conf/standardjbosscmp-jdbc.xml process fatal error. Line: 21. Error message: The element type "defaults" must be terminated by the matching end-tag "</defaults>".
2008-09-10 14:34:04,546 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
2008-09-10 14:34:04,546 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2008-09-10 14:34:04,546 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2008-09-10 14:34:04,546 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Starting failed jboss.jdbc:service=metadata
org.jboss.deployment.DeploymentException: Invalid XML: file=file:/C:/jboss-4.2.2.GA/server/default/conf/standardjbosscmp-jdbc.xml@6:21; - nested throwable: (org.xml.sax.SAXParseException: The element type "defaults" must be terminated by the matching end-tag "</defaults>".)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:342)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:272)
at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:244)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:228)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary.startService(MetaDataLibrary.java:79)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: The element type "defaults" must be terminated by the matching end-tag "</defaults>".
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:328)
... 51 more
2008-09-10 14:34:04,562 WARN [org.jboss.system.ServiceController] Problem starting service jboss.jdbc:service=metadata
org.jboss.deployment.DeploymentException: Invalid XML: file=file:/C:/jboss-4.2.2.GA/server/default/conf/standardjbosscmp-jdbc.xml@6:21; - nested throwable: (org.xml.sax.SAXParseException: The element type "defaults" must be terminated by the matching end-tag "</defaults>".)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:342)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:272)
at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:244)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:228)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary.startService(MetaDataLibrary.java:79)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
