• 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: Won't load my model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Won't load my model


  • Subject: Re: Won't load my model
  • From: James Cicenia <email@hidden>
  • Date: Tue, 18 Oct 2005 08:31:00 -0500

I will tell you my deployment procedure it totally FUBAR evidently. Normally, I just do a build for deployment and then rsync it up to my server. But one day that just stopped working and no matter what I did, it just wouldn't load the model. NOW, if I just rsync my development build... which is basically an identical ANT task, it works just fine.

Not being a UNIX admin but forced to play one, I have no idea what I am doing wrong. I can't tell it is a weird ANT/Eclipse bug, something in rsync I am not doing right. After spending 4 hours trying to go live, I gave up... uploaded my dev version which at that point is the same and it works just fine and dandy.

And, supposedly when I load my models, change the dictionary at runtime, etc., it got loaded then can't find the entity in the second model. Last time that happened was when I refactored. However, a simple open and save on the model fixed that problem. But this is a bit different. And yes all the plist files are present .

Well, my work around works for now and we were able to go live yesterday.. so only a couple of hairs turned grey.

- James

On Oct 17, 2005, at 12:40 PM, Chuck Hill wrote:

Why do you think it is finding it?
Is it in the EOModelGroup.defaultGroup()? If so, what path does it say it was loaded from?
Are you setting the connection dictionary at runtime?
Is there a problem in the index.eomodeld?
Are the Entity.plist files actually present?


My best guess would be that the deployed version is corrupted or missing some pieces _or_ your app is finding an older version someplace else.

Chuck

On Oct 16, 2005, at 8:23 PM, James Cicenia wrote:


Hello -

I am trying to go from my dev server to deployment on my deployment server. But, it won't load one of my models. It says it finds it, but when I check with something like EOUtilities.modelGroup(sharedContext).entityNamed ("TicketLocation") it returns null.

any ideas? I have even way opened permissions on it.

- James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden



--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


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
References: 
 >Won't load my model (From: James Cicenia <email@hidden>)
 >Re: Won't load my model (From: Chuck Hill <email@hidden>)

  • Prev by Date: Controller class not found
  • Next by Date: Trouble Deleting and Adding an EOModel
  • Previous by thread: Re: Won't load my model
  • Next by thread: DB-Connections in for-loop?
  • Index(es):
    • Date
    • Thread