Java Client Security

2005-10-26 Thread Ian Joyner
I've been researching this topic for a few days, since I realized  
that the scheme outlined in Chapter 25 of WO JCDA on building a login  
window was dependent on the fact that your client application used a  
login window before you could access the server. But what if some  
hacker built a client application that was not so nice and that  
started accessing the server side with no checking. Depending on a  
client app for security is definitely not a good idea.


It seemed this question was asked in:

http://lists.apple.com/archives/webobjects-dev/2005/Mar/msg00177.html

but there seemed to be no satisfactory answer apart from stability of  
WO was very good, and maybe he should use AJAX, but the answers did  
not address security.


Specifically, I wanted to do a check in the server-side  
EOEnterpriseObjects whether a logged in user was allowed to do the  
CRED (create, read, edit, delete aka CRUD but I think CRED sounds  
more credible) operations on the current object, but there seemed to  
be no way to get from an object to the current session (unlike  
WOComponents) and the stored user record for the current user.


Anyway, I think I have found the answer in Chapter 6, p 140 on  
delegates, that the session object is a delegate of  
EODistributionContext and these delegate methods are called to check  
security before operations are allowed on the server side. These  
return false if the user is not logged in, which can be in a parent  
class of session and then in a subclass provide more fine-grained  
access control for checking CRED operations.


Has anyone else implemented such a JC security scheme? Does this  
sound like the right way to go?


Thanks
Ian Joyner
Sportstec
___
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


Re: Content Management

2005-10-26 Thread Nathan Walker
Please check out the podcast, WebObjects Worx, in the iTunes Podcast  
Directory. Take a look here: http://autreyrealestate.com, that is a  
site with a complete CMS system that I built with WebObjects.  I can  
tell you how to view the administrative features off-list if you're  
interested. But yes, WebObjects is perfect for building a CMS system.


Joshua Markers Visual Quick-Pro Guide is a great start as well as the  
tutorials offered in the Apple Documentation. The podcast and offered  
video training is great as well.


Best Regards,
---
Nathan Walker
Vision Worx Productions
229-253-8552
Skype Name: nrwalker
[EMAIL PROTECTED]
http://visionworxpro.com



On Oct 27, 2005, at 12:11 AM, Simon Whitty wrote:


Hi,

I'm new to web objects - haven't really used it at all.

I'm just wondering where I can find out about it and it is good  
for?  Is it useful for building a CMS system?  Are there many open  
source web objects apps / cms systems out there?


cheers

Simon
___
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/wodev% 
40visionworxpro.com


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


Re: Short URL Generation

2005-10-26 Thread Chuck Hill

Lachlan,

Methinks you have read it backwards.  :-)   I think Greg is asking  
how to get the short URLs into the HTML his app generates.   
Overriding WOContext is one way of doing it.  I've pondered this a  
few times but never did so.  Another alternative is to use regex to  
replace them in Application.dispatchRequest().  So far, my solution  
has been to make a URL factory class and bind that to the href etc  
attribute instead of binding to action.


Chuck


On Oct 26, 2005, at 10:16 PM, Lachlan Deck wrote:


Hi there,

On 27/10/2005, at 2:01 PM, Greg Hulands wrote:


I am looking to generate short URL's that I have created for  
mod_rewrite




I thought that was the idea of mod-rewrite. i.e., it translates  
urls for you e.g., from external short urls to internal long ones.  
So if you've set up your rewrite rules correctly, you shouldn't  
need to do much else.



for direct actions. After reading the docs, it looks like I have  
to create a subclass of WOContext and over ride the  
directActionURLForActionNamed method and have a map from a direct  
action class / method to a shortened url. I just wanted to ask to  
see if this is the best way to achieve this.




If you want to customise the way that incoming requests are  
handled, then you'd be looking at overriding WORequestHandler so  
that they are directed correctly.


I've, for example, extended  
com.webobjects.appserver._private.WODirectActionRequestHandler so  
that I can call:

http://.../wa/SomeClass/action

where my direct action classes are named, for easy reference in the  
project, like SomeClassDirectAction.java


with regards,
--

Lachlan Deck


___
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/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]



