Git Product home page Git Product logo

o2oa / o2oa Goto Github PK

View Code? Open in Web Editor NEW
3.9K 3.9K 1.2K 1.47 GB

开源OA系统 - 码云GVP|Java开源oa|企业OA办公平台|企业OA|协同办公OA|流程平台OA|O2OA|OA,支持国产麒麟操作系统和国产数据库(达梦、人大金仓),政务OA,军工信息化OA

Home Page: http://www.o2oa.net/

License: GNU Affero General Public License v3.0

JavaScript 46.70% HTML 7.62% Java 42.41% CSS 2.30% Shell 0.07% PHP 0.02% Batchfile 0.01% EJS 0.03% Vue 0.85%

o2oa's Introduction

GitHub license gitee star GitHub stars


O2OA企业应用开发平台 OpenSource OA Platform

​ O2OA企业应用开发平台是兰德纵横网络技术股份有限公司发布和维护的开源产品,是使用JavaEE技术栈,分布式架构设计的一款真正全代码开源的企业应用定制化开发平台。适用于企业OA、协同办公类信息化系统的建设和开发。

​ 平台拥有流程管理、门户管理、信息管理、数据管理和服务管理五大核心能力。用户可以直接使用平台已有功能进行信息信息化建设,平台提供了完整的用户管理,权限管理,流程和信息管理体系,并且提供了大量的开发组件和开箱即用的应用,可以大幅度减化企业信息化建设成本和业务应用开发难度。

o2oa

官方网站:

开源主页 : https://www.oschina.net/p/o2oa

官方网站 : http://www.o2oa.net

官方论坛 : https://www.o2oa.net/forum/

关于正式环境数据安全相关的建议:

O2OA自带的H2数据库是一个内嵌式的内存数据库,适合用于开发环境、功能演示环境,并不适合用作正式环境。

如果作为正式环境使用,建议您使用拥有更高性能,更加稳定的商用级别数据库。如Mysql8,Oracle12C,SQLServer 2012等。

另外,O2OA提供数据定期备份和恢复的能力,建议您开启正式环境的数据定期备份的功能,以确保数据库异常时可以进行数据恢复。

支持操作系统:

Windows 64Bit, Linux 64Bit[CentOS, RedHat, Ubuntu等], MacOS, AIX, Raspberrypi(树莓派), ARM_Linux, MIPS_Linux, UOS,麒麟等国产操作系统

支持数据库:

O2OA通过openjpa默认支持以下数据库:

Database Name Database Version JDBC Driver Name JDBC Driver Version
Apache Derby 10.1.2.1 Apache Derby Embedded JDBC Driver 10.1.2.1
Borland Interbase 7.1.0.202 Interclient 4.5.1
Borland JDataStore 6.0 Borland JDataStore 6.0
DB2 8.1 IBM DB2 JDBC Universal Driver 1.0.581
Empress 8.62 Empress Category 2 JDBC Driver 8.62
Firebird 1.5 JayBird JCA/JDBC driver 1.0.1
H2 Database Engine 1.0 H2 1.0
Hypersonic Database Engine 1.8.0 Hypersonic 1.8.0
Informix Dynamic Server 9.30.UC10 Informix JDBC driver 2.21.JC2
InterSystems Cache 5.0 Cache JDBC Driver 5.0
Microsoft Access 9.0 (a.k.a. "2000") DataDirect SequeLink 5.4.0038
Microsoft SQL Server 9.00.1399 (SQL Server 2005) SQLServer 1.0.809.102
Microsoft Visual FoxPro 7.0 DataDirect SequeLink 5.4.0038
MySQL 3.23.43-log MySQL Driver 3.0.14
MySQL 5.0.26 MySQL Driver 3.0.14
Oracle 8.1,9.2,10.1 Oracle JDBC driver 10.2.0.1.0
Pointbase 4.4 Pointbase JDBC driver 4.4 (4.4)
PostgreSQL 7.2.1 PostgreSQL Native Driver 8.1
PostgreSQL 8.1.5 PostgreSQL Native Driver 8.1
Sybase Adaptive Server Enterprise 12.5 jConnect 5.5 (5.5)

主流数据库都包含在内.

国产数据库支持

对与国产数据库的支持是对不同的数据库编写不同的适配方言来实现的,也就是通过定制DBDictionary来实现对接。

目前我们已经成功适配的国产数据库如下:

数据库 方言
达梦 com.x.base.core.openjpa.jdbc.sql.DMDictionary
南大通用8s com.x.base.core.openjpa.jdbc.sql.GBaseDictionary
南大通用华库(mysql5) com.x.base.core.openjpa.jdbc.sql.GBaseMySQL5Dictionary
南大通用华库(mysql8) com.x.base.core.openjpa.jdbc.sql.GBaseMySQLDictionary
人大金仓V7 com.x.base.core.openjpa.jdbc.sql.KingbaseDictionary
人大金仓V8 com.x.base.core.openjpa.jdbc.sql.Kingbase8Dictionary
人大金仓V8R6 com.x.base.core.openjpa.jdbc.sql.Kingbase8R6Dictionary
神通数据库 com.x.base.core.openjpa.jdbc.sql.OscarDictionary
各种PostgreSQL改造版本 org.apache.openjpa.jdbc.sql.PostgresDictionary

平台使用手册:

https://www.o2oa.net/handbook.html

源码编译教程:

https://www.o2oa.net/cms/source/335.html

服务器部署教程:

Windows环境:https://www.o2oa.net/cms/serverdeployment/467.html

Linux环境:https://www.o2oa.net/cms/serverdeployment/468.html

How to Start

windows

1.下载o2server. yyyyMMddHHmmss_ windows.zip程序包。

2.解压下载后的压缩包到任意目录。

3.确认开通服务器的80、20020、20030端口。

4.打开o2server文件夹,选择start_ windows.bat双击打开。

5.启动服务,等待相关服务自动完成。

6.自动完成后打开浏览器访问http://127.0.0.1。

7.输入用户名xadmin密码o2oa@2022登陆系统。

linux

1.下载o2server. yyyyMMddHHmmss_linux.zip程序包。

2.确认开通服务器的80、20020、20030端口。

3."unzip o2server. syyyMMddHHmmss linux.zip" 解压程序包。

4."cd o2server. yyyMMddHHmmss_ linux" 进入解压目录。

5."cd o2server"进入程序目录。

6."./start. linux.sh" 回车启动服务器控制台。

7.启动服务,等待相关服务自动完成。

8.自动完成后打开浏览器访问http://127.0.0.1。

9.输入用户名xadmin密码o2oa@2022登陆系统。

若开发者学习研究O2OA,企业在O2OA应用开发平台上建设内部使用的办公系统,不闭源分发版本,不参与商业项目的使用行为不会构成侵权风险。

如果需要进行转售,闭源分发或者在商业项目中作为项目的一部分使用,请主动联系兰德网络公司购买商用许可。

商用许可说明:https://www.o2oa.net/license.html

技术支持服务:https://www.o2oa.net/support.html

协议

AGPL-3.0 开源协议。

关于

img

浙江兰德纵横网络技术股份有限 公司成立于1999年,是浙江省高新技术企业、浙江省信息产业厅认定的软件企业、浙江省信息产业重点企业、浙江省软件业五强企业, 总部拥有5300多平方米的办公场所,员工总数超过600人,在北京、上海、深圳、天津、南京、合肥、郑州、重庆、沈阳、长春、哈尔滨、呼和浩特、济南、南昌等省会城市设立办事处, 服务网络覆盖**及东南亚部分国家和地区。公司已通过ISO9001:2008国际质量体系认证,并取得了国家系统集成三级资质认证和CMI三级认证的证书。

兰德网络是信息技术应用与服务提供商,为客户的计算机信息系统、企业级通信系统的建设提供解决方案和专业化服务。 业务包括:项目咨询、方案设计、应用系统开发、企业信息系统等服务。

兰德网络在电信运营企业中拥有良好的品牌形象,我们的通信软件系列产品已广泛应用于**电信、**移动、**联通和**网通等广大电信运营商的通信系统。 兰德网络已成为**无线信息服务产业中优秀的商业机构及系统提供商代表,并将成为信息产业、互联网和数据通信服务产业中杰出的系统与服务提供商代表。

面向未来,兰德网络的愿景是“致力于更加美好的协作”。我们相信人类的协作一定会有更加美好的图景,等待我们去探索和描绘!

O2OA(翱途)开发平台是由 浙江兰德纵横网路技术股份有限公司 建立和维护的。O2OA(翱途)的名字和标志是属于 浙江兰德纵横网路技术股份有限公司 的注册商标。

我们 ❤️ 开源软件!看一下我们的其他开源项目,瞅一眼我们的博客

o2oa's People

Contributors

boomegg1993 avatar caixiangyi avatar fancylou avatar flyjinfei avatar huqi1980 avatar jyew2 avatar kelice555 avatar liyihz2008 avatar o2fly avatar o2shine avatar qijian avatar qxo avatar tangxl0909 avatar wangwenxiong1982 avatar withubmoa avatar zhouruicn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

o2oa's Issues

中文分词组件

注意到在您的项目中有使用到中文分词组件!

