Hi,
Nearly there.
I have my frameworks converted to use Maven (dependencies are nice btw), and have got my first app to run in Development. I deploy it (for now), using [Run As : Maven Install], and copy the resulting tar.gz file to the server.
When I run it on the server, the app tries to start up, goes 100% CPU for about 4 minutes, then finally starts. To be fair, it is on a Raspberry Pi, but the old (pre-maven) ant build didn’t have this problem.
java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
Application log: ..etc.. /opt/mg/apps/Switches/Switches-V3.woa/Contents/Resources/Java/com/webobjects/JavaWebServicesSupport/5.4.3/JavaWebServicesSupport-5.4.3.jar /opt/mg/apps/Switches/Switches-V3.woa/Contents/Resources/Java/com/webobjects/JavaXML/5.4.3/JavaXML-5.4.3.jar SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation WILL ADD SHUTDOWNHOOK Jan 06 13:56:37 N/A[N/A] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties. Jan 06 13:56:37 N/A[N/A] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties. <<== LONG WAIT HERE ==>> Jan 06 14:00:10 N/A[N/A] WARN NSLog - Couldn't load properties file: /home/pi/WebObjects.properties at path: /home/pi Jan 06 14:00:10 N/A[N/A] DEBUG NSLog - WOMaxIOBufferSize=8196 ..etc..
Any thoughts on what is causing it to go mental?
Mark
Paul,
I was going to show you the error. (which was something like ‘wonder.ajax : Ajax.jar not found’)
but when I tried to reproduce it, it only went and worked !! (rather suspiciously)
Although I am not complaining.
Thanks for you help,
Mark
Hi Mark,
My issue now is trying to get Ajax (from the Wonder Frameworks) into the mix.
I have tried various entries in the pom file (such as) ------ <dependency> <groupId>wonder.ajax</groupId> <artifactId>Ajax</artifactId> <version>${wonder.version}</version> </dependency> ------ But no success yet.
Any ideas?
That should certainly do it, as long as you’re declaring wonder.version somewhere, either in that project’s POM or some parent of it. What’s the error you’re seeing?
_________________ Mark Gowdy Gowdy Associates Ltd M: +44 7808 400 941 Skype: markgowdy
_________________ Mark Gowdy Gowdy Associates Ltd M: +44 7808 400 941 Skype: markgowdy
|