--
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  (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


Re: Short URL Generation

2005-10-26 Thread Lachlan Deck

Hi there,

On 27/10/2005, at 2:01 PM, Greg Hulands wrote:

I am looking to generate short URL's that I have created for  
mod_rewrite


I thought that was the idea of mod-rewrite. i.e., it translates urls  
for you e.g., from external short urls to internal long ones. So if  
you've set up your rewrite rules correctly, you shouldn't need to do  
much else.


for direct actions. After reading the docs, it looks like I have to  
create a subclass of WOContext and over ride the  
directActionURLForActionNamed method and have a map from a direct  
action class / method to a shortened url. I just wanted to ask to  
see if this is the best way to achieve this.


If you want to customise the way that incoming requests are handled,  
then you'd be looking at overriding WORequestHandler so that they are  
directed correctly.


I've, for example, extended  
com.webobjects.appserver._private.WODirectActionRequestHandler so  
that I can call:

http://.../wa/SomeClass/action

where my direct action classes are named, for easy reference in the  
project, like SomeClassDirectAction.java


with regards,
--

Lachlan Deck


___
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


Content Management

2005-10-26 Thread Simon Whitty

Hi,

I'm new to web objects - haven't really used it at all.

I'm just wondering where I can find out about it and it is good for?   
Is it useful for building a CMS system?  Are there many open source  
web objects apps / cms systems out there?


cheers

Simon
___
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


Short URL Generation

2005-10-26 Thread Greg Hulands

Hi,
I am looking to generate short URL's that I have created for  
mod_rewrite for direct actions. After reading the docs, it looks like  
I have to create a subclass of WOContext and over ride the  
directActionURLForActionNamed method and have a map from a direct  
action class / method to a shortened url. I just wanted to ask to see  
if this is the best way to achieve this.


Does anyone have any opinions on this?

Regards,
Greg
___
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


Re: Web Based EOModeler?

2005-10-26 Thread Chuck Hill


On Oct 26, 2005, at 7:21 PM, King Chung Huang wrote:


Hi Chuck,

Can you describe this problem in more detail?


EOModeler is buggy.  It simply does not provide a GUI way to create a  
subclass from an entity in another model.  You can to create a sub- 
class of the entity in the original model, and then cut and paste it  
where you want it.  In the process, some bits are lost and you end up  
cutting and pasting the relationships bit by bit.  That is when it  
works.  When the model you want to sub-class from is in an installed  
framework and uses prototypes, EOModeler will not load the prototypes  
and so those don't get into the subclass and can't be cut and  
pasted.  So subclassing quickly becomes retyping.


The work around (such as it is) is to open the EOModel in its  
original source project (if you have it), create the subclass, then  
open the other project and paste in the entity.  Then fix it up.




What do you do now in emacs?
Copy the entity from one model to the other, edit it, change the  
name, table, class etc, set the parent.  It is not too bad if you  
plan ahead a bit.



And, what do you like to have in EOModeler to achieve the same  
functionality?


The same functionality as it has now for inheritance within a single  
model, but working for inheritance across models.


This is quite easy to do in code, it is just buggy in EOModeler (what  
a shock!).  :-P


Chuck



On Oct 26, 2005, at 10:30 AM, Chuck Hill wrote:


Given a choice between a mythical, fully functional desktop app  
and something else that works _now_, which would you prefer?  :-)   
Right now, I'd be pleased with even a command line tool that made  
cross model inheritance easier than in emacs.  And that is  
probably what I will end up with.  EOModeler does not seem too  
pleased with cross model inheritance from an installed framework  
when Xcode is not being used (even worse than before!).







--
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  (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


Re: Web Based EOModeler?

2005-10-26 Thread King Chung Huang
I believe it was Andreas Wendker who demoed a "new" EOModeler at a WO  
feedback session at WWDC 2003. Andreas was the manager of WebObjects  
engineering at the time.


On Oct 23, 2005, at 2:55 AM, Helge Staedtler wrote:


Sorry for stepping in that late in this discussion, but I think I have
already once seen what you are describing. I have seen it visiting  
one of

the WWDC's (2000,2001 or 2002) from an Apple Engineer.

He demoed a webbased EOModeler to the audience and it worked very  
well. I
think he also added proudly that this app took him only couple of  
hours to

put it together. ;-)



___
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


Re: Web Based EOModeler?

2005-10-26 Thread King Chung Huang

Hi Chuck,

Can you describe this problem in more detail? What do you do now in  
emacs? And, what do you like to have in EOModeler to achieve the same  
functionality?


King Chung Huang
Learning Commons
University of Calgary

On Oct 26, 2005, at 10:30 AM, Chuck Hill wrote:

Given a choice between a mythical, fully functional desktop app and  
something else that works _now_, which would you prefer?  :-)   
Right now, I'd be pleased with even a command line tool that made  
cross model inheritance easier than in emacs.  And that is probably  
what I will end up with.  EOModeler does not seem too pleased with  
cross model inheritance from an installed framework when Xcode is  
not being used (even worse than before!).


___
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


Re: PowerSchool and WebObjects

2005-10-26 Thread Arturo Pérez
You can find on the web some PowerSchool/WebObjects post-mortems.   
Apparently it turned into a Deathmarch.  David K. Every had some  
involvement with that.


-arturo

On Oct 26, 2005, at 6:45 PM, L. Caballero wrote:


Ok, thanks.

L. Caballero

El 26/10/2005, a las 23:19, Karl escribió:


I believe that PowerSchool is written in 4D, not WO.

There was a project in Apple to rewrite PowerSchool in WO to enable  
it to scale better but this project appeared to die a couple of years  
ago.


Karl

On 26-Oct-05, at 5:13 PM, L. Caballero wrote:



Hi all,

Is Powerschool, an application developed in WebObjects?

If the answer is positive: In what version?

Thanks.

L. Caballero

___
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/ 
kgretton%40mac.com


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/ 
arturo%40ethicist.net


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


Re: PowerSchool and WebObjects

2005-10-26 Thread L. Caballero

Ok, thanks.

L. Caballero

El 26/10/2005, a las 23:19, Karl escribió:


I believe that PowerSchool is written in 4D, not WO.

There was a project in Apple to rewrite PowerSchool in WO to enable  
it to scale better but this project appeared to die a couple of  
years ago.


Karl

On 26-Oct-05, at 5:13 PM, L. Caballero wrote:



Hi all,

Is Powerschool, an application developed in WebObjects?

