Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9079449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:50:22+00:00 2026-06-16T19:50:22+00:00

I have two different applications deployed in Tomcat server. The purpose of one application

  • 0

I have two different applications deployed in Tomcat server. The purpose of one application is to call another application which processes data using rule engines. Basically, it calls a static method of another application through reflection.

This works perfectly fine in Jboss. But now for some reason, I need to deploy same applications on Tomcat. And here it fails. It seems that one application classes are not able to find another application classes. Doesn’t Tomcat supports reflection? Or reflection is not possible between different applications?

Thanks,
Nipun

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:50:23+00:00Added an answer on June 16, 2026 at 7:50 pm

    I think you’re relying on the classloading structure of each app server. The classloader structure/hierarchy is configurable, but generally the 2 apps will occupy different classloaders, and using reflection across classloaders could well be problematic.

    Why are you using reflection to communicate between these apps ? This doesn’t sound practical or, indeed, suitable. You have 2 web apps, so why not communicate using their HTTP API ? If you can/don’t want to do this, I would investigate other solutions, such as RMI.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two different applications in one tomcat. One application performs an HTTP request
I have two web applications deployed in two different weblogic servers. Application 1 is
I have written two different applications running as windows services. Each application represents one
I am using two different web application deployed in the same tomcat instance. One
I run foo.com. I have two different applications that live in foo.com: one is
I have two different web applications running on two different instances of tomcat. I
I have a windows forms application that is deployed to two different locations. Intranet
I have a application which is deployed in tomcat 6 In this application I
I have an application that needs to be deployed to two different servers (environments).
I have two asp.net 1.1 applications which have the same code but use different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.