Re: Project Wonder / Eclipse / WOLips

From: Colin Shreffler (colin.shreffle..arp9software.com)
Date: Tue Sep 27 2005 - 10:27:50 EDT

  • Next message: Brendan Duddridge: "EOModels missing in xcodeproj"

    Sorry about the formatting, it appears fine on my end, but I guess it is
    getting scrambled during transmission.

    I find it curious that the application won't run, my project only includes
    a reference to the model file, I'm not even referencing it in code. Do
    you think it will run after making those changes?

    > You will need to fix up your eomodel file with respect to the foreign
    > keys used in the relationships. Wonder tells you that there are
    > inconsistencies with your model. Try fixing that and see how you go.
    > The format looks pretty crap. Is it not putting it on a new line for
    > each log entry or is it just the email?
    >
    > greg
    >
    > On 27/09/2005, at 4:31 PM, Colin Shreffler wrote:
    >
    >> Greg/Mike:
    >>
    >> I can get the application to run properly until I add Project
    >> Wonder Framework references to my project. When I do so, I get the
    >> following output and the application doesn't launch. Below this is
    >> a copy of my Properties File...
    >>
    >> Any ideas?
    >>
    >> Sep 27 00:25:43 main 182 INFO er.extensions.ERXLogger - Updated
    >> the logging configuration with the current system properties. Sep
    >> 27 00:25:43 main 182 INFO er.extensions.ERXLogger - Updated the
    >> logging configuration with the current system properties. Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOMaxIOBufferSize=8196 Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOWorkerThreadCountMin=16 Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOSocketMonitorSleepTime=50 Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WODirectConnectEnabled=true Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOIncludeCommentsInResponse=false
    >> Sep 27 00:25:43 main 44 DEBUG NSLog - WOWorkerThreadCount=8 Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOAdaptorURL=http://127.0.0.1/cgi-
    >> bin/WebObjects Sep 27 00:25:43 main 44 DEBUG NSLog - WOIDE=WOLips
    >> Sep 27 00:25:43 main 44 DEBUG NSLog - WODebuggingEnabled=true Sep
    >> 27 00:25:43 main 44 DEBUG NSLog - WOListenQueueSize=128 Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOMissingResourceSearchEnabled=true
    >> Sep 27 00:25:43 main 44 DEBUG NSLog -
    >> WOApplicationClassName=Application Sep 27 00:25:43 main 44 DEBUG
    >> NSLog - WOSessionStoreClassName=WOServerSessionStore Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOContextClassName=WOContext Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOCachingEnabled=false Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOAcceptMalformedCookies=false Sep
    >> 27 00:25:43 main 44 DEBUG NSLog - NSProjectSearchPath=("..") Sep
    >> 27 00:25:43 main 44 DEBUG NSLog - WOMonitorEnabled=false Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOAllowRapidTurnaround=true Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOGenerateWSDL=true Sep 27 00:25:43
    >> main 44 DEBUG NSLog - WOWorkerThreadCountMax=256 Sep 27 00:25:43
    >> main 44 DEBUG NSLog - WOAllowsConcurrentRequestHandling=false Sep
    >> 27 00:25:43 main 44 DEBUG NSLog - WOAdaptor=WODefaultAdaptor Sep
    >> 27 00:25:43 main 44 DEBUG NSLog - WOSessionTimeOut=3600 Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOMaxSocketIdleTime=180000 Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WODefaultUndoStackLimit=10 Sep 27
    >> 00:25:43 main 44 DEBUG NSLog - WOAutoOpenClientApplication=true
    >> Sep 27 00:25:43 main 44 DEBUG NSLog - WOAutoOpenInBrowser=false
    >> Sep 27 00:25:43 main 44 DEBUG NSLog - WOApplicationBaseURL=/
    >> WebObjects Sep 27 00:25:43 main 44 DEBUG NSLog - WOMaxHeaders=200
    >> Sep 27 00:25:43 main 44 DEBUG NSLog - WOLifebeatEnabled=true Sep
    >> 27 00:25:43 main 44 DEBUG NSLog -
    >> WOAllowsCacheControlHeader=trueSep 27 00:25:43 main 44 DEBUG NSLog
    >> - WOSMTPHost=smtp Sep 27 00:25:43 main 44 DEBUG NSLog -
    >> WOFrameworksBaseURL=/WebObjects/Frameworks Sep 27 00:25:43 main 44
    >> DEBUG NSLog - WOStatisticsStoreSessionMax=50 Sep 27 00:25:43 main
    >> 44 DEBUG NSLog - WOAdditionalAdaptors=() Sep 27 00:25:43 main 44
    >> DEBUG NSLog - WOLifebeatDestinationPort=1085 Sep 27 00:25:43 main
    >> 44 DEBUG NSLog - WOPort=-1 Sep 27 00:25:43 main 44 DEBUG NSLog -
    >> WOLifebeatInterval=30 Sep 27 00:25:43 main 44 DEBUG NSLog -
    >> WOSocketCacheSize=100 Sep 27 00:25:43 main 44 DEBUG NSLog -
    >> WOUserDirectory=/Users/cshreffler/Documents/workspace/oms/build/
    >> oms.woa Sep 27 00:25:43 main 44 DEBUG NSLog -
    >> WODisplayExceptionPages=true Sep 27 00:25:43 main 44 DEBUG NSLog -
    >> ------------------------ Sep 27 00:25:43 main 44 DEBUG NSLog -
    >> Created adaptor of class WODefaultAdaptor on port 53767 and address
    >> titan/192.168.0.4 with WOWorkerThread minimum of 16 and maximum of
    >> 256 Sep 27 00:25:43 main 44 DEBUG NSLog - NSBundle is unable to
    >> find "ExtensionsForResources.plist" in the main bundle. Ignoring
    >> optional configuration file. Sep 27 00:25:44 main 41 WARN NSLog -
    >> Application project found: Will locate resources in '' rather than
    >> '/Users/cshreffler/Documents/workspace/oms/build/oms.woa' . Sep 27
    >> 00:25:46 main 44 DEBUG NSLog - *** The application has found the
    >> following opened, development-mode Xcode projects:
    >> (<com.webobjects.appserver._private.WOProjectBundle:
    >> projectName='oms'; bundlePath='/Users/cshreffler/Documents/
    >> workspace/oms/build/oms.woa'; projectPath=''>) Sep 27 00:25:47 main
    >> 44 DEBUG NSLog - Creating LifebeatThread now with: oms 53767 titan/
    >> 192.168.0.4 1085 30000 Sep 27 00:25:47 main 38 INFO NSLog -
    >> Welcome to oms ! Sep 27 00:25:48 main 775 INFO
    >> er.extensions.ERXProperties - ERXProperties has found the
    >> following Properties files: Framework: ERExtensions (not opened,
    >> installed) /Library/Frameworks/ERExtensions.framework/Resources/
    >> Properties Framework: JavaJDBCAdaptor (not opened, installed) /
    >> System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/
    >> Properties Framework: JavaWebObjects (not opened, installed) /
    >> System/Library/Frameworks/JavaWebObjects.framework/Resources/
    >> Properties Application: oms (not opened, installed) /Users/
    >> cshreffler/Documents/workspace/oms/build/oms.woa/Contents/Resources/
    >> Properties Sep 27 00:25:48 main 182 INFO er.extensions.ERXLogger
    >> - Updated the logging configuration with the current system
    >> properties. Sep 27 00:25:48 main 395 WARN
    >> er.extensions.ERXEntityClassDescription - CustomerContact:
    >> relationship 'customerContact_customer' is marked to-one and
    >> optional, but the foreign key 'customerFID' does NOT allow NULL
    >> values Sep 27 00:25:48 main 395 WARN
    >> er.extensions.ERXEntityClassDescription - CustomerContact:
    >> relationship 'customerContact_salutation' is marked to-one and
    >> optional, but the foreign key 'salutationFID' does NOT allow NULL
    >> values Sep 27 00:25:48 main 395 WARN
    >> er.extensions.ERXEntityClassDescription - Job: relationship
    >> 'job_customer' is marked to-one and optional, but the foreign key
    >> 'customerFID' does NOT allow NULL values Sep 27 00:25:48 main 395
    >> WARN er.extensions.ERXEntityClassDescription - Job: relationship
    >> 'job_jobType' is marked to-one and optional, but the foreign key
    >> 'jobTypeFID' does NOT allow NULL values Sep 27 00:25:48 main 395
    >> WARN er.extensions.ERXEntityClassDescription - Job: relationship
    >> 'job_vatType' is marked to-one and optional, but the foreign key
    >> 'vatTypeFID' does NOT allow NULL values Sep 27 00:25:48 main 41
    >> WARN NSLog -
    >>
    >>
    >> ===================================================
    >>
    >> # ########################################################### #
    >> ############## Adaptor Context SQL logging ################ #
    >> ########################################################### # put
    >> this to true if you want to log sql stuff
    >> er.extensions.ERXAdaptorChannelDelegate.enabled=true # put this to
    >> INFO or DEBUG
    >> log4j.category.er.extensions.ERXAdaptorChannelDelegate.sqlLogging=DEBU
    >> G # ########################################################### #
    >> ########################################################### #
    >> ############# EOModel stuff ############################### #
    >> ########################################################### # in
    >> this example we use only one database and one EOModel # this is all
    >> for Postgresql!!! # the database user's name
    >> dbConnectUserGLOBAL=<username removed> # the database user's
    >> password dbConnectPasswordGLOBAL=<password removed> # the Plugin
    >> name to use dbConnectPluginGLOBAL=Postgresql # the hostname or IP
    >> address where the database server runs
    >> dbConnectHostNameGLOBAL=127.0.0.1:5432 # the driver which should be
    >> used by EOF dbConnectDriverGLOBAL=org.postgresql.Driver # the
    >> database name dbConnectServerGLOBAL=<database name removed> #
    >> ########################################################### #
    >> ########################################################### #
    >> ############### LOCALIZATION SUPPORT ###################### #
    >> ########################################################### # this
    >> chapter is coming later!
    >> er.extensions.ERXLocalizer.frameworkSearchPath=(app,ERExtensions) #
    >> ########################################################### #
    >> ########################################################### #
    >> ###################### ERExtensions ####################### #
    >> ########################################################### # turn
    >> OFF shared editing usage unless you -really- know how to use it #
    >> this prevents EOF deadlocks!
    >> er.extensions.ERXEC.useSharedEditingContext=false # now you can
    >> turn on concurrent request handling # EOF deadlocks should not
    >> occur, if they do please report # the stack trace to
    >> david.tera..luster9.com WOAllowsConcurrentRequestHandling=true #
    >> We want to disable undo for the EOEditingContext's # if you want to
    >> use it simply replace the 0 with another positive number
    >> WODefaultUndoStackLimit=0 # turning this to true will path WO in
    >> order to produce # -real- XHTML compliant HTML code with the WO
    >> dynamic elements # like WOImage, WOCheckbox and so on
    >> er.extensions.ERXPatcher.cleanupXHTML=true # you can use multiple
    >> EOF stacks on the fly, just # set the value to the number of the
    >> desired EOF stacks # for normal developers: please do not change
    >> this unless # you know what multiple EOF stacks mean for your
    >> application
    >> er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=1 #
    >> please do not change this. If its true then PW will automatically #
    >> unlock all EOEditingContexts which where created by the current #
    >> WOWorkerThread. This is especially important for D2W applications #
    >> and prevents EOF deadlocks.
    >> er.extensions.ERXApplication.useEditingContextUnlocker=true # if
    >> this is true then PW willa automatically lock an unlock # each
    >> EOEditingContext on the relevant operations. This is # slow and
    >> just for debugging purpose.
    >> er.extensions.ERXEC.defaultAutomaticLockUnlock=false # the follwing
    >> things should be as they are # documentation is coming later
    >> er.extensions.ERXCompilerProxyEnabled=false
    >> er.directtoweb.ERDirectToWeb.shouldRaiseExceptions=false
    >> er.extensions.ERXRaiseOnMissingEditingContextDelegate=false
    >> er.extensions.ERXGenericRecord.useValidity=false
    >> er.extensions.ERXCompilerProxyEnabled=false
    >> er.extensions.ERXDatabaseContextDelegate.switchConnetionReadWrite=fals
    >> e
    >> er.extensions.ERXApplication.useSessionStoreDeadlockDetection=false
    >> er.extensions.ERXDirectAction.ChangeSystemPropertyPassword=
    >> er.extensions.ERXAdaptorChannelDelegate.enabled=true
    >> er.extensions.ERXJDBCConnectionBroker.poolModelConnections=true
    >> er.extensions.ERXJDBCConnectionBroker.connectionPingEnabled=false
    >> er.extensions.ERXJDBCConnectionBroker.connectionPingInterval=100
    >> er.extensions.ERXJDBCConnectionBroker.connectionPingSQL=select 1+1
    >> # ########################################################### #
    >> ###################### general stuff ###################### #
    >> ########################################################### # its
    >> always a good idea to turn this to true if you use # the java awt
    >> package java.awt.headless=true
    >> ######################################################################
    >> ### # ERXAdaptorChannelDelegate
    >> ######################################################################
    >> ### ## Enable delegate to emit SQL debugging info. The Logger used
    >> is
    >> #log4j.category.er.extensions.ERXAdaptorChannelDelegate.sqlLogging=DEB
    >> UG # put this to true if you want to log sql stuff #
    >> er.extensions.ERXAdaptorChannelDelegate.enabled=false ## How long a
    >> statement must run to cause a log message. Messages with longer
    >> than ## error also emit a stack-trace
    >> er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.debug=1
    >> er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.info=50
    >> er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.warn=1000 e
    >> r.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.error=5000 #
    >> # MaxLength of the message
    >> er.extensions.ERXAdaptorChannelDelegate.trace.maxLength = 3000 ##
    >> What entities to watch
    >> er.extensions.ERXAdaptorChannelDelegate.trace.entityMatchPattern
    >> = .* # ###########################################################
    >> # ########################## ERJavaMail ##################### #
    >> ########################################################### # this
    >> is coming in a later version er.javamail.adminEmail=admi..est.de #
    >> er.javamail.smtpHost=an.smtp.server er.javamail.centralize=false
    >> er.javamail.debugEnabled=false #
    >> ########################################################### #
    >> ############### LOG4J stuff ############################### #
    >> ########################################################### # we
    >> want to log all output to the console
    >> log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender # turn LOG4J
    >> debugging on with this property: #log4j.debug=true # set log
    >> factory log4j.loggerFactory=er.extensions.ERXLogger$Factory # Set
    >> root category priority to INFO and its only appender to STDOUT.
    >> log4j.rootCategory=INFO, STDOUT # STDOUT uses PatternLayout.
    >> log4j.appender.STDOUT.layout=er.extensions.ERXPatternLayout
    >> #log4j.appender.STDOUT.layout.ConversionPattern=%d{MMM dd HH:mm:ss}
    >> %$[%#] (%F:%L) %-5p %c %x - %m%n
    >> log4j.appender.STDOUT.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %
    >> t %L %-5p %c %x - %m%n # %d = date # %$ appname # %# port # %F file
    >> # %L line # %-5p category # %c category # #
    >> log4j.appender.STDOUT.layout.ConversionPattern=%d{MMM dd HH:mm:ss}
    >> %-5p %c{1} %m%n # Note that (%F:%L) is fairly slow and shouldn't be
    >> used in performance intensive logging # The above pattern will
    >> produce logs that look like: # Jun 18 17:46:18 MyAppName[4002]
    >> (MyClassFile.java:40) INFO er.foo.MyCategory - Some log # Add
    >> application properties here
    >
    >
    >

    Thank you,
    Colin Shreffler
    Principal
    303.349.9010 - cell
    928.396.1099 - fax
    colin.shreffle..arp9software.com

    Warp 9 Software, LLC.
    6791 Halifax Avenue
    Castle Rock, CO 80104

    Confidentiality Notice: The information in this e-mail may be confidential
    and/or privileged. This e-mail is intended to be reviewed by only the
    individual or organization named in the e-mail address. If you are not the
    intended recipient, you are hereby notified that any review, dissemination
    or copying of this e-mail and attachments, if any, or the information
    contained herein, is strictly prohibited.



    This archive was generated by hypermail 2.0.0 : Tue Sep 27 2005 - 10:27:58 EDT