If the answer is positive: In what version?

Thanks.

L. Caballero

___
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/kgretton% 
40mac.com


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


Re: PowerSchool and WebObjects

2005-10-26 Thread Karl

I believe that PowerSchool is written in 4D, not WO.

There was a project in Apple to rewrite PowerSchool in WO to enable  
it to scale better but this project appeared to die a couple of years  
ago.


Karl

On 26-Oct-05, at 5:13 PM, L. Caballero wrote:


Hi all,

Is Powerschool, an application developed in WebObjects?

If the answer is positive: In what version?

Thanks.

L. Caballero

___
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/kgretton% 
40mac.com


This email sent to [EMAIL PROTECTED]




smime.p7s
Description: S/MIME cryptographic signature
 ___
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

PowerSchool and WebObjects

2005-10-26 Thread L. Caballero

Hi all,

Is Powerschool, an application developed in WebObjects?

If the answer is positive: In what version?

Thanks.

L. Caballero

___
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


Re: Obtaining the elementID

2005-10-26 Thread Chuck Hill
Some more thoughts on why this is the way it is and why there is no  
componentForElementID(String id) method on WOComponent:


You could hack something out by doing this:

public WOActionResults invokeAction( WOContext aContext,  
WORequest aRequest ) {


if ( aContext.senderID().equals( aContext.elementID() ) ) {
aContext().page().registerComponentForElementID(this,  
aContext.elementID());

}
return super.invokeAction(aContext, aRequest);
}


But  you would run into problems with stateless components and  
dynamic elements as their state depends on the exact state of the  
tree traversal when they are accessed.  And the element  you are  
trying to access may have been hidden during another phase leading to  
inconsistencies down the line and the introduction of security breaches.


Chuck


On Oct 26, 2005, at 11:49 AM, Stephane Guyot wrote:


Miguel,

Have a look  on the examples : /Developer/Examples/JavaWebObjects/ 
Frameworks/WOComponentElements

In WXActionURL.java  you have exactly what you a looking for :


/**
 * Override of invokeAction method - this method is used to  
perform the action
 * from the bindings.  This method matches the sender ID with  
the element ID
 * (to ensure this is the instance we want) and then returns  
the action from

 * the bindings.
 */

public WOActionResults invokeAction( WOContext aContext,  
WORequest aRequest ) {


if ( aContext.senderID().equals( aContext.elementID() ) ) {
return (WOActionResults)valueForBinding( "action" );
}
return null;
}

}

HTH,
Stephane

Le 25 oct. 05, à 00:33, Miguel Arroz a écrit :



Hi!

  I'm trying some AJAX stuff, and I need to work with the element  
IDs of the objects. While building the page, i just ask the  
context what is the current elementID(). But how do I do the  
reverse operation? How can I ask the context what is the object  
associated with some ID?


  Yours

Miguel Arroz

"The world lies in the hands of evil
 And we pray it would last" -- Apocalyptica, Life Burns!

Miguel Arroz
http://www.ipragma.com




___
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/ 
stephane.guyot11%40wanadoo.fr


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/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]


--
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  (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


Re: Obtaining the elementID

2005-10-26 Thread Stephane Guyot
Miguel,

Have a look  on the examples : /Developer/Examples/JavaWebObjects/Frameworks/WOComponentElements
In WXActionURL.java  you have exactly what you a looking for :


/**
* Override of invokeAction method - this method is used to perform the action
* from the bindings.  This method matches the sender ID with the element ID 
* (to ensure this is the instance we want) and then returns the action from 
* the bindings.
*/


public WOActionResults invokeAction( WOContext aContext, WORequest aRequest ) {


if ( aContext.senderID().equals( aContext.elementID() ) ) {
return (WOActionResults)valueForBinding( "action" );
}
return null;
}

}

HTH,
Stephane

Le 25 oct. 05, à 00:33, Miguel Arroz a écrit :

Hi!

I'm trying some AJAX stuff, and I need to work with the element IDs of the objects. While building the page, i just ask the context what is the current elementID(). But how do I do the reverse operation? How can I ask the context what is the object associated with some ID?

Yours

Miguel Arroz

"The world lies in the hands of evil
And we pray it would last" -- Apocalyptica, Life Burns!

Miguel Arroz
http://www.ipragma.com




___
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/stephane.guyot11%40wanadoo.fr

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

Re: connection dictionary error?

2005-10-26 Thread WebObjects

...and 43.2% of all statistics are made-up on the fly! :)

I think Hugi is absolutely correct.

-Bill

on 10/26/05 10:18, Hugi Thordarson at [EMAIL PROTECTED] wrote:

> If you're using FrontBase; I've found that 99,65% of the time
> I get this error, it's because I forgot to include the
> FrontBasePlugin framework in my project.
> 
> Cheers,
> - Hugi
> 
> On 26.10.2005, at 13:29, Jeremy Matthews wrote:
> 
>> When attempting to insert values into the database, I receive this
>> WO error:
>> 
>> java.lang.IllegalStateException: _obtainOpenChannel --
>> com.webobjects.eoaccess.EODatabaseContext
>> [EMAIL PROTECTED]: failed to open
>> database channel. Check your connection dictionary, and ensure your
>> database is correctly configured.
>> 
>> I've tested the DB, and connection, and they are fine. It's just
>> that WO doesn't like them. I can generate SQL from EOM as well.
>> 
>> I've heard of the "index.eomodeld" file being corrupted, and that
>> it may not have entries, or those entries may need to be rewritten.
>> Right now this file is 99% blank, so I'm thinking this may be it.
>> 
>> I'd appreciate any advice or the text of what is supposed to be
>> included in that file.
>> 
>> Thanks,
>> jeremy
>> ___
>> WebObjects-dev mailing list
>> [EMAIL PROTECTED]
>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>> 
> 
>  ___
> 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/webobjects%40concyse.com
> 
> 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


