Add / this line:

WOHost=localhost

Restart wotaskd - very important, this step.

That DID it!!!
Seems we've been here before. I'm going to write it down this time dammit...

http://www.mail-archive.com/[email protected]/ msg00127.html


Thanks a million again (for like the 10th time in the last few years it seems). Seems I don't deploy enough to ever get good at it, I'd have never figured that one out.

Jeff



On Jul 18, 2007, at 8:54 PM, Chuck Hill wrote:


On Jul 18, 2007, at 6:21 PM, jeff Schmitz wrote:

OK, it actually IS running.

Yes, it is.  You have been debugging the wrong problem.


However, I can only connect to it by specifying port 2001. I wasn't specifying that before.

http://localhost:2001/cgi-bin/WebObjects/netbRacquetsATP.woa

Shouldn't I be able to connect without the 2001?

Yes.


And now, how do I convince javamonitor that it's running?

Apache is running?  :-)

What error are you getting when you go to http://localhost/cgi-bin/ WebObjects/netbRacquetsATP.woa

I see you are using localhost in JavaMonitor. That is good. My next guess is that wotaskd is not using this. Edit

/System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/ Resources/Properties

Add / this line:

WOHost=localhost

Restart wotaskd - very important, this step.

Try again.

No love?

sudo apachectl restart

Try again.

Chuck



Jeff

On Jul 18, 2007, at 8:06 PM, Chuck Hill wrote:

And if you have an output path set in JavaMonitor, don't forget the permissions from / down inside of that path.

Chuck


On Jul 18, 2007, at 6:03 PM, Stephen R. Smith wrote:

Did you do this?

Also – make sure you’ve got your permissions set correctly on the .woa bundle in Library/WebObjects/Applications/

ls –l will show you the permissions on everything in there, and you may find if you’ve Finder copied your .woa bundle from workspace/dist, then you’ve got user permissions applied to it (user:staff), and you’ll want to change the group to appserverusr (it displays as appserve), and the owner to appserver

 chown –R appserver:appserverusr YourApp.woa


:Steve


--
Stephen R. Smith
President

Align Software Inc.
2054 Halton Place, Burlington, Ontario, Canada, L7R 1P7
T  : 905.633.9178
C : 905.464.4440
F  : 905.634.1064
[EMAIL PROTECTED]
http://www.alignsoft.com

'Bringing order to chaos in the information age.'



From: Jeff Schmitz <[EMAIL PROTECTED]>
Date: Wed, 18 Jul 2007 19:49:23 -0500
To: Chuck Hill <[EMAIL PROTECTED]>
Cc: <[email protected]>
Subject: Re: Can't deploy

OK, I removed /Library/WebObjects/Configuration/SiteConfig.xml, then restarted and now I can connect to wotaskd.

I readded my app, and still it won't start, and there are no logs.

Next step I guess is wipe the drive and re-install everything, unless there are any other suggestions??

Thanks,
Jeff

On Jul 18, 2007, at 7:21 PM, Chuck Hill wrote:

Is wotaskd running? If you go to http://host:1085 after you launch the app in JM, can you see it in the config?


On Jul 18, 2007, at 5:16 PM, Jeff Schmitz wrote:


Thanks Chuck,
I tried the things on both those links with no luck. I can start my app from the command line running as appserver and it runs fine, so I don't think it's a permissions problem. And I've tried to hit my site after starting it with javamonitor, but it's not there, so I don't think it's a case of javamonitor just not seeing it.

Any other ideas?

Jeff


On Jul 17, 2007, at 10:12 PM, Chuck Hill wrote:



On Jul 17, 2007, at 7:53 PM, Jeff Schmitz wrote:


Seems like I go through this everytime I try to deploy, which is only once or twice a year. I think I write everything down, but everytime something crops up and bites me.

Anyway (enough whining), I built my app on my developement machine (using the WOLips build script) into the dist folder. I copied the resulting app over to my xserve, into /Library/ WebObjects/Applications. I followed the WebObjects deployment guide to setup my host and add my application with JavaMonitor.

Here are my application options:
-WOPort 2001 -WOCachingEnabled YES -WODebuggingEnabled NO - WOOutputPath /dev/null -WOAutoOpenInBrowser NO - WOAutoOpenClientApplication NO -WOLifebeatInterval 30 - WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 - WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 - WOListenQueueSize 128 -WOWorkerThreadCountMin 16 - WOWorkerThreadCountMax 256 -NSProjectSearchPath () - WOSessionTimeOut 1800 -WOStatisticsPassword smsbear1 - WOApplicationName netbRacquetsATP -WOMonitorEnabled YES - WONoPause YES -Xms256M -Xmx512M -WOOutputPath /Users/ netbrackets -WODirectConnectEnabled false - EOAdaptorDebugEnabled false

When I start my app, it just seems to hang (at least in java monitor), and there are no log files output anywhere. I created an empty logWebobjects file in /tmp, but no log file. So, I'm pretty much stuck with no clues as to what's going on. Any ideas? What goes in the HTTPAdapter URL field for the Site? Is using localhost ok for the IP?


For starters, see if this helps:

http://www.gvcsitemaker.com/gvc.webobjects/ faq&mode=single&recordID=66181 http://www.gvcsitemaker.com/gvc.webobjects/ faq&mode=single&recordID=19193


Chuck

--

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










--

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








_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects- [EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/ssmith% 40alignsoft.com

This email sent to [EMAIL PROTECTED]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects- [EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]

--

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








--

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






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to