here is the end of the JavaMonitor log

2025-12-30 03:38:41,791 INFO  22.35 MB/23.69 MB [main] appserver.ERXApplication (ERXApplication.java:1224) - Wonder version: 7.5-SNAPSHOT 2025-12-30 03:38:41,901 WARN  27.29 MB/18.75 MB [main] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Your application is not running on a supported development platform. AutoLaunch will not work.
Your application's URL is:
http://ip-172-31-68-175.ec2.internal:56789/cgi-bin/WebObjects/JavaMonitor.woa
APPLICATION SHUTDOWN SEQUENCE COMPLETE
                                          Here is the app's log:

Jan 03 01:59:02 TheApp[2001] INFO  org.apache.log4j.Logger  - Updated the logging configuration with the current system properties. Jan 03 01:59:03 TheApp[2001] INFO er.corebl.audittrail.ERCAuditTrailHandler  - Audit trail handler initialized. Jan 03 01:59:03 TheApp[2001] INFO  er.corebl.ERCoreBL  - ERCoreBL finished initializing. Jan 03 01:59:03 TheApp[2001] INFO er.extensions.appserver.ERXApplication  - Wonder version: 7.5-SNAPSHOT Jan 03 01:59:03 TheApp[2001] INFO er.extensions.appserver.ERXApplication  - Welcome to TheApp ! Jan 03 01:59:03 TheApp[2001] DEBUG NSLog  - The URL for webserver connect is:
http://ip-172-31-68-175.ec2.internal/cgi-bin/WebObjects/TheApp.woa/-2001
The URL for direct connect is:
http://ip-172-31-68-175.ec2.internal:2001/cgi-bin/WebObjects/TheApp.woa
Jan 03 01:59:03 TheApp[2001] WARN  NSLog  -
Jan 03 01:59:03 TheApp[2001] DEBUG NSLog  - ***** Warning: The DirectToWeb WebAssistant will not be able to modify your DirectToWeb resources. You must have your application project opened in Project Builder to save changes using the WebAssistant.
Jan 03 01:59:03 TheApp[2001] DEBUG NSLog  - Waiting for requests...
APPLICATION SHUTDOWN SEQUENCE COMPLETE
~


On 1/2/26 8:48 PM, Paul Hoadley wrote:
On 3 Jan 2026, at 11:34 am, Theodore Petrosky <[email protected]> wrote:

the app claims to be "ON"

Excellent! You should also take a look at the logs, which ideally will be in /var/log/webobjects/NewApp-1 for this instance, though depends where you've told JavaMonitor to send output.

but when I click the NewApp-1 above I get:


  Not Found

The requested URL was not found on this server.

What was the URL? In my experience, that hyperlink never gives you the correct URL—I simply never use it.

And in the Site tab:

URL to Adaptor: http://ec2-44-223-43-102.compute-1.amazonaws.com/cgi-bin/WebObjects

In that case, try:

http://ec2-44-223-43-102.compute-1.amazonaws.com/cgi-bin/WebObjects/NewApp.woa/

(Your security group on the EC2 instance will need to allow HTTP traffic through.)

based on your help below, here is my build.properties:

principalClass=com.abc.Application
ApplicationClass = com.abc.Application

Delete "ApplicationClass". Otherwise looks fine.

BTW, where are you in the world?

Adelaide, Australia. UTC+1030.

when I examine on the server in; /opt/WOApplications/NewApp.woa/Contents/UNIX

The top of  UNIXClassPath.txt is:

# JVM              == java
# JVMOptions       == --add-exports java.base/sun.security.action=ALL-UNNAMED
# JDB              == jdb
# JDBOptions       ==
# ApplicationClass == com.abc.Application


Looks fine.

Next steps:

1. Find the logs. You should have told JavaMonitor where to put them. wo-on-ec2 created /var/log/webobjects/ for the purpose.

2. Make sure you're using the correct URL.


--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/

Reply via email to