Re: Deployment error on start up
Re: Deployment error on start up
- Subject: Re: Deployment error on start up
- From: David LeBer <email@hidden>
- Date: Mon, 19 May 2008 22:18:46 -0400
On 19-May-08, at 9:54 PM, William Hatch wrote:
Hi Chuck,
The particular server it's running on is about a year old, runs
several other apps no problem (all 5.3) so I don't _think that would
be the problem, but on the other hand, I'm extremely reluctant to
question you (or David, for that matter;-)
To be completely honest, I don't know where WOLips/Ant pulls the $jvm
from. Last time it happened to me, I hacked the ClassPath file and
went on with my business figuring I'd track it down when I had time.
But it hasn't reoccurred.
I am still having issues with the "No instance available", which may
be related to this line in the logs during start up:
May 19 20:24:55 locations[N/A] (ERXNSLogLog4jBridge.java:44) DEBUG
NSLog - Created adaptor of class WODefaultAdaptor on port 2004 and
address worldgaming.codefab.com.codefab.com/199.103.21.241 with
WOWorkerThread minimum of 16 and maximum of 256
May 19 20:24:55 locations[2004] (ERXNSLogLog4jBridge.java:44) DEBUG
NSLog - Creating LifebeatThread now with: locations 2004
worldgaming.codefab.com.codefab.com/199.103.21.241 1085 30000
So, it looks like it's adding an extra domain.TLD somehow. I have
the WOHost property set in Monitor, and later on in the log, it
shows properly. If I try to connect using the port, I get a
"...unexpectedly dropped the connection..." Safari message. Any
thoughts here?
Ooo! Ooo! I know this one :-) DNS error. You've got a an A record or a
CNAME without a trailing dot.
worldgaming.codefab.com A 199.103.21.241
should be:
worldgaming.codefab.com. A 199.103.21.241
Notice the dot after the domain. Without it Bind thinks it's a partial
name and appends the rest of the domain to it.
Bill Hatch
Macaulay Library
4-2116
On May 19, 2008, at 8:11 PM, Chuck Hill wrote:
On May 19, 2008, at 5:02 PM, David LeBer wrote:
On 19-May-08, at 7:45 PM, William Hatch wrote:
Oh jeez, sorry, that last one should have been:
Reading MacOSClassPath.txt ...
Launching myApp.woa ...
${jvm} -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
-DWOLocalRootDirectory="" -DWOUserDirectory="/Library/WebObjects/
Applications/locations-prod/myApp.woa" -DWOEnvClassPath="" -
DWOApplicationClass=com.codefab.Application -DWOPlatform=MacOS -
Dcom.webobjects.pid=28757 -classpath WOBootstrap.jar
com.webobjects._bootstrap.WOBootstrap
./CFiPhoneWeb: line 1: exec: -X: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]
Ahh, that's better.
The problem is the ${jvm} value in the exec statement.
That probably should be 'java'
What doest the #JVM == line of your AppName.woa/Contents/MacOS/
MacOS*ClassPath.txt say?
IIRC, this can also come from an incorrect / complete install of
WO. If it can't find WOBootstrap.jar, it uses the WO 5.2 launch
scripts and things go wrong. Mike posted something on this
recently, but I don't have the message at hand. I _think_ this is
the same error. A few people have been bitten by it and some
seemed to have correct install so let us know when you figure it
out.
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
_______________________________________________
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
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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