Put component files in WebServerResources after built/run
Put component files in WebServerResources after built/run
- Subject: Put component files in WebServerResources after built/run
- From: "Cheong Hee (Datasonic)" <email@hidden>
- Date: Mon, 11 Feb 2008 17:51:02 +0800
What is the setting to automagically include all the files in the Components
(.wo, .api etc) into build/contents/app.woa/WebServerResources after built
process? I have just tested with WOLipsTest and strange thing is it could
not be launched due to missing Main.wo in WebServerResources. Once the
Main.wo and related files are copied over 'manually' into
WebServerResources, it is then showed up on browser.
Also, why the it complained about the principal class 'test.wolips' not
found in bundle WOLipsTest, where it has been defined in the package. And
the message 'NSBundle is unable to find "ExtensionsForResources.plist" in
the main bundle'. Please see the details output as the following:
[2008-2-11 9:10:57 SGT] <main> Principal class 'test.wolips' not found in
bundle WOLipsTest
[2008-2-11 9:10:57 SGT] <main> WOMaxIOBufferSize=8196
[2008-2-11 9:10:57 SGT] <main> WOWorkerThreadCountMin=16
[2008-2-11 9:10:57 SGT] <main> WOSocketMonitorSleepTime=50
[2008-2-11 9:10:57 SGT] <main> WODirectConnectEnabled=true
[2008-2-11 9:10:57 SGT] <main> WOIncludeCommentsInResponse=false
[2008-2-11 9:10:57 SGT] <main> WOWorkerThreadCount=8
[2008-2-11 9:10:57 SGT] <main>
WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
[2008-2-11 9:10:57 SGT] <main> WOLaunchdEnabled=false
[2008-2-11 9:10:57 SGT] <main> WOIDE=WOLips
[2008-2-11 9:10:57 SGT] <main> WODebuggingEnabled=true
[2008-2-11 9:10:57 SGT] <main> WOListenQueueSize=128
[2008-2-11 9:10:57 SGT] <main> WOMissingResourceSearchEnabled=true
[2008-2-11 9:10:57 SGT] <main>
WOApplicationClassName=test.wolips.Application
[2008-2-11 9:10:57 SGT] <main> WOSessionStoreClassName=WOServerSessionStore
[2008-2-11 9:10:57 SGT] <main> WOContextClassName=WOContext
[2008-2-11 9:10:57 SGT] <main> WOCachingEnabled=false
[2008-2-11 9:10:57 SGT] <main> WOAcceptMalformedCookies=false
[2008-2-11 9:10:57 SGT] <main> NSProjectSearchPath=(..,../..)
[2008-2-11 9:10:57 SGT] <main> WOMonitorEnabled=false
[2008-2-11 9:10:57 SGT] <main> WOAllowRapidTurnaround=true
[2008-2-11 9:10:57 SGT] <main> WORootDirectory=C:\Apple5_4_0
[2008-2-11 9:10:57 SGT] <main> WOGenerateWSDL=true
[2008-2-11 9:10:57 SGT] <main> WOWorkerThreadCountMax=256
[2008-2-11 9:10:57 SGT] <main> WOAllowsConcurrentRequestHandling=false
[2008-2-11 9:10:57 SGT] <main> WOAdaptor=WODefaultAdaptor
[2008-2-11 9:10:57 SGT] <main> WOSessionTimeOut=3600
[2008-2-11 9:10:57 SGT] <main> WORoot=C:\Apple5_4_0
[2008-2-11 9:10:57 SGT] <main> WOMaxSocketIdleTime=180000
[2008-2-11 9:10:57 SGT] <main> WODefaultUndoStackLimit=10
[2008-2-11 9:10:57 SGT] <main> WOAutoOpenClientApplication=true
[2008-2-11 9:10:57 SGT] <main> WOAutoOpenInBrowser=true
[2008-2-11 9:10:57 SGT] <main> WOApplicationBaseURL=/WebObjects
[2008-2-11 9:10:57 SGT] <main> WOMaxHeaders=200
[2008-2-11 9:10:57 SGT] <main> WOLifebeatEnabled=true
[2008-2-11 9:10:57 SGT] <main> WOAllowsCacheControlHeader=true
[2008-2-11 9:10:57 SGT] <main> WOSMTPHost=smtp
[2008-2-11 9:10:57 SGT] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
[2008-2-11 9:10:57 SGT] <main> WOStatisticsStoreSessionMax=50
[2008-2-11 9:10:57 SGT] <main> WOAdditionalAdaptors=()
[2008-2-11 9:10:57 SGT] <main> WOLifebeatDestinationPort=1085
[2008-2-11 9:10:57 SGT] <main> WOPort=-1
[2008-2-11 9:10:57 SGT] <main> WOLifebeatInterval=30
[2008-2-11 9:10:57 SGT] <main> WOSocketCacheSize=100
[2008-2-11 9:10:57 SGT] <main>
WOUserDirectory=C:\CheongHee\UserAreaWO\Eclipse\workspace\WOLipsTest\build\WOLipsTest.woa
[2008-2-11 9:10:57 SGT] <main> WODisplayExceptionPages=true
[2008-2-11 9:10:57 SGT] <main> ------------------------
[2008-2-11 9:10:57 SGT] <main> WebObjects version = 5.4
[2008-2-11 9:10:57 SGT] <main> Created adaptor of class WODefaultAdaptor on
port 1112 and address CHNGXP/192.168.0.24 with WOWorkerThread minimum of 16
and maximum of 256
[2008-2-11 9:10:57 SGT] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2008-2-11 9:10:59 SGT] <main> Creating LifebeatThread now with:
WOLipsTest -1 CHNGXP/192.168.0.24 1085 30000
Welcome to WOLipsTest !
[2008-2-11 9:10:59 SGT] <main> null
[2008-2-11 9:10:59 SGT] <main> Your application is not running on a
supported development platform. AutoLaunch will not work.
Your application's URL is:
http://192.168.0.24:1112/cgi-bin/WebObjects/WOLipsTest.woa
[2008-2-11 9:10:59 SGT] <main> Waiting for requests...
[2008-2-11 9:11:57 SGT] <WorkerThread0>
<com.webobjects.appserver._private.WOComponentDefinition> No template found
for component Main at
"file:/C:/CheongHee/UserAreaWO/Eclipse/workspace/WOLipsTest/build/WOLipsTest.woa/".
[2008-2-11 9:11:57 SGT] <WorkerThread0>
<com.webobjects.appserver._private.WOComponentRequestHandler>: Exception
occurred while handling request:
Thanks..
Cheong Hee
_______________________________________________
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