For Programmers: Free Programming Magazines  


Home > Archive > Java Security > April 2004 > Why is java.exe accessing the internet?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Why is java.exe accessing the internet?
John

2004-04-16, 11:34 am

Hi,

I am pretty new to java and have installed tomcat on my PC (XP Home) along
with a few other java tools. I've noticed when I start tomcat ZoneAlarm
asks permission for java.exe to access the internet, then if java.exe can be
a server. This is obviously tomcat so I say yes.

But occassionally I will get a message asking if java.exe can access the
internet or act as a server and I don't know why! Is there anyway to tell
what is causing this request?

And does anybody know a way to set ZoneAlarm to always allow tomcat these
permissions without allowing them for all java apps?

Thanks in advance,
John



Roedy Green

2004-04-16, 8:32 pm

On Fri, 16 Apr 2004 10:04:33 -0400, "John" <Please@reply.to.group.com>
wrote or quoted :

>But occassionally I will get a message asking if java.exe can access the
>internet or act as a server and I don't know why! Is there anyway to tell
>what is causing this request?
>
>And does anybody know a way to set ZoneAlarm to always allow tomcat these
>permissions without allowing them for all java apps?


Hmm. From Zonelarm's point of view they are all the same program. Any
Java app looks like java.exe to the os. What you could try is making
a copy of Java.exe and renaming it to something else and see if that
name shows up. Put this dup in the JRE directory, and explicitly
reference it by classname rather that getting some unknow copy off the
path somewhere. Your next problem is getting say Resin to use
resinjava.exe instead of java.exe.



--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Alex Molochnikov

2004-04-17, 1:31 am

1. If you have multiple JVMs, then each instance of java.exe, being a
different file, requires individual clearance with ZoneAlarm.

2. What ZoneAlarm reports as the request to access the Internet may be just
an attempt by Java to open a port on your localhost (127.0.0.0) for internal
purposes.

Alex Molochnikov
Gestalt Corporation
www.gestalt.com

"John" <Please@reply.to.group.com> wrote in message
news:OJRfc.26276$2Z6.1135251@news20.bellglobal.com...
> Hi,
>
> I am pretty new to java and have installed tomcat on my PC (XP Home) along
> with a few other java tools. I've noticed when I start tomcat ZoneAlarm
> asks permission for java.exe to access the internet, then if java.exe can

be
> a server. This is obviously tomcat so I say yes.
>
> But occassionally I will get a message asking if java.exe can access the
> internet or act as a server and I don't know why! Is there anyway to tell
> what is causing this request?
>
> And does anybody know a way to set ZoneAlarm to always allow tomcat these
> permissions without allowing them for all java apps?
>
> Thanks in advance,
> John
>
>
>



Alun Harford

2004-04-21, 2:47 pm

"John" <Please@reply.to.group.com> wrote in message
news:OJRfc.26276$2Z6.1135251@news20.bellglobal.com...
> Hi,
>
> I am pretty new to java and have installed tomcat on my PC (XP Home) along
> with a few other java tools. I've noticed when I start tomcat ZoneAlarm
> asks permission for java.exe to access the internet, then if java.exe can

be
> a server. This is obviously tomcat so I say yes.
>
> But occassionally I will get a message asking if java.exe can access the
> internet or act as a server and I don't know why! Is there anyway to tell
> what is causing this request?
>
> And does anybody know a way to set ZoneAlarm to always allow tomcat these
> permissions without allowing them for all java apps?
>

There's a solution for that: get a decent firewall. :-)

Alun Harford


Nathan Zumwalt

2004-04-22, 1:34 pm

It could be that the XML parser is trying to get the DTD specified in
web.xml or other Tomcat config file. I've seen similar things with
the software firewall I'm forced to use on my laptop.

-Nathan

"John" <Please@reply.to.group.com> wrote in message news:<OJRfc.26276$2Z6.1135251@news20.bellglobal.com>...
> Hi,
>
> I am pretty new to java and have installed tomcat on my PC (XP Home) along
> with a few other java tools. I've noticed when I start tomcat ZoneAlarm
> asks permission for java.exe to access the internet, then if java.exe can be
> a server. This is obviously tomcat so I say yes.
>
> But occassionally I will get a message asking if java.exe can access the
> internet or act as a server and I don't know why! Is there anyway to tell
> what is causing this request?
>
> And does anybody know a way to set ZoneAlarm to always allow tomcat these
> permissions without allowing them for all java apps?
>
> Thanks in advance,
> John

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com