Discussion:
[jira] [Created] (AXIS2-5912) Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
Anoobkumar (JIRA)
2018-03-28 19:34:00 UTC
Permalink
Anoobkumar created AXIS2-5912:
---------------------------------

Summary: Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar


I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?

The code is working fine with Axis2 1.6.2.

 

 

2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-03-28 19:46:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418005#comment-16418005 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

This seems to be a question more suited to the mailing list, i.e. its not really a bug.

The latest version is 1.7.7.

I suggest looking at the HappyAxis page, best I can tell in your case that would be:

http://localhost:7001/BI_MRQTRules/axis2-web/HappyAxis.jsp

 

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-03-28 19:49:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418012#comment-16418012 ]

robert lazarski edited comment on AXIS2-5912 at 3/28/18 7:48 PM:
-----------------------------------------------------------------

You can also try a URL like this, to see what you have available.

[http://localhost:7001/BI_MRQTRules/services/listServices]

 


was (Author: robertlazarski):
You can also try URL like this, to see what you have available.

http://localhost:7001/BI_MRQTRules/services/listServices

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-03-28 19:49:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418012#comment-16418012 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

You can also try URL like this, to see what you have available.

http://localhost:7001/BI_MRQTRules/services/listServices

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-28 19:56:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418026#comment-16418026 ]

Anoobkumar commented on AXIS2-5912:
-----------------------------------

[http://localhost:7001/BI_MRQTRules/services/listServices] This resulting in a blank page
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-03-28 20:08:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418037#comment-16418037 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

Do you get anything from this URL? That should give you an axis2 page with some debugging links.

[http://localhost:7001/BI_MRQTRules/axis2-web/ |http://localhost:7001/BI_MRQTRules/axis2-web/HappyAxis.jsp]

Your web.xml likely has an AxisServlet defined (verify your web.xml) so you will have some logging somewhere, if not you need to configure your logging, see below for an example.

  <category name="org.apache.axis2">
     <priority value="TRACE"/>
   </category>

You may also use the DEBUG level.

You'll have to look at the logs to find out your problem, since its not a general problem but an env issue on your side.

 

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-28 20:27:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418056#comment-16418056 ]

Anoobkumar commented on AXIS2-5912:
-----------------------------------

The URl results in "The webpage cannot be found"

I have defined AxisServlet as below in Web.xml:

 

<servlet>
<servlet-name>AxisServlet</servlet-name>
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
<load-on-startup>4</load-on-startup>
</servlet>
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-03-28 20:34:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418068#comment-16418068 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

You will have to configure your debugging as mentioned and I suggest you try to debug with these logs, its impossible to understand your problem without logging.

With the right logging and some effort, you should be able to find your problem.

If you are still stuck, you can paste or attach your logs to this issue. 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-03-28 20:41:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418078#comment-16418078 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

Also, I suggest you verify the files from the axis2.war that comes from the release, and that you have the same axis2-web directory in your WAR, that is contained in the 1.7.x distro axis2.war.

This directory changed since 1.6.x and that could be part of your problem.

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-29 13:00:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anoobkumar updated AXIS2-5912:
------------------------------
Attachment: Axis2_17_MM_UWAlertsAppLog.log
Axis2_16_MM_UWAlertsAppLog.log
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-29 13:02:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418954#comment-16418954 ]

Anoobkumar commented on AXIS2-5912:
-----------------------------------

[^Axis2_16_MM_UWAlertsAppLog.log]

Attached the logs from Axis 1.6 and 1.7 service invocation. I could see org.apache.axis2.description.WSDL11ToAxisServiceBuilder method invoked in 1.6, not in 1.7. Is there anythis specific needs to be done?
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-29 13:02:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418954#comment-16418954 ]

Anoobkumar edited comment on AXIS2-5912 at 3/29/18 1:01 PM:
------------------------------------------------------------

[^Axis2_16_MM_UWAlertsAppLog.log]

^[^Axis2_17_MM_UWAlertsAppLog.log]^

Attached the logs from Axis 1.6 and 1.7 service invocation. I could see org.apache.axis2.description.WSDL11ToAxisServiceBuilder method invoked in 1.6, not in 1.7. Is there anythis specific needs to be done?


was (Author: anoobkumar):
[^Axis2_16_MM_UWAlertsAppLog.log]

Attached the logs from Axis 1.6 and 1.7 service invocation. I could see org.apache.axis2.description.WSDL11ToAxisServiceBuilder method invoked in 1.6, not in 1.7. Is there anythis specific needs to be done?
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-03-29 15:18:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419174#comment-16419174 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

I do see a module loaded, BI_ServiceFramework.mar

I suspect a problem with your WEB-INF/services directory, you should at least see the version.aar being loaded like so, and I do not see this in your logs. I don't see any aar files being loaded at all.

[29/03/18 10:39:45:045 EDT]  INFO deployment.DeploymentEngine: Deploying Web service: version.aar - file:/home/myuser/mywar.war/WEB-INF/services/version.aar

I notice you are running WebLogic. There are some docs for app servers, that may be helpful.

https://axis.apache.org/axis2/java/core/docs/app_server.html
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-29 20:12:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419677#comment-16419677 ]

Anoobkumar commented on AXIS2-5912:
-----------------------------------

In modules.list, I have ../lib/BI_ServiceFramework.mar - The mar is loaded in lib folder

and in services.list, BI_MRQTRules.aar. - This is present in the same folder.
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-30 16:31:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419677#comment-16419677 ]

Anoobkumar edited comment on AXIS2-5912 at 3/30/18 4:30 PM:
------------------------------------------------------------

In modules.list, I have ../lib/BI_ServiceFramework.mar - The mar is loaded in lib folder

and in services.list, BI_MRQTRules.aar. - This is present in the same folder.

services.list is getting references properly, but the WebService(aar file) is not getting loaded properly. Can you please suggest if I am missing something.


was (Author: anoobkumar):
In modules.list, I have ../lib/BI_ServiceFramework.mar - The mar is loaded in lib folder

and in services.list, BI_MRQTRules.aar. - This is present in the same folder.
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-03-30 16:52:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16420695#comment-16420695 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

Try creating a WEB-INF/services directory in your WAR, with the aar and services list file. 

The standard axis2 config expects your aar files in a WEB-INF/services dir and the mar files in WEB-INF/modules dir.

 

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-30 17:07:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anoobkumar updated AXIS2-5912:
------------------------------
Attachment: image-2018-03-30-13-06-33-443.png
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-03-30 17:08:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16420709#comment-16420709 ]

Anoobkumar commented on AXIS2-5912:
-----------------------------------

This is how I have the aar file and services list present in WAR file:

!image-2018-03-30-13-06-33-443.png!

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-04-02 17:22:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422808#comment-16422808 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

Best I can tell from the logs, there is a problem in your Web Logic config that is preventing ServletConfig.getServletContext().getRealPath("/") from working.

See if this helps you:

{{{color:#303336}<?{color}{color:#303336}xml version{color}{color:#303336}={color}{color:#7d2727}'1.0'{color}{color:#303336} encoding{color}{color:#303336}={color}{color:#7d2727}'UTF-8'{color}{color:#303336}?>{color} {color:#7d2727}<weblogic-web-app>{color} {color:#7d2727}<container-descriptor>{color} {color:#7d2727}<show-archived-real-path-enabled>{color}{color:#303336}true{color}{color:#7d2727}</show-archived-real-path-enabled>{color} {color:#7d2727}</container-descriptor>{color} {color:#7d2727}</weblogic-web-app>{color}}}

The axis2 class WarBasedAxisConfigurator in my local config shows the "loaded services from webapp" message from the code below. That isn't happening on your side. The next condition in the code is occurring according to your logs, "loaded services from /WEB-INF/ folder (URL)" .

You want this first condition to occur, but the next condition is occurring. If you still have problems, the code and logging does seem to indicate a path such as WEB-INF/myaar.aar may work.

WarBasedAxisConfigurator:

            if (config.getServletContext().getRealPath("") != null ||
                    config.getServletContext().getRealPath("/") != null) {
                super.loadServices();
                log.debug("loaded services from webapp");
                return;
            }

            URL url = config.getServletContext().getResource("/WEB-INF/");
            if (url != null) {
                loadServicesFromUrl(url);
                log.debug("loaded services from /WEB-INF/ folder (URL)");
            }

 

 

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-04-02 17:23:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422808#comment-16422808 ]

robert lazarski edited comment on AXIS2-5912 at 4/2/18 5:22 PM:
----------------------------------------------------------------

Best I can tell from the logs, there is a problem in your Web Logic config that is preventing ServletConfig.getServletContext().getRealPath("/") from working.

See if this helps you:

{{{color:#303336}<?{color}{color:#303336}xml version{color}{color:#303336}={color}{color:#7d2727}'1.0'{color}{color:#303336} encoding{color}{color:#303336}={color}{color:#7d2727}'UTF-8'{color}{color:#303336}?>{color} {color:#7d2727}<weblogic-web-app>{color} {color:#7d2727}<container-descriptor>{color} {color:#7d2727}<show-archived-real-path-enabled>{color}{color:#303336}true{color}{color:#7d2727}</show-archived-real-path-enabled>{color} {color:#7d2727}</container-descriptor>{color} {color:#7d2727}</weblogic-web-app>{color}}}

The axis2 class WarBasedAxisConfigurator in my local config shows the "loaded services from webapp" message from the code below. That isn't happening on your side. The next condition in the code is occurring according to your logs, "loaded services from /WEB-INF/ folder (URL)" .

You want this first condition to occur, but the next condition is occurring. If you still have problems, the code and logging does seem to indicate a path such as WEB-INF/myaar.aar may work.

WarBasedAxisConfigurator:

<code>

 

            if (config.getServletContext().getRealPath("") != null ||
                    config.getServletContext().getRealPath("/") != null)

{                 super.loadServices();                 log.debug("loaded services from webapp");                 return;             }

            URL url = config.getServletContext().getResource("/WEB-INF/");
            if (url != null)

{                 loadServicesFromUrl(url);                 log.debug("loaded services from /WEB-INF/ folder (URL)");             }

 </code>

 

 


was (Author: robertlazarski):
Best I can tell from the logs, there is a problem in your Web Logic config that is preventing ServletConfig.getServletContext().getRealPath("/") from working.

See if this helps you:

{{{color:#303336}<?{color}{color:#303336}xml version{color}{color:#303336}={color}{color:#7d2727}'1.0'{color}{color:#303336} encoding{color}{color:#303336}={color}{color:#7d2727}'UTF-8'{color}{color:#303336}?>{color} {color:#7d2727}<weblogic-web-app>{color} {color:#7d2727}<container-descriptor>{color} {color:#7d2727}<show-archived-real-path-enabled>{color}{color:#303336}true{color}{color:#7d2727}</show-archived-real-path-enabled>{color} {color:#7d2727}</container-descriptor>{color} {color:#7d2727}</weblogic-web-app>{color}}}

The axis2 class WarBasedAxisConfigurator in my local config shows the "loaded services from webapp" message from the code below. That isn't happening on your side. The next condition in the code is occurring according to your logs, "loaded services from /WEB-INF/ folder (URL)" .

You want this first condition to occur, but the next condition is occurring. If you still have problems, the code and logging does seem to indicate a path such as WEB-INF/myaar.aar may work.

WarBasedAxisConfigurator:

            if (config.getServletContext().getRealPath("") != null ||
                    config.getServletContext().getRealPath("/") != null) {
                super.loadServices();
                log.debug("loaded services from webapp");
                return;
            }

            URL url = config.getServletContext().getResource("/WEB-INF/");
            if (url != null) {
                loadServicesFromUrl(url);
                log.debug("loaded services from /WEB-INF/ folder (URL)");
            }

 

 

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Anoobkumar (JIRA)
2018-04-05 16:23:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427198#comment-16427198 ]

Anoobkumar commented on AXIS2-5912:
-----------------------------------

I tried all the possible ways and still I am getting the same error when using Axis 1.7(1.7.5 or 1.7.7). I can see the module loading in the logs, not the service loading. The services.list is placed in services folder under Web-Inf, and the aar file name is properly listed there. 

 

Do you have any other comment/suggestion I can try?
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-04-05 16:26:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427206#comment-16427206 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

This standard Java code is not working it seems, did you try adding the xml above to Weblogic? Try to get that working in a test case.

ServletConfig.getServletContext().getRealPath("/")

 
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-04-23 14:59:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448273#comment-16448273 ]

robert lazarski commented on AXIS2-5912:
----------------------------------------

Were you able to get this fixed? If so I'd like to add the xml snippet above to the Weblogic specific docs for the next Axis2 release.
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
robert lazarski (JIRA)
2018-06-01 13:33:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

robert lazarski closed AXIS2-5912.
----------------------------------
Resolution: Incomplete
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Ralf Hauser (JIRA)
2018-09-12 16:20:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612415#comment-16612415 ]

Ralf Hauser commented on AXIS2-5912:
------------------------------------

 see also AXIS2-5933
Post by Anoobkumar (JIRA)
Axis2 upgrade resulted in "The service cannot be found for the endpoint reference"
----------------------------------------------------------------------------------
Key: AXIS2-5912
URL: https://issues.apache.org/jira/browse/AXIS2-5912
Project: Axis2
Issue Type: Bug
Affects Versions: 1.7.5
Reporter: Anoobkumar
Priority: Major
Attachments: Axis2_16_MM_UWAlertsAppLog.log, Axis2_17_MM_UWAlertsAppLog.log, image-2018-03-30-13-06-33-443.png
I am upgarding my project from Axis2 1.6.2 to 1.7.5 version. While hitting the end point in my local server(webLogic), I am getting the below error. Could you please help?
The code is working fine with Axis2 1.6.2.
 
 
2018-03-28 15:18:09,076 [[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.axis2.engine.AxisEngine - The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:7001/BI_MRQTRules/services/BI_MRQTRules.BI_MRQTRulesPort/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:79)
at org.apache.axis2.engine.Phase.invoke(Phase.java:324)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:156)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3650)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org

Loading...