• 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: Wolips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wolips


  • Subject: Re: Wolips
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 11 Apr 2005 09:30:29 -0700


On Apr 9, 2005, at 12:52 AM, Greg wrote:

Hi,
I am still trying to get my deployment of my project project from eclipse to work. I use monitor to setup all the instances - I don't know any better so if people have a better solution, then I'm all ears. I am deploying on OS X server. I copied the parameters that Monitor uses to launch the instance into the terminal, but it complains about the '()' in the NSSearchPath argument. But the odd part about it is that with a woa bundle from Xcode, the parameters are the same

I also have that exact same parameter and mine launches.


so I don't know why the eclipse one fails to launch from monitor. I can now successfully run it from the command line and access it.

The different is that applications started from JavaMonitor/wotaskd run under the appserver user and not the user you are logged in as. Do you have an Ouput Path set (-WOOutputPath)? The app will not start if the appserver user does not have write permission on this directory. You could try taking this off and seeing if the app will start from Monitor as a first step in troubleshooting this.

Also, edit /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/ Resources/SpawnOfWotaskd.sh so that stdout and stderr are not going to dev null. Again, appserver needs to be able to write to where ever you point this. These files will log errors that happen very early in the app launch process.


Chuck

What I did was just copy the parameters from monitor and launch it from the command line and then monitor refreshes it's detail view and shows the instance is running (as the WOPort matches). After doing this and looking at the console log, there were a lot of messages about cannot get width/height for all my different images. I took a look in the woa package and saw that all my images were in WebServerResources/webserverresources/images. webserverresources/ is in my workspace for the project, but in the Xcode woa, all the images are in Resources not WebServerResources. How do I overcome this?

I am quite happy to change the deployment of WO if it is going to make it easier to do.


If anyone can give me advice on streamlining the deployment would be really appreciated.



Regards, Greg

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
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


  • Follow-Ups:
    • Re: Wolips
      • From: Greg <email@hidden>
References: 
 >Wolips (From: Greg <email@hidden>)

  • Prev by Date: Re: OpenBase vs MySQL
  • Next by Date: Programmer Analyst Position
  • Previous by thread: Wolips
  • Next by thread: Re: Wolips
  • Index(es):
    • Date
    • Thread