普元EOS开发积累第一篇(常见错误解决方法) 持续更新

普元启动服务失败的解决方法   

当多个人同时使用一个数据库的时候,启动普元控制台会一直停留在rcall,然后显示一个超时的警告,那样就需要修改一下普元的一个定时器配置项。 安装目录下PrimetonPlatformapps_configdefaultconfig 中的一个user-config.xml文件 将下列代码中高亮字段中的true改为false即可  <module name="Schedule">          <group name="Default">              <!-- IsSchedulerStart[optional,default to "true"], whether to start timer when application starts up -->              <configValue key="IsSchedulerStart">true</configValue>              <!-- DataSouceName[optional,default to "default"], datasouce name(must be the same as DataSource's Group name) ->              <!-- configValue key="DataSouceName">default</configValue-->          </group>      </module> 

当EOS启动调试服务时,控制台停留在 RCALL后无反应,一般是因为定时任务的表被锁住的原因,可在plsqldeveloper中执行以下语句:

select 'alter system kill session '''||b.SESSION_ID||','||c.SERIAL#||''' immediate;'
from v$locked_object b,v$session c
where b.SESSION_ID = c.SID
将查询结果复制到新的SQL窗口执行,执行完成后再启动服务
 

-- 解决EOS连接失败无法启动的问题 -- 查看有没有被锁的对象 

select * from v$locked_object -- 查看被锁的对象是哪张表
select * from dba_objects where object_id in(select t.OBJECT_ID from v$locked_object t)
--select * from dba_objects where object_id=73713 -- 从菜单栏进入Tools/Sessions,将Status='ACTIVE' and Sid=被锁对象id的记录,点击右键菜单中的Kill
 
跟操作系统的兼容性有关,建议去下看ideeclipseplugins目录下org.eclipse.swt.win32.win32.x86_3.2.0.
和org.eclipse.swt_3.2.0两个jar的版本,更换成高版本试试。
 
 
PS:更多问题请加群 98561327
原文地址:https://www.cnblogs.com/tangjing1989/p/3858121.html