2017-01-17 17 views
0
 
We are using Websphere liberty profile 16.0.0.4 to deploy EAR application. 
Nothing jee specific. the EAR has a simple WAR file. We put the EAR file inside 
the dropins folder and it seems like websphere is extracting the content of EAR 
file inside the workarea directory. 

When reading the content of one jar sqljdbc.jar it puts the jar inside cache 
folder. However the sqljdbc.jar seems to be a 0 sized file. 

Here is a sample path to the sqljdbc.jar. All of them are directories 

D:\comdata\wlp\usr\servers\defaultServer\workarea\org.eclipse.osgi\121\data\cach 
e\com.ibm.ws.app.manager_88\Tax2290.war\WEB-INF\lib\.cache\sqljdbc.jar 

The sqljdbc.jar inside sqljdbc.jar folder above turns out to be 0 byte sized. 
Because of this ZipException is thrown. 

There is also this exception thrown before the ZipException. I am not sure if 
it is related to this or not. 

java.lang.ClassNotFoundException: iconnectlogout 
com.ibm.ws.jaxrs20.server.component.JaxRsWebModuleInfoBuilder 

What are these org.eclipse.osgi, cache, com.ibm.ws.app.manager_88 folders. 

We checked the WAR file inside EAR and it has the right sized sqljdbc.jar. 

any ideas why this is happening? Is anything getting downloaded from internet? 
Proxy/firewall issues. 

First Edit: 
----------- 

Uploaded the problematic ear file. 

ここでは、問題のある耳のファイルへのリンク https://wetransfer.com/downloads/3585882e88626f6e5a480075fba0c48e20170118170610/43e43fのWebsphere自由プロファイル16.0.0.4展開問題(持つZipException)

+0

WARファイルを投稿することは可能でしょうか?または、共有することができるテストケースでそれを再現できますか?おそらく、Libertyのバグやアプリケーションのメタデータのバグなど、アプリケーションのデプロイメントに問題があるようです。 これらのフォルダは、バンドル状態、アプリケーションメタデータなどをLibertyがキャッシュして高速起動するために使用されます。これらのフォルダ内の何もインターネットからダウンロードする必要はありません。 –

+1

'--clean'オプションでサーバを起動し、問題がなくなるかどうかを調べることができます。 –

+0

上記の問題のある耳のファイルを参照してください – Balaji

答えて

0

あるTax2290.warのWEB-INF/libディレクトリにあるsqljdbc.jarファイルが埋め込まれたJARが含まれています同じ名前のファイルであり、埋め込まれたsqljdbc.jarファイルの長さは0です。もう1つの別のファイルsqljdbc.jar.oldが有効なアーカイブのようです。これは、Libertyが窒息している埋め込まれたJARファイルです。

0の長さのJARファイルをsqljdbc.jarから削除するか、有効なJARに置き換えることで問題を解決できるはずです。

Libertyはおそらく、より良いエラーメッセージを提供するか、このケースをよりうまく処理できるはずだから、これを対処するためにIBMのサポートでPMRを開くことをお勧めします。

ありがとう、アンディ

関連する問題