[jira] [Commented] (JUDDI-937) PolicyRoundRobin not working without service cache

2020-01-20 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JUDDI-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019635#comment-17019635
 ] 

ASF subversion and git services commented on JUDDI-937:
---

Commit 5ac79c870c2e804ca154ee1dc207e6a8087d609d in juddi's branch 
refs/heads/bug/JUDDI-937 from Alex O'Ree
[ https://gitbox.apache.org/repos/asf?p=juddi.git;h=5ac79c8 ]

JUDDI-937 adding test cases, discovered a caching mechanism that had no way of 
being cleared which was resolved.


> PolicyRoundRobin not working without service cache
> --
>
> Key: JUDDI-937
> URL: https://issues.apache.org/jira/browse/JUDDI-937
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-client
>Affects Versions: 3.3.1
>Reporter: Matthieu Ghilain
>Assignee: Alex O'Ree
>Priority: Minor
>  Labels: cache, juddi, policy
> Fix For: 3.3.8
>
>
> I use the following method in order to resolve an endpoint:
> {code:title=Resolve endpoint function|borderStyle=solid}
>  private String resolveEndpointForServiceID(String uddiServiceId) {
> try {
> UDDIClient uddiClient = new UDDIClient();
> ServiceLocator serviceLocator = 
> uddiClient.getServiceLocator("uddiv3");
> serviceLocator.setPolicy(PolicyRoundRobin.class.getName());
> return serviceLocator.lookupEndpoint(uddiServiceId);
> } catch (Exception e) {
> throw new EndpointResolutionFromUDDIException("Could not resolve 
> endpoint '"+uddiServiceId+"'.", e);
> }
> }
> {code}
> I have registered two different binding templates in juddi. Using this code I 
> always receive the same endpoint. This comes from the fact that the topology 
> is reloaded each time the lookupEndpoint is called because there is no cache. 
> I guess that the service policy should still be able to make a round robin 
> between the binding templates even if no cache is used.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (JUDDI-652) Tomcat logs a number of severe warnings during shutdown from juddi-gui

2020-01-20 Thread Alex O'Ree (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex O'Ree updated JUDDI-652:
-
Fix Version/s: (was: 3.4)

> Tomcat logs a number of severe warnings during shutdown from juddi-gui
> --
>
> Key: JUDDI-652
> URL: https://issues.apache.org/jira/browse/JUDDI-652
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-gui, juddi-tomcat
>Reporter: Alex O'Ree
>Assignee: Kurt Stam
>Priority: Minor
>
> Sep 14, 2013 4:08:54 PM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> Sep 14, 2013 4:08:54 PM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8443
> Sep 14, 2013 4:08:55 PM org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type [null] 
> (value [com.sun.xml.bind.v2.ClassFactory$1@1ee3cc78]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> org.uddi.api_v3.RelatedBusinessesList=java.lang.ref.WeakReference@7d84ea1f, 
> class org.uddi.api_v3.ServiceInfos=java.lang.ref.WeakReference@2126d99a, 
> class org.uddi.api_v3.BusinessService=java.lang.ref.WeakReference@7d981e76, 
> class org.uddi.api_v3.BusinessDetail=java.lang.ref.WeakReference@df81565, 
> class org.uddi.api_v3.BusinessList=java.lang.ref.WeakReference@1a44a10d, 
> class org.uddi.api_v3.BindingTemplate=java.lang.ref.WeakReference@fa969f4, 
> class org.uddi.api_v3.BusinessInfos=java.lang.ref.WeakReference@3b6b1a34, 
> class org.uddi.api_v3.BindingTemplates=java.lang.ref.WeakReference@74856a65, 
> class org.uddi.api_v3.BusinessInfo=java.lang.ref.WeakReference@630c48a6, 
> class org.uddi.api_v3.KeyedReference=java.lang.ref.WeakReference@3b75bd17, 
> class org.uddi.api_v3.BusinessEntity=java.lang.ref.WeakReference@2ed14f80, 
> class org.uddi.api_v3.InstanceDetails=java.lang.ref.WeakReference@2fba7483, 
> class org.uddi.api_v3.ListDescription=java.lang.ref.WeakReference@7a375cef, 
> class org.uddi.api_v3.ServiceInfo=java.lang.ref.WeakReference@48b68d98, class 
> org.uddi.api_v3.Name=java.lang.ref.WeakReference@490a1b73, class 
> org.uddi.api_v3.CategoryBag=java.lang.ref.WeakReference@3690407b, class 
> org.uddi.api_v3.TModelInstanceInfo=java.lang.ref.WeakReference@38796739, 
> class org.uddi.api_v3.BusinessServices=java.lang.ref.WeakReference@2a67ec26, 
> class org.uddi.api_v3.Description=java.lang.ref.WeakReference@cc0c88a, class 
> org.uddi.api_v3.AccessPoint=java.lang.ref.WeakReference@44ade290, class 
> org.uddi.api_v3.TModelInstanceDetails=java.lang.ref.WeakReference@73f57f29, 
> class java.util.ArrayList=java.lang.ref.WeakReference@7a6f9838}]) but failed 
> to remove it when the web application was stopped. To prevent a memory leak, 
> the ThreadLocal has been forcibly removed.
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type [null] 
> (value [com.sun.xml.bind.v2.ClassFactory$1@1ee3cc78]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@3472c354}])
>  but failed to remove it when the web application was stopped. To prevent a 
> memory leak, the ThreadLocal has been forcibly removed.
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type 
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5a75dab2]) and a value 
> of type [org.apache.cxf.BusFactory.BusHolder] (value 
> [org.apache.cxf.BusFactory$BusHolder@6f690a83]) but failed to remove it when 
> the web application was stopped. To prevent a memory leak, the ThreadLocal 
> has been forcibly removed.
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type [null] 
> (value [com.sun.xml.bind.v2.ClassFactory$1@1ee3cc78]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> org.uddi.api_v3.OperationalInfo=java.lang.ref.WeakReference@59315799, class 
> org.uddi.api_v3.OperationalInfos=java.lang.ref.WeakReference@366e2b8e, class 
> java.util.ArrayList=java.lang.ref.WeakReference@7aed938c}]) but failed to 
> remove it when the web application was stopped. To prevent a memory leak, the 
> ThreadLocal has been forcibly removed.
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type [null] 
> (value [com.sun.xml.bind.v2.ClassFactory$1@1ee3cc78]) a

