Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-10-06 Thread Christopher Schultz
1: > When I login to the application using the dns for the first time it works > fine What does "login to the application using the dns" mean? I usually use something like username+password to login to an application. > as for the first time we redirect to another login

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-10-06 Thread Larvi
Chris, I know this issue is strange and I too dont know what exactly is going on, for now I am only able to replicate this issue and find a workaround for this, so let me explain how I am able to replicate this issue. Case 1: When I login to the application using the dns for the first time it

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-10-06 Thread Christopher Schultz
logs" >>prefix="localhost_access_log" suffix=".txt" >>pattern="%v %h %l %S %u %t "%r" %s %b" /> >> >> >> >> >> On Mon, Sep 28, 2020 at 8:41 PM Christopher Schultz < >

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-10-06 Thread Larvi
> ch...@christopherschultz.net> wrote: > >> >Larvi, >> > >> >On 9/28/20 10:04, Larvi Boy wrote: >> >> Hi, >> >> >> >> When I try to login to out web gui via direct link, it is working fine >> but >> >> when I

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-09-28 Thread Larvi Boy
:41 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > >Larvi, > > > >On 9/28/20 10:04, Larvi Boy wrote: > >> Hi, > >> > >> When I try to login to out web gui via direct link, it is working fine > but > >> when I used th

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-09-28 Thread Christopher Schultz
Larvi, On 9/28/20 10:04, Larvi Boy wrote: > Hi, > > When I try to login to out web gui via direct link, it is working fine but > when I used the dns url, for first time it works fine as for the first time > we are redirected to our login page which redirects us back to my direct

Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-09-28 Thread Larvi Boy
Hi, When I try to login to out web gui via direct link, it is working fine but when I used the dns url, for first time it works fine as for the first time we are redirected to our login page which redirects us back to my direct link, but if we create another window with same dns link, some

Re: tomcat dns cache forever

2016-06-14 Thread Niranjan Babu Bommu
bu Bommu wrote: > > I have an issue with tomcat dns cache ttl, where if I change the IP > > address of the database, tomcat still sending connection requests > > to an old IP until I restart tomcat, this is not the case with > > Jboss. I verified in java security, this what

Re: tomcat dns cache forever

2016-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niranjan, On 6/10/16 11:45 AM, Niranjan Babu Bommu wrote: > I have an issue with tomcat dns cache ttl, where if I change the IP > address of the database, tomcat still sending connection requests > to an old IP until I restart tomcat, this i

tomcat dns cache forever

2016-06-10 Thread Niranjan Babu Bommu
Hi All, I have an issue with tomcat dns cache ttl, where if I change the IP address of the database, tomcat still sending connection requests to an old IP until I restart tomcat, this is not the case with Jboss. I verified in java security, this what we have in java. #networkaddress.cache.ttl=-1

Re: DNS is hijacked and some filty AD is added at the bottom of our webpage

2015-09-10 Thread George Sexton
your server that's inserting the ads. 2. Your client is compromised by a virus and it's inserting the ad. 3. Your internet service provider is evil and inserting ads. 4. You are suffering from hijacked DNS on your network. I've seen this where the router at the site had been ha

Re: DNS is hijacked and some filty AD is added at the bottom of our webpage

2015-09-09 Thread Christopher Schultz
se filthy AD added.. > > We search related knowledge and find it looks like some DNS is > hijacked. It causes when the client is accessing the website, the > hijacked DNS will be used to translate the webname to its IP. > During this process, the hijacked DNS adds the filthy AD at the w

Re: DNS is hijacked and some filty AD is added at the bottom of our webpage

2015-09-09 Thread Willem van Zyl
knowledge and find it looks like some DNS is hijacked. It causes when the client is accessing the website, the hijacked DNS will be used to translate the webname to its IP. During this process, the hijacked DNS adds the filthy AD at the web page. So my current question is: how to avoid/resolv

Re: DNS is hijacked and some filty AD is added at the bottom of our webpage

2015-09-09 Thread Christopher Schultz
> We really could not understand why there are these filthy AD at the > web page. We make sure the web page doesn't contain any ADs at > tomcat. But when we access these webpage via internet, we find > these filthy AD added.. > > We search related knowledge and find it looks lik

DNS is hijacked and some filty AD is added at the bottom of our webpage

