I have an existing app. I am getting a weird error now that I have started working on it again. I made one extremely minor change (I changed one string variable to another, in one component), and now I also can't seem to get the new version deployed.
First: When I build and run the app on the development build configuration the app runs, though I get a weird error on the development machine in the one component - an NSTimestamp appears as a number in scientific notation, and the insert fails because a column is missing in the SQL near the "E" e.g.:
SQL ERROR - [position 116, near 'E' in ', 1.709028E+8, 1158, 112)'] insert error: comma expected but not found in data
Note: earlier in the same error message, it appears that the NSTimestamp is properly an NSTimestamp:
withBindings: . . . ., 3:2006-06-01 21:00:00(eventDate) . . . .
I have no idea what this means or why this is happening now.
Second: Another issue is when I take the development version's .woa to the deployment machine, I can't get the .woa to start in Monitor.
When I switch the development configuration to deployment I get "No Launchable Executable At Path"
The path is /Users/me/projects/myapp/build/deployment/myapp.woa
at that location there is an alias that I assume points to the .woa in /Library/WebObjects/Applications
When I load that .woa, I get an error saying there is no class description for one of my eo classes.
I don't know what the difference is between development and deployment (other than the alias and the .woa being placed in the /Library/WebObjects/Applications/ folder), or whether I need to bother with the deployment build configurations at all.
Any insight on any of these issues would be appreciated. I could swear I have looked at this exact deployment issue before, but I can't seem to find any answers online or in my email, so I may be imagining it.
Thanks Andrew |