Re: connection dictionary error?

2005-10-26 Thread Hugi Thordarson
If you're using FrontBase; I've found that 99,65% of the time  
I get this error, it's because I forgot to include the  
FrontBasePlugin framework in my project.


Cheers,
- Hugi




On 26.10.2005, at 13:29, Jeremy Matthews wrote:

When attempting to insert values into the database, I receive this  
WO error:


java.lang.IllegalStateException: _obtainOpenChannel --  
com.webobjects.eoaccess.EODatabaseContext  
[EMAIL PROTECTED]: failed to open  
database channel. Check your connection dictionary, and ensure your  
database is correctly configured.


I've tested the DB, and connection, and they are fine. It's just  
that WO doesn't like them. I can generate SQL from EOM as well.


I've heard of the "index.eomodeld" file being corrupted, and that  
it may not have entries, or those entries may need to be rewritten.  
Right now this file is 99% blank, so I'm thinking this may be it.


I'd appreciate any advice or the text of what is supposed to be  
included in that file.


Thanks,
jeremy
___
WebObjects-dev mailing list
[EMAIL PROTECTED]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev



___
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


Re: connection dictionary error?

2005-10-26 Thread Sacha Michel Mallais

On Oct 26, 2005, at 6:29 AM, Jeremy Matthews wrote:

When attempting to insert values into the database, I receive this  
WO error:


java.lang.IllegalStateException: _obtainOpenChannel --  
com.webobjects.eoaccess.EODatabaseContext  
[EMAIL PROTECTED]: failed to open  
database channel. Check your connection dictionary, and ensure your  
database is correctly configured.


I've tested the DB, and connection, and they are fine. It's just  
that WO doesn't like them. I can generate SQL from EOM as well.


Can you browse data from within EOModeler?  That's really the only  
test that matters when it comes to testing connectivity.



I've heard of the "index.eomodeld" file being corrupted, and that  
it may not have entries, or those entries may need to be rewritten.  
Right now this file is 99% blank, so I'm thinking this may be it.


What do you mean, "99% blank"?  There is 99 blank lines and 1 non- 
blank line?



I'd appreciate any advice or the text of what is supposed to be  
included in that file.


Here is an example:

{
EOModelVersion = "2.1";
adaptorName = JDBC;
connectionDictionary = {
URL = "";
driver = "";
password = "";
plugin = "";
username = "";
};
entities = (
{
className = "SomeClass";
name = SomeClass;
}
);
internalInfo = {};
userInfo = {
history = {
created = "2000-10-24 04:05:17 + by sacha";
lastSaved = "2000-10-24 04:05:17 + by sacha";
};
modificationDate = "2000-10-24 04:07:34 +";
};
}


Obviously, the URL, driver (optional), password, plugin (optional)  
and username need to be something other than the empty string.



sacha


--
Sacha Michel Mallais Senior Developer / President
Global Village Consulting Inc.   http://www.global-village.net/
PGP Key ID: 7D757B65 AIM: smallais
Bottom posting is your friend:
http://www.river.com/users/share/etiquette/





PGP.sig
Description: This is a digitally signed message part
 ___
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

Re: connection dictionary error?

2005-10-26 Thread Chuck Hill

Jeremy,

Please don't cross post.  Most of us are on both lists and don't  
really need two copies of the messages.  :-)



On Oct 26, 2005, at 6:29 AM, Jeremy Matthews wrote:

When attempting to insert values into the database, I receive this  
WO error:


java.lang.IllegalStateException: _obtainOpenChannel --  
com.webobjects.eoaccess.EODatabaseContext  
[EMAIL PROTECTED]: failed to open  
database channel. Check your connection dictionary, and ensure your  
database is correctly configured.



That can mean a number of things.  EOF can be misleading in this area.


I've tested the DB, and connection, and they are fine. It's just  
that WO doesn't like them. I can generate SQL from EOM as well.


You can generate SQL or you can generate SQL and execute it against  
the database?  Can you browse the database from EOModeler?


Which OS are you using?  Which IDE?


I've heard of the "index.eomodeld" file being corrupted, and that  
it may not have entries, or those entries may need to be rewritten.  
Right now this file is 99% blank, so I'm thinking this may be it.


Is this the one in the project or the one in the  
built .woa/.framework?  What is the 1% that is not blank?  If you  
open it in EOModeler and inspect the root node, what does the  
inspector say for the connection dictionary?  If blank, try filling  
out the form.



I'd appreciate any advice or the text of what is supposed to be  
included in that file.



Filling it out in EOModeler is the easiest way to see what is correct.

There is also an EOJDBCConnectionAnalyzer class in the source code  
for PracticalWebObjects which will usually pinpoint the problem.  You  
can download the source from Apress.com.


