• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dumb Deployment issue and NSTimstamp issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dumb Deployment issue and NSTimstamp issue


  • Subject: Re: Dumb Deployment issue and NSTimstamp issue
  • From: "Jerry W. Walker" <email@hidden>
  • Date: Tue, 25 Apr 2006 21:31:17 -0400

Hi, Andrew,

On Apr 25, 2006, at 8:15 PM, Andrew R. Kinnie wrote:

Worked like a charm.  Thanks.

Great!

You don't happen to know of any reason I need to use a deployment version for a small app, do you?  I was taking the .woa from the development build configuaration, zipping it, and sending it to the other machine that is serving it.

That should work fine, but be careful about split installs, i.e. putting your web server resources in the web server directories and the rest of your resources in the application directories. IIRC, the development build configuration doesn't split them (or doesn't build the web server resources, I don't remember which off hand).

thanks again.

You're welcome,

Regards,
Jerry

On Apr 25, 2006, at 7:44 PM, Jerry W. Walker wrote:

Hi, Andrew,

If you're using OpenBase, you're experiencing the same problem I had about a week ago. In that case, go to the OpenBase website and download the new OpenBaseJDBCAdaptor from them. The old one is incompatible with Java 1.5.0 and will cause this problem.

Regards,
Jerry

On Apr 25, 2006, at 7:16 PM, Andrew R. Kinnie wrote:

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


--
__ Jerry W. Walker,
   WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems

    jerrywwalker@gee-em-aye-eye-ell.com
    203 278-4085        office



 _______________________________________________
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

References: 
 >Dumb Deployment issue and NSTimstamp issue (From: "Andrew R. Kinnie" <email@hidden>)
 >Re: Dumb Deployment issue and NSTimstamp issue (From: "Jerry W. Walker" <email@hidden>)

  • Prev by Date: Re: Second d in .eomodeld
  • Next by Date: Re: Interfaces and Java Client
  • Previous by thread: Re: Dumb Deployment issue and NSTimstamp issue
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread