Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

SOAPUI and Tomcat  RSS feed

 
Ranch Hand
Posts: 1301
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: 1301
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: 5745
148
Chrome Eclipse IDE Java Postgres Database 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: 1301
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: 5745
148
Chrome Eclipse IDE Java Postgres Database 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.
 
Die Fledermaus does not fear such a tiny ad:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!