Chuck

--
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  (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


Re: Web Based EOModeler?

2005-10-26 Thread Chuck Hill


On Oct 26, 2005, at 12:34 AM, Brendan Duddridge wrote:



Hi Chuck,

I believe that was a technology demonstration at WWDC maybe 3 or 4  
years ago. I remember seeing it. It looked ok, but I prefer a  
desktop application for that sort of thing.




Given a choice between a mythical, fully functional desktop app and  
something else that works _now_, which would you prefer?  :-)  Right  
now, I'd be pleased with even a command line tool that made cross  
model inheritance easier than in emacs.  And that is probably what I  
will end up with.  EOModeler does not seem too pleased with cross  
model inheritance from an installed framework when Xcode is not being  
used (even worse than before!).




I would however like to see EOModeler extended to support more  
advanced fetch specifications. Something like 'group by', 'having',  
and sub-selects.





I think that would be require changes to EOControl and EOAccess not  
EModeler, no?


Chuck





Brendan Duddridge | CTO | 403-277-5591 x24 |  [EMAIL PROTECTED]

ClickSpace Interactive Inc.
Suite L100, 239 - 10th Ave. SE
Calgary, AB  T2G 0V9

http://www.clickspace.com



While engaging EOModeler in battle last night over the spoils of some
cross model inheritance and prototypes, I started to wonder how hard
it would be to make an alternative tool.  Other than emacs, I mean.
Web based would be easiest, as far as creating the UI.  Then I sort
of recalled seeing this done before.  Does this ring a bell with
anyone?  I may be thinking of Anjo Krank's DevStudio which, IIRC,
allows inspection but not editing.

Cheers,
Chuck


--
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





--
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  (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


Re: Configuring ERChangeNotification/JMS Help needed

2005-10-26 Thread Chuck Hill


On Oct 26, 2005, at 5:13 AM, Wolfram Stebel wrote:


Am 26.10.2005 12:11 Uhr schrieb "David Teran" unter
<[EMAIL PROTECTED]>:

Hi David,

Thanks for your hints.
1. The reason why i do this is, that i hopefully will have a site  
with high

traffic in the future, where i will need load balancing.
But thats a minor reason!


See David's comment, "If you ever use a lot of instances it will slow  
down everything".  This might not be the best way to get you where  
you want to go.




2. I have 3 Applications working on the same database, i.e. they might
change the same data entries concurrently.


So deal with it.  This framework will _not_ eliminate the need to  
handle concurrent editing issues.  It will just _reduce_ the  
frequency of occurrence.  ChangeNotification framework or not, you  
still have to code for these.



One of the applications is an administrators app, two others are  
customers
applications. The admin might change some values, that are very  
important
for the customers, i.e. client aliases, which are also used for  
directory
locations. When those change, the customer needs direct feedback of  
the

change.


What does direct feedback mean?  They need a message to popup?  An e- 
mail?  Or just that they need to see fresh data.



3. I asked on this list how to handle this issue, and i was told to  
do what

i'm now implementing.

So, what other tips do you have?



1. Implement code to handle optimistic locking failures

2. Determine the data freshness requirements and implement refreshing  
fetches and new EC creation to meet those needs.


Chuck



Just a simple question:

why do you want to use this framework? Is it really important for
you? It cannot handle a lot of load, others mentioned to have strange
deadlocks when using it and the best approach is:

build your application in a way it does not need change notification
as its error prone (imho). If you ever use a lot of instances it will
slow down everything. If you ever have other applications which use
the database (non WO apps) it will break your WO apps. If you ever
use more than on EOF stack it will lead to unexpected results as
change notification framework is only for one EOF stack.

maybe there is another solution than using this framework. Explain a
little bit why you want to use it, whats the problem with your
current app?

regards, David


Am 26.10.2005 um 11:49 schrieb Wolfram Stebel:



Hi list,

i have three apps i want to talk between using ERChangeNotification
via jms.
i already got jms installed (0.7.6.1 on OSX 10.4.2) and linked the
framework
into my apps.
i have a startupitem and can do the administrative start/stop via
"sudo
SystemStarter start OpenJMS" etc. without any error messages in
console.
The service seems to run after machine restart too, so i expect
everything
is well at first glance!

Now i just wonder how to configure jms :-)
i tried googling but found no essentials on it.

My setup is:

1.

In "Properties" file of all applications i have (as recommended):

er.changenotification.entitiesNotToSynchronize = ()
er.changenotification.changeTypesToTrack = (inserted, updated,
deleted)
er.changenotification.jms.topicName = MyTopic
er.changenotification.jms.durableSubscribers = false


2.

In openjms.xml i have:


  
  

  


  

  
  
  

  
  

 in the following line there was "startjms.sh" wich does not
exist and i
replaced it by "startup.sh"

  

 and i wonder if the following block is correct or required  
anyway

  

  
  
  




  

 and i wonder if i can delete the following block or does
someone need a
user?

  

  



3.

In "rmi_jms_jdbm.xml" i have:


  
  

  


  

  
  
  

  
  
  
  

 and i wonder if the following block is correct
  

  




I hope, you gurus can help me :-)

TIA





 ___
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/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]



