• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't launch from JavaMonitor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't launch from JavaMonitor


  • Subject: Can't launch from JavaMonitor
  • From: John Baldwin <email@hidden>
  • Date: Tue, 15 Mar 2011 00:42:17 -0700

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


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can't launch from JavaMonitor
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: java.lang.OutOfMemoryError
  • Next by Date: Re: java client and ntlm proxy
  • Previous by thread: ERRest wiki update and Dojo sample
  • Next by thread: Re: Can't launch from JavaMonitor
  • Index(es):
    • Date
    • Thread