[jira] [Closed] (JUDDI-652) Tomcat logs a number of severe warnings during shutdown from juddi-gui

2020-01-20 Thread Alex O'Ree (Jira)


 [ 
https://issues.apache.org/jira/browse/JUDDI-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex O'Ree closed JUDDI-652.

Resolution: Won't Fix

this is a cxf specific issue, nothing we can do about it

> Tomcat logs a number of severe warnings during shutdown from juddi-gui
> --
>
> Key: JUDDI-652
> URL: https://issues.apache.org/jira/browse/JUDDI-652
> Project: jUDDI
>  Issue Type: Bug
>  Components: juddi-gui, juddi-tomcat
>Reporter: Alex O'Ree
>Assignee: Kurt Stam
>Priority: Minor
>
> Sep 14, 2013 4:08:54 PM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> Sep 14, 2013 4:08:54 PM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8443
> Sep 14, 2013 4:08:55 PM org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type [null] 
> (value [com.sun.xml.bind.v2.ClassFactory$1@1ee3cc78]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> org.uddi.api_v3.RelatedBusinessesList=java.lang.ref.WeakReference@7d84ea1f, 
> class org.uddi.api_v3.ServiceInfos=java.lang.ref.WeakReference@2126d99a, 
> class org.uddi.api_v3.BusinessService=java.lang.ref.WeakReference@7d981e76, 
> class org.uddi.api_v3.BusinessDetail=java.lang.ref.WeakReference@df81565, 
> class org.uddi.api_v3.BusinessList=java.lang.ref.WeakReference@1a44a10d, 
> class org.uddi.api_v3.BindingTemplate=java.lang.ref.WeakReference@fa969f4, 
> class org.uddi.api_v3.BusinessInfos=java.lang.ref.WeakReference@3b6b1a34, 
> class org.uddi.api_v3.BindingTemplates=java.lang.ref.WeakReference@74856a65, 
> class org.uddi.api_v3.BusinessInfo=java.lang.ref.WeakReference@630c48a6, 
> class org.uddi.api_v3.KeyedReference=java.lang.ref.WeakReference@3b75bd17, 
> class org.uddi.api_v3.BusinessEntity=java.lang.ref.WeakReference@2ed14f80, 
> class org.uddi.api_v3.InstanceDetails=java.lang.ref.WeakReference@2fba7483, 
> class org.uddi.api_v3.ListDescription=java.lang.ref.WeakReference@7a375cef, 
> class org.uddi.api_v3.ServiceInfo=java.lang.ref.WeakReference@48b68d98, class 
> org.uddi.api_v3.Name=java.lang.ref.WeakReference@490a1b73, class 
> org.uddi.api_v3.CategoryBag=java.lang.ref.WeakReference@3690407b, class 
> org.uddi.api_v3.TModelInstanceInfo=java.lang.ref.WeakReference@38796739, 
> class org.uddi.api_v3.BusinessServices=java.lang.ref.WeakReference@2a67ec26, 
> class org.uddi.api_v3.Description=java.lang.ref.WeakReference@cc0c88a, class 
> org.uddi.api_v3.AccessPoint=java.lang.ref.WeakReference@44ade290, class 
> org.uddi.api_v3.TModelInstanceDetails=java.lang.ref.WeakReference@73f57f29, 
> class java.util.ArrayList=java.lang.ref.WeakReference@7a6f9838}]) but failed 
> to remove it when the web application was stopped. To prevent a memory leak, 
> the ThreadLocal has been forcibly removed.
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type [null] 
> (value [com.sun.xml.bind.v2.ClassFactory$1@1ee3cc78]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@3472c354}])
>  but failed to remove it when the web application was stopped. To prevent a 
> memory leak, the ThreadLocal has been forcibly removed.
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type 
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5a75dab2]) and a value 
> of type [org.apache.cxf.BusFactory.BusHolder] (value 
> [org.apache.cxf.BusFactory$BusHolder@6f690a83]) but failed to remove it when 
> the web application was stopped. To prevent a memory leak, the ThreadLocal 
> has been forcibly removed.
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type [null] 
> (value [com.sun.xml.bind.v2.ClassFactory$1@1ee3cc78]) and a value of type 
> [java.util.WeakHashMap] (value [{class 
> org.uddi.api_v3.OperationalInfo=java.lang.ref.WeakReference@59315799, class 
> org.uddi.api_v3.OperationalInfos=java.lang.ref.WeakReference@366e2b8e, class 
> java.util.ArrayList=java.lang.ref.WeakReference@7aed938c}]) but failed to 
> remove it when the web application was stopped. To prevent a memory leak, the 
> ThreadLocal has been forcibly removed.
> Sep 14, 2013 4:08:56 PM org.apache.catalina.loader.WebappClassLoader 
> clearThreadLocalMap
> SEVERE: A web application created a ThreadLocal with key of type [null] 
> (value