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

  • Home
  • SEARCH
  • 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 6845255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:28:41+00:00 2026-05-27T00:28:41+00:00

Hello i got a problem using Apache-Tomcat v6.0.29. The Problem My application uses apache

  • 0

Hello i got a problem using Apache-Tomcat v6.0.29.

The Problem

My application uses apache tomcat for the java-flex comunication… everithing goes fine most of the time… but sometimes when i call a java function from flex 3 (a function that most of the time works fine)… Tomcat GETS FROZEN.

Example (EDIT)

1- Start tomcat (works)

2- run flex program (works)

3- call the java function downloadLiveViewPicture() (works great)

…
I download lots of live view pictures from a camera and take pictures and re start the live view downloads and everuthing works fine… i call functions form java lile takePicture(), or execute in java sql querys form my database…
…

4- do something else… (works)

5- call the same java function (sometimes works and sometimes not)
When i go to the main view of my flex app, i i try to re start the downloadLV nothings happen, even if the procedure i use in this point is the same i use and works on point 3…

Environment

Backend Java
FrontEnd Flex aplication
Between tjhe: Apache Tomcat v6.0.29

Solution attempts

I tried closing tomcat and re opening it after calling again the Java function (Step 5 of example) it works, but this solution is not a viable solution.
At least i want to make it using a java method which closes and re opens the tomcat. I tried using the taskkill comand but it doesnt work…

The other thing that i realized is that if i wait a minute before calling the java function from flex… there is a greater probability that the function will work…

Thanks!!!

  • 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-05-27T00:28:41+00:00Added an answer on May 27, 2026 at 12:28 am

    Finnaly find the problem:

    I am using a Camera wich supports only one session simultaneously and TomCat creates new java Threads when i call TomCat from the Flex app. So every thread which wants to interact with the cam get the TomCat frozen if the is another thread interacting with the cam.

    Is not a solution buy a good man said: “If you find the problem, you almost find the solution”.

    So i would have to deal with the one-session problem…

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

Sidebar

Related Questions

I'm trying to embed groovy in java application and got a weird problem. Let's
Hello i have got a problem, if I try to display maps with using
I've got C++ backend application that interacts with webpage using fastcgi. Webpage uses jQuery
hello i got a problem using valgrind when i use it with valgrind --leak-check=full
Hello I got problem with scroll on my grid. Here is the code (nothing
Hello I've got a problem accessing Oracle DB from our datacenter through a tunnel.
I've got a problem using WebClient.UploadStringAsync method. I've to do a POST request with
hello i got a problem with comparing two char* variables that contains numbers for
hello i got a problem with reading from a file, i am trying to
I got this code ` // // prints out Hello World! // hello_world(); //First

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.