Harald,
launching the original project from PB shows a similar message:
[2003-02-20 15:49:14 CST] <main> Application project found: Will locate
resources in 'C:\tmp\Movies' rather than 'C:\tmp\Movies\Movies.woa' .
but the Icons are found and displayed correctly.
The eclipse launched version generates a strange path in the html page
source to the gif files:
<CENTER>
<input type=image name="11.9"
src="/cgi-bin/WebObjects/Movies.woa/wr?wodata=ERROR_NOT_FOUND_framework_*nul
l*_filename_DBWizardInsert.gif">
<input type=image name="11.11"
src="/cgi-bin/WebObjects/Movies.woa/wr?wodata=ERROR_NOT_FOUND_framework_*nul
l*_filename_DBWizardUpdate.gif">
<input type=image name="11.13"
src="/cgi-bin/WebObjects/Movies.woa/wr?wodata=ERROR_NOT_FOUND_framework_*nul
l*_filename_DBWizardDelete.gif">
</CENTER>
It looks like the path to the resources are not expanding correctly. The PB
version seems to be able to create the correct Web resource path. See
wodata=C%3A%5Ctmp%5CMovies%5CDBWizardInsert.gif below. The strange %3A and
%5C seems to be the Windows : and \ path stuff.
<CENTER>
<input type=image name="11.9"
src="/cgi-bin/WebObjects.exe/Movies.woa/wr?wodata=C%3A%5Ctmp%5CMovies%5CDBWi
zardInsert.gif" width="64" height="64">
<input type=image name="11.11"
src="/cgi-bin/WebObjects.exe/Movies.woa/wr?wodata=C%3A%5Ctmp%5CMovies%5CDBWi
zardUpdate.gif" width="64" height="64">
<input type=image name="11.13"
src="/cgi-bin/WebObjects.exe/Movies.woa/wr?wodata=C%3A%5Ctmp%5CMovies%5CDBWi
zardDelete.gif" width="64" height="64">
</CENTER>
Here is the entire output from the PB launch version.
> Running 'Movies.woa'...
Configuring launch environment for Movies ...
Launching Movies.
java -Xrs -DWORootDirectory=C:/Apple -DWORootDirectory="C:\Apple"
-DWOLocalRootDirectory="C:\Apple\Local" -DWOUserDirectory="C:\tmp\Movies"
-classpath
"C:\tmp\Movies\Movies.woa\Contents\Resources\Java\movies.jar;C:\Apple\Librar
y\Frameworks\JavaFoundation.framework\Resources\Java\javafoundation.jar;C:\A
pple\Library\Frameworks\JavaXML.framework\Resources\Java\javaxml.jar;C:\Appl
e\Library\Frameworks\JavaEOControl.framework\Resources\Java\javaeocontrol.ja
r;C:\Apple\Library\Frameworks\JavaJDBCAdaptor.framework\Resources\Java\javaj
dbcadaptor.jar;C:\Apple\Library\Frameworks\JavaEOAccess.framework\Resources\
Java\javaeoaccess.jar;C:\Apple\Library\Frameworks\JavaWOExtensions.framework
\Resources\Java\javawoextensions.jar;C:\Apple\Library\Frameworks\JavaWebObje
cts.framework\Resources\Java\javawebobjects.jar " Application
-DWORootDirectory=C:/Apple
[2003-02-20 15:49:09 CST] <main> WOLifebeatDestinationPort=1085
[2003-02-20 15:49:09 CST] <main> WOWorkerThreadCount=8
[2003-02-20 15:49:09 CST] <main> NSProjectSearchPath=("..")
[2003-02-20 15:49:09 CST] <main> WOMaxHeaders=200
[2003-02-20 15:49:09 CST] <main> WOMaxIOBufferSize=8196
[2003-02-20 15:49:09 CST] <main> WOListenQueueSize=128
[2003-02-20 15:49:09 CST] <main> WOCachingEnabled=false
[2003-02-20 15:49:09 CST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
[2003-02-20 15:49:09 CST] <main> WOAdditionalAdaptors=()
[2003-02-20 15:49:09 CST] <main> WOAdaptor=WODefaultAdaptor
[2003-02-20 15:49:09 CST] <main> WOLifebeatEnabled=true
[2003-02-20 15:49:09 CST] <main> WOAllowsConcurrentRequestHandling=false
[2003-02-20 15:49:09 CST] <main> WOAllowsCacheControlHeader=true
[2003-02-20 15:49:09 CST] <main> WOSMTPHost=smtp
[2003-02-20 15:49:09 CST] <main> WOSocketMonitorSleepTime=50
[2003-02-20 15:49:09 CST] <main> WOContextClassName=WOContext
[2003-02-20 15:49:09 CST] <main> WOSessionTimeOut=3600
[2003-02-20 15:49:09 CST] <main> WOSocketCacheSize=100
[2003-02-20 15:49:09 CST] <main>
WOSessionStoreClassName=WOServerSessionStore
[2003-02-20 15:49:09 CST] <main> WODebuggingEnabled=true
[2003-02-20 15:49:09 CST] <main> WOWorkerThreadCountMin=16
[2003-02-20 15:49:09 CST] <main> WORootDirectory=C:/Apple
[2003-02-20 15:49:09 CST] <main> WOMaxSocketIdleTime=180000
[2003-02-20 15:49:09 CST] <main> WOUserDirectory=C:\tmp\Movies
[2003-02-20 15:49:09 CST] <main> WOWorkerThreadCountMax=256
[2003-02-20 15:49:09 CST] <main> WOMonitorEnabled=false
[2003-02-20 15:49:09 CST] <main> WODirectConnectEnabled=true
[2003-02-20 15:49:09 CST] <main> WOAutoOpenClientApplication=true
[2003-02-20 15:49:09 CST] <main>
WOAdaptorURL=http://localhost/cgi-bin/WebObjects.exe
[2003-02-20 15:49:09 CST] <main> WOPort=-1
[2003-02-20 15:49:09 CST] <main> WOApplicationBaseURL=/WebObjects
[2003-02-20 15:49:09 CST] <main> WOAutoOpenInBrowser=true
[2003-02-20 15:49:09 CST] <main> WOLifebeatInterval=30
[2003-02-20 15:49:09 CST] <main> WOLocalRootDirectory=C:\Apple\Local
[2003-02-20 15:49:09 CST] <main> WOIncludeCommentsInResponse=false
[2003-02-20 15:49:09 CST] <main> ------------------------
[2003-02-20 15:49:09 CST] <main> Created adaptor of class WODefaultAdaptor
on port 2176 and address COSMO/10.0.0.182 with WOWorkerThread minimum of 16
and maximum of 256
[2003-02-20 15:49:09 CST] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2003-02-20 15:49:14 CST] <main> *** The application has found the following
opened, development-mode ProjectBuilderWO projects:
(<com.webobjects.appserver._private.WOProjectBundle: projectName='Movies';
bundlePath='C:\tmp\Movies\Movies.woa'; projectPath='C:\tmp\Movies'>)
[2003-02-20 15:49:14 CST] <main> Application project found: Will locate
resources in 'C:\tmp\Movies' rather than 'C:\tmp\Movies\Movies.woa' .
[2003-02-20 15:49:15 CST] <main> Creating LifebeatThread now with: Movies
2176 COSMO/10.0.0.182 1085 30000
Welcome to Movies !
[2003-02-20 15:49:15 CST] <main> Opening application's URL in browser:
http://COSMO:2176/cgi-bin/WebObjects.exe/Movies.woa
[2003-02-20 15:49:15 CST] <main> Waiting for requests...
J.R.
-----Original Message-----
From: Harald Niesche [mailto:haral..heco.de]
Sent: Thursday, February 20, 2003 3:56 PM
To: woproject-de..bjectstyle.org
Subject: Re: App does not find WebServerResources
This archive was generated by hypermail 2.0.0 : Thu Feb 20 2003 - 17:29:43 EST