2015-09-09 Thread shi
n any ADs at tomcat. But when we access these webpage via internet, we find these filthy AD added.. We search related knowledge and find it looks like some DNS is hijacked. It causes when the client is accessing the website, the hijacked DNS will be used to translate the webname to its IP. D

Re: denying the request if it comes through IP address instead of DNS

2014-05-17 Thread André Warnier
dku...@ccilindia.co.in wrote: Hello All, We are using - Tomcat Version - 7.0.22 Operating System Version : Windows 2003 server To close a vulnerability, "To denying the request if it comes through IP address instead of DNS", we have made below configuration changes in

Re: denying the request if it comes through IP address instead of DNS

2014-05-12 Thread David Kerber
two more years. To close a vulnerability, "To denying the request if it comes through IP address instead of DNS", we have made below configuration changes in server.xml defaultHost was set to localhost prior to change You didn't need to do this. Instead, you could make a smalle

Re: denying the request if it comes through IP address instead of DNS

2014-05-12 Thread Christopher Schultz
rating System Version : Windows 2003 server Isn't support for that dead, now? Maybe it's distinct from Windows XP. > To close a vulnerability, "To denying the request if it comes > through IP address instead of DNS", we have made below > configuration changes in server.xm

denying the request if it comes through IP address instead of DNS

2014-05-12 Thread dkumar
Hello All, We are using - Tomcat Version - 7.0.22 Operating System Version : Windows 2003 server To close a vulnerability, "To denying the request if it comes through IP address instead of DNS", we have made below configuration changes in server.xml defaultHost was set to local

Re: mod_jk not changes IP of hostname when occurs changing of IP on DNS

2013-09-21 Thread André Warnier
hanges, and have it trigger a httpd graceful restart. Or, much better, find another infrastructure where the IP address of the Tomcat servers does not change. -- Ok, one more try to explain : The only way to make this "automatic" within mod_jk, would be to have mod_jk do a DNS

Re: mod_jk not changes IP of hostname when occurs changing of IP on DNS

2013-09-20 Thread Mladen Turk
On 09/20/2013 07:29 PM, Tiago Braga wrote: Hi, I would like be automatic. The only thing we can do is to make directive for expiring the resolved address cache entry after some timeout. This however would not solve the "random" DNS change I think that this "random" is not

Re: mod_jk not changes IP of hostname when occurs changing of IP on DNS

2013-09-20 Thread Tiago Braga
Hi, I would like be automatic. Thanks. On Fri, Sep 20, 2013 at 12:29 PM, Mladen Turk wrote: > On 09/19/2013 06:41 PM, Tiago Braga wrote: > >> In apache, the module mod_jk not changes IP of hostname when occurs >> changing of IP on DNS. >> >> > Do a grace

Re: mod_jk not changes IP of hostname when occurs changing of IP on DNS

2013-09-20 Thread Mladen Turk
On 09/19/2013 06:41 PM, Tiago Braga wrote: In apache, the module mod_jk not changes IP of hostname when occurs changing of IP on DNS. Do a graceful restart of httpd when address changes. Unfortunately like some said, we can either do a DNS lookup every time which would be a performance

Re: mod_jk not changes IP of hostname when occurs changing of IP on DNS

2013-09-20 Thread Tiago Braga
o you understand the my configuration? On Fri, Sep 20, 2013 at 5:17 AM, André Warnier wrote: > Tiago Braga wrote: > >> In apache, the module mod_jk not changes IP of hostname when occurs >> changing of IP on DNS. >> >> Version of apache: >> Server version: Apach

Re: mod_jk not changes IP of hostname when occurs changing of IP on DNS

2013-09-20 Thread André Warnier
Tiago Braga wrote: In apache, the module mod_jk not changes IP of hostname when occurs changing of IP on DNS. Version of apache: Server version: Apache/2.2.15 (Unix) Server built: Aug 2 2013 08:02:15 Version mod_jk: 1.2.37 Example: workers.properties worker.portalconsultoras_prd.type

mod_jk not changes IP of hostname when occurs changing of IP on DNS

2013-09-19 Thread Tiago Braga
In apache, the module mod_jk not changes IP of hostname when occurs changing of IP on DNS. Version of apache: Server version: Apache/2.2.15 (Unix) Server built: Aug 2 2013 08:02:15 Version mod_jk: 1.2.37 Example: workers.properties worker.portalconsultoras_prd.type=ajp13

