you never doubt youself,I belive!

JBoss安装笔记

上一篇 / 下一篇  2009-08-16 19:17:19 / 个人分类:软件工程

安装Jboss遇到的问题
 
1.配置好了JDK环境变量,很简单这里就不多啰嗦了。
 
2.配置数据库服务oracle-ds.xml
 
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
  <local-tx-datasource>
    <jndi-name>cncnetrep</jndi-name>
    <connection-url>jdbc:oracle:thin:@localhost:1521:test</connection-url>
    <driver-class>oracle.jdbc.OrableDriver</driver-class>
    <user-name>testdq</user-name>
    <password>testdq</password>
  </local-tx-datasource>
</datasources>
 
3.启动run.bat后却报错,详细如下
org.jboss.deployment.DeploymentException:   -   nested   throwable:   (java.lang.reflect.UndeclaredThrowableException)
at   org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
....
 
解决方案:Jboss的路径下不能包含中文,更换路径后安装正常。

 

****但还是碰到了其他问题,用eclipse启动jboss过程中页面跳转到调试状态,并且显示如下错误(如附件图:degub.jpg)

****可是我直接开启jboss服务下的run.bat后,可以正常运行WEB页面!

不清楚是哪里配置出错了,希望高手路过指点下。另外附件里还有Jboss安装配置手册,欢迎下载!

 



TAG:

 

评分:0

我来说两句

Open Toolbar