I set up my application on a server, but when I try to launch it via JavaMonitor, I get:
/Local/Library/WebObjects/Applications/FAIdealDashboard.woa/FAIdealDashboard
java.io.IOException: error=12, Cannot allocate memory
This happens immediately, before any logging can occur. The application runs fine in development.
Initially, I was getting the same error when I tried to run the application from the command line on the server. So I changed the launch parameters in the UNIXClassPath.txt to set memory parameters, and then I could launch the application from the command line.
But still the application won't launch through JavaMonitor. Are there other steps I need to take to adjust the memory within WebObjects? (I've tried removing the application and adding the application and an instance, but to no avail.)
This is running on a CentOS system. The application is fully embedded.
When I run from the command line, I can connect to the application, but it throws an exception:
Error: | java.lang.IllegalArgumentException: Class 'Main' exists but is not a subclass of WOComponent. |
Main is a subclass of ERXComponent. I doubt this is related, but just in case.
John
|