--
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  (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


connection dictionary error?

2005-10-26 Thread Jeremy Matthews
When attempting to insert values into the database, I receive this WO error:

java.lang.IllegalStateException: _obtainOpenChannel -- 
com.webobjects.eoaccess.EODatabaseContext [EMAIL PROTECTED]: failed to open 
database channel. Check your connection dictionary, and ensure your database is 
correctly configured.

I've tested the DB, and connection, and they are fine. It's just that WO 
doesn't like them. I can generate SQL from EOM as well.

I've heard of the "index.eomodeld" file being corrupted, and that it may not 
have entries, or those entries may need to be rewritten. Right now this file is 
99% blank, so I'm thinking this may be it. 

I'd appreciate any advice or the text of what is supposed to be included in 
that file.

Thanks,
jeremy
 ___
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


Re: Configuring ERChangeNotification/JMS Help needed

2005-10-26 Thread Wolfram Stebel
Am 26.10.2005 14:03 Uhr schrieb "Jean-François Veillette" unter
<[EMAIL PROTECTED]>:

> I think the problem is with the configuration file.
Yes
> Somewhere under the ERChangeNotification directory, you should see a
> sample configuration file that you should use (at least as a starting
> point).
They are in the text below, only a little changed, to match my setup
> One important point is the topic name as it has to match the topic used
> by the app (as defined in the er framework).
> There is a default property defined in the Properties file of the
> framework, make sure it match whatever the openjms server is defined to
> serve.
As you will see, there are "MyTopic" entries below, where i dont know if
they are correct.

> You can customize both (server config to serve more than one topic, and
> each app so that not all woapp talk to each other).  For example, we
Thats why i chose my own topic
> have a training system (3 apps, training bd) with a staging system (3
> apps, staging bd), both on the same server, but we do not want those
> apps to share notifications, so each have his own 'topic', as defined
> as a property at the application level.
Right, thats what i thought it would do.

But what about:



See below, search for  and you will meet the problem-points!

As one more problem, there are failures in the demo files. See below under
"startjms.sh".

Thanks for your help

Wolfram


>> Hi list,
>> 
>> i have three apps i want to talk between using ERChangeNotification
>> via jms.
>> i already got jms installed (0.7.6.1 on OSX 10.4.2) and linked the
>> framework
>> into my apps.
>> i have a startupitem and can do the administrative start/stop via "sudo
>> SystemStarter start OpenJMS" etc. without any error messages in
>> console.
>> The service seems to run after machine restart too, so i expect
>> everything
>> is well at first glance!
>> 
>> Now i just wonder how to configure jms :-)
>> i tried googling but found no essentials on it.
>> 
>> My setup is:
>> 
>> 1.
>> 
>> In "Properties" file of all applications i have (as recommended):
>> 
>> er.changenotification.entitiesNotToSynchronize = ()
>> er.changenotification.changeTypesToTrack = (inserted, updated, deleted)
>> er.changenotification.jms.topicName = MyTopic
>> er.changenotification.jms.durableSubscribers = false
>> 
>> 
>> 2.
>> 
>> In openjms.xml i have:
>> 
>> 
>>   
>>   
>> 
>>   
>> 
>> 
>>   
>> 
>>   
>>   
>>   
>> 
>>   
>>   
>> 
>>  in the following line there was "startjms.sh" wich does not exist
>> and i
>> replaced it by "startup.sh"
>> 
>>   
>> 
>>  and i wonder if the following block is correct or required anyway
>>   
>> 
>>   
>>   
>>   
>> 
>> 
>> 
>> 
>>   
>> 
>>  and i wonder if i can delete the following block or does someone
>> need a
>> user?
>> 
>>   
>> 
>>   
>> 
>> 
>> 
>> 3.
>> 
>> In "rmi_jms_jdbm.xml" i have:
>> 
>> 
>>   
>>   
>> 
>>   
>> 
>> 
>>   
>> 
>>   
>>   
>>   
>> 
>>   
>>   
>>   > 
>>  in the following line there was "startjms.sh" wich does not exist
>> and i
>> replaced it by "startup.sh"
>> 
>> script="${openjms.home}/bin/startup.sh"
>> config="${openjms.home}/config/rmi_jms_jdbm.xml" />
>>   
>> 
>>  and i wonder if the following block is correct
>>   
>> 
>>   
>> 


 ___
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


Re: Configuring ERChangeNotification/JMS Help needed

2005-10-26 Thread Wolfram Stebel
Am 26.10.2005 12:11 Uhr schrieb "David Teran" unter
<[EMAIL PROTECTED]>:

Hi David,

Thanks for your hints.
1. The reason why i do this is, that i hopefully will have a site with high
traffic in the future, where i will need load balancing.
But thats a minor reason!
2. I have 3 Applications working on the same database, i.e. they might
change the same data entries concurrently.
One of the applications is an administrators app, two others are customers
applications. The admin might change some values, that are very important
for the customers, i.e. client aliases, which are also used for directory
locations. When those change, the customer needs direct feedback of the
change.
3. I asked on this list how to handle this issue, and i was told to do what
i'm now implementing.

So, what other tips do you have?

TIA

Wolfram

