Mail Archive Home | enhydra List | November 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Petr Stehlik píše v Po 14. 11. 2005 v 16:30 +0100: Slobodan, > > regarding your Enhydra project startup exception: > > It seems that you didn't rebuild your Enhydra application trough > > 'Enhydra Ant Rebuild' action. This is necessary for CATALINA_BASE > > preparations in your application (bin) output directory. > > > > Please, before starting application try to execute 'Eclipse Main Menu -> > > Enhydra Tools -> Ant Rebuild' action! > > I just did ant rebuild, same problem as before. Note that I run it from > the Eclipse menu via Run -> Run -> Enhydra Application -> > New_configuration (and all options default, didn't touch them). The problem lies here: in Arguments tab of the Run New_configuration the Working directory is empty. That's why the server.xml is not found and thus the catalina crashes. The solution is very simple: it's enough to click on the [Workspace...] button that automatically prefills the correct path to the Working directory. Then Run works. Voila! Another thing that user must know is that the application awaits him/her at http://localhost:8080/test (if the application is named "test"). These two little pieces of information should find their way into the Enhydra documentation. They can save a LOT of time (two days, in my case). Last thing in this Kelp generated Enhydra application is to get the debugging working. Currently Eclipse stops at the breakpoint and reports that no source code was found. The problem is that Eclipse doesn't search for the source code in the application directory. I am trying to find out how to add the app directory to the search path. Will keep you informed :-) Petr
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.