Thank you! That was it! I turns out my server uses a 5.3.1 key that
only allows macosx. But my developer licence is actually a deployment
licence with all platforms allowed!
This saved my day... along with some cool iPhone drooling :-)
If you are ever in Uppsala, Sweden. I owe you a bear.
/Fredrik
_________________________________________________________________
drop, Kålsängsgränd 10 B, 753 19 UPPSALA, Sweden
018-50 56 00, http://www.drop.se
9 jan 2007 kl. 23.45 skrev D Tim Cummings:
Make sure you are using the WebObjects 5.3.2 license key. The
WebObjects 5.3.1 license key won't work. You can check using the
code below.
//to compile, save as LicenseCheck.java and then type
// javac -classpath /Library/WebObjects/lib/JavaWebObjects.jar
LicenseCheck.java
//
public class LicenseCheck extends
com.webobjects.appserver._private.License {
public LicenseCheck(String s) {
super(s);
}
public static void main(String args[]) {
if(args.length == 0) {
System.out.println("Usage: java -cp /Library/WebObjects/
lib/JavaWebObjects.jar:. LicenseCheck serial-number");
System.exit(0);
}
try {
System.out.println(SerialNumberUtil.FSSerialBytes2Struct
(SerialNumberUtil.FSSerialString2Bytes(args[0])));
System.out.println(new LicenseCheck(args[0]));
} catch(IllegalArgumentException iae) {
System.out.println("Invalid serial number");
}
}
}
The output gives a bit more information than Apple's
WebObjectsLicenseUpgrader which hasn't shipped since 5.2 anyway.
Here is some sample output I got from recent keys
WebObjects 5.3 key
<FSSerialRec productCode=10 version=83 locationCode=1
serialNumberVersion=1 serialNumber=3 check=398563 station=0
reserved=0 maxrequests=0 expiremonth=0 womacosx=true wowinnt=true
wounix=true multithreading=true loadbalancing=true >
<License productCode=10
productMajorVers=5
productMinorVers=3
maxReqPerMin=0
multithreadingEnabled=true
loadBalancingEnabled=true>
WebObjects 5.3.1 key
<FSSerialRec productCode=11 version=83 locationCode=1
serialNumberVersion=1 serialNumber=2 check=523789 station=0
reserved=0 maxrequests=0 expiremonth=0 womacosx=true wowinnt=false
wounix=false multithreading=true loadbalancing=true >
<License productCode=11
productMajorVers=5
productMinorVers=3
maxReqPerMin=0
multithreadingEnabled=true
loadBalancingEnabled=true>
WebObjects 5.3.2 key
<FSSerialRec productCode=11 version=83 locationCode=1
serialNumberVersion=1 serialNumber=4 check=1022001 station=0
reserved=0 maxrequests=0 expiremonth=0 womacosx=true wowinnt=true
wounix=true multithreading=true loadbalancing=true >
<License productCode=11
productMajorVers=5
productMinorVers=3
maxReqPerMin=0
multithreadingEnabled=true
loadBalancingEnabled=true>
It looks like productCode=10 is WebObjects Developer, while
productCode=11 is WebObjects Deployment. As expected the 5.3.1 key
didn't work with linux (wounix=false), but the 5.3 key did. It
looks like the 5.3.2 key is a true deployment key for all platforms.
On 10/01/2007, at 4:13 AM, Fredrik Lindgren wrote:
I am trying to get a working deployment on windows using Tomcat. I
have it working om macosx under tomcat but when moved to windows I
get Servlet WOServletAdaptor is not available error. I have tested
all the workarounds on the lists and wikis but none of them seem
to mater. Should I try an older version of WebObjects?
Any suggestion?
/Fredrik
_________________________________________________________________
drop, Kålsängsgränd 10 B, 753 19 UPPSALA, Sweden
018-50 56 00, http://www.drop.se
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/timcu%
40tpg.com.au
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to archive@mail-archive.com