> Just a simple question:
> 
> why do you want to use this framework? Is it really important for
> you? It cannot handle a lot of load, others mentioned to have strange
> deadlocks when using it and the best approach is:
> 
> build your application in a way it does not need change notification
> as its error prone (imho). If you ever use a lot of instances it will
> slow down everything. If you ever have other applications which use
> the database (non WO apps) it will break your WO apps. If you ever
> use more than on EOF stack it will lead to unexpected results as
> change notification framework is only for one EOF stack.
> 
> maybe there is another solution than using this framework. Explain a
> little bit why you want to use it, whats the problem with your
> current app?
> 
> regards, David
> 
> 
> Am 26.10.2005 um 11:49 schrieb Wolfram Stebel:
> 
>> Hi list,
>> 
>> i have three apps i want to talk between using ERChangeNotification
>> via jms.
>> i already got jms installed (0.7.6.1 on OSX 10.4.2) and linked the
>> framework
>> into my apps.
>> i have a startupitem and can do the administrative start/stop via
>> "sudo
>> SystemStarter start OpenJMS" etc. without any error messages in
>> console.
>> The service seems to run after machine restart too, so i expect
>> everything
>> is well at first glance!
>> 
>> Now i just wonder how to configure jms :-)
>> i tried googling but found no essentials on it.
>> 
>> My setup is:
>> 
>> 1.
>> 
>> In "Properties" file of all applications i have (as recommended):
>> 
>> er.changenotification.entitiesNotToSynchronize = ()
>> er.changenotification.changeTypesToTrack = (inserted, updated,
>> deleted)
>> er.changenotification.jms.topicName = MyTopic
>> er.changenotification.jms.durableSubscribers = false
>> 
>> 
>> 2.
>> 
>> In openjms.xml i have:
>> 
>> 
>>   
>>   
>> 
>>   
>> 
>> 
>>   
>> 
>>   
>>   
>>   
>> 
>>   
>>   
>> 
>>  in the following line there was "startjms.sh" wich does not
>> exist and i
>> replaced it by "startup.sh"
>> 
>>   
>> 
>>  and i wonder if the following block is correct or required anyway
>>   
>> 
>>   
>>   
>>   
>> 
>> 
>> 
>> 
>>   
>> 
>>  and i wonder if i can delete the following block or does
>> someone need a
>> user?
>> 
>>   
>> 
>>   
>> 
>> 
>> 
>> 3.
>> 
>> In "rmi_jms_jdbm.xml" i have:
>> 
>> 
>>   
>>   
>> 
>>   
>> 
>> 
>>   
>> 
>>   
>>   
>>   
>> 
>>   
>>   
>>   > 
>>  in the following line there was "startjms.sh" wich does not
>> exist and i
>> replaced it by "startup.sh"
>> 
>> script="${openjms.home}/bin/startup.sh"
>> config="${openjms.home}/config/rmi_jms_jdbm.xml" />
>>   
>> 
>>  and i wonder if the following block is correct
>>   
>> 
>>   
>> 
>> 
>> 
>> 
>> I hope, you gurus can help me :-)
>> 
>> TIA
>> 


 ___
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


Re: Configuring ERChangeNotification/JMS Help needed

2005-10-26 Thread Jean-François Veillette

I think the problem is with the configuration file.
Somewhere under the ERChangeNotification directory, you should see a  
sample configuration file that you should use (at least as a starting  
point).
One important point is the topic name as it has to match the topic used  
by the app (as defined in the er framework).
There is a default property defined in the Properties file of the  
framework, make sure it match whatever the openjms server is defined to  
serve.


You can customize both (server config to serve more than one topic, and  
each app so that not all woapp talk to each other).  For example, we  
have a training system (3 apps, training bd) with a staging system (3  
apps, staging bd), both on the same server, but we do not want those  
apps to share notifications, so each have his own 'topic', as defined  
as a property at the application level.


- jfv

Le 05-10-26, à 05:49, Wolfram Stebel a écrit :


Hi list,

i have three apps i want to talk between using ERChangeNotification  
via jms.
i already got jms installed (0.7.6.1 on OSX 10.4.2) and linked the  
framework

into my apps.
i have a startupitem and can do the administrative start/stop via "sudo
SystemStarter start OpenJMS" etc. without any error messages in  
console.
The service seems to run after machine restart too, so i expect  
everything

is well at first glance!

Now i just wonder how to configure jms :-)
i tried googling but found no essentials on it.

My setup is:

1.

In "Properties" file of all applications i have (as recommended):

er.changenotification.entitiesNotToSynchronize = ()
er.changenotification.changeTypesToTrack = (inserted, updated, deleted)
er.changenotification.jms.topicName = MyTopic
er.changenotification.jms.durableSubscribers = false


2.

In openjms.xml i have:


  
  

  


  

  
  
  

  
  

 in the following line there was "startjms.sh" wich does not exist  
and i

replaced it by "startup.sh"

  

 and i wonder if the following block is correct or required anyway
  

  
  
  




  

 and i wonder if i can delete the following block or does someone  
need a

user?

  

  



3.

In "rmi_jms_jdbm.xml" i have:


  
  

  


  

  
  
  

  
  
   in the following line there was "startjms.sh" wich does not exist  
and i

replaced it by "startup.sh"

script="${openjms.home}/bin/startup.sh"
config="${openjms.home}/config/rmi_jms_jdbm.xml" />
  

 and i wonder if the following block is correct
  

  




I hope, you gurus can help me :-)

TIA

Wolfram


 ___
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/ 
jean_francois_veillette%40yahoo.ca


