users@glassfish.java.net

Re: Exception during deployment of Enterprise App

From: <glassfish_at_javadesktop.org>
Date: Tue, 11 Aug 2009 12:21:18 PDT

I have a similar message in my logs, but it's a warning during deployment:

[#|2009-08-11T11:43:01.835-0600|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=21;_ThreadName=httpWorkerThread-4848-3;_RequestID=7bdc67b7-4881-4dfb-a90f-112470e98587;|com.sun.enterprise.admin.mbeans.J2EEModule:getStringForDDxml FileNotFoundException /home/ryan/programs/glassfish-v2-b60e/domains/domain1/generated/xml/j2ee-apps/itma-rDEV-Ryan/itma-web-services-rDEV-Ryan_jar/null|#]

I don't know if my issue is related to yours, but I'll post about it here since the log messages are basically identical.

I've seen a few posts about similar issues while searching, but haven't ever seen a solution to the problem. My warnings go away if I remove the @WebServices annotation from my EJBs. I set the log level for deployment to FINE and tried to read through it, but there's a lot of info there. I think one line that may be relevant is:

[#|2009-08-11T11:42:46.695-0600|FINE|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=Thread-68;ClassName=com.sun.enterprise.deployment.archivist.ApplicationArchivist;MethodName=readModulesDescriptors;_RequestID=70a54c35-7f15-40d7-9348-3f6c7087cf1d;|Opening sub-module ejb ModuleDescriptor: [ itma-web-services-rDEV-Ryan.jar ] , altDD = null|#]

I'll add 2 attachments. The first is a .ear that gives me the warnings on Glassfish 2.1 b60e. The second is the stripped down maven project that built the attached ear. It looks stupid to have multiple modules in the attached project, so keep in mind I stripped out everything but a tiny example.
[Message sent by forum member 'jptech' (jptech)]

http://forums.java.net/jive/thread.jspa?messageID=359955