Mynlp是我的新推出开源NLP项目https://github.com/mayabot/mynlp/, 虽然开源时间不长,但是已经积累多年,有着良好的设计和高性能。

想邀请您来试用、并欢迎提出各种建议!

谢谢

源码编译报错问题。找不到javax.visrec.ml.data.DataSet的类文件

前45个包都正常,打第46个包x_processplatform_assemble_surface的时候报错 Compilation failure
/D:/eclipseWorkspace/o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/task/ActionProcessingNeural.java:[170,52] 无法访问javax.visrec.ml.data.DataSet 找不到javax.visrec.ml.data.DataSet的类文件

看neuroph-core.2.96.jar的源码

public class DataSet implements javax.visrec.ml.data.DataSet, Serializable {
是引用到了

javax.visrec visrec-api 1.0-SNAPSHOT 这个jar包,但是百度没搜到该jar报的相关信息,麻烦老师提供下这个jar包能在哪儿找到可以吗?谢谢。

架构及商用

您好,请问o2oa系统采用java的什么架构?还有商用是否可行?

编译不通过,找不到对应的类

以下是我的操作过程:

  1. 从码云上clone 源码,进行本地编译
  2. 编译不通过,看到码云上有说编译的问题,说码云和github的代码都有问题,就从官网上重新下载zip包进行编译
  3. 编译是也不通过,编译的错误是找不到以下划线结尾的类,例如: Iteam_

还有什么办法可以进行尝试么?

项目能不能拆下repo

哥,我知道你们屌,我clone的时候看着我2MB/S的速度度只有5%进度在缓慢移动的时候就哭了。

整体外观风格需要优化和改进

如题,可否考虑整体风格css样式,进行美化和调优。可参考当前主流前端框架的样式,提高平台的整体感官。
同时是否可考虑配备几套皮肤,如亮色、暗色、等风格,供用户设置偏好。
甚至提供统一皮肤的设置或开发框架结构。

How to set the title

感谢O2OA,让我们快速启动了OA系统:

有两个问题请教:

  1. 如何设置启动新流程的标题,我在表单里设置了一个'subject'字段,貌似不起作用。
  2. 如何让后续审批无法修改表单?

  1. How do I set the title of a new flow?
  2. How do I make the form readonly in the approval work flow?

Thanks.

整体代码是否全部开源

开发者您好,请问o2oa的所有核心代码是否已经全部开源,例如oa流等?还有商用授权能给出一个页面吗,例如价格等报表。

app端流程处理的时候,打开空白页面

在log中可以看出来要请求的页面地址是: /x_desktop/workmobilewithaction.html?workcompletedid=aa0718fd-f19c-47eb-99f2-74d72164bb60&time=1615535122820

不知道是编译的问题还是什么问题,或者这个是购买技术支持才可见 - -|

神通数据库

请问神通数据库能用吗?我切换成神通数据库之后第一次启动项目插入数据时报错

Caused by: <openjpa-3.1.0-rafcec21a1d489dff682a3ce7986fac6a1c80e8e0 fatal general error> org.apache.openjpa.persistence.PersistenceException: ERROR, 抽象数据类型错, TEXT 转目标类型1560失败 {prepstmnt 1060251152 INSERT INTO X.ATDC_ATTENDANCE_SETTING (xid, xcreateTime, xscratchBoolean, xscratchDate, xscratchInteger, xscratchString, xsequence, xupdateTime, xdistributeFactor, xconfigCode, xconfigName, xconfigValue, xdescription, xisMultiple, xorderNumber, xselectContent, xvalueType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)} [code=0, state=40000]

关于新功能建议

1、如果UI能支持单页签或多页签会更能吸引人。
2、如果在线流程表单设计器支持Element-UI标签库,设计出来的表单会更精美一些(或者是能开放出来自定义html 编辑,虽说有标签支持)。
3、目前最不方便的还是调试(必须要远程调试或者是部署方式调试)。

o2oa子项目如何剥离

这个项目包含的子项目和功能太多了,学习起来太复杂,请问博主,我想从O2OA项目单独抽出一个项目(比如脑图编辑器)来方便学习,请问怎么从项目中剥离出来?

文件打包建议

使用当前下载包解压,发现很多class的类散落在文件夹中,能否考虑将这些class打包到jar,提高磁盘读取速度和管理便捷性。
目前发现系统启动速度和拷贝速度慢。
操作系统统计文件情况如下:
占用空间:762 MB (799,698,944 字节)
包含:34,305 个文件,4,275 个文件夹
3万多个文件,4千多个文件夹,是否考虑将不常变化的内容进行打包。

切换数据库为Kingbase8启动服务器druid报错

严重: merge sql error, dbType null, druid-1.1.21, sql : CREATE TABLE X.PP_C_READCOMPLETED( 中略 ) DEFERRABLE) com.alibaba.druid.sql.parser.ParserException: syntax error, error in :'nce) DEFERRABLE)', expect RPAREN, actual IDENTIFIER pos 1998, line 1, column 1988, token IDENTIFIER DEFERRABLE

经查是druid需要配置DataSource merge-sql为false,但是不知道在哪里添加配置。

jdk 11 启动项目有报错

win10/jdk 11.0.5/o2server_20200107232400_windows
解压后直接启动,有如下异常,但是平台目前可以登陆使用。看异常的情况是跟调度有关,请官方适配jdk11的运行环境,感谢!
异常信息如下:
2020-01-08 22:16:29.549 INFO [DefaultQuartzScheduler_Worker-1] com.x.bbs.assemble.control.schedule.SubjectReplyTotalStatisticTask - Timertask[SubjectTotalStatisticTask] completed and excute success.
[DefaultQuartzScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job com.x.base.core.project.x_query_service_processing.com.x.query.service.processing.schedule.CrawlWork threw an unhandled Exception:
java.lang.Error: Unresolved compilation problems:
The method ids(Class) in the type EntityManagerContainer is not applicable for the arguments (Class)
Work cannot be resolved to a type

at com.x.query.service.processing.schedule.CrawlWork.schedule(CrawlWork.java:54)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

[DefaultQuartzScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (com.x.base.core.project.x_query_service_processing.com.x.query.service.processing.schedule.CrawlWork threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.Error: Unresolved compilation problems:
The method ids(Class) in the type EntityManagerContainer is not applicable for the arguments (Class)
Work cannot be resolved to a type
]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.Error: Unresolved compilation problems:
The method ids(Class) in the type EntityManagerContainer is not applicable for the arguments (Class)
Work cannot be resolved to a type

at com.x.query.service.processing.schedule.CrawlWork.schedule(CrawlWork.java:54)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more

[DefaultQuartzScheduler_Worker-2] ERROR org.quartz.core.JobRunShell - Job com.x.base.core.project.x_query_service_processing.com.x.query.service.processing.schedule.CrawlWorkCompleted threw an unhandled Exception:
java.lang.Error: Unresolved compilation problems:
The method ids(Class) in the type EntityManagerContainer is not applicable for the arguments (Class)
WorkCompleted cannot be resolved to a type

at com.x.query.service.processing.schedule.CrawlWorkCompleted.schedule(CrawlWorkCompleted.java:54)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

2020-01-08 22:16:29.784 INFO [DefaultQuartzScheduler_Worker-2] com.x.bbs.assemble.control.schedule.UserSubjectReplyPermissionStatisticTask - Timertask[UserSubjectReplyStatisticTask] completed and excute success.
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
[DefaultQuartzScheduler_Worker-2] ERROR org.quartz.core.ErrorLogger - Job (com.x.base.core.project.x_query_service_processing.com.x.query.service.processing.schedule.CrawlWorkCompleted threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.Error: Unresolved compilation problems:
The method ids(Class) in the type EntityManagerContainer is not applicable for the arguments (Class)
WorkCompleted cannot be resolved to a type
]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.Error: Unresolved compilation problems:
The method ids(Class) in the type EntityManagerContainer is not applicable for the arguments (Class)
WorkCompleted cannot be resolved to a type

at com.x.query.service.processing.schedule.CrawlWorkCompleted.schedule(CrawlWorkCompleted.java:54)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more

2020-01-08 22:16:30.345 INFO [DefaultQuartzScheduler_Worker-2] com.x.attendance.assemble.control.schedule.MobileRecordAnalyseTask - Timertask MobileRecordAnalyseTask completed and excute success.
2020-01-08 22:16:30.866 INFO [DefaultQuartzScheduler_Worker-1] com.x.attendance.assemble.control.schedule.AttendanceStatisticTask - Timertask completed and excute success.
2020-01-08 22:16:31.866 INFO [DefaultQuartzScheduler_Worker-2] com.x.cms.assemble.control.timertask.Timertask_BatchOperationTask - Timertask_BatchOperationTask -> not fount any cms batch operation, try to check unreview document in database......
2020-01-08 22:16:31.909 INFO [DefaultQuartzScheduler_Worker-1] com.x.cms.assemble.control.timertask.Timertask_LogRecordCheckTask - Timertask_LogRecordCheckTask -> clean operation logs excute success. stay_yearnum:1,stay_count:100000
2020-01-08 22:16:32.073 INFO [DefaultQuartzScheduler_Worker-1] com.x.cms.assemble.control.timertask.Timertask_LogRecordCheckTask - Timertask_LogRecordCheckTask -> clean view records excute success. stay_yeanumr:1,stay_count:100000
java.lang.Exception: get entityManager for class com.x.cms.core.entity.Document error.
at com.x.base.core.container.factory.EntityManagerContainerFactory.createEntityManager(EntityManagerContainerFactory.java:109)
at com.x.base.core.container.EntityManagerContainerBasic.get(EntityManagerContainerBasic.java:35)
at com.x.cms.assemble.control.factory.DocumentFactory.listUnReviewIds(DocumentFactory.java:396)
at com.x.cms.assemble.control.service.DocumentInfoService.listUnReviewIds(DocumentInfoService.java:319)
at com.x.cms.assemble.control.timertask.Timertask_BatchOperationTask.schedule(Timertask_BatchOperationTask.java:58)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: <openjpa-3.1.1-SNAPSHOT-rb27175b nonfatal general error> org.apache.openjpa.persistence.PersistenceException: Table "CMS_DOCUMENT" already exists; SQL statement:
CREATE TABLE CMS_DOCUMENT (xid VARCHAR(64) NOT NULL, xcreateTime TIMESTAMP, xscratchBoolean BOOLEAN, xscratchDate TIMESTAMP, xscratchInteger TIMESTAMP, xscratchString VARCHAR(255), xsequence VARCHAR(128), xupdateTime TIMESTAMP, xdistributeFactor INTEGER, xappAlias VARCHAR(96), xappId VARCHAR(64), xappName VARCHAR(96), xcategoryAlias VARCHAR(96), xcategoryId VARCHAR(64), xcategoryName VARCHAR(96), xcommendCount BIGINT, xcommentCount BIGINT, xcreatorIdentity VARCHAR(255), xcreatorPerson VARCHAR(255), xcreatorTopUnitName VARCHAR(255), xcreatorUnitName VARCHAR(255), xdescription VARCHAR(255), xdocStatus VARCHAR(16), xdocumentType VARCHAR(16), xform VARCHAR(64), xformName VARCHAR(96), xhasIndexPic BOOLEAN, ximportBatchName VARCHAR(128), xisTop BOOLEAN, xmodifyTime TIMESTAMP, xpublishTime TIMESTAMP, xreadFormId VARCHAR(64), xreadFormName VARCHAR(96), xreviewed BOOLEAN, xsequenceAppAlias VARCHAR(255), xsequenceCategoryAlias VARCHAR(255), xsequenceCreatorPerson VARCHAR(255), xsequenceCreatorUnitName VARCHAR(255), xsequenceTitle VARCHAR(255), xsummary VARCHAR(255), xtitle VARCHAR(255), xviewCount BIGINT, PRIMARY KEY (xid), CONSTRAINT CMS_DOCUMENT_DUC UNIQUE (xid, xcreateTime, xupdateTime, xsequence)) [42101-200] {stmnt 1729711293 CREATE TABLE CMS_DOCUMENT (xid VARCHAR(64) NOT NULL, xcreateTime TIMESTAMP, xscratchBoolean BOOLEAN, xscratchDate TIMESTAMP, xscratchInteger TIMESTAMP, xscratchString VARCHAR(255), xsequence VARCHAR(128), xupdateTime TIMESTAMP, xdistributeFactor INTEGER, xappAlias VARCHAR(96), xappId VARCHAR(64), xappName VARCHAR(96), xcategoryAlias VARCHAR(96), xcategoryId VARCHAR(64), xcategoryName VARCHAR(96), xcommendCount BIGINT, xcommentCount BIGINT, xcreatorIdentity VARCHAR(255), xcreatorPerson VARCHAR(255), xcreatorTopUnitName VARCHAR(255), xcreatorUnitName VARCHAR(255), xdescription VARCHAR(255), xdocStatus VARCHAR(16), xdocumentType VARCHAR(16), xform VARCHAR(64), xformName VARCHAR(96), xhasIndexPic BOOLEAN, ximportBatchName VARCHAR(128), xisTop BOOLEAN, xmodifyTime TIMESTAMP, xpublishTime TIMESTAMP, xreadFormId VARCHAR(64), xreadFormName VARCHAR(96), xreviewed BOOLEAN, xsequenceAppAlias VARCHAR(255), xsequenceCategoryAlias VARCHAR(255), xsequenceCreatorPerson VARCHAR(255), xsequenceCreatorUnitName VARCHAR(255), xsequenceTitle VARCHAR(255), xsummary VARCHAR(255), xtitle VARCHAR(255), xviewCount BIGINT, PRIMARY KEY (xid), CONSTRAINT CMS_DOCUMENT_DUC UNIQUE (xid, xcreateTime, xupdateTime, xsequence))} [code=42101, state=42S01]
at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:625)
at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:489)
at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:177)
at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:181)
at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:138)
at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:213)
at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:166)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:262)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:177)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:167)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:64)
at com.x.base.core.container.factory.EntityManagerContainerFactory.createEntityManager(EntityManagerContainerFactory.java:103)
... 7 more
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Table "CMS_DOCUMENT" already exists; SQL statement:
CREATE TABLE CMS_DOCUMENT (xid VARCHAR(64) NOT NULL, xcreateTime TIMESTAMP, xscratchBoolean BOOLEAN, xscratchDate TIMESTAMP, xscratchInteger TIMESTAMP, xscratchString VARCHAR(255), xsequence VARCHAR(128), xupdateTime TIMESTAMP, xdistributeFactor INTEGER, xappAlias VARCHAR(96), xappId VARCHAR(64), xappName VARCHAR(96), xcategoryAlias VARCHAR(96), xcategoryId VARCHAR(64), xcategoryName VARCHAR(96), xcommendCount BIGINT, xcommentCount BIGINT, xcreatorIdentity VARCHAR(255), xcreatorPerson VARCHAR(255), xcreatorTopUnitName VARCHAR(255), xcreatorUnitName VARCHAR(255), xdescription VARCHAR(255), xdocStatus VARCHAR(16), xdocumentType VARCHAR(16), xform VARCHAR(64), xformName VARCHAR(96), xhasIndexPic BOOLEAN, ximportBatchName VARCHAR(128), xisTop BOOLEAN, xmodifyTime TIMESTAMP, xpublishTime TIMESTAMP, xreadFormId VARCHAR(64), xreadFormName VARCHAR(96), xreviewed BOOLEAN, xsequenceAppAlias VARCHAR(255), xsequenceCategoryAlias VARCHAR(255), xsequenceCreatorPerson VARCHAR(255), xsequenceCreatorUnitName VARCHAR(255), xsequenceTitle VARCHAR(255), xsummary VARCHAR(255), xtitle VARCHAR(255), xviewCount BIGINT, PRIMARY KEY (xid), CONSTRAINT CMS_DOCUMENT_DUC UNIQUE (xid, xcreateTime, xupdateTime, xsequence)) [42101-200] {stmnt 1729711293 CREATE TABLE CMS_DOCUMENT (xid VARCHAR(64) NOT NULL, xcreateTime TIMESTAMP, xscratchBoolean BOOLEAN, xscratchDate TIMESTAMP, xscratchInteger TIMESTAMP, xscratchString VARCHAR(255), xsequence VARCHAR(128), xupdateTime TIMESTAMP, xdistributeFactor INTEGER, xappAlias VARCHAR(96), xappId VARCHAR(64), xappName VARCHAR(96), xcategoryAlias VARCHAR(96), xcategoryId VARCHAR(64), xcategoryName VARCHAR(96), xcommendCount BIGINT, xcommentCount BIGINT, xcreatorIdentity VARCHAR(255), xcreatorPerson VARCHAR(255), xcreatorTopUnitName VARCHAR(255), xcreatorUnitName VARCHAR(255), xdescription VARCHAR(255), xdocStatus VARCHAR(16), xdocumentType VARCHAR(16), xform VARCHAR(64), xformName VARCHAR(96), xhasIndexPic BOOLEAN, ximportBatchName VARCHAR(128), xisTop BOOLEAN, xmodifyTime TIMESTAMP, xpublishTime TIMESTAMP, xreadFormId VARCHAR(64), xreadFormName VARCHAR(96), xreviewed BOOLEAN, xsequenceAppAlias VARCHAR(255), xsequenceCategoryAlias VARCHAR(255), xsequenceCreatorPerson VARCHAR(255), xsequenceCreatorUnitName VARCHAR(255), xsequenceTitle VARCHAR(255), xsummary VARCHAR(255), xtitle VARCHAR(255), xviewCount BIGINT, PRIMARY KEY (xid), CONSTRAINT CMS_DOCUMENT_DUC UNIQUE (xid, xcreateTime, xupdateTime, xsequence))} [code=42101, state=42S01]
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:58)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:955)
at org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:123)
at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1377)
at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:1117)
at org.apache.openjpa.jdbc.schema.SchemaTool.buildSchema(SchemaTool.java:659)
at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:562)
at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:401)
at org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:373)
at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:571)
... 18 more
2020-01-08 22:16:32.317 INFO [DefaultQuartzScheduler_Worker-2] com.x.cms.assemble.control.timertask.Timertask_BatchOperationTask - Timertask_BatchOperationTask -> batch operations timer task excute completed.
2020-01-08 22:16:32.412 PRINT [DefaultQuartzScheduler_Worker-1] com.x.query.service.processing.schedule.CrawlCms - 内容管理索引器条目总数:0, 内容总数:0, 需要新增:0, 需要删除:0, 更新数量:0, 数量限制:1000, 耗时2532ms.
[DefaultQuartzScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job com.x.base.core.project.x_processplatform_assemble_bam.com.x.processplatform.assemble.bam.schedule.PeriodTimer threw an unhandled Exception:
java.lang.Error: Unresolved compilation problems:
The method get(Class) in the type EntityManagerContainerBasic is not applicable for the arguments (Class)
Task cannot be resolved to a type
Task cannot be resolved to a type
The method from(Class) from the type AbstractQuery refers to the missing type Task
Task cannot be resolved to a type
SingularAttribute<Task,Date> cannot be resolved to a type
SingularAttribute<Task,String> cannot be resolved to a type

at com.x.processplatform.assemble.bam.jaxrs.period.TimerStartTaskApplicationStubs.listApplicationFromTask(TimerStartTaskApplicationStubs.java:60)
at com.x.processplatform.assemble.bam.jaxrs.period.TimerStartTaskApplicationStubs.execute(TimerStartTaskApplicationStubs.java:39)
at com.x.processplatform.assemble.bam.schedule.PeriodTimer.schedule(PeriodTimer.java:33)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

[DefaultQuartzScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (com.x.base.core.project.x_processplatform_assemble_bam.com.x.processplatform.assemble.bam.schedule.PeriodTimer threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.Error: Unresolved compilation problems:
The method get(Class) in the type EntityManagerContainerBasic is not applicable for the arguments (Class)
Task cannot be resolved to a type
Task cannot be resolved to a type
The method from(Class) from the type AbstractQuery refers to the missing type Task
Task cannot be resolved to a type
SingularAttribute<Task,Date> cannot be resolved to a type
SingularAttribute<Task,String> cannot be resolved to a type
]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.Error: Unresolved compilation problems:
The method get(Class) in the type EntityManagerContainerBasic is not applicable for the arguments (Class)
Task cannot be resolved to a type
Task cannot be resolved to a type
The method from(Class) from the type AbstractQuery refers to the missing type Task
Task cannot be resolved to a type
SingularAttribute<Task,Date> cannot be resolved to a type
SingularAttribute<Task,String> cannot be resolved to a type

at com.x.processplatform.assemble.bam.jaxrs.period.TimerStartTaskApplicationStubs.listApplicationFromTask(TimerStartTaskApplicationStubs.java:60)
at com.x.processplatform.assemble.bam.jaxrs.period.TimerStartTaskApplicationStubs.execute(TimerStartTaskApplicationStubs.java:39)
at com.x.processplatform.assemble.bam.schedule.PeriodTimer.schedule(PeriodTimer.java:33)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more

[DefaultQuartzScheduler_Worker-2] ERROR org.quartz.core.JobRunShell - Job com.x.base.core.project.x_processplatform_assemble_bam.com.x.processplatform.assemble.bam.schedule.StateTimer threw an unhandled Exception:
java.lang.Error: Unresolved compilation problems:
The method get(Class) in the type EntityManagerContainerBasic is not applicable for the arguments (Class)
Application cannot be resolved to a type
Application cannot be resolved to a type
The method createQuery(Class) from the type CriteriaBuilder refers to the missing type Application
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type

at com.x.processplatform.assemble.bam.jaxrs.state.TimerApplicationStubs.execute(TimerApplicationStubs.java:44)
at com.x.processplatform.assemble.bam.schedule.StateTimer.schedule(StateTimer.java:30)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

[DefaultQuartzScheduler_Worker-2] ERROR org.quartz.core.ErrorLogger - Job (com.x.base.core.project.x_processplatform_assemble_bam.com.x.processplatform.assemble.bam.schedule.StateTimer threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.Error: Unresolved compilation problems:
The method get(Class) in the type EntityManagerContainerBasic is not applicable for the arguments (Class)
Application cannot be resolved to a type
Application cannot be resolved to a type
The method createQuery(Class) from the type CriteriaBuilder refers to the missing type Application
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type
]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.Error: Unresolved compilation problems:
The method get(Class) in the type EntityManagerContainerBasic is not applicable for the arguments (Class)
Application cannot be resolved to a type
Application cannot be resolved to a type
The method createQuery(Class) from the type CriteriaBuilder refers to the missing type Application
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type
Application cannot be resolved to a type

at com.x.processplatform.assemble.bam.jaxrs.state.TimerApplicationStubs.execute(TimerApplicationStubs.java:44)
at com.x.processplatform.assemble.bam.schedule.StateTimer.schedule(StateTimer.java:30)
at com.x.base.core.project.schedule.AbstractJob.execute(AbstractJob.java:25)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more

no Portal_?

没有Portal_这个类吗,还是没有开源

编译通过之后无法启动

C:\Users\37656\Desktop\o2oa-O2OA-master\O2OA\target\o2server>"C:\Users\37656\Desktop\o2oa-O2OA-master\O2OA\target\o2server\jvm\windows\bin\java" -javaagent:"C:\Users\37656\Desktop\o2oa-O2OA-master\O2OA\target\o2server\console.jar" -server -Xms2g -Xmx4g -Duser.timezone=GMT+08 -XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError -jar "C:\Users\37656\Desktop\o2oa-O2OA-master\O2OA\target\o2server\console.jar"
java.io.IOException: invalid directory: commons/ext
at com.x.server.console.InstrumentationAgent.loadWithCfg(InstrumentationAgent.java:73)
at com.x.server.console.InstrumentationAgent.premain(InstrumentationAgent.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
at com.x.server.console.Main.cleanTempDir(Main.java:592)
at com.x.server.console.Main.init(Main.java:109)
at com.x.server.console.Main.main(Main.java:119)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 3 more

咋整

文档需要提供简单样例

需要完善
1、门户管理与应用包装 -> 数据源使用
当前只有目录,没有操作细节和demo样例。
2、

对接 OAUTH2 时,POST 请求获取用户信息失败

下面的代码负责发送获取用户信息的 POST 请求,
想问一下是不是应该加一个 Header:
Content-Type: application/x-www-form-urlencoded;charset=UTF-8

protected String oauthClientInfoPost(OauthClient oauthClient, String redirectUri, String accessToken,
String refreshToken) throws Exception {
String address = oauthClient.getInfoAddress();
String parameter = fillInfoParameter(oauthClient.getInfoParameter(), oauthClient, redirectUri, accessToken,
refreshToken);
logger.debug("info post address:{}.", address);
logger.debug("info post parameter:{}.", parameter);
String str = HttpConnection.postAsString(address, null, parameter);
return str;
}

openmeeting 网络会议

在官网看到平台可以支撑网络会议,通过截图看应该整合的是openmeeting,从下载的平台功能上未见到,从文档上也未发现。可否提供文档的操作。
感谢。

副标题,左侧图标的名称显示

版本V5.0.2
1,在系统修改副标题后,登录页还是显示www.o2oa.net
2,登录页是否可以修改,去掉 忘记密码等
3,首页左侧图标是否可以显示名称,鼠标移入才出现
4,控制台输入stop,服务未停止,窗口未关闭

通过OAuth接入keycloak认证

在拿到 access_token 后,获取用户信息时,keycloak 返回 token not provide 错误。我看了一下代码,access_token是当作参数传入的,但是keycloak 的请求方式要 token 写在 header 的 Authorization 字段里

FastClasspathScanner is outdated -- consider porting to ClassGraph

Your project, o2oa/o2oa, depends on the outdated library FastClasspathScanner in the following source files:

FastClasspathScanner has been significantly reworked since the version your code depends upon:

  • a significant number of bugs have been fixed
  • some nontrivial API changes have been made to simplify and unify the API
  • FastClasspathScanner has been renamed to ClassGraph: https://github.com/classgraph/classgraph

ClassGraph is a significantly more robust library than FastClasspathScanner, and is more future-proof. All future development work will be focused on ClassGraph, and FastClasspathScanner will see no future development.

Please consider porting your code over to the new ClassGraph API, particularly if your project is in production or has downstream dependencies:

Feel free to close this bug report if this code is no longer in use. (You were sent this bug report because your project depends upon FastClasspathScanner, and has been starred by 20 users. Apologies if this bug report is not helpful.)

集成轻量级IM模块

是否考虑开发一个内部平台的IM模块
1、不需要过于复杂(相对QQ,钉钉之类)
2、需充分整合平台已有内部的功能,形成融合的特色,如:用户、群、组、内部功能连接,文档库,消息、提醒、收藏、话题之类。
3、可虑类似Zulip,Rocket.Chat,这类开源协作类型的应用风格。(有一定的应用创新)
4、可吸取liferay dxp中关于协作共享的一些理念的细节,尤其是操作和显示(这点在开源软件中还是不错的)
希望以上的设想,官方团队可以采纳并研究。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.