This email sent to [EMAIL PROTECTED]



http://www.freeiPods.com/?r=21419063

___
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


Re: Configuring ERChangeNotification/JMS Help needed

2005-10-26 Thread David Teran

Just a simple question:

why do you want to use this framework? Is it really important for  
you? It cannot handle a lot of load, others mentioned to have strange  
deadlocks when using it and the best approach is:


build your application in a way it does not need change notification  
as its error prone (imho). If you ever use a lot of instances it will  
slow down everything. If you ever have other applications which use  
the database (non WO apps) it will break your WO apps. If you ever  
use more than on EOF stack it will lead to unexpected results as  
change notification framework is only for one EOF stack.


maybe there is another solution than using this framework. Explain a  
little bit why you want to use it, whats the problem with your  
current app?


regards, David


Am 26.10.2005 um 11:49 schrieb Wolfram Stebel:


Hi list,

i have three apps i want to talk between using ERChangeNotification  
via jms.
i already got jms installed (0.7.6.1 on OSX 10.4.2) and linked the  
framework

into my apps.
i have a startupitem and can do the administrative start/stop via  
"sudo
SystemStarter start OpenJMS" etc. without any error messages in  
console.
The service seems to run after machine restart too, so i expect  
everything

is well at first glance!

Now i just wonder how to configure jms :-)
i tried googling but found no essentials on it.

My setup is:

1.

In "Properties" file of all applications i have (as recommended):

er.changenotification.entitiesNotToSynchronize = ()
er.changenotification.changeTypesToTrack = (inserted, updated,  
deleted)

er.changenotification.jms.topicName = MyTopic
er.changenotification.jms.durableSubscribers = false


2.

In openjms.xml i have:


  
  

  


  

  
  
  

  
  

 in the following line there was "startjms.sh" wich does not  
exist and i

replaced it by "startup.sh"

  

 and i wonder if the following block is correct or required anyway
  

  
  
  




  

 and i wonder if i can delete the following block or does  
someone need a

user?

  

  



3.

In "rmi_jms_jdbm.xml" i have:


  
  

  


  

  
  
  

  
  
   in the following line there was "startjms.sh" wich does not  
exist and i

replaced it by "startup.sh"

script="${openjms.home}/bin/startup.sh"
config="${openjms.home}/config/rmi_jms_jdbm.xml" />
  

 and i wonder if the following block is correct
  

  




I hope, you gurus can help me :-)

TIA

Wolfram


 ___
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/david.teran% 
40cluster9.com


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


Configuring ERChangeNotification/JMS Help needed

2005-10-26 Thread Wolfram Stebel
Hi list,

i have three apps i want to talk between using ERChangeNotification via jms.
i already got jms installed (0.7.6.1 on OSX 10.4.2) and linked the framework
into my apps.
i have a startupitem and can do the administrative start/stop via "sudo
SystemStarter start OpenJMS" etc. without any error messages in console.
The service seems to run after machine restart too, so i expect everything
is well at first glance!

Now i just wonder how to configure jms :-)
i tried googling but found no essentials on it.

My setup is:

1. 

In "Properties" file of all applications i have (as recommended):

er.changenotification.entitiesNotToSynchronize = ()
er.changenotification.changeTypesToTrack = (inserted, updated, deleted)
er.changenotification.jms.topicName = MyTopic
er.changenotification.jms.durableSubscribers = false


2.

In openjms.xml i have:


  
  

  


  

  
  
  

  
  

 in the following line there was "startjms.sh" wich does not exist and i
replaced it by "startup.sh"

  

 and i wonder if the following block is correct or required anyway
  

  
  
  




  

 and i wonder if i can delete the following block or does someone need a
user?

  

  



3.

In "rmi_jms_jdbm.xml" i have:


  
  

  


  

  
  
  

  
  
  
  

 and i wonder if the following block is correct
  

  




I hope, you gurus can help me :-)

TIA

Wolfram


 ___
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


Re: Web Based EOModeler?

2005-10-26 Thread Brendan Duddridge
Hi Chuck,I believe that was a technology demonstration at WWDC maybe 3 or 4 years ago. I remember seeing it. It looked ok, but I prefer a desktop application for that sort of thing. I would however like to see EOModeler extended to support more advanced fetch specifications. Something like 'group by', 'having', and sub-selects. Brendan Duddridge | CTO | 403-277-5591 x24 |  [EMAIL PROTECTED]  ClickSpace Interactive Inc.  Suite L100, 239 - 10th Ave. SE  Calgary, AB  T2G 0V9 http://www.clickspace.com   While engaging EOModeler in battle last night over the spoils of somecross model inheritance and prototypes, I started to wonder how hardit would be to make an alternative tool.  Other than emacs, I mean.Web based would be easiest, as far as creating the UI.  Then I sortof recalled seeing this done before.  Does this ring a bell withanyone?  I may be thinking of Anjo Krank's DevStudio which, IIRC,allows inspection but not editing.Cheers,Chuck-- Coming in 2006 - an introduction to web applications using WebObjectsand Xcode     http://www.global-village.net/wointroPractical WebObjects - for developers who want to increase theiroverall knowledge of WebObjects or who are trying to solve specificproblems.    http://www.global-village.net/products/practical_webobjects

smime.p7s
Description: S/MIME cryptographic signature
 ___
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