• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Javamonitor =- no images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Javamonitor =- no images


  • Subject: Re: Javamonitor =- no images
  • From: John Andersson <email@hidden>
  • Date: Thu, 19 Aug 2004 11:42:16 +0200

Try creating this path inside your "/Library/WebServer/Documents/" folder (or wherever your website's homedirectory is):

WebObjects/JavaMonitor.woa/Contents/WebServerResources/

..and copy all the files inside the WebServerResources directory in the real JavaMonitor.woa app to this place, or make a symbolic link instead of copying "WebServerResources"

Brg
/John


[osxs:Documents/WebObjects/Frameworks] root#

2004-08-19 kl. 11.15 skrev David Griffith:

Hi Robert,

I have had some success with this.  I changed the adaptor address to:

/cgi-bin/WebObjects

And I created a symbolic link in both the default site and my own site to
the WebObjects folded located in /Library/WebServer/Documents/ (which
contains the JavaMonitor.woa package).


Now, I get the icons on the first page of JavaMonitor, but in detail view
they do not appear. (at least the ones for switching on/off etc don't)


This doesn't make sense as I can type:

http://mysite.com/WebObjects/JavaMonitor.woa/Contents/ WebServerResources/Pow
erSwitchOn.gif and it does display.


Any ideas?

Regards,
David.

David,

I would try this:

If this is your sites root directory:
/Library/WebServer/Documents/MySite

try creating a symbolic link inside the MySite directory pointing to:
/Library/WebServer/Documents/WebObjects

Basically think of it this way:
In the default configuraiton:
$DOCUMENT_ROOT = /Library/WebServer/Documents
in your case it may be something like:
$DOCUMENT_ROOT = /Library/WebServer/Documents/MySite

From the browser web server resources for WO would be:
http://www.mysite.com/WebObjects/JavaMonitor.woa/Contents/
WebServerResources

You could simply create a WebObjects subfolder under MySite and copy
JavaMonitor.woa from /Library/WebServer/Documents/WebObjects into the
new WebObjects folder.  However, a symbolic link should give you the
same thing.

From a UNIX terminal you can create a symbolic link with these commands:
cd /Library/WebServer/Documents/MySite
ln -s WebObjects /Library/WebServer/Documents/WebObjects


Like I said before, I think either of these methods will work, but I
haven't tried them myself.  I'm not completely sure if Apache will
follow the symbolic link and give you access to the web server
resources.  Just try it and see.

On Aug 18, 2004, at 11:27 AM, David Griffith wrote:

Hi Robert,

No it doesn't appear. Obviously there's a problem somewhere. When
you say
DocumentRoot, are you referring to the DocumentRoot specified for the
particular Virtual Host? It is set to a subdirectory of the Documents
folder in WebServer. *for this particular host


So, if I am using JavaMonitor, where should it be in relation to the
Virtual
Hosts?

My setup:

WebServer/Documents/
WebServer/Documents/Host1/
WebServer/Docuemtns/Host2/

There is a WebObjects folder at:
WebServer/Documents/WebObjects
Which contains the JavaMonitor.woa package.

I have also copied this to:
WebServer/Documents/Host1/WebObjects

To see if that would help, but it didn't.

Each Virtual Host has it's own Document Root.

Just don't really know what the issue is here.

Regards,
Dave.

David,

Sounds to me like an Apache configuration problem.

Try entering this in your web browser and see if the image displays:
http://www.domain.com/WebObjects/JavaMonitor.woa/Contents/
WebServerResources/AppleLogo.gif

Note: Of course replace "www.domain.com" with the domain or IP address
of your web server.


The Apple logo from the JavaMonitor application should display. If it
does not, then you have a web server configuration problem, or the
JavaMonitor's web server resources are not in your
$DOCUMENT_ROOT/WebObjects directory.


If you have pointed your web site's document root to something other
than /Library/WebServer/Documents then you will either need to copy
JavaMonitor's web server resources into a WebObjects subdirectory
under
your document root or maybe you could add a symbolic link to
/Library/WebServer/Documents/WebObjects from inside your document
root.
I've not tried this myself so some experimenting may be in order.

On Aug 18, 2004, at 6:35 AM, David Griffith wrote:

HI all,

Anyone had the problem where none of the images display in
JavaMonitor?
Doing my head in... :-)

Regards,
David.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


--
Robert Walker
www.robertwalker1.com
homepage.mac.com/robertwalker1

"There are 10 kinds of people in the world. Those who think in binary
and those who don't."
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


--
Sincerely,
Robert Walker
Programmer
Bennett Technology Group
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Javamonitor =- no images (From: David Griffith <email@hidden>)

  • Prev by Date: Re: Javamonitor =- no images
  • Next by Date: Re: Tip on Troubleshooting Code Sense
  • Previous by thread: Re: Javamonitor =- no images
  • Next by thread: Re: Using WebObjects with Virtual Hosting
  • Index(es):
    • Date
    • Thread