This is a discussion on ClassNotFoundExceptions after Installing EAR file within the Java Tutorials forums, part of the Articles and Tutorials category; After Installing the EAR file through the admin console, when I try to start the application, I am getting ClassNotFoundExceptions ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
ClassNotFoundExceptions after Installing EAR file
After Installing the EAR file through the admin console, when I try to start the application, I am getting ClassNotFoundExceptions in the SystemOut.log file. It turns out that the AppNameEJB.jar file which contains the classes is not getting installed in the server \"installedApps/AppNameEAR.ear\" directory. This may point to a bad deployment descriptor for the EAR. How do I tell the app server to install the jar file when it is installing the app.
WAS 5.0.2 Network Deployment WSAD 5.0.1 IE Thanx in advance! Post edited by: madhu, at: 2004/07/31 00:08 |
|
|||
|
Re:ClassNotFoundExceptions after Installing EAR file
Praveen,
Is it api class or your own written class? Make sure that you added the jar(which contains the missed class) file in your Manifest file. If possible paste the entire error here. Post edited by: VASU, at: 2004/07/20 18:36 |
|
|||
|
Re:ClassNotFoundExceptions after Installing EAR file
Vasu garu,
Its a custom class. The problem is, WAS is not installing the EAR Manifest.mf file in the META-INF directory and it is not installing the JAR files in the Class path of that Manifest.mf file. The application.xml file is also not getting installed in the META-INF directory! I don\'t know why!! Here is the actual application.xml code: [code:1] <?xml version=\"1.0\" encoding=\"UTF-8\" ?> <!DOCTYPE application (View Source for full doctype...)> - <application id=\"Application_ID\"> <display-name>WTS_ProdDeployEAR</display-name> - <module id=\"WebModule_1085586625257\"> - <web> <web-uri>WTS_ProdDeployWeb.war</web-uri> <context-root>WTS_ProdDeployWeb</context-root> </web> </module> - <module id=\"EjbModule_1088549253784\"> <ejb>WTS_ProdDeployEJB.jar</ejb> </module> </application> [/code:1] My EAR file structure is as follows: AppNameCOMMONCLASSES.jar AppNameEJB.jar AppNameCUSTOMCLASS.jar Manifest.mf .modulemaps .project .websettings AppNameWeb.war AppNameWeb.war/*.jar AppNameWeb.war/*.gif AppNameWeb.war/*.jsp AppNameWeb.war/main.css AppNameWeb.war/.classpath AppNameWeb.war/js/*.js AppNameWeb.war/WEB-INF/*.tld AppNameWeb.war/WEB-INF/struts-config.xml AppNameWeb.war/WEB-INF/ibm-web-bnd.xmi AppNameWeb.war/WEB-INF/ibm-web-ext.xmi AppNameWeb.war/WEB-INF/web.xml AppNameWeb.war/META-INF/Manifest.mf ibm-application-ext.xmi application.xml |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Atari 8-Bit Computers: Frequently Asked Questions | Michael Current | Tech FAQ | 0 | 10-25-2005 01:34 AM |
| MS Windows 32-Bit File Access Meta-FAQ | Mike McCormick | Tech FAQ | 0 | 10-19-2005 01:37 AM |
| Apple II Csa2 FAQs: DOS & ProDOS, Part 6/25 | rubywand@swbell.net | Tech FAQ | 0 | 06-28-2004 03:44 PM |
| Apple II Csa2 FAQs: Uploading & Downloading, Part 21/25 | rubywand@swbell.net | Tech FAQ | 0 | 05-04-2004 10:01 AM |
| Apple II Csa2 FAQs: Error List, Part 8/25 | rubywand@swbell.net | Tech FAQ | 0 | 05-04-2004 10:01 AM |