logo       

Re: WO app deployment on Linux no static image showing up [Permission issue: msg#00057

webobjects-deploy

Subject: Re: WO app deployment on Linux no static image showing up [Permission issue SOLVED]

Hi,

Ren, Xiaowen wrote:
> I install MySchool application under
>
> /Apple/Library/WebObjects/Applications/MySchool.woa
> image used be there under further down ../Contents/WebServerResources, but I
> removed them for testing reason, because I am using split install and setup
> Apache get them from
>
> /Apple/Local/Library/WebServer/Documents/WebObjects/MySchool.woa/Contents/WebServerResources.
>
> Even I copy image back to application dir
> $NEXT_ROOT/Library/WebObjects/Applications/MySchool.woa/Contents/WebServerResources,
> still got the same error.
>
have you restarted the application in the JavaMonitor ?
have you try to access it in direct connect mode ?
> The link
> http://156.13.128.145/WebObjects/MySchool.woa/Contents/WebServerResources/basicbrain.gif
> works, so meant Apache can get there. Not permission problem.
>
> Issue is not the application point to that path.
>
> in apache2.conf I setup
> Alias /WebObjects "/Apple/Local/Library/WebServer/Documents/WebObjects"
> That should be point to right path, but got this in page source code.
>
> <img src="/ERROR/NOT_FOUND/app=MySchool/filename=basicbrain.gif" width="327"
> height="220" />
>
> In apache error.log
> File does not exist: /var/www/ERROR, referer:
> http://156.13.128.145/Apps/WebObjects/MySchool.woa/1/wo/r357YpLM3b2djwjCo7M5Zw/5.3.2.3
>
> With DocumentRoot /var/www
>
this issue "ERROR/NOT_FOUND" in not apache related, it's at application
level which doesn't find the image on the file system, be sure to have
it under :
/Apple/Library/WebObjects/Applications/MySchool.woa/Contents/WebServerResources
and readable by appserv
> OR
> File does not exist: /htdocs, referer:
> http://156.13.128.145/Apps/WebObjects/MySchool.woa/
> Without DocumentRoot /var/www (comment out), I think default DocumentRoot is
> setup to /htdocs in apache2.
>
maybe , DocumentRoot for the vhost should point to directory where you
got your file
the Alias /WebObjects ... is ok as
http://156.13.128.145/WebObjects/MySchool.woa/Contents/WebServerResources/basicbrain.gif
works
> I am not sure is apache problem or WO Apache HTTP Adaptor problem?
>
I don't think it's WO Adaptor problem
> WO Apache HTTP Adaptor could cached some old configuration? if yes, how to
> clear that?
>
I don't think it could, stop start apache will clear configuration.


Aurelien
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@xxxxxxxxxxxxxxx)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise