• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

SOAPUI and Tomcat  RSS feed

 
Ranch Hand
Posts: 1327
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am sending .json with an email format (email, subject, message_text) using SoapUI. It gives back a HTTP/1.1 200

On the other hand, I have a Spring App which should send an email, it uses local Tomcat. In the server.xml I placed this kind of code



Also when I run Tomcat in a Debug mode and I run successfully SOAP UI the debug points are not reached, it is like if there would not be any connection between the local Tomcat and SOAPUI (Embedded Tomcat in Spring Boot).

Anyone could give me some ligth about this, please?

Regards, Isaac
 
Angus Ferguson
Ranch Hand
Posts: 1327
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a first step I am trying to generate a war file of the Spring Boot app. I am following the next https://www.mkyong.com/spring-boot/spring-boot-deploy-war-file-to-tomcat/ but any war file is generated in the target folder.
 
Sheriff
Posts: 5917
155
Chrome Eclipse IDE Java Postgres Database Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, an HTTP response of 200 just means the connection is okay, not that your program logic is working.  I would log your progress in the app with a logging.  Place them liberally to test your assumptions.  
 
Angus Ferguson
Ranch Hand
Posts: 1327
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The thing is that it doesnt reach thte application, looks like a remote debug mode needs to be set up.
 
Knute Snortum
Sheriff
Posts: 5917
155
Chrome Eclipse IDE Java Postgres Database Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is why I suggested using a logger.  It's easier to setup and you won't have to worry about whether your debugging is working.
 
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!