起步软件技术论坛-X3

 找回密码
 立即注册
搜索
12
返回列表 发新帖
楼主: jxsong

【搞定】在oas中部署x3的问题**

[复制链接]
发表于 2007-4-20 14:52:42 | 显示全部楼层
这个无法与服务器建立连接是按照给定的连接参数,找不到可以使用的服务
如果是IE上出现这个错误,一般是服务端的config.justep.xml文件的参数错误造成的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-20 16:30:42 | 显示全部楼层
现在都是无法与服务器建立连接的错误
日志里的错误信息如下:
07/04/20 16:17:14 Error instantiating application 'cae' at file:/C:/OraHome_4/j2ee/home/applications/cae.ear: Unable to find DataSource
  of type oracle.xa.client.OracleXADataSource
回复 支持 反对

使用道具 举报

发表于 2007-4-20 17:01:05 | 显示全部楼层
错误很明显,你的“cae”这个应用程序在初始的时候就出错了。记住你发布的应该是c:/program files/Justep/x3 server/deploy/weblogic里面的war包,你必须保证HOME这个实例是启动状态的,在部署war包的时候有一个“映射到 URL”选项,按照要求填写/x3,请参阅手册。
数据源类建议改成com.evermind.sql.DriverManagerDataSource;
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-20 17:21:17 | 显示全部楼层
我的home 是启动的,不过所有资源都显示不可用,/j2ee/是可以访问的

我发布的是weblogic里面的,其他的我试过,都不允许发布:)

“映射到 URL”选项,必须只能填写/x3吗?那岂不是只有一种访问方式

现在还是同样的错误,我重新部署了应用程序,home 的日志居然被清空了,所以也无法定位
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-20 17:30:10 | 显示全部楼层
我部署了新的x3,部署成功了,不过ie的错误还是相同的
日志如下
07/04/20 17:09:32 Start process

--------

07/04/20 17:09:41 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized

07/04/20 17:19:57 Notification ==> Application Deployer for x5 STARTS [ 2007-04-20T17:19:57.281CST ]

07/04/20 17:19:57 Notification ==> Do not undeploy previous deployment

07/04/20 17:19:57 Notification ==> Copy the archive to C:\OraHome_4\j2ee\home\applications\x5.ear

07/04/20 17:20:02 Notification ==> Unpack x5.ear begins...

07/04/20 17:20:02 Auto-unpacking C:\OraHome_4\j2ee\home\applications\x5.ear... done.

07/04/20 17:20:02 Notification ==> Unpack x5.ear ends...

07/04/20 17:20:02 Notification ==> Initialize x5.ear begins...

07/04/20 17:20:02 Auto-unpacking C:\OraHome_4\j2ee\home\applications\x5\x5.war... done.

07/04/20 17:20:03 Notification ==> Initialize x5.ear ends...

07/04/20 17:20:03 Notification ==> Initialize x5 begins...

07/04/20 17:20:03 Notification ==> Initialize x5 ends...

07/04/20 17:20:04 Notification ==> Application Deployer for x5 COMPLETES [ 2007-04-20T17:20:04.468CST ]  

07/04/20 17:21:33 Shutting down...

rocess

--------

--------

07/04/20 17:21:37 Start process

--------

07/04/20 17:21:45 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized

07/04/20 17:22:35 Start Loading...

07/04/20 17:22:55 Loaded  

07/04/20 17:22:56 Start Config File Listener...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-20 17:36:58 | 显示全部楼层
是不是config.justep.xml得配置错误?
有没有正确的配置可以参考以下?
我的config文件(完全参照安装手册)
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
  <!--配置文件-->
  <jndiprefix></jndiprefix>
  <database password="test" driverClassName="oracle.jdbc.driver.OracleDriver" servername="cssora" username="test" port="1521" name="cssora"></database>
  <connection bizurl="biz:\operation\operationdb.database" database="cssora"></connection>
  <connection bizurl="biz:\system\system.database" database="cssora"></connection>
  <connection bizurl="biz:\justepcooperationsystem\cooperationdb.database" database="cssora"></connection>
  <connection bizurl="biz:\system\im.database" database="cssora"></connection>
  <connection bizurl="biz:\collaboration\collaboration.database" database="cssora"></connection>
  <connection bizurl="biz:\jxstest1\sjk1.database" database="cssora"></connection>
  <connection bizurl="biz:\system\doc.database" database="cssora"></connection>
  <ocx name="X3X.ocx" codebase="X3X.CAB#version=3,0,6,2007" classid="clsid:317C9AA7-315B-4D4E-B9CE-2F0A08A7749E"></ocx>
  <multiaccount enabled="true" defaultaccount="justep.com"></multiaccount>
  <dataencrypt enabled="false"></dataencrypt>
  <server name="docserver">
    <url>http://192.168.1.183:8081/TransFile/</url>
  </server>
  <server name="imserver">
    <url>192.168.1.183</url>
  </server>
  <server>
    <url>http://192.168.1.183:7777/cae/</url>
  </server>
  <hessian mustcompress="false" mustencrypt="false" mustextend="false" compress="false" encrypt="false"></hessian>
  <clientconfig>
    <uitheme default="Biz:\System\CompactStyle" allowuser="false"></uitheme>
    <messenger>
      <roommembernum>5</roommembernum>
      <maxfilesize>1024000</maxfilesize>
    </messenger>
    <runbusiness>http://192.168.1.183:7777/cae/</runbusiness>
    <cache enabled="true" fsstream="true" org="true"></cache>
    <addomain enabled="true">
      <domain name="justep" account="justep.com" pdcip="192.168.0.1"></domain>
    </addomain>
    <clientversion versionkey="52C56A395D7EC7EBCB5B956BC462114D" versionhash="7973FE9F36187C5D6317B19484E74C4D">NewVersion</clientversion>
  </clientconfig>
  <serverInfo>
    <directory>e:\Program Files\Justep\X3 Server\TOMCAT</directory>
    <type>Tomcat</type>
  </serverInfo>
</Configuration>
回复 支持 反对

使用道具 举报

发表于 2007-4-20 17:59:27 | 显示全部楼层
是5楼的错误吗?

5楼是 http://192.168.1.183/cae/Business.jsp

但是,你服务端的参数是 http://192.168.1.183:7777/cae/
端口号都不一样,肯定参数不对了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-23 11:09:04 | 显示全部楼层
多谢,确实是端口号的问题,这个问题解决了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-6-19 16:49 , Processed in 0.036650 second(s), 13 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表