首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >在OfBiz上安装PostgreSQL

在OfBiz上安装PostgreSQL
EN

Stack Overflow用户
提问于 2014-10-29 10:01:24
回答 1查看 860关注 0票数 0

我试图在OFBiz上安装PostgreSQL,但是当我运行服务器时,当我访问http://server_address:8080/ecommerce/时会得到这个错误。

代码语言:javascript
运行
AI代码解释
复制
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main]: java.lang.IllegalArgumentException: Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Category.groovy]: org.ofbiz.entity.GenericEntityException: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in findByCondition operation for entity [ProdCatalogCategory]: org.ofbiz.entity.GenericEntityException: org.postgresql.Driver (org.postgresql.Driver). Rolling back transaction.org.ofbiz.entity.GenericEntityException: org.postgresql.Driver (org.postgresql.Driver) (org.postgresql.Driver (org.postgresql.Driver)) (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in findByCondition operation for entity [ProdCatalogCategory]: org.ofbiz.entity.GenericEntityException: org.postgresql.Driver (org.postgresql.Driver). Rolling back transaction.org.ofbiz.entity.GenericEntityException: org.postgresql.Driver (org.postgresql.Driver) (org.postgresql.Driver (org.postgresql.Driver))) (Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Category.groovy]: org.ofbiz.entity.GenericEntityException: org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in findByCondition operation for entity [ProdCatalogCategory]: org.ofbiz.entity.GenericEntityException: org.postgresql.Driver (org.postgresql.Driver). Rolling back transaction.org.ofbiz.entity.GenericEntityException: org.postgresql.Driver (org.postgresql.Driver) (org.postgresql.Driver (org.postgresql.Driver)) (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in findByCondition operation for entity [ProdCatalogCategory]: org.ofbiz.entity.GenericEntityException: org.postgresql.Driver (org.postgresql.Driver). Rolling back transaction.org.ofbiz.entity.GenericEntityException: org.postgresql.Driver (org.postgresql.Driver) (org.postgresql.Driver (org.postgresql.Driver))))

不过,我不知道这是甚麽意思。我建立了一个名为ofbiz的基本数据库,其所有者是ofbiz用户。然后运行./ant load-demo,用演示数据填充数据库。我的操作系统是Debian /Linux 7.2。我还应该指出,我是PostgreSQL、OFBiz和Java的新手。很抱歉格式化,它就是这样来的。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-11-11 03:35:06

你的问题还不清楚。我假设PostgreSQL驱动程序丢失了。默认情况下,By不附带PostgreSQL驱动程序,所以您需要下载它。转到ofbiz目录,在windows或./用于linux时运行以下命令。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26637551

复制
相关文章
在macOS上安装&配置PostgreSQL
Homebrew以及dmg安装包安装都可以,不过Homebrew跟dmg包图形化安装还是有些区别,根据自己习惯任选其一即可,不过为了方便理解后续的操作,还是简单介绍下两种安装方式的区别
KenTalk
2023/04/07
13.3K0
在macOS上安装&配置PostgreSQL
在CentOS 7上安装&配置PostgreSQL 12
PostgreSQL安装成功之后,会默认创建一个名为postgres的Linux用户,初始化数据库后,会有名为postgres的数据库,来存储数据库的基础信息,例如用户信息等等,相当于MySQL中默认的名为mysql数据库。
KenTalk
2020/03/02
16.3K1
PostgreSQL在Linux上的RPM和源码安装
原文:http://www.enmotech.com/web/detail/1/713/1.html(复制链接,打开浏览器即可查看)
数据和云01
2019/06/19
1.3K0
Linux 上安装 PostgreSQL
可以参考:https://www.cnblogs.com/freeweb/p/8006639.html#top
别先生
2020/09/01
6.5K0
Linux 上安装 PostgreSQL
Linux 上安装 PostgreSQL
打开 PostgreSQL 官网 https://www.postgresql.org/,点击菜单栏上的 Download ,可以看到这里包含了很多平台的安装包,包括 Linux、Windows、Mac OS等 。
用户5005176
2021/08/11
1.1K0
PostgreSQL在Linux上的RPM和源码安装
此文档主要描述Postgre数据库,基于Red Hat Enterprise Linux Server release 6.5 的操作系统上安装Postgre数据库的文档衍生而来。此文档包括Postgre数据库的多种安装方式。
数据和云
2019/06/18
1.7K0
Windows 上安装 PostgreSQL
这里使用 EnterpriseDB 来下载安装,EnterpriseDB 是全球唯一一家提供基于 PostgreSQL 企业级产品与服务的厂商。
用户5005176
2021/08/11
9620
Windows 上安装 PostgreSQL
这里使用 EnterpriseDB 来下载安装,EnterpriseDB 是全球唯一一家提供基于 PostgreSQL 企业级产品与服务的厂商。
用户5005176
2021/03/19
2.1K0
在Mac OS操作系统上安装 PostgreSQL方法
使用 EnterpriseDB 来下载安装,EnterpriseDB 是全球唯一一家提供基于 PostgreSQL 企业级产品与服务的厂商。
用户5005176
2021/08/11
2.3K0
在openEuler 22.03上使用yum安装PostgreSQL单机环境
由于环境要国产化,选择openEuler 22.03 LTS系统,这里测试一下在openEuler上安装PG,过程如下。
AiDBA宝典
2023/04/27
1.5K0
在openEuler 22.03上使用yum安装PostgreSQL单机环境
如何在 Ubuntu 20.04 上安装 PostgreSQL
本文最先发布在:https://www.itcoder.tech/posts/how-to-install-postgresql-on-ubuntu-20-04/
雪梦科技
2020/05/25
12.1K0
如何在 Ubuntu 20.04 上安装 PostgreSQL
Linux上PostgreSQL绿色版安装
下载 首先从下面的链接地址下载对应平台和版本的安装包。 https://www.enterprisedb.com/download-postgresql-binaries 安装 # 以普通用户运行下面命令 # 解压压缩包到/opt目录下,如果对/opt目录没有写权限,先增加写权限再运行下面命令。 $ tar zxvf postgresql-9.6.10-1-linux-x64-binaries.tar.gz # 创建数据目录 $ cd /opt/pgsql $ mkdir data # 设置环境
kongxx
2018/12/12
2.2K0
如何在Ubuntu 16.04上安装PostgreSQL
PostgreSQL是以加州大学伯克利分校计算机系开发的 POSTGRES,现在已经更名为PostgreSQL,版本 4.2为基础的对象关系型数据库管理系统(ORDBMS)。PostgreSQL支持大部分 SQL标准并且提供了许多其他现代特性:复杂查询、外键、触发器、视图、事务完整性、MVCC。同样,PostgreSQL 可以用许多方法扩展,比如, 通过增加新的数据类型、函数、操作符、聚集函数、索引。免费使用、修改、和分发 PostgreSQL,不管是私用、商用、还是学术研究使用。在PostgreSQL的关系数据库系统是一个功能强大的,可扩展的,并符合标准的开源数据库平台。本教程将帮助您在Ubuntu 16.04 LTS(Xenial Xerus)腾讯云CVM服务器上安装和配置PostgreSQL。
尘埃
2018/08/20
2.2K0
如何在 CentOS 8 上安装 Postgresql
PostgreSQL 或者 Postgres 是一个开源的,多用途的关系型数据库管理系统。它有很多高级特性,可以允许你构建容错的环境或者复杂的应用。
雪梦科技
2020/05/11
6.8K0
如何在 CentOS 8 上安装 Postgresql
如何在Debian 9上安装PostgreSQL
PostgreSQL,通常简称为Postgres,是一种开源的通用对象 - 关系数据库管理系统。 PostgreSQL具有许多高级功能,如在线备份,即时恢复,嵌套事务,SQL和JSON查询,多版本并发控制(MVCC),异步复制等。
双面人
2019/04/10
2.6K0
如何在Ubuntu 16.04上安装和使用PostgreSQL
关系数据库管理系统是许多网站和应用程序的关键组件。它们提供了一种存储,组织和访问信息的结构化方法。
丰一川
2018/10/08
5.3K0
如何在Ubuntu 15.04上安装Postgresql和phpPgAdmin
PostgreSQL或Postgres是一种功能强大的高性能对象关系数据库管理系统(ORDBMS),采用灵活的BSD样式许可证发布。 PostgreSQL非常适合大型数据库,具有许多高级功能。
子润先生
2021/06/15
1.5K0
如何在Ubuntu 18.04上安装和使用PostgreSQL
关系数据库管理系统是许多网站和应用程序的关键组件。它们提供了一种存储,组织和访问信息的结构化方法。
藕丝空间
2018/07/27
5.5K0
如何在CentOS 7上安装和使用PostgreSQL
关系数据库管理系统是许多网站和应用程序的关键组件。它们提供了一种存储,组织和访问信息的结构化方法。
八十岁的背影
2018/10/09
5K0
在Windows上安装Jenkins
apache-tomcat/bin目录下的startup.bat在windows上启动。
清菡
2020/12/02
2.5K0
在Windows上安装Jenkins

相似问题

OfBiz安装故障

42

关于在Red的OpenShift PaaS上安装ofbiz的问题

10

在调试模式下安装OFBiz挂起

12

Ofbiz:集合OFBIZ_HOME上的错误

10

在Windows上安装PostgreSQL

30
添加站长 进交流群

领取专属 10元无门槛券

AI混元助手 在线答疑

扫码加入开发者社群
关注 腾讯云开发者公众号

洞察 腾讯核心技术

剖析业界实践案例

扫码关注腾讯云开发者公众号
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档