Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cosmos-dev] questions on new annontation code


Hubert & Joel,

This is great news.  

I think it would be worthwhile for us to go through the startup and initialization options.  I'd like to avoid a the "ping it with an invalid EPR" approach.  

-mw

_______________________________________________________________________________________________________________
Mark Weitzel | STSM | IBM Software Group | Tivoli | Autonomic Computing | (919) 543 0625 | weitzelm@xxxxxxxxxx



RE: [cosmos-dev] questions on new annontation code

Hubert H Leung to: Cosmos Dev
01/29/08 11:58 PM

Sent by: cosmos-dev-bounces@xxxxxxxxxxx

Please respond to Cosmos Dev <cosmos-dev@xxxxxxxxxxx>









Hi Joel,


I solved the problem.  I have got the example MDR running on Tomcat!  


The problem was that I actually have a Relationships resource specified in the muse.xml.  It was ported from the muse.xml in OSGI-INF directory of org.eclipse.cosmos.me.management.wsdm.  This is also a SubscriptionManager resource specified in that muse.xml.  In the OSGi environment, the endpoint is not available when you try to start up muse, you always get a endoint unreachable fault when you ping the endpoint.  


Here are my suggestions:

1. Investigate whether we need to "start up muse" in J2EE environment.  

2. If we still need to start up muse, and the right way to do it is to ping muse with an invalid EPR, I suggest changing the URI to a very unlikely name:

           String contextPath = webAppRoot +
"/services/Relationships";
               Change to ===>

           String contextPath = webAppRoot +
"/services/abcd";
3. Revisit the muse.xml for OSGi.  Do we need the two resources (Relationships and SubscriptionManager) specified in the muse.xml?  I removed both of them for my web app.



Are you going to check in the patch for the ME code in CVS soon?  I will need these fixes in order to switch the cosmos code to use the new ME code.  


Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382


"Hawkins, Joel" <Joel.Hawkins@xxxxxxxxxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx

01/29/2008 07:22 PM

Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>

To
"Cosmos Dev" <cosmos-dev@xxxxxxxxxxx>
cc
Subject
RE: [cosmos-dev] questions on new annontation code







That warmup request is just to start muse up so that the advertisements can go out. The request is expected to fail, and is expected to be unreachable. Apparently you actually HAVE a service group?

Can you attach your muse.xml and web.xml to 209980? While your at it, can you put the whole web application up there?

Thanks,
Joel
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev

Attachment: winmail.dat
Description: Binary data


Back to the top