Bernard,
Thanks for you feedback. I just tried your suggestion: I created a
D2W application with two entities
Department <------------>> Person
The database is in MySQL. Application runs normally in development
mode.
Target Setting for Servlets:
SERVLET_COPY_JARS YES
SERVLET_DEPLOY_LICENSE <my license>
SERVLET_SINGLE_DIR_DEPLOY YES
SERVLET_TRUE_WAR NO
SERVLET_WEBAPPS_DIR /Library/Tomcat/webapps
Here is the result of the test by accessing the deployed application
in a browser: http://myhost:9006/MyApp/WebObjects/MyApp.woa
-----------------------------------------------------------
Error:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
[ valueForKey()]: lookup of unknown key: 'username'. This WOComponent
does not have an instance variable of the name username or _username,
nor a method of the name username, _username, getUsername, or
_getUsername
-----------------------------------------------------------
Hence reaffirming my original assumption that WOComponent binding are
not functioning at all in Tomcat deployment under the following
server configuration:
Mac OS X Server 10.4.8 (Tiger)
Java SE 5.0
Tomcat 4.1
MySQL 4.1.13
Tomcat launch script output:
Using CATALINA_BASE: /Library/Tomcat
Using CATALINA_HOME: /Library/Tomcat
Using CATALINA_TMPDIR: /Library/Tomcat/temp
Using JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/
Versions/1.4/Home
Development box configuration:
Mac OS X 10.4.8 (Tiger)
Xcode 2.4 (with WO installed at Xcode install)
On Oct 13, 2006, at 3:44 AM, Bernard Devlin wrote:
I've had WO apps working on Tomcat 4.x running on OS X, Windows,
and even OS/2. So, mostly it does just work. One thing is that
I've always used SSDD.
Can you try producing a D2W app and deploying that as a Tomcat
app? That should tell you if it is something intrinsically wrong
with display groups in WO/Tomcat or if it is something in your
particular app that is causing this exception to be thrown.
Bernard Devlin
--
Robert Walker
[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