on 01-15-2007 12:44 PM
Hi,
I'm trying to make some enhancements to MAM 2.5. I have imported MAM25_eclipse.war into NWDS and then exported into a war file. I have upload this file into webconsole and installed into MI but it doesn't work (getting HTTP 404 - File not found, in trace.txt: Application MAM25_DEVEL cannot be initialized; check WebConsole entry).
Can anybody help me solve this problem?
Thanks and regards
Ivo
Hi Ivo,
with the new enhanced application - do you have two applications deployed on the device?
If yes - they use the same classes and sometimes tomcat gets confused and loads them from the first one. Rename standard one so that it is below the new one.
If no - you have only one MAM deployed on the device, check if application name matches directory name. Might be that application name in request and file structure do not match.
Regards,
Larissa Limarova
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivo,
have you checked that Mobile Component (in WebConsole), the .war file and the getApplication() method return the same string?
Best regards,
Björn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Bjoern: I hope so. The name of the war file is MAM25.war, the name in the WebConsole is MAM25 but I dont know how to find out the name using getApplication() (or getApplicationName() ???). But I think that the name of the application in MAM25_eclipse.war file is MAM25.
Larissa: I have only one application deployed. The application name matches the directory name. But even if the directory name was different from the name of the standart application it worked.
Any other suggestions?
One more thing.
There are no .class files in my .war file (they are in WEB-INF\lib\MAM25.jar) - the same problem as in thread:
In a standard MAM25 application (which is already compiled) there are .class files in WEB-INF\classes directory. The names of these .class files are changed (contain 0005). This application works without problem. (In my exported .war file the names are without 0005 extension moreover thez are in a .jar file as i have mentioned, web.xml file contains values with 0005 extension). So maybe there could be a problem when exporting the .war file in NWDS?
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.