Questions tagged [spring-remoting]

Spring Remoting exposes services over the web for Spring clients to consume as easily as though they were locally instantiated. Commonly, Spring Remoting is used to expose a published interface over HTTP and with data serialized between the client and server using Java serialization.

Filter by
Sorted by
Tagged with
0 votes
0 answers
192 views

Error while calling a remote service via Spring HTTPInvoker from my Kafka consumer

Getting the "No thread-bound request found" issue when calling a remote service via Spring HTTPInvoker from my Kafka Consumer. In this case ideally there would not be a Http Request as the ...
Dinesh's user avatar
  • 53
2 votes
1 answer
796 views

HttpInvokerServiceExporter is deprecated in spring 5. Is there any replacement? Will it be available in spring 6?

HttpInvokerServiceExporter is deprecated in spring 5. I want to call spring remote bean via HTTP protocol. Is there any replacement? HttpInvokerServiceExporter has a vulnerability of RCE also so i ...
Kablu Mandal's user avatar
0 votes
1 answer
114 views

How to make Spring-remoting work over Kafka?

Is there any example (somewhere) of spring-remoting working on top of (spring-) Kafka ?
user2038596's user avatar
1 vote
0 answers
191 views

What serialisation attacks does Spring's HTTPInvoker mechanism allow when proxy classes are not accepted?

I would like to assess the security of my Spring-based client-server application which uses Spring's HTTPInvoker mechanism for exchanging data. I know several vulnerabilities regarding the Java ...
Uwe's user avatar
  • 844
0 votes
2 answers
3k views

Could not deserialize result from HTTP invoker remote service [...]; nested exception is java.lang.ClassNotFoundException:

I am receiving the following error only when a shared library is added to my application on an IBM WebSphere instance (version 8.5.xx). The goal is to move a lot of shared libraries (jars) between ...
tbcrawford's user avatar
0 votes
1 answer
387 views

What is the JNDI name should I use to lookup for a remote interface deployed in websphere using Spring Boot?

I have a remote interface deployed in websphere 8.5.5 and I want to look up for this in spring boot application. I have made similar interface in my spring boot as common interface RMI I also used ...
Hamada's user avatar
  • 53
0 votes
1 answer
122 views

Spring-remoting SimpleHttpInvokerRequestExecutor retries request when it shouldn't

I am investigating a quite strange problem. The project I'm working on uses Spring-remoting to invoke methods over http. From what I have gathered so far the following happens: My client code ...
Tobb's user avatar
  • 11.9k
1 vote
1 answer
1k views

how to set dynamic header in spring remoting

We need to call a Bean class using spring remoting and also set dynamic header in the call. We can set custom HttpInvokerRequestExecutor in the HttpInvokerProxyFactoryBean and add header but how to ...
deepakreads's user avatar
1 vote
0 answers
127 views

Can we access spring services outside the web application?

We use spring 4.3 and spring boot version 1.5 in our web application. For (product) analytics purposes we want to read the metadata of our product which is persisted in an RDBMS store (Oracle). Our ...
Andy Dufresne's user avatar
0 votes
1 answer
137 views

Spring remoting proxy injection to a spring defined FXMLController in initialization throws NoSuchBeanDefinitionException

