Glassfish so many FileNotFoundException on server startup

I have an ear file. I start my glassfish domain and deploy using an ide (IDEA or eclipse). On server start up when I check the logs I see a FileNotFoundException for I believe each and every dependency we have on the project.

Sample :

java.io.FileNotFoundException: C:Developerweb-serverglassfish3.1.2glassfishdomainsdomain1applicationsAYDEMPANOTEST-EAR.earspring-beans-3.2.0.RELEASE.jar (The system cannot find the file specified)

I use maven for dependency managment. After a set of FileNotFoundExceptions the final log confirms that the domain started successfully and the project is deployed as expected.

Sample :

[#|2014-02-06T14:20:16.648+0200|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=45;_ThreadName=Thread-2;|AYDEMPANOTEST-EAR.ear was successfully deployed in 23,440 milliseconds.|#]

The project works and behaves fine however I'm still very curious about why we have so many exceptions thrown that can be observed in the logs and why they have no effect at all.


原来,这是一个已知的TLD扫描bug,已在glassfish 4.0上修复。

链接地址: http://www.djcxy.com/p/68246.html

上一篇: JSP:无法弄清楚如何设置UTF

下一篇: Glassfish在服务器启动时有很多FileNotFoundException