Sponsored Content
Top Forums Web Development Restart TomEE frequently because URL is not responding Post 303031329 by alexcol on Tuesday 26th of February 2019 11:10:41 AM
Old 02-26-2019
Restart TomEE frequently because URL is not responding

Good morning, i need your help please
In a Production system an application comprises TomEE and the core application, and it is distributed among 4 nodes or servers

Many many times the URL for node1 its not responding, sometimes there is a delay of 2 mitutes to load,sometimes i get a 404 error, so the temporal solution is to restart tomEE almost daily, but this is not a good practice because this URl receives thousands https requests from internet.

behind those 4th nodes it is a load balancer, so these questions arise:

1 when and why should i restart tomEE? how frequently?
2 in Unix/Linux itself is a way to see for each node the number of request being received from the load balancer? so i can know if LB is sending the request in a balanced way to each node?

I am new to Unix and i have no idea about web servers applications, if u have any url to get documented
I appreciate your help in advanced
 

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

why i havent been posting so frequently...

to start, i will continue to be an active member of this community and still love computers and unix based operating systems. ive been busy recently with a pretty big project, not involving unix :p one of my other hobbies is automobiles. i have a 1986.5 toyota supra, now if anyone here has... (8 Replies)
Discussion started by: norsk hedensk
8 Replies

2. UNIX for Dummies Questions & Answers

Server rebooting frequently

O/P of the uname -a Server Server 4.0 3.0 3516 Pentium IV(TM)-ISA/PCI Server is getting rebooted frequetly... I don't know what is the problem in server ... Any help why the server is getting rebooted frequetly. Can i check what is the problem like in log files (5 Replies)
Discussion started by: srikanthus2002
5 Replies

3. UNIX for Advanced & Expert Users

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

4. Shell Programming and Scripting

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

5. UNIX for Dummies Questions & Answers

ReDirecting a URL to another URL - Linux

Hello, I need to redirect an existing URL, how can i do that? There's a current web address to a GUI that I have to redirect to another webaddress. Does anyone know how to do this? This is on Unix boxes Linux. example: https://m45.testing.address.net/host.php make it so the... (3 Replies)
Discussion started by: SkySmart
3 Replies

6. Web Development

Regex to rewrite URL to another URL based on HTTP_HOST?

I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST The call goes out to http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena The ID in the middle is always random due to the cookie. I... (5 Replies)
Discussion started by: EXT3FSCK
5 Replies

7. Solaris

Server Rebooting frequently

Deall All, I have facing some problem. I have a Sun 4500 Server at the customer place. Now the server is not booting mean's once the server is coming up it is automatically rebooting. As this is the critical server for the customer that is use for production . Can this be solved by... (10 Replies)
Discussion started by: sudhansu
10 Replies

8. UNIX for Dummies Questions & Answers

Awk: print all URL addresses between iframe tags without repeating an already printed URL

Here is what I have so far: find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}' Here is an example content of a PHP or HTM(HTML) file: <iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Discussion started by: striker4o
18 Replies

9. Linux

/var getting fill frequently

I have Red hat Linux server. There are 14 NFS shares which are coming from NAS. There are so many messages filling /var/log/messages, which seems like some NFS logging is enables somewhere, but I am not able to figure it out. Every few minutes, it will filll my /var (which is part of root) to 100%... (2 Replies)
Discussion started by: solaris_1977
2 Replies

10. Shell Programming and Scripting

Reading URL using Mechanize and dump all the contents of the URL to a file

Hello, Am very new to perl , please help me here !! I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file. below is the script which i have written so far , #!/usr/bin/perl use LWP::UserAgent; use... (2 Replies)
Discussion started by: scott_cog
2 Replies
cmsync(1m)																cmsync(1m)

NAME
cmsync - Synchronize files or directories on multiple Serviceguard nodes. SYNOPSIS
cmsync [-rv] [[-n node_name]...] [src_node:]src_file [...] DESCRIPTION
cmsync copies files and/or directories to multiple Serviceguard nodes. cmsync is limited in several ways. cmsync is best suited for situations where other remote copy facilities are not available. For a more full featured tool for copying files between Serviceguard nodes, see ccp(1m) provided by Distributed Systems Administration Utilities. To use this command, the local user must have the root access role on each of the involved nodes. For more information on Serviceguard access control policies, see the manual, Managing Serviceguard. To use the cmsync command without specifying -n options, the local node must be configured into a Serviceguard cluster. If no -n options are specified, the files will be copied to all available nodes in the cluster. Paths may be relative to the current working directory or specified absolutely. Copies between two remote hosts are permitted. If a file or directory already exists on a destination node, the destination node's copy will be overwritten with no prompting. The cmsync command is not suited for large files or large numbers of files and may result in a heavy load on the command and Serviceguard daemons. Other tools such as ccp should be considered for these purposes. Options And Arguments -r Recursively copy entire directories. -v Verbose output will be displayed. -n node_name Serviceguard node to copy file to. If no -n options are specified, default is to copy to all nodes within the configured clus- ter. src_node Serviceguard node to retrieve the file from. Defaults to the local node. src_file Path to source file on src_node. RETURN VALUE
cmsync returns the following values: 0 Successful completion. 1 Command failed. EXAMPLES
Copy the local file /etc/hosts to remote nodes node1 and node2 cmsync -n node1 -n node2 /etc/hosts Distribute the remote file /etc/passwd to all nodes in the cluster. cmsync node1:/etc/passwd AUTHOR
cmsync was developed by HP. SEE ALSO
ccp(1m), cmcp(1m), cmexec(1m), cmdo(1m), cmquerycl(1m), cmviewcl(1m) Requires Optional Serviceguard Software cmsync(1m)
All times are GMT -4. The time now is 11:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy