0

当我启动我的 Tomcat 服务器时,我遇到了下面列出的错误消息所描述的问题。

我该如何解决这个问题?

Aug 5, 2010 10:25:13 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:openbravo' did not find a matching property.
Aug 5, 2010 10:25:13 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jdk1.6.0_16/jre/lib/amd64/server:/opt/jdk1.6.0_16/jre/lib/amd64:/opt/jdk1.6.0_16/jre/../lib/amd64:/usr/lib64/xulrunner-1.9.1:/usr/java/packages/lib/amd64:/lib:/usr/lib
Aug 5, 2010 10:25:13 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080

这个例外也是:

[main] WARN  org.jboss.seam.security.permission.PersistentPermissionResolver  - no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
Aug 5, 2010 10:25:40 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.openbravo.dal.core.DalContextListener
org.openbravo.base.exception.OBException: org.openbravo.base.exception.OBException: Not able to create domain type org.openbravo.userinterface.selector.model.domaintype.ModelElementDomainType for reference org.openbravo.base.model.Reference [id: 45B39681AFBC4808A64C9B776A290BA4, name: OBUISEL_SelectorFieldPropertySelector]
4

1 回答 1

1

警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context} 将属性 'source' 设置为 'org.eclipse.jst.j2ee.server:openbravo' 没有找到匹配的属性。

这没有害处。Eclipse 只是向 Tomcat 的<Context>元素添加了一个额外的属性,以便能够将部署的 webapp 与特定项目相关联。Tomcat 只是在抽搐,因为它不将其识别为预定义<Context>属性之一。然而,它试图帮助最终用户实际打错字等情况。忽略它。当您导出 webapp 并将其部署在真实的生产服务器上时,您不会看到它。

[main] WARN org.jboss.seam.security.permission.PersistentPermissionResolver - 没有可用的权限存储 - 如果需要持久权限,请安装名为“org.jboss.seam.security.jpaPermissionStore”的 PermissionStore。2010 年 8 月 5 日上午 10:25:40 org.apache.catalina.core.StandardContext listenerStart

我不是 Seam 人,但Google告诉我,当您将 JPA 配置为使用 JTA 事务并且没有<security:jpa-permission-store>在 Seam 的components.xml. 要解决此问题,请添加权限存储或将 JPA 配置为仅使用资源本地事务。

严重:向类 org.openbravo.dal.core.DalContextListener 的侦听器实例发送上下文初始化事件的异常

org.openbravo.base.exception.OBException: org.openbravo.base.exception.OBException: 无法创建域类型 org.openbravo.userinterface.selector.model.domaintype.ModelElementDomainType 以供参考 org.openbravo.base.model.Reference [id:45B39681AFBC4808A64C9B776A290BA4,名称:OBUISEL_SelectorFieldPropertySelector]

这是一个自定义/包装的异常,它不会提供太多有用的信息。我们对异常的根本原因更感兴趣。在堆栈跟踪中进一步查看此异常的根本原因部分。它将说明问题的根本原因:)


尽管如此,到目前为止,没有一个问题与字面问题“如何在 Eclipse 中配置服务器?”有关。. 你似乎已经成功地做到了。第一个问题可以忽略。第二个问题与 Seam/JPA 有关。第三个问题与 Openbravo ERP 有关。您可以考虑提出有关它们的单独问题以解决其中一个问题。

于 2010-08-05T11:50:28.817 回答