As the title says, i have a server application which defines a RmiServiceExporter like this: @Bean RmiServiceExporter exporter() { Class<Service> serviceInterface = Service.class; ...
Vlad Ilie's user avatar
1 vote
1 answer
814 views

Observing argument type mismatch Spring Amqp Remoting With Kotlin

Though there is exactly 1 parameter for Service i am always hitting argument mismatch when using spring with kotlin combination. i have also debugged org.springframework.remoting.support....
Nagaraju Nooka's user avatar
1 vote
1 answer
5k views

java.lang.NoClassDefFoundError: org/omg/CORBA/COMM_FAILURE on client while creating simple spring boor rmi app

I am creating spring boot applicating using RmiServiceExporter on server and RmiProxyFactoryBean on client.When i start server everything seems ok, i get [main] o.s.remoting.rmi.RmiServiceExporter: ...
Blanderbuss's user avatar
0 votes
1 answer
3k views

Spring - Cannot deserialize result from HTTP invoker remote service

This error occurs when I'm trying to invoke a method available for me through spring's remote service. The error is as follows: org.springframework.remoting.RemoteAccessException: Cannot ...
gourmej's user avatar
1 vote
0 answers
477 views

JaxWsPortProxyFactoryBean to bypass SSL checks

I have an Spring Proxy as a client to access some WS: <bean id="clientPort" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean"> <property name="serviceInterface" value=...
user311174's user avatar
  • 1,736
0 votes
0 answers
504 views

JaxWsPortProxyFactoryBean and thread-safety?

We use JaxWsPortProxyFactoryBean for accessing easily SOAP webservices. We have a specific service class annotated with the @Service from Spring which gets injected with this service proxy and which ...
olibur's user avatar
  • 367
1 vote
1 answer
3k views

Using HttpInvokerServiceExporter giving 500 error code

I am struggling for last two days to expose a service using HttpInvokerServiceExporter. The error says Did not receive successful HTTP response The complete stack trace is below for details. The code ...
zilcuanu's user avatar
  • 3,451
0 votes
0 answers
260 views

What is the concept of Remoting, Spring Remoting?

I am learning Spring Framework, and many places I came across "Spring Remoting". As I can guess "Spring Remoting" would be Spring's support for Remoting. My doubt is what is Remoting? And is Spring ...
CuriousMind's user avatar
  • 8,321
0 votes
3 answers
5k views

Spring Boot and Spring AMQP RPC - No converter found to convert exception

I have several tutorials working with Spring Boot and RPC through RabbitMQ. However, as soon as I attempt to add a Jackson JSON message converter, it all falls to pieces. The remote invocation is ...
Lukas Bradley's user avatar
0 votes
0 answers
182 views

Integrating BIRT with Spring Remoting Error

I am new to BIRT and I followed the following example to integrate BIRT with spring remoting example in devshare: https://spring.io/blog/2012/01/30/spring-framework-birt I am getting the following ...
Toni N's user avatar
  • 1
1 vote
0 answers
2k views

Bean creation exception on FactoryBean type check when creating RmiRegistryFactoryBean

I get the following exception 8 times: WARN DefaultListableBeanFactor - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error ...
Andras Hatvani's user avatar
2 votes
2 answers
3k views

Spring HttpInvoker vulnerable to recent deserialization exploit before authentication?

The recent Foxglove Security article on Java deserialization attacks with links to example code for targeting major app servers, as well as Spring and Groovy apps, is raising lots of consternation. ...
btburt's user avatar
  • 61
0 votes
1 answer
1k views

Implementing Web Services with spring without using spring-remoting-2.0.8.jar as this jar is not released by spring community

We are trying to implement Web Services with spring and axis. As a reference we used THIS SITE.Here they have suggested to implement end point by extending ServletEndpointSupport as below import org....
chandu ram's user avatar
0 votes
1 answer
245 views

Spring HttpInvokerServiceExporter: Deserialized Attribute Objects not complete on Linux

I'm using Spring 4.0.4 and use HttpInvoker from Spring to update Objects of a different application which is usually running on the same Tomcat. The problem is, that attributes, which are customized ...
Thomas Lang's user avatar
4 votes
1 answer
618 views

Can I wire a URI to every method of a Camel proxy class?

With Camel proxy I can do the following: public class MyBean { @Produce(uri = "direct:mybean") private MyProxy producer; public void doSomething() { String response = producer....
Emil Gotsev's user avatar
1 vote
0 answers
1k views

Spring RMI-IIOP(CORBA) with spring-aop

I am trying to implement rmi-iiop using spring. I searched a lot but didn't find any latest example of it. So I started with Exposing Corba Services section in this book. Even though it is written ...
Shabin Shajahan's user avatar
0 votes
0 answers
331 views

Java : Using Spring remoting for getting objects from server

I am working on a JavaSE application in which I would like to connect to a Spring-MVC based server to get List of objects, Objects itself. I looked up on net, and came upon JSON. While I agree that it ...
We are Borg's user avatar
  • 5,137
1 vote
0 answers
475 views

Servlet context and Session in Camel Spring remoting via JMS

I'm trying to integrate 2 spring-mvc applications using Camel-Spring-remoting via JMS/ActiveMQ component. I'm successfully able to call a remote method in App1 from App2. App1 and App2 has Shared ...
Firdous Amir's user avatar
  • 1,297
1 vote
0 answers
210 views

Spring Remoting with Camel and HTTP

REST seems to be a big work for me right now as I'm migrating an existing "Big" monolithic application into small "micro-services" and there are a lot Interface wiring inside. Based on my research, A ...
Firdous Amir's user avatar
  • 1,297
1 vote
1 answer
369 views

Property 'service' is required when migrate from Spring 2 to Spring 4

This server context used to work fine with Spring 2: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/...
Max's user avatar
  • 3,834
12 votes
6 answers
5k views

Is it possible to remotely expose a bean in spring boot using REST and httpInvoker

I need to expose some service for remote use by Java clients (they shall use httpinvoker) and other languages (they shall use REST). Can I configure spring boot to expose both ? (I would not mind if ...
Marged's user avatar
  • 10.6k
0 votes
1 answer
627 views

httpinvoker not working when csrf protection is enabled in server

I have two spring web applications secured with spring security. These two applications communicate with each other through spring httpInovoker. Access controlling is working fine. But when I enable ...
pritam pal's user avatar
1 vote
2 answers
2k views

Dangling ports via spring remoting in "CLOSE_WAIT"

It appears this exact problem has been asked before and answered by the author. Unfortunately the original forum is now read-only and I can no longer extend that thread or directly message the author. ...
mores's user avatar
  • 11
0 votes
1 answer
2k views

accessing http invoker service from a test client protected by spring security in spring remoting

I have an spring remoting implemented via HttpInvoker . My client and service looks like below taken from spring docs I followed the spring doc: (sorry I could not post actual code due to company ...
user3735912's user avatar
0 votes
0 answers
232 views

java/spring remoting options

I have a java method that returns a byte array and the size can very from few KB to a few hundred MB. I want to make this method available for remote execution maintaining good performance so that ...
Mark1234's user avatar
  • 589
0 votes
1 answer
241 views

spring remote chunking read issue

I have spring remote chunking working over JMS. my configurations are as below. Gateway wait time out = 5000ms, commit interval=10, the number records it can read per read is 1000. concurrent ...
user1224036's user avatar
0 votes
1 answer
349 views

Apache Camel Spring remote not working

Given a server configuration: <camel:camelContext id="reporting_shoppingCard" xmlns="http://camel.apache.org/schema/spring"> <camel:contextScan /> <camel:export uri="...
Marcin's user avatar
  • 163
1 vote
0 answers
4k views

Json string handling with back slash

I know this question was asked several times before on this forum. But none of it addresses my problem. I am using Jmeter to post json string with content-type "application/json" My Spring mvc app is ...
sridhar kondoji's user avatar
5 votes
2 answers
7k views

Thread is blocked when use restTemplate

I encounter a problem that threads of my app has locked/blocked when communicate with a remote server using Spring's RestTemplate. Here is the jstack info of one blocked thread: "pool-1-thread-8" ...
Wuaner's user avatar
  • 929
2 votes
0 answers
1k views

How to use spring remoting with hessian and spring security?

We have a three tier architecture and we are using spring remoting in combination with hessian. Currently we have a client app and the business app is running on two different tomcats. Tomcat 1 ...
Daniel's user avatar
  • 835
1 vote
0 answers
862 views

Exporting standalone web services using JAX-WS throws Error

I am facing issues while exposing standalone web services using spring jax-ws SimpleJaxWsServiceExporter for remoting. Below is my configuration and error message while starting the application. I am ...
Vijay's user avatar
  • 61
-2 votes
1 answer
21k views

could not access HTTP invoker remote service

Im using Spring and im trying to access a HTTP invoker remote service and have specified the url in the spring-http-client-config.xml. But Im getting the below exception org.springframework....
vr3w3c9's user avatar
  • 1,118
0 votes
0 answers
2k views

Exceptions during long remote execution via JMS based on Spring

I use Spring remoting via JMS like that: Client <bean id="requestQueue" class="org.apache.activemq.command.ActiveMQQueue"> <constructor-arg value="request"/> </bean> <...
Mikhail Kadysev's user avatar
1 vote
1 answer
1k views

Using HttpRequestHandlerServlet in programatically configured Jetty embedded server

I have programatically defined a Jetty server and added an instance of a HttpRequestHandlerServlet. I am trying to do all of this without a web.xml file. Here is a simplified version of my code: ...
Steve Ardis's user avatar
2 votes
1 answer
917 views

Spring Remoting RMI , client failover to standby server

Env : Spring Framework 3.2.3.RELEASE Is there a way achieve failover with RmiProxyFactoryBean or any other in a straight forward spring context configuration ? I have a ServerA as primary & ...
Ahamed Mustafa M's user avatar
0 votes
1 answer
166 views

can we call Spring Remoting web service JAVA From .Net

We have created Remoting web services using Spring Remoting support. We need to call those web services from .NET aplication. Is it possible to do this i.e. calling web services written in java from ...
Sidaoui Majdi's user avatar
0 votes
0 answers
107 views

dotNet Spring Remoting Communication

I'm a JAVA developer and i need some advice :), so, i have a JAVA server and i'm using Spring and services are exposed by Spring Remoting. Now i have to develop a DotNet app that will communicate with ...
Sidaoui Majdi's user avatar
0 votes
2 answers
690 views

How to add OSGI service references in contexts property of httpserver (Spring remoting)?

I use Spring remoting and OSGI. <bean id="httpServer" class="org.springframework.remoting.support.SimpleHttpServerFactoryBean"> <property name="contexts"> <util:map&...
Soniya Chavan's user avatar
1 vote
0 answers
541 views

HessianConnectionException: 500: java.io.EOFException

I'm developing an Android application that communicates with a Hessian web service. It works fine after starting but when i call again the network function i get this error: 08-21 14:27:24.712: E/...
Sidaoui Majdi's user avatar
7 votes
3 answers
28k views

Spring: Properly setup @ComponentScan

I have following set up for my Spring Application Context. @Configuration public class RmiContext { @Bean public RmiProxyFactoryBean service() { RmiProxyFactoryBean rmiProxy = new ...
TheKojuEffect's user avatar
0 votes
1 answer
170 views

Distributing business logic across different servers(like JBoss/Glassfish) using Spring and still under one transaction

I am willing to create an example(code) using Spring in which business logic to be distibuted across different servers like JBoss or Glassfish and still under one transaction? First of all is this ...
PRS's user avatar
  • 41