Re: DNS Netwrork address Cache

2011-06-29 Thread Pid
On 29/06/2011 08:02, Venky Vasant wrote: > I have a configuration setting of 10 minutes (networkaddress.cache.ttl=600) o > n java security file > > Will just a tomcat service restart help in clearing the cache or do i also > need to run ipconfig/flushdns. The DNS cache in Java

Re: DNS Netwrork address Cache

2011-06-29 Thread André Warnier
Venky Vasant wrote: I have a configuration setting of 10 minutes (networkaddress.cache.ttl=600) o n java security file Will just a tomcat service restart help in clearing the cache or do i also need to run ipconfig/flushdns. I would kindly suggest that you try it, and then if it does not work

DNS Netwrork address Cache

2011-06-29 Thread Venky Vasant
I have a configuration setting of 10 minutes (networkaddress.cache.ttl=600) o n java security file   Will just a tomcat service restart help in clearing the cache or do i also need to run ipconfig/flushdns.   Regards Venky

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Christopher Schultz
somehow... - From the docs (http://download.oracle.com/javase/1.5.0/docs/guide/net/properties.html): " These properties specify the default connect and read timeout (resp.) for the protocol handler used by java.net.URLConnection. " This has absolutely nothing at all to do with DNS r

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Michael Ludwig
a security manager is set. When a security # manager is not set, the default behavior is to cache for 30 seconds. # # NOTE: setting this to anything other than the default value can have # serious security implications. Do not set it unless # you are sure you are n

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Jordan Michaels
On 12/03/2010 11:31 AM, Michael Ludwig wrote: Moin Jordan, Jordan Michaels schrieb am 03.12.2010 um 10:39 (-0800): Would any of you be able to point me to some documentation on how the JVM handles DNS resolving? I'm hoping there are JVM settings that can be tweaked to help force the J

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Michael Ludwig
Michael Ludwig schrieb am 03.12.2010 um 20:31 (+0100): > Networking Properties > http://download.oracle.com/javase/6/docs/technotes/guides/net/properties.html#nct > > networkaddress.cache.ttl > Wondering myself what the default value is? > > sun.net.inetaddr.ttl > So is the "implementation

Re: SOT: JVM and DNS Failover

2010-12-03 Thread Michael Ludwig
Moin Jordan, Jordan Michaels schrieb am 03.12.2010 um 10:39 (-0800): > Would any of you be able to point me to some documentation on how > the JVM handles DNS resolving? I'm hoping there are JVM settings > that can be tweaked to help force the JVM to fail over to the > s

Re: JVM and DNS Failover

2010-12-03 Thread Jordan Michaels
On 12/03/2010 11:11 AM, Caldarale, Charles R wrote: From: Jordan Michaels [mailto:jor...@viviotech.net] Subject: SOT: JVM and DNS Failover However, the JVM doesn't seem to be doing that. Whenever this name server goes offline, the application dies because something it's doing (we di

RE: JVM and DNS Failover

2010-12-03 Thread Caldarale, Charles R
> From: Jordan Michaels [mailto:jor...@viviotech.net] > Subject: SOT: JVM and DNS Failover > However, the JVM doesn't seem to be doing that. Whenever this name > server goes offline, the application dies because something it's doing > (we didn't write it) needs to

SOT: JVM and DNS Failover

2010-12-03 Thread Jordan Michaels
nning on top of Tomcat. Normally, the application runs great, but recently one of the DNS servers that the OS uses has been having trouble, and dies. From an OS point of view, it's not a problem. The OS simply queries the secondary resolver instead and goes happily on it's way. H

RE: Does Tomcat have any special DNS requirements?

2010-07-13 Thread Caldarale, Charles R
> From: dbrownell83 [mailto:dbrownel...@hotmail.com] > Subject: Does Tomcat have any special DNS requirements? > > Eventually I would like to type http://www.mydomain.com:8080 > and see the "It works!". As long as www.mydomain.com resolves to your assigned IP address *an

Does Tomcat have any special DNS requirements?

2010-07-13 Thread dbrownell83
Hi there, I've got my initial Tomcat page running on my VPS: http://173.245.73.238:8080/ I have a godaddy domain, and have set it up with DNS records: -- A/HOSTS www.mydomain.com points to 173.245.73.238 CNAMES www points to www.mydomain.com -- I will wait anoth

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua, On 3/9/2010 4:50 PM, Joshua Gregoire wrote: http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2";> That looks fine. I hadn't seen that you already posted this in another reply before I wrote mine. Sorry to duplicate

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Hey Chris, That triggered a thought and I got it working. I had to make a change in our database application that this webapp communicates with and now I'm up and running. Thanks again to you and Andre for all your help!! Josh >>> Christopher Schultz 3/9/2010 4:07 PM >>> -BEGIN PGP SI

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua, On 3/9/2010 4:50 PM, Joshua Gregoire wrote: > CONTENT="0;URL=http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2";> That looks fine. I hadn't seen that you already posted this in another reply before I wrote mine. Sorry to duplicate effort. > T

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Hey Chris, Here is the code for the meta redirect. http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2";> The WebAdvisor2 app does do something behind the scenes once tomcat has it and the url ends up http://10.10.11.90:8080/WebAdvisor2/WebAdvisor2?TYPE=M&PID=CORE-WBMAIN&TOKENIDX=2044948188

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua, On 3/9/2010 2:25 PM, Joshua Gregoire wrote: > First, thanks for your assistance with this, I appreciate the time and > effort. Thanks for the thanks (mostly to others, not me just yet): as Andre' mentions, it's always nice when the community

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Will do and thanks again!!! >>> André Warnier 3/9/2010 2:19 PM >>> Joshua Gregoire wrote: > First, thanks for your assistance with this, I appreciate the time and > effort. > No problem. The people here are all volunteers, who try to help because they like doing this. They also do it to the

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
Joshua Gregoire wrote: First, thanks for your assistance with this, I appreciate the time and effort. No problem. The people here are all volunteers, who try to help because they like doing this. They also do it to the limit of their abilities. Unfortunately my abilities in terms of IIS and

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
First, thanks for your assistance with this, I appreciate the time and effort. It's quite possible I'm using it wrong. In IIS, I setup a site with root drive on C:\inetpub\r18test2.kcc.edu and I created two virtual directories, 1 for the isapi dll called jakarta and another for the WebAdvisor

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Question 1: Not sure this server will always be used for just this site. Also, we will have three versions of this site on the server. 1 will be production other two will be test instances. Wasn't sure how tomcat handled multiple sites with multiple domain names. Question 2: The redirect is don

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
André Warnier wrote: Joshua Gregoire wrote: r18test2.kcc.edu brings me to the root drectory of the site in IIS. I have a redirect set on the default page in IIS to go to http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2 The url in the browser then changes to http://10.10.11.90:8080/WebAdvisor2/

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
Joshua Gregoire wrote: r18test2.kcc.edu brings me to the root drectory of the site in IIS. I have a redirect set on the default page in IIS to go to http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2 The url in the browser then changes to http://10.10.11.90:8080/WebAdvisor2/WebAdvisor2 The fi

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Version 7.0.6000.16386 > Tomcat Version 6.0.24 64 bit > Isapi_redirector 1.2.30 amd64 > Thank you for specifying this. > I have my site up and running in Tomcat. I also have IIS sending requests to it, however, I can't get it to display the dns name. > > Example &g

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
. I have my site up and running in Tomcat. I also have IIS sending requests to it, however, I can't get it to display the dns name. Example Type http://r18test2.kcc.edu brings up http://10.10.11.90:8080/WebAdvisor2/WebAdvisor2? The site works correctly, just want it display the url

Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
IIS sending requests to it, however, I can't get it to display the dns name. Example Type http://r18test2.kcc.edu brings up http://10.10.11.90:8080/WebAdvisor2/WebAdvisor2? The site works correctly, just want it display the url (http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2?) and no

RE: DNS Problem

2008-03-10 Thread Peter Crowther
> From: only vimal [mailto:[EMAIL PROTECTED] > My problem is if I use DNS name > of server instead of IP address in the URL its giving DNS > error from other systems. That sounds like a DNS problem - a DNS error would cause a failure before the remote system ever tried to contact To

DNS Problem

2008-03-09 Thread only vimal
Hi, I have a web application which is accessed by other systems. The application is accessed using its IP address in the URL. My problem is if I use DNS name of server instead of IP address in the URL its giving DNS error from other systems. But it works fine when accessed on server itself

Re: [OT] DNS

2006-07-31 Thread Christopher Schultz
Juba, > How do I configure my dns to point to the server where my application is > installed in Tomcat? That depends. What operating system are you running on the machine that you want to modify? ...and do you have a DNS server running on your Tomcat server? DNS configuration on UNIX is u

Re: DNS [OT]

2006-07-31 Thread Edmund Urbani
Juba wrote: > Hello, > > How do I configure my dns to point to the server where my application is > installed in Tomcat? > > thanks > > Juba > That depends on your DNS server and its config files/administration tools. That's about all I can tell you, since I

DNS

2006-07-31 Thread Juba
Hello, How do I configure my dns to point to the server where my application is installed in Tomcat? thanks Juba - Mensagem verificada pelo software de Anti-Virus McAfee. FAMERP - STI

Re: Two DNS Entries Two Sites?

2006-02-06 Thread David Delbecq
to the correct virtual host. Scott Purcell a écrit : >Hello, > >Running Tomcat 5.5 @ home and running a website which has a DNS entry in >it. I made the site the default webapp, and configured it in the >server.xml. > > > >A week ago, I created another context (in t

Re: Two DNS Entries Two Sites?

2006-02-06 Thread Edmund Urbani
Scott Purcell wrote: Hello, Running Tomcat 5.5 @ home and running a website which has a DNS entry in it. I made the site the default webapp, and configured it in the server.xml. A week ago, I created another context (in the server.xml) for a dev-site, of my live site, and I am using that

RE: Two DNS Entries Two Sites?

2006-02-06 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: Two DNS Entries Two Sites? > > A week ago, I created another context (in the server.xml) for a > dev-site, of my live site, and I am using that for QA. I want to run a > second real-web site off this box, and same Tomc

Two DNS Entries Two Sites?

2006-02-06 Thread Scott Purcell
Hello, Running Tomcat 5.5 @ home and running a website which has a DNS entry in it. I made the site the default webapp, and configured it in the server.xml. A week ago, I created another context (in the server.xml) for a dev-site, of my live site, and I am using that for QA. I want to run a

Re: problem solved (was: tomcat 5.5.9 caching ldap dns information)

2006-01-09 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 James Black wrote: | I am curious if indeed this version of tomcat would cache dns information. ~ I found out that the jvm caches, by default, indefinately. ~ So, we just need to set the value in java.security. - -- "Love is mutual

re: tomcat 5.5.9 caching ldap dns information

2006-01-09 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 I am curious if indeed this version of tomcat would cache dns information. What happened is that we have a cname pointing to our ldap directory. The cname was changed to point to the backup, and the primary was shut down. None of the

RE: DNS error, no reply from Tomcat and no clues in the log

2005-12-21 Thread Caldarale, Charles R
> From: William Claxton [mailto:[EMAIL PROTECTED] > Subject: RE: DNS error, no reply from Tomcat and no clues in the log > > Compare an unused port and an active Tomcat, and there is a > difference. Tomcat will clear the screen and wait for input. An > unused port will ap

RE: DNS error, no reply from Tomcat and no clues in the log

2005-12-21 Thread William Claxton
communicating with an unused port (no listener). At 10:32 PM 12/21/2005, you wrote: > From: Caldarale, Charles R > Subject: RE: DNS error, no reply from Tomcat and no clues in the log > > > From: William Claxton [mailto:[EMAIL PROTECTED] > > Subject: DNS error, no reply from T

RE: DNS error, no reply from Tomcat and no clues in the log

2005-12-21 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: DNS error, no reply from Tomcat and no clues in the log > > > From: William Claxton [mailto:[EMAIL PROTECTED] > > Subject: DNS error, no reply from Tomcat and no clues in the log > > > But if I telnet to the machi

RE: DNS error, no reply from Tomcat and no clues in the log

2005-12-21 Thread Caldarale, Charles R
> From: William Claxton [mailto:[EMAIL PROTECTED] > Subject: DNS error, no reply from Tomcat and no clues in the log > > The service starts normally, but the browser reports a > DNS error. That would seem to indicate a problem in you DNS configuration, nothing to do with Tomc

DNS error, no reply from Tomcat and no clues in the log

2005-12-21 Thread William Claxton
lation. The service starts normally, but the browser reports a DNS error. Netstat reports that Tomcat is listening on 8080 (for IP 0.0.0.0). But if I telnet to the machine's IP address and connect to port 8080 there is no reply. Perhaps Tomcat is listening on a different IP? Most perplex