Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Problem with Tomcat server on windows Vista when used with c++ and java

Reply
Thread Tools Display Modes

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

 
 
gamiravi.d@gmail.com
Guest
Posts: n/a

 
      10-05-2007
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.

 
Reply With Quote
 
 
 
 
Michael Jennings
Guest
Posts: n/a

 
      10-05-2007
Possibly you need a later Java - is Java completely updated?
http://java.sun.com/javase/downloads/index.jsp
You might consider a beta Java SE if that won't fix it.

This is just a guess - I don't code software. Only a few people who
code software view posts in this newsgroup, so finding a better
newsgroup for your question might get you a better answer.

<> wrote in message
news: ups.com...
> 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.
>



 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      10-05-2007
<> wrote ...
> 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.


Hi Ravi,

I agree with Michael Jennings, you're unlikely to get good answers in this
group, which is oriented to end-users. You'd have better luck in a developer
newsgroup, such as microsoft.public.win32.programmer.ui.

But, in general terms .. I suspect your problem description is a bit too
high level. You need debug into the problem and decompose it a bit more.
Exactly how does the C++ app enumerate the multiple monitors? Is it calling
GDI functions, such as EnumDisplayDevices(), for example? What is it
returning? And so on.

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista crashes firefox every time I try to use del.icio.us firefoxextension - is this a java problem? Joe Windows Vista General Discussion 0 03-07-2008 05:25 PM
Windows Server 2003 Fax Routing and Vista print problem Michael Schwarz Windows Vista Printing / Faxing / Scanning 2 02-01-2008 09:45 AM
Tomcat 6 in Vista Home Premium rmcalderero Windows Vista General Discussion 1 01-11-2008 02:18 AM
Windows Vista network problem with Win2k Server Paul Kraemer Windows Vista Networking 3 08-31-2007 01:14 PM
Vista-Java problem Kathie G Windows Vista Performance 2 07-26-2007 08:01 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59