2010-08-05 107 views
0

當我啓動我的Tomcat服務器時,出現了下面列出的錯誤消息所描述的問題。如何在Eclipse中配置服務器?

我該如何解決這個問題?

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] 
+0

你使用的是什麼確切的Eclipse,WTP和tomcat版本? – VonC 2010-08-05 05:45:36

+0

我正在使用eclipse伽利略 – chandrasekhar 2010-08-05 07:37:00

回答

1

警告:[SetPropertiesRule] {服務器/服務/發動機/主機/上下文}設置屬性 '源' 到「org.eclipse.jst。 j2ee.server:openbravo'沒有找到匹配的屬性。

這不會造成傷害。 Eclipse只是爲Tomcat的<Context>元素添加一個額外的屬性,以便能夠將部署的webapp與特定的項目相關聯。 Tomcat只是抽搐,因爲它不會將其識別爲預定義的<Context>屬性之一。然而,它試圖對最終用戶實際犯下錯字等情況有所幫助。只要忽略它。導出Web應用程序並將其部署到實際的生產服務器時,您不會看到它。

[主] WARN org.jboss.seam.security.permission.PersistentPermissionResolver - 沒有可用的許可店 - 請名爲安裝PermissionStore「org.jboss.seam.security.jpaPermissionStore」如果需要持久的權限。 2010年8月5日上午10時25分40秒org.apache.catalina.core.StandardContext listenerStart

我沒有接縫的傢伙,但Google得知我說,你可能會得到這樣當配置您的JPA使用JTA交易並且未在Seam的components.xml中配置<security:jpa-permission-store>。要解決此問題,請添加權限存儲或將JPA配置爲僅使用資源本地事務。

嚴重:異常發送上下文初始化事件監聽器類org.openbravo.dal.core.DalContextListener的實例

org.openbravo.base.exception.OBException:org.openbravo.base.exception.OBException :無法爲參考org.openbravo.base.model.Reference創建域類型org.openbravo.userinterface.selector.model.domaintype.ModelElementDomainType。[ID:45B39681AFBC4808A64C9B776A290BA4,名稱:OBUISEL_SelectorFieldPropertySelector]

這是一個自定義/包裝的異常,沒有給我很多幫助消失。我們對異常的根本原因更感興趣。請進一步查看堆棧跟蹤根本原因此異常的一部分。它會告訴有關問題的:)


儘管如此,沒有就相關的文字問題「如何配置服務器在Eclipse?」的問題的,嗯,根本原因。你似乎已經成功地完成了它。第一個問題是可以忽略的。第二個問題與Seam/JPA有關。第三個問題與Openbravo ERP有關。你可能會考慮詢問單獨的關於他們的問題來解決這個問題。

相關問題