Skip to main content

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

Hubert

 

            Yes, I’ve confirmed that adding the jar fixes the problem. But it gets further and then runs into another problem.

 

Thanks

Bill

 

 

{_error_:true, message:'org.apache.muse.ws.addressing.soap.SoapFault%3A+org%2Feclipse%2Fcosmos%2Fdc%2Fmdr
%2Fclient%2FMdrClient', detail:'org.eclipse.cosmos.dc.dataManager.exception.DataManagerException: org
.apache.muse.ws.addressing.soap.SoapFault: org/eclipse/cosmos/dc/mdr/client/MdrClient
        at org.eclipse.cosmos.dc.mdr.client.MdrClient.invokeRemoteOperation(MdrClient.java:77)
        at org.eclipse.cosmos.dc.mdr.registration.client.FederatingCMDBClient.register(FederatingCMDBClient
.java:87)
        at org.eclipse.cosmos.internal.dr.drs.service.outputter.StatusResponseOutputter.render(StatusResponseOutputter
.java:63)
        at org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.delegateRequest(OutputterDelegator
.java:67)
        at org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.doPost(OutputterDelegator
.java:53)
        at org.eclipse.cosmos.internal.dr.drs.service.handler.common.URLDelegator.doPost(URLDelegator.java:86
)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269
)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol
.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.muse.ws.addressing.soap.SoapFault: org/eclipse/cosmos/dc/mdr/client/MdrClient
        at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:298)
        at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:254)
        at org.eclipse.cosmos.dc.mdr.client.MdrClient.invokeRemoteOperation(MdrClient.java:72)
        ... 21 more
%7B_error_%3Atrue%2C+message%3A%27org.apache.muse.ws.addressing.soap.SoapFault%253A%2Borg%252Feclipse
%252Fcosmos%252Fdc%252Fmdr%252Fclient%252FMdrClient%27%2C+detail%3A%27org.eclipse.cosmos.dc.dataManager
.exception.DataManagerException%3A+org.apache.muse.ws.addressing.soap.SoapFault%3A+org%2Feclipse%2Fcosmos
%2Fdc%2Fmdr%2Fclient%2FMdrClient%0D%0A%09at+org.eclipse.cosmos.dc.mdr.client.MdrClient.invokeRemoteOperation
%28MdrClient.java%3A77%29%0D%0A%09at+org.eclipse.cosmos.dc.mdr.registration.client.FederatingCMDBClient
.register%28FederatingCMDBClient.java%3A87%29%0D%0A%09at+org.eclipse.cosmos.internal.dr.drs.service.outputter
.StatusResponseOutputter.render%28StatusResponseOutputter.java%3A63%29%0D%0A%09at+org.eclipse.cosmos
.internal.dr.drs.service.handler.common.OutputterDelegator.delegateRequest%28OutputterDelegator.java
%3A67%29%0D%0A%09at+org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.doPost
%28OutputterDelegator.java%3A53%29%0D%0A%09at+org.eclipse.cosmos.internal.dr.drs.service.handler.common
.URLDelegator.doPost%28URLDelegator.java%3A86%29%0D%0A%09at+javax.servlet.http.HttpServlet.service%28HttpServlet
.java%3A710%29%0D%0A%09at+javax.servlet.http.HttpServlet.service%28HttpServlet.java%3A803%29%0D%0A%09at
+org.apache.catalina.core.ApplicationFilterChain.internalDoFilter%28ApplicationFilterChain.java%3A269
%29%0D%0A%09at+org.apache.catalina.core.ApplicationFilterChain.doFilter%28ApplicationFilterChain.java
%3A188%29%0D%0A%09at+org.apache.catalina.core.StandardWrapperValve.invoke%28StandardWrapperValve.java
%3A213%29%0D%0A%09at+org.apache.catalina.core.StandardContextValve.invoke%28StandardContextValve.java
%3A174%29%0D%0A%09at+org.apache.catalina.core.StandardHostValve.invoke%28StandardHostValve.java%3A127
%29%0D%0A%09at+org.apache.catalina.valves.ErrorReportValve.invoke%28ErrorReportValve.java%3A117%29%0D
%0A%09at+org.apache.catalina.core.StandardEngineValve.invoke%28StandardEngineValve.java%3A108%29%0D%0A
%09at+org.apache.catalina.connector.CoyoteAdapter.service%28CoyoteAdapter.java%3A151%29%0D%0A%09at+org
.apache.coyote.http11.Http11Processor.process%28Http11Processor.java%3A874%29%0D%0A%09at+org.apache.coyote
.http11.Http11BaseProtocol%24Http11ConnectionHandler.processConnection%28Http11BaseProtocol.java%3A665
%29%0D%0A%09at+org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket%28PoolTcpEndpoint.java%3A528
%29%0D%0A%09at+org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt%28LeaderFollowerWorkerThread
.java%3A81%29%0D%0A%09at+org.apache.tomcat.util.threads.ThreadPool%24ControlRunnable.run%28ThreadPool
.java%3A689%29%0D%0A%09at+java.lang.Thread.run%28Thread.java%3A595%29%0D%0ACaused+by%3A+org.apache.muse
.ws.addressing.soap.SoapFault%3A+org%2Feclipse%2Fcosmos%2Fdc%2Fmdr%2Fclient%2FMdrClient%0D%0A%09at+org
.apache.muse.core.AbstractResourceClient.invoke%28AbstractResourceClient.java%3A298%29%0D%0A%09at+org
.apache.muse.core.AbstractResourceClient.invoke%28AbstractResourceClient.java%3A254%29%0D%0A%09at+org
.eclipse.cosmos.dc.mdr.client.MdrClient.invokeRemoteOperation%28MdrClient.java%3A72%29%0D%0A%09...+21
+more%0D%0A'}

 


From: Mark D Weitzel [mailto:weitzelm@xxxxxxxxxx]
Sent: Friday, February 22, 2008 12:58 PM
To: Cosmos Dev
Cc: cosmos-dev@xxxxxxxxxxx; cosmos-dev-bounces@xxxxxxxxxxx; Devine, John T; Muldoon, William H
Subject: Re: [cosmos-dev] RE: fix for fed. CMDB

 


I'm ok with that.
+1

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


[cosmos-dev] RE: fix for fed. CMDB

 

Hubert H Leung

to:

Muldoon, William H, cosmos-dev

02/22/08 12:53 PM

 

Sent by:

cosmos-dev-bounces@xxxxxxxxxxx

Cc:

"Devine, John T"


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

 

 

 

 






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

02/22/2008 12:38 PM

 

To

Hubert H Leung/Toronto/IBM@IBMCA

cc

"Devine, John T" <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>

02/22/2008 12:21 PM

 

To

Hubert H Leung/Toronto/IBM@IBMCA

cc

"Devine, John T" <John.Devine@xxxxxx>

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
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev


Back to the top