jivejdon3安装后不能登录

07-11-02 wei
严格按照安装说明执行的

jboss控制台错误信息

14:13:23,093 ERROR [MainDeployer] Could not initialise deployment: file:/F:/jbos

s-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(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch

er.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept

or.java:121)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM

BeanOperationInterceptor.java:127)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.

java:249)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy8.deploy(Unknown Source)

at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen

tScanner.java:325)

at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS

canner.java:501)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.

doScan(AbstractDeploymentScanner.java:204)

at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A

bstractDeploymentScanner.java:277)

at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS

upport.java:272)

at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB

eanSupport.java:222)

at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch

er.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.

java:249)

wei
2007-11-02 14:23
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)

at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl

ler.java:897)

at $Proxy0.start(Unknown Source)

at org.jboss.system.ServiceController.start(ServiceController.java:418)

at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch

er.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.

java:249)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy4.start(Unknown Source)

at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch

er.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept

or.java:121)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM

BeanOperationInterceptor.java:127)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.

java:249)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy5.deploy(Unknown Source)

at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)

at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)

at org.jboss.Main.boot(Main.java:195)

at org.jboss.Main$1.run(Main.java:463)

at java.lang.Thread.run(Thread.java:595)

Caused by: org.xml.sax.SAXParseException: The markup in the document following t

he root element must be well-formed.

at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)

at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)

at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

at org.jboss.deployment.XSLSubDeployer.findDd(XSLSubDeployer.java:258)

... 68 more

wei
2007-11-02 14:24
14:13:29,468 INFO [TomcatDeployer] deploy, ctxPath=/jivejdon, warUrl=file:/F:/j

boss-4.0.2/server/default/tmp/deploy/tmp51633jivejdon-exp.war/

14:13:30,359 INFO [[/jivejdon]] org.tuckey.web.filters.urlrewrite.utils.Log ERR

OR: logLevelConf: null

14:13:30,406 INFO [[/jivejdon]] org.tuckey.web.filters.urlrewrite.UrlRewriteFil

ter INFO: loaded (conf ok)

14:13:31,390 INFO [DefaultContainerBuilder] [JdonFramework]found jdonframework

configuration=com.jdon.jivejdon.model.models.xml

14:13:31,421 INFO [DefaultContainerBuilder] [JdonFramework]found jdonframework

configuration=com.jdon.jivejdon.dao.daos.xml

14:13:31,437 INFO [DefaultContainerBuilder] [JdonFramework]found jdonframework

configuration=com.jdon.jivejdon.manager.managers.xml

14:13:31,484 INFO [DefaultContainerBuilder] [JdonFramework]found jdonframework

configuration=com.jdon.jivejdon.repository.repository.xml

14:13:31,515 INFO [DefaultContainerBuilder] [JdonFramework]found jdonframework

configuration=com.jdon.jivejdon.service.services.xml

14:13:31,531 INFO [DefaultContainerBuilder] [JdonFramework]found jdonframework

configuration=com.jdon.jivejdon.auth.auths.xml

14:13:31,671 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/F

:/jboss-4.0.2/server/default/deploy/jmx-console.war/

14:13:31,984 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---

org.jboss.deployment.DeploymentInfo@8df12f63 { url=file:/F:/jboss-4.0.2/server/d

efault/deploy/mysql-ds.xml }

deployer: org.jboss.deployment.XSLSubDeployer@d28dfa

status: null

state: FAILED

watch: file:/F:/jboss-4.0.2/server/default/deploy/mysql-ds.xml

altDD: null

lastDeployed: 1193984003093

lastModified: 1193984003078

mbeans:

14:13:32,265 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808

0

14:13:32,453 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009

14:13:32,468 INFO [JkMain] Jk running ID=0 time=0/125 config=null

14:13:32,484 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4

_0_2 date=200505022023)] Started in 30s:969ms

wei
2007-11-02 14:58

安装说明中第4条

4. 配置JBoss的Datasouce JNDI:

将本项目的mysql-ds.xml 拷贝到jboss/server/default/deploy,根据你数据库配置修改 mysql-

ds.xml,

需要修改数据库的用户名和密码:

<user-name>你的数据库用户名</user-name>

<password>你的数据库密码</password>

注意:JiveJdon3源码包com.jdon.jivejdon.dao.dao.xml配置中

<!-- DataSource -->

<component name="jdbcTempSource"

class="com.jdon.jivejdon.dao.sql.JdbcTempSource">

<constructor value="java:/JiveJdonDS"/> <!-- mysql-ds.xml中

配置的JNDI名称加上前缀java:/ -->

</component>

<!-- DataSource for SSO -->

<component name="jdbcTempSSOSource"

class="com.jdon.jivejdon.dao.sql.JdbcTempSSOSource">

<constructor value="java:/Security"/> <!-- mysql-ds.xml中配置的JNDI名称加上前缀

java:/ -->

</component>

我在mysql-ds.xml中把jndi改成

<jndi-name>java:/JiveJdonDS</jndi-name>

<jndi-name>java:/Security</jndi-name>

出现上面的错误

我试着把java:/去掉了

<jndi-name>JiveJdonDS</jndi-name>

<jndi-name>Security</jndi-name>

就能登录了,这是怎么回事?到底应该怎么做?

axlz1234
2007-11-16 23:26
我也想问这个问题...

happycat2007
2007-11-27 11:19
呵呵,这个问题我昨晚刚刚解决了。

没有加根标记:

<datasources>

</datasources>

加上后就搞定了。

[该贴被happycat2007于2007-11-27 11:20修改过]

猜你喜欢