Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cosmos-dev] RE: fix for fed. CMDB

I thought we had until 2PM EST.  Did I misunderstand?

Thanks,

Sheldon
______________________________________
Sheldon Lee-Loy



                                                                           
             Hubert H                                                      
             Leung/Toronto/IBM                                             
                                                                        To 
             02/22/2008 12:52          "Muldoon, William H"                
             PM                        <William.Muldoon@xxxxxx>,           
                                       cosmos-dev@xxxxxxxxxxx              
                                                                        cc 
                                       "Devine, John T"                    
                                       <John.Devine@xxxxxx>, Sheldon       
                                       Lee-Loy/Toronto/IBM@IBMCA           
                                                                   Subject 
                                       RE: fix for fed. CMDB(Document      
                                       link: Sheldon Lee-Loy)              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



I 'm copying the mailing list to make it more visible.

Bill found another blocking problem.  A jar file is missing in the UI
package.  This work requires a change in the build script.  It's now close
to the 1pm build time.  Can we get approval for this bug and delay the
build a little to get it in?

Bill, can you confirm that adding the
org.eclipse.cosmos.dc.mdr.registration.common jar file to the
COSMOSUI\WEB-INF\lib fixed the problem?

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


                                                                           
             "Muldoon, William                                             
             H"                                                            
             <William.Muldoon@                                          To 
             ca.com>                   Hubert H Leung/Toronto/IBM@IBMCA    
                                                                        cc 
             02/22/2008 12:38          "Devine, John T"                    
             PM                        <John.Devine@xxxxxx>, Sheldon       
                                       Lee-Loy/Toronto/IBM@IBMCA           
                                                                   Subject 
                                       RE: fix for fed. CMDB               
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Bug number is 219997 at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=219997.


From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Friday, February 22, 2008 12:36 PM
To: Muldoon, William H
Cc: Devine, John T; Sheldon Lee-Loy
Subject: RE: fix for fed. CMDB


This seems to be a UI packaging problem.  You need
org.eclipse.cosmos.dc.mdr.registration.common in COSMOSUI\WEB-INF\lib.

Please open a blocker bug to get it fixed.

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



                                                                           
 "Muldoon, William H"                                                      
 <William.Muldoon@xxxxxx>                                                  
                                                                           
                                                                        To 
 02/22/2008 12:21 PM                                     Hubert H          
                                                         Leung/Toronto/IBM 
                                                         @IBMCA            
                                                                        cc 
                                                         "Devine, John T"  
                                                         <John.Devine@ca.c 
                                                         om>               
                                                                   Subject 
                                                         RE: fix for fed.  
                                                         CMDB              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





Hubert

            Your fix worked, thanks!

            But going further, I found another problem with a missing
class. See below. I will open another issue.

Regards
Bill

html><head><title>Apache Tomcat/5.5.25 - Error report</title><style><!--H1
{font-family:Tahoma,Arial
,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2
{font-family:Tahoma,Arial,sans-serif
;color:white;background-color:#525D76;font-size:16px;} H3
{font-family:Tahoma,Arial,sans-serif;color
:white;background-color:#525D76;font-size:14px;} BODY
{font-family:Tahoma,Arial,sans-serif;color:black
;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76
;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black

;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 500 - </h1><HR
 size="1" noshade="noshade"><p><b>type</b> Exception
report</p><p><b>message</b> <u></u></p><p><b>description
</b> <u>The server encountered an internal error () that prevented it from
fulfilling this request.<
/u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet
execution threw an exception
</pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
org/eclipse/cosmos/dc/mdr/registration
/common/internal/EndPointReferenceSerializer

org.eclipse.cosmos.dc.mdr.registration.client.FederatingCMDBClient.register(FederatingCMDBClient.java

:88)

org.eclipse.cosmos.internal.dr.drs.service.outputter.StatusResponseOutputter.render(StatusResponseOutputter

.java:63)

org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.delegateRequest(OutputterDelegator

.java:67)

org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.doPost(OutputterDelegator

.java:53)

org.eclipse.cosmos.internal.dr.drs.service.handler.common.URLDelegator.doPost(URLDelegator.java:86)

        javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is
available in the Apache Tomcat
/5.5.25 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/5.5.25</h3></body></html>





From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Friday, February 22, 2008 10:47 AM
To: Muldoon, William H
Subject: fix for fed. CMDB


Hi Bill,

Please try to change the web.xml at
org.eclipse.cosmos.example.mdr.registration.web\WebContent\WEB-INF\web.xml
to the following:

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="
http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
       <display-name>testFederatingCMDB</display-name>
       <context-param>
               <param-name>CosmosWebPort</param-name>
               <param-value>8080</param-value>
       </context-param>
       <listener>
               <listener-class>

org.eclipse.cosmos.example.mdr.registration.internal.SampleFederatingCMDBInitializer

               </listener-class>
       </listener>
       <servlet>
               <display-name>Apache Muse Servlet</display-name>
               <servlet-name>ApacheMuseServlet</servlet-name>
               <servlet-class>
org.apache.muse.core.platform.mini.MiniServlet</servlet-class>
       </servlet>
       <servlet-mapping>
               <servlet-name>ApacheMuseServlet</servlet-name>
               <url-pattern>/*</url-pattern>
       </servlet-mapping>
</web-app>


This should fix the registration problem.

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




Back to the top