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 8401383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:47:32+00:00 2026-06-09T21:47:32+00:00

I have my java application running along with Apache Tomcat and jdbc is used

  • 0

I have my java application running along with Apache Tomcat and jdbc is used for DB. However in some of the db transactions there are few dlls that are to be invoked. For this I’ve decided to use fastcgi.

So now I have a C++ program that invokes a dll. FastCGI along with Apache Tomcat should be able to be run this C++ program on a Windows machine? How can this be done? I am not able to get any pointers on Google for this particular fastCGI + Tomcat Apache + C++ + windows combination of setup. Please help!

  • 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-09T21:47:33+00:00Added an answer on June 9, 2026 at 9:47 pm

    Apache Tomcat is a Java application server. It’s deliberately limited in scope. It supports CGI for some reason; but it does not support FastCGI. That’s why you did not find any pointers: it’s not possible using Tomcat as distributed.

    You could try one of these approaches:

    • convert your FastCGI wrapper into a plain executable, and invoke that from Java;
    • use SWIG to wrap your C++ library in a Java native (JNI) wrapper, that allows you to load it directly into your Java application and call it, but this is tricky with Tomcat because it doesn’t allow web applications to load native libraries unless installed by the admin in Tomcat’s common libraries directory;
    • modify your Java web app to implement the FastCGI network protocol to communicate with the FastCGI process that hosts your DLLs;
    • run another server in front of Tomcat that supports both Tomcat (AJP) and FastCGI forwarding, for example Apache httpd, lighttpd or nginx.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an application running on Tomcat 6.0.32 and using JSSE (Java 1.6.0_26) for
I have a new tomcat application server running on tomcat 6, java 6 (openjdk),
I have a java application running on Linux system. Currently we are facing some
I have a java web application running under tomcat in a Sun java 6
I have a Java application running on Tomcat 7. I want my application to
I have a Java application running on WAS 6.1, with Log4j used for logging.
We have a Java application running on JBoss 5.1 and in some cases we
I have an Java application running in JBoss in which I have enabled JMX
We have a java application ( Atlassian Bamboo) running on port 8085 on Windows
I have a Java application which is running as non root mode. My App

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.