Problem with Tomcat server on windows Vista when used with c++ and java

Problem with Tomcat server on windows Vista when used with c++ and java

am 05.10.2007 17:11:44 von 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.

Re: Problem with Tomcat server on windows Vista when used with c++ and java

am 05.10.2007 19:44:58 von David Kerber

In article <1191597104.031775.79620@w3g2000hsg.googlegroups.com>,
gamiravi.d@gmail.com says...
> 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?

How many monitors are on the server that is running tomcat?

--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).

Re: Problem with Tomcat server on windows Vista when used with c++ and java

am 06.10.2007 15:20:36 von gamiravi.d

server has two monitos that is running tomcat.