(Different than WOs of course)

Of course I could have said my Woes with WO.

Please I need some guidance……..

There is no Webobjects of any flavor on the machine.  I downloaded java:

java --version
java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)
asacksadmin@iMac ~ % 


Maven:

mvn --version
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /Users/asacksadmin/Downloads/apache-maven-3.9.9
Java version: 21.0.5, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "15.2", arch: "aarch64", family: “mac"

I followed the example from Ramsey:

https://github.com/nullterminated/SimpleWOApp

And it worked fine 😍

So on to eclipse and Wolips and maven.

In Eclipse, I create a new Project and I must be setting up something wrong 
because after I create this new project I try to run it I get (No Joy):

[2025-1-4 20:34:13 EST] <main> WOMaxIOBufferSize=8196
[2025-1-4 20:34:13 EST] <main> WOWorkerThreadCountMin=16
[2025-1-4 20:34:13 EST] <main> WOSocketMonitorSleepTime=50
[2025-1-4 20:34:13 EST] <main> WODirectConnectEnabled=true
[2025-1-4 20:34:13 EST] <main> WOIncludeCommentsInResponse=false
[2025-1-4 20:34:13 EST] <main> WOWorkerThreadCount=8
[2025-1-4 20:34:13 EST] <main> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
[2025-1-4 20:34:13 EST] <main> WOLaunchdEnabled=false
[2025-1-4 20:34:13 EST] <main> WOHost=127.0.0.1
[2025-1-4 20:34:13 EST] <main> WOIDE=WOLips
[2025-1-4 20:34:13 EST] <main> WODebuggingEnabled=true
[2025-1-4 20:34:13 EST] <main> WOListenQueueSize=128
[2025-1-4 20:34:13 EST] <main> WOMissingResourceSearchEnabled=true
[2025-1-4 20:34:13 EST] <main> 
WOApplicationClassName=org.example.TedsNewApp.app.Application
[2025-1-4 20:34:13 EST] <main> WOSessionStoreClassName=WOServerSessionStore
[2025-1-4 20:34:13 EST] <main> WOContextClassName=WOContext
[2025-1-4 20:34:13 EST] <main> WOCachingEnabled=false
[2025-1-4 20:34:13 EST] <main> WOAcceptMalformedCookies=false
[2025-1-4 20:34:13 EST] <main> NSProjectSearchPath=(..,../..)
[2025-1-4 20:34:13 EST] <main> WOMonitorEnabled=false
[2025-1-4 20:34:13 EST] <main> WOAllowRapidTurnaround=true
[2025-1-4 20:34:13 EST] <main> WOGenerateWSDL=true
[2025-1-4 20:34:13 EST] <main> WOWorkerThreadCountMax=256
[2025-1-4 20:34:13 EST] <main> WOAllowsConcurrentRequestHandling=false
[2025-1-4 20:34:13 EST] <main> WOAdaptor=WODefaultAdaptor
[2025-1-4 20:34:13 EST] <main> WOSessionTimeOut=3600
[2025-1-4 20:34:13 EST] <main> WOMaxSocketIdleTime=180000
[2025-1-4 20:34:13 EST] <main> WODefaultUndoStackLimit=10
[2025-1-4 20:34:13 EST] <main> WOAutoOpenClientApplication=true
[2025-1-4 20:34:13 EST] <main> WOAutoOpenInBrowser=true
[2025-1-4 20:34:13 EST] <main> WOApplicationBaseURL=/WebObjects
[2025-1-4 20:34:13 EST] <main> WOMaxHeaders=200
[2025-1-4 20:34:13 EST] <main> WOLifebeatEnabled=true
[2025-1-4 20:34:13 EST] <main> WOAllowsCacheControlHeader=true
[2025-1-4 20:34:13 EST] <main> WOSMTPHost=smtp
[2025-1-4 20:34:13 EST] <main> WOStatisticsStoreSessionMax=50
[2025-1-4 20:34:13 EST] <main> WOAdditionalAdaptors=()
[2025-1-4 20:34:13 EST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
[2025-1-4 20:34:13 EST] <main> WOPort=-1
[2025-1-4 20:34:13 EST] <main> WOLifebeatDestinationPort=1085
[2025-1-4 20:34:13 EST] <main> WOLifebeatInterval=30
[2025-1-4 20:34:13 EST] <main> WOSocketCacheSize=100
[2025-1-4 20:34:13 EST] <main> 
WOUserDirectory=/Users/asacksadmin/eclipse-workspace/TedsNewApp/build/TedsNewApp.woa
[2025-1-4 20:34:13 EST] <main> WODisplayExceptionPages=true
[2025-1-4 20:34:13 EST] <main> ------------------------
[2025-1-4 20:34:13 EST] <main> WebObjects version = 5.4.3
[2025-1-4 20:34:13 EST] <main> Created adaptor of class WODefaultAdaptor on 
port 53582 and address localhost/127.0.0.1 with WOWorkerThread minimum of 16 
and maximum of 256
[2025-1-4 20:34:13 EST] <main> NSBundle is unable to find 
"ExtensionsForResources.plist" in the main bundle.  Ignoring optional 
configuration file.
[2025-1-4 20:34:14 EST] <main> Application project found: Will locate resources 
in '/Users/asacksadmin/eclipse-workspace/TedsNewApp/build/TedsNewApp.woa' 
rather than 
'/Users/asacksadmin/eclipse-workspace/TedsNewApp/build/TedsNewApp.woa' .
[2025-1-4 20:34:15 EST] <main> A fatal exception occurred: class 
com.webobjects.foundation.NSTimeZone (in unnamed module @0x462496c8) cannot 
access class sun.security.action.GetPropertyAction (in module java.base) 
because module java.base does not export sun.security.action to unnamed module 
@0x462496c8
[2025-1-4 20:34:15 EST] <main> java.lang.IllegalAccessError: class 
com.webobjects.foundation.NSTimeZone (in unnamed module @0x462496c8) cannot 
access class sun.security.action.GetPropertyAction (in module java.base) 
because module java.base does not export sun.security.action to unnamed module 
@0x462496c8
        at 
com.webobjects.foundation.NSTimeZone.systemTimeZone(NSTimeZone.java:971)
        at 
com.webobjects.foundation.NSTimeZone.defaultTimeZone(NSTimeZone.java:818)
        at 
com.webobjects.foundation.NSTimestampFormatter.defaultFormatTimeZone(NSTimestampFormatter.java:734)
        at 
com.webobjects.appserver.WOStatisticsStore.<clinit>(WOStatisticsStore.java:249)
        at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:853)
        at org.example.TedsNewApp.app.Application.<init>(Application.java:16)
        at 
java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
        at 
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
        at 
java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
        at 
java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:304)
        at java.base/java.lang.Class.newInstance(Class.java:725)
        at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
        at org.example.TedsNewApp.app.Application.main(Application.java:12)


I tried the Maven Clean and I get:

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.example:TedsNewApp:woapplication:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 29, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] -----------------------< org.example:TedsNewApp 
>-----------------------
[INFO] Building TedsNewApp WebObjects Application 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] ---------------------------[ woapplication 
]----------------------------
[WARNING] Ignoring incompatible plugin version 4.0.0-beta-1: The plugin 
org.apache.maven.plugins:maven-compiler-plugin:4.0.0-beta-1 requires Maven 
version 4.0.0-beta-3
[INFO] Latest version of plugin org.apache.maven.plugins:maven-compiler-plugin 
failed compatibility check
[INFO] Looking for compatible RELEASE version of plugin 
org.apache.maven.plugins:maven-compiler-plugin
[INFO] Selected plugin org.apache.maven.plugins:maven-compiler-plugin:3.13.0



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to