juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex O'Ree (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Resolved] (JUDDI-681) When saving a new business, the business key is not casted correctly
Date Fri, 01 Nov 2013 02:48:17 GMT

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

Alex O'Ree resolved JUDDI-681.
------------------------------

    Resolution: Not A Problem

> When saving a new business, the business key is not casted correctly
> --------------------------------------------------------------------
>
>                 Key: JUDDI-681
>                 URL: https://issues.apache.org/jira/browse/JUDDI-681
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.2
>         Environment: RHEL 6.4, EAP 6.1.1, OpenJPA, Oracle 11g, ojdbc6.jar
>            Reporter: Toufic Arabi
>            Assignee: Kurt T Stam
>            Priority: Minor
>              Labels: newbie
>             Fix For: 3.2
>
>
> Trying to create a new business with key value "test" or any string form with or without
numbers causes the following exception
> 2013-10-28 16:16:28,362 ERROR [org.apache.juddi] - null
> javax.xml.ws.soap.SOAPFaultException: The business entity was not found for the given
key:  test
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:155)
> 	at com.sun.proxy.$Proxy122.getBusinessDetail(Unknown Source)
> 	at org.apache.juddi.webconsole.hub.UddiHub.GetBusinessDetails(UddiHub.java:940)
> 	at org.apache.juddi.webconsole.hub.UddiHub.SaveBusinessDetails(UddiHub.java:835)
> 	at org.apache.jsp.ajax.savebusiness_jsp._jspService(savebusiness_jsp.java:152)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
> 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
> 	at java.lang.Thread.run(Thread.java:724)
> Caused by: org.apache.cxf.binding.soap.SoapFault: The business entity was not found for
the given key:  test
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:84)
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:51)
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:40)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
> 	at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113)
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
> 	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800)
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1592)
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1490)
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)
> 	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> 	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:622)
> 	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
> 	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
> 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133)
> 	... 24 more
> 2013-10-28 16:16:28,515 ERROR [org.apache.juddi] - null
> javax.xml.ws.soap.SOAPFaultException: java.lang.String cannot be cast to java.lang.Long
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:155)
> 	at com.sun.proxy.$Proxy124.saveBusiness(Unknown Source)
> 	at org.apache.juddi.webconsole.hub.UddiHub.SaveBusinessDetails(UddiHub.java:796)
> 	at org.apache.juddi.webconsole.hub.UddiHub.SaveBusinessDetails(UddiHub.java:858)
> 	at org.apache.jsp.ajax.savebusiness_jsp._jspService(savebusiness_jsp.java:152)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
> 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
> 	at java.lang.Thread.run(Thread.java:724)
> Caused by: org.apache.cxf.binding.soap.SoapFault: java.lang.String cannot be cast to
java.lang.Long
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:84)
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:51)
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:40)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
> 	at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113)
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
> 	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800)
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1592)
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1490)
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)
> 	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> 	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:622)
> 	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
> 	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
> 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133)
> 	... 24 more
> I can email the orm.xml that I am using as well as the current persistence file. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message