Problem with Tomcat server on windows Vista when used with java

G

gamiravi.d

Hi,
I have one c++ application to get number of monitors from
system. I am calling .exe of c++ application using java api through
tomcat server in browser on window vista. right now I have two
monitors attached in the system.one primary and other secondary. but
when i call c++ application using java api through tomcat server, it
lists only one primary monitor.

i have some scenario for behavoiur of such application:

(1) when i run directly c++ application on vista it works fine.(gives
two monitors)
(2) when i run using sample java code without tomcat server it works
fine..(gives two monitors)
(3) when i am calling from browser through tomcat server it displays
only one monitor.
(4) one important thing is that when i call same thing on Windows XP
it works fine..(gives two monitors)


can anybody tell that what could be the problem to get list of monitor
through tomcat server on windows vista?

Ravi.
 
A

Andrew Thompson

(1) when i run directly c++ application on vista it works fine.(gives
two monitors)
(2) when i run using sample java code without tomcat server it works
fine..(gives two monitors)
(3) when i am calling from browser ...

What browser? Have you tried a UA (user agent,
broswer) from a different manufacturer? Does it
work with the other UA?

...
can anybody tell that what could be the problem to get list of monitor
through tomcat server on windows vista?

Not yet, but one thing I can tell you is this. Each
sentence should start with a single Upper Case
letter. This makes messages easier to read, and
therefore more likely to gain the attention they
deserve.

--
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200710/1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,526
Members
44,997
Latest member
mileyka

Latest Threads

Top