簡體   English   中英

Eclipse Luna中的動態Web項目部署錯誤

[英]Dynamic web project deployment error in eclipse Luna

我在Eclipse Luna中創建了一個動態Web項目。 恕我直言,所有設置對於服務器運行時都是正確的。 我正在使用帶有Eclipse luna的SAP HANA Java EE 6 Web配置文件sdk SAP HANA TOOLS和JDK 7。

當我單擊項目節點時->運行方式->在服務器上運行-> JAVA WEB EE配置文件(服務器名稱)

然后它啟動服務器,但沒有部署網頁。

在控制台中,它將消息顯示為

java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
C:\Users\xyz\workspace\Servers\Java EE 6 Web Profile Server-config>"C:\Program Files\Java\jdk1.7.0_71\bin\java" -server -javaagent:"C:\Users\xyz\WORKSP~1\Servers\JAVAEE~1\lib\openejb-javaagent_4.5.2.jar"  -XX:ErrorFile="C:\Users\xyz\WORKSP~1\Servers\JAVAEE~1\log\error.log" -XX:HeapDumpPath="C:\Users\xyz\WORKSP~1\Servers\JAVAEE~1\log\heap_dump.hprof" "-XX:+HeapDumpOnOutOfMemoryError" "-XX:+DisableExplicitGC" "-Xms512m" "-Xmx1024m" "-XX:PermSize=256M" "-XX:MaxPermSize=256M" "-Dcom.sun.management.jmxremote.port=1717" "-Dcom.sun.management.jmxremote.authenticate=false" "-Dcom.sun.management.jmxremote.ssl=false" "-Dosgi.requiredJavaVersion=1.6" "-DuseNaming=osgi" "-Dosgi.install.area=." "-Djava.io.tmpdir=./work/tmp" "-Djava.endorsed.dirs=lib/endorsed" "-Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false" "-Dcom.sap.core.process=ljs_node" "-Declipse.ignoreApp=true" "-Dosgi.noShutdown=true" "-Dosgi.framework.activeThreadType=normal" "-Dosgi.embedded.cleanupOnSave=true" "-Dosgi.usesLimit=30" "-Djava.awt.headless=true" "-Djava.rmi.server.hostname=127.0.0.1" "-Dhttp.proxyHost=172.30.0.14" "-Dhttp.proxyPort=3128" "-Dhttps.proxyHost=172.30.0.14" "-Dhttps.proxyPort=3128" "-Dhttp.nonProxyHosts=*.local|<local>" -classpath "C:\Users\xyz\WORKSP~1\Servers\JAVAEE~1\lib\openejb-javaagent_4.5.2.jar;C:\Users\xyz\WORKSP~1\Servers\JAVAEE~1\lib\org.eclipse.virgo.nano.authentication_3.6.2.RELEASE.jar;C:\Users\xyz\WORKSP~1\Servers\JAVAEE~1\lib\org.eclipse.virgo.nano.shutdown_3.6.2.RELEASE.jar;C:\Users\xyz\WORKSP~1\Servers\JAVAEE~1\lib\org.eclipse.virgo.util.env_3.6.2.RELEASE.jar;C:\Users\xyz\WORKSP~1\Servers\JAVAEE~1\plugins\org.eclipse.equinox.launcher_1.3.0.v20120308-1358.jar"  org.eclipse.equinox.launcher.Main  -console -dev "file:C:/Users/xyz/workspace/Servers/Java EE 6 Web Profile Server-config/configuration/dev.properties" 
    osgi> 

在進度窗口中,它顯示發布到服務器名稱...

然后啟動瀏覽器。

在瀏覽器中它什么也沒顯示。即顯示日志文件為空頁。

但是有時它可以正常工作,即在瀏覽器中顯示帶有內容日志文件的網頁。

如何解決此錯誤?

事件日志文件:

http://pastebin.com/JfTfEPSy

有時日志文件包含有關visual c ++的錯誤消息,它給出了錯誤消息Visual c ++未安裝,但在我的系統中安裝了x86和x64 2010 visual c ++。

您缺少依賴項。 您的設置將顯示網頁,但完全不會與SAP對話。 例如,在您首先提供鏈接的錯誤日志中,它說:

Caused by: java.lang.RuntimeException: Cannot load the JCo native library. (exception java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path)

和:

Root exception: java.lang.RuntimeException: Cannot load the JCo native library. (exception java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path)

它在您最后一次鏈接的日志中說,就在關閉啟動之前:

[2015-01-13 23:55:24.806] pool-3-thread-1              <DS0000W> Failed to satisfy declarative service component 'com.sap.core.jpaas.security.utils' from origin bundle 'com.sap.core.jpaas.security.utils_1.4.18.rt2 [62]'. 

並且:

[2015-01-14 12:36:52.206] pool-3-thread-1              <DS0000W> Failed to satisfy declarative service component 'com.sap.core.connectivity.local.destinations.DestinationFactory' from origin bundle 'com.sap.core.connectivity.local.destinations_0.9.141.rt2 [39]'. 

您將需要通過導入適當的庫來修復這些問題。 請參閱: http//help.sap.com/saphelp_nwpi711/helpdata/en/48/707c54872c1b5ae10000000a42189c/frameset.htm

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM