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:
<Subscriber name="MyApp1" />
<AdministeredQueue name="doINeedaQueue1?" />
<User name="admin" password="openjms" />
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:
>> 
>> <Configuration>
>>   <ServerConfiguration host="localhost" embeddedJNDI="true" />
>>   <Connectors>
>>     <Connector scheme="rmi">
>>       <ConnectionFactories>
>>         <QueueConnectionFactory name="JmsQueueConnectionFactory" />
>>         <TopicConnectionFactory name="JmsTopicConnectionFactory" />
>>       </ConnectionFactories>
>>     </Connector>
>>   </Connectors>
>>   <!-- Required  -->
>>   <DatabaseConfiguration>
>>     <JdbmDatabaseConfiguration name="openjms.db" />
>>   </DatabaseConfiguration>
>>   <!-- Required -->
>> 
>> **** in the following line there was "startjms.sh" wich does not exist
>> and i
>> replaced it by "startup.sh"
>> 
>>   <AdminConfiguration script="${openjms.home}\bin\startup.sh" />
>> 
>> **** and i wonder if the following block is correct or required anyway
>>   <AdministeredDestinations>
>>     <AdministeredTopic name="MyTopic">
>>       <Subscriber name="MyApp1" />
>>       <Subscriber name="MyApp2" />
>>       <Subscriber name="MyApp3" />
>>     </AdministeredTopic>
>>     <AdministeredQueue name="doINeedaQueue1?" />
>>     <AdministeredQueue name="doINeedaQueue2?" />
>>     <AdministeredQueue name="doINeedaQueue3?" />
>>   </AdministeredDestinations>
>> 
>> **** and i wonder if i can delete the following block or does someone
>> need a
>> user?
>> 
>>   <Users>
>>     <User name="admin" password="openjms" />
>>   </Users>
>> </Configuration>
>> 
>> 
>> 3.
>> 
>> In "rmi_jms_jdbm.xml" i have:
>> 
>> <Configuration>
>>   <!-- Required when using an RMI connector -->
>>   <Connectors>
>>     <Connector scheme="rmi">
>>       <ConnectionFactories>
>>         <QueueConnectionFactory name="JmsQueueConnectionFactory" />
>>         <TopicConnectionFactory name="JmsTopicConnectionFactory" />
>>       </ConnectionFactories>
>>     </Connector>
>>   </Connectors>
>>   <!-- Required  -->
>>   <DatabaseConfiguration>
>>     <JdbmDatabaseConfiguration name="openjms.db" />
>>   </DatabaseConfiguration>
>>   <!-- Required -->
>>   <AdminConfiguration
>> 
>> **** 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" />
>>   <!-- Required: Add your own AdministeredTopics -->
>> 
>> **** and i wonder if the following block is correct
>>   <AdministeredDestinations>
>>     <AdministeredTopic name="MyTopic" />
>>   </AdministeredDestinations>
>> </Configuration>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to