Limit number of server logfiles
Hi
I am relatively new when it comes to sunas, but I am trying to solve a problem before putting our system into production. I need to limit the number of server.log files for a domain on the appserver. I am running 8.2 PE on WinXP on the developer machines, and 8.2 PE on Solaris SunOS 5.10 for test servers, and I believe we are going to use EE on Solaris in the production environment. So I am looking for a solution for all of them. I have configured the max size for each log file, but I have not been able to find out how I limit the number of files.
Anyone please :)
Hi, thank you for the tip, but I am not sure if this is the answer to my problem, what I want to do is to specify that the server should store only the 5 newest server.log files, to SunAS from filling up the disc with logfiles. As far as I can understand the time limit in the logging options will note stop this from happening eighter. Of course I can always set up a scheduled job that deletes old files, but that will cause a bit of a nightmare for the people that is going to maintain the system.
Similar Messages
-
Limit number of concurrent connection
is there a way for me to limit the number of concurrent
connections to the media server. my upload bandwitdh is about a meg
so having too many connections just kills the whole thing. i would
like to put a limit at 5 connections. is there a way to do
this?well i am only using flash media server to displaying videos
and just that. the reason i went with media server vs. progressive
was fullscreen method. since flash doesn't natively support
fullscreen you have to open another browser in fullscreen with
javascript. the problem with that is it start loading from
beginning so i decided to go server that way it only has to buffer
and get to the same point without having to load the whole video up
to that point. Now i want to limit number people that can be
watching the video. if i get more that 5 connection the whole thing
slows down. i am not too familiar with server based connections so
i don't know how to limit the number concurrent connections. -
Limit number of recipients send out external once
Hi all,
I have Exchange server 2013 CU7, I want to limit number of recipients when my users send email to external/internet.
For example:
If my users send email to more than 50 external recipients once, they will receive error "bla bla"
Limitation is not apply when my users send email to internal recipients"
or external sender send email to internal recipients
How can I do it ? (which send connector , receive connector , transport config , transport service , transport server)
Thank for your help.
JackHi Jack,
Thank you for your question.
I agree with Bruce.
I am sorry that we could not meet your requirement that the limit of recipient is just for external/Internet.
When we configure those setting, it will be worked for all recipient(including internal or external). It was referred by the following link:
https://technet.microsoft.com/en-us/library/bb310760%28v=exchg.141%29.aspx
If there are any questions regarding this issue, please be free to let me know.
Best Regard,
Jim
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Jim Xu
TechNet Community Support -
To limit number of chracters in textarea.
hello all,
please find below a small program to demonstrate how to limit number of charcaters in a textarea.
i searchedthe forum and i actually got the technique from the forum. but when i put together a sa program it does not work.
could anyone point out what is the problem in the small piece of code below.
i am working on jdk 1.2.1
thanx to all.
// Example illustrating Limiting number of characters in text area.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class try1 extends JApplet {
Container contentPane;
JLabel label;
JTA1 textarea;
public void init() {
// Get the handle on the applet's content pane.
contentPane = this.getContentPane();
// Create a text field and add a key listener to it.
textarea = new JTA1(25); // of 25 char width
// Create a button object and register an action listener
Button button = new Button("Clear");
button.addActionListener(new ButtonListener());
// Create a label with the titled border.
label = new JLabel("Key Typed: NiL");
label.setBorder(BorderFactory.createTitledBorder
("You pressed the Following Key"));
// Add the text field and button to the applet's content pane.
contentPane.setLayout(new BorderLayout());
contentPane.add("North", textarea);
contentPane.add(label);
contentPane.add("South", button);
// Get focus on text field.Note: You can do this only after you add the text field to the container
class ButtonListener implements ActionListener { // Create the button listener class.
public void actionPerformed(ActionEvent e) {
// Reset the text components
textarea.setText("");
//Return the focus to the text field.
class JTA1 extends JTextArea
private int limit;
public JTA1 ( int limit )
this.limit = limit;
addKeyListener( new LimitListener() );
class LimitListener extends KeyAdapter
public void keyPressed( KeyEvent ke )
if( getText().trim().length() >= limit )
{ ke.consume(); //just consume KeyEventDon't cross post. This question has been answered in your other post.
-
How do I change the attachment size limit in Calendar Server 6.3, UWC, IWC?
How do I properly increase or decrease the attachment size limit with Calendar Server and all supported user interfaces to it such as WCAP, UWC (Communications Express) and IWC (Convergence)? From my experience with the Outlook Connector, there seems to be some limit imposed by cshttpd on the size of a file upload (I believe I actually got an HTTP error code back on the wcap request indicating something was too big, sorry I don't have it handy, I'll have to re-test). Additionally, it seems UWC imposes additional limits (Example: http://docs.sun.com/app/docs/doc/819-4440/6n6jfgcjh?l=en&a=view&q=fileSizeHardLimit) but I can't seem to get those to work at all. I found many different web.xml related to UWC and I'm not sure which one to change, I tried a couple but had no success because UWC would always report this error if I uploaded between 4-5 megs: com.iplanet.jato.util.WrapperRuntimeException
Root cause = [java.io.IOException: Request cancelled because file input field
"importFile" size is over the configurable limit of 4194304 bytes; see filter init
parameter fileSizeHardLimit]
And it would complain about requestSizeLimit I think if it was over 5 megs, claiming that limit was 5242880. IWC gives a generic error when the upload is too big and rejects it.
I fear that a 4 meg limit will be too imposing and of limited value, so I would either like to raise it, or consider lowering it to 0 bytes so attachments cannot be used at all. I have been looking high and low for information on how to do this and all I can find is the UWC examples. I plan to support the Outlook Connector, UWC, and IWC so the limits should ideally be the same across each. Some of the Exchange data we wish to import does have some attachments so it would be good to continue support for that. I did see some other posts about quota RFEs but at this point I am not concerned about the disk consumption. Can anyone help? Thanks. Please let me know if there is any more information I can provide. I am running SCS6u1 on Solaris 10 SPARC.Fred@egr wrote:
Thanks!!! This is working with IWC and I am pretty sure it will work with Outlook. I didn't think to look at config options for mshttpd since I don't have it installed and ics.conf doesn't list the http.service.maxmessagesize and service.http.maxpostsize by default.http.service.maxmessagesize is only relevant to mshttpd, not cshttpd. service.http.maxpostsize applies to both.
UWC is still limiting me though; I'm sure I can reconfigure UWC if I just know which file to edit and if I need to redeploy anything. I'm using the same install paths as the SCS6 Single Host example and I'm not sure which the "uwc-deployed-path" is supposed to be. Again, thanks.If you have deployed UWC/CE to Application Server you would edit the following file and restart application-server:
/opt/SUNWappserver/domains/domain1/generated/xml/j2ee-modules/Communications_Express/web.xml
e.g.
<filter>
<filter-name>MultipartFormServletFilter</filter-name>
<filter-class>com.sun.uwc.calclient.MultipartFormServletFilter</filter-class>
<init-param>
<param-name>fileSizeHardLimit</param-name>
<param-value>15485760</param-value>
</init-param>
<init-param>
<param-name>requestSizeLimit</param-name>
<param-value>15485760</param-value>
</init-param>
<init-param>
<param-name>fileSizeLimit</param-name>
<param-value>15485760</param-value>
</init-param>
</filter>Regards,
Shane. -
Limit Number of Rows on a Page
Hi all,
I am unable to succeed with the following.
I have an XML data source which looks like this:
<?xml version="1.0"?>
<LIST_GEMPLOYEES>
<LIST_G_EMPLOYEE>
<EMPLOYEE_NUMBER>1</EMPLOYEE_NUMBER>
<EMPLOYEE_NAME>Employee 1</EMPLOYEE_NAME>
</LIST_G_EMPLOYEE>
<LIST_G_EMPLOYEE>
<EMPLOYEE_NUMBER>2</EMPLOYEE_NUMBER>
<EMPLOYEE_NAME>Employee 2</EMPLOYEE_NAME>
</LIST_G_EMPLOYEE>
<!-- many rows here (LIST_G_EMPLOYEE tags) -->
</LIST_GEMPLOYEES>
And I want to define a template which only allows 5 rows on a page.
What I did:
I should insert a page break after the limit number of rows on a page is reached. This means that, after each group of 5 rows, a page break should be inserted.
To accomplish this goal, I followed these steps:
1. Define a field which will contain and initialize the Counter variable before the table which will show the list of employees, by using the syntax:
Field1: <?xdoxslt:set_variable($_XDOCTX, ’Counter’, 0)?>
2. Define the table which list all employees in the data source:
2.1. Use a 2 columns table. In the first column, define 2 fields as follows:
2.2. In the second column, define 6 fields containing the following code:
Field2: <?for-each: LIST_G_EMPLOYEE?>
Field3: <?EMPLOYEE_NUMBER?>
Field4: <?xdoxslt:set_variable($_XDOCTX, ’Counter’, xdoxslt: get_variable($_XDOCTX, ’Counter’) + 1)?>
Field5: <?EMPLOYEE_NAME?>
Field6: <?if: xdoxslt:get_variable($_XDOCTX, ’Counter’) mod 5=0?>
Field7: <?split-by-page-break:?>
Field8: <?end if?>
Field9: <?end for-each?>
Here is explanation for syntax I used:
Field1: Declare and init Counter variable to value = 0
Field2: This fetches through all employees - start a for-each cycle
Field3: This prints the employee number
Field4: This increments the Counter variable
Field5: This prints the employee name
Field6: This tests whether Counter variable is divided by 5
Field7: This generates a page break
Field8: End of condition
Field9: End of for-each cycle
Result:
The first page has just the header and the second page has the header and only record and it goes the same
for the rest of the pages. Any help is greatly appreciated.
Thanks.Have a look at this post
http://winrichman.blogspot.com/2008/09/limit-row-per-page.html -
How to limit number of logins per day?
We have a custom web application (WebAS 6.20) used by people and automated systems. Each user has his own login, and some of these automated systems sometimes produce heavy load because they log into system too often.
Is there an easy way to:
1) limit number of logins to, say, 1000 per day and when this limit is reached - do not allow this user to login till midnight
OR
2) dedicate one of the processes to the specific user
thanks in advanceextend PlainDocument class to restrict the number of characters per line.
Set this class as model to TextArea.
Below is a class which does this. May be its useful
import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
public class FixedNumericDocument extends PlainDocument {
private int maxLength = 9999;
private String max="";
public FixedNumericDocument(int maxLength) {
super();
this.maxLength = maxLength;
//this is where we'll control all input to our document.
//If the text that is being entered passes our criteria, then we'll just call
//super.insertString(...)
public void insertString(int offset, String str, AttributeSet attr)
throws BadLocationException {
if (getLength() + str.length() > maxLength) {
return;
else {
try {
//check if str is numeric only
int value = Integer.parseInt(str);
//if we get here then str contains only numbers
//chk if it is less than 65535 so that it can be inserted
super.insertString(offset, str, attr);
catch(NumberFormatException exp) {
return;
return; -
hi frineds
in documents we read when we install WDS on the server which is also DHCP server, we must select this check mark :
"do not listen on port 67"
it means we instruct the WDS service not to listen on port UDP 67 to avoid a port conflict between WDS server service and DHCP server service.
So now on which port number WDS server will listen & service ?
thanks in advanceHi john.s2011,
If Windows Deployment Services and DHCP are running on the same physical computer, this means that the DHCP server is listening on port 67 and is responsible ensuring authorization.
The related KB:
How the PXE Server Works
http://technet.microsoft.com/en-us/library/cc732649(v=ws.10).aspx
The related thread:
DHCP is not responding for WDS
http://social.technet.microsoft.com/Forums/windowsserver/en-US/07f98ac7-cc6f-4385-ba21-2e85bb460c03/dhcp-is-not-responding-for-wds
I’m glad to be of help to you!
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
hi Alex.
sorry for delay
thanks a lot
regards -
Hello there
Anybody know what is the limit number for new field in each record type?
My client wants me to create about 200 new fields in Account record type.
Is it possible to do so?Hi, You can refer this
https://secure-ausomxdsa.crmondemand.com/docs/1.10.0.1080.0.00/enu/help/CustomFieldHelp.html
-- Venky CRMIT -
Optimum number of Server nodes for CC
Hi Guys
Just wanted to know what is the optimum number of server nodes for Compliance Calibrator?
By server nodes I mean the ability of CC to process jobs parallelly
ParveenHi..
By default you should see 3 bg job threads and 5 web services threads per server node.
Refer the note:1121978
In Risk Analysis and Remediation Configuration > Performance Tuning
Regards
Gangadhar -
Maximum number of server nodes for a dispatcher
Hi,
Is there a maximum (recommended) number of server nodes that can be created per dispatcher, for the 6.40 J2EE Engine? We are considering using a 16GB RAM server with 1 dispatcher and 8 server nodes to run our EP6 SP18 portal. Are there any implications we should be aware of with this setup? Is there any additional configuration for the dispatcher necessary for a high number of server nodes?
Any advice greatly appreciated, points will be awarded.
Many thanks
JaneAlexander Türk wrote:
> Hello,
> at the moment under aix, 64bit, nw2004s the maximum number of server nodes is 16.
> regards,
> alexander
Hello,
at the moment under aix, 64bit, nw2004s the maximum number of server nodes is 16.
regards,
alexander
Hi Alexander,
Thank you for the information.
Is this information documented somewhere in SAPNote or help.sap.com ?
Regards,
Prashanth -
How do you add an additional serial number to TestStand logfile name?
I have two boards that are tested as a pair and I would like to have the log name show both serial numbers for tracking purposes. The logfile name is currently set up to show the serial number of the mainboard. I put the second serial number into a StationGlobal after it is scanned it in. How can I add the second serial number to the logfile name?
Thanks
TraceyHi vocollect,
I have found a Community Example that demonstrates how to modify the report name in Report Options. The pictures may not show exactly what you see If you are using TestStand 2012, but the steps are essentially the same. I hope this helps!
How to Add User Information to a Report Name: https://decibel.ni.com/content/docs/DOC-21744
Regards,
Jason D
Applications Engineer
National Instruments -
Hi Experts,
Is there a way to limit number of subfolders created on a InfoView folder?
We want out application to limit external admin users not to create more than 3 level of subfolders in InfoView Folder.
Please advice
Thanks!
PrasathNot from within InfoView or the CMC. You would have to write your own InfoView replacement that would handle this limitation.
-Dell -
Hi
I have a returnable loan with maximum 3. A client downloads 3 differents acsm files (Makes 3 clicks on my button to download) and, after, he open they width ADE. Now he has three identical copies and there is no freedom for the rest. Yes we are bugging.
How i can avoid it? We can tell to ACS that a user can only have a maximum of 3 books on loan?
TyThe loan limit number is the number of simultaenous users that can have the file loaned out. By default the user can read the content on any device that that they have activated (limited roughly to 6 computers and 6 devices). If this is not what you desire, you can limit the user to the single device that they first download the content on, by adding a <device/> element into the permissions.
ACS4 provides no way to provide more than a single device, but less than all the devices the user has activated. -
How to limit number of jbdc connexion on Oracle application server 10G R3
Hi all ,
i have deployed my application an integrated server on Oracle Application Server R3.
The problem is that i have more than 600 connexion to my Database , an this is too much!!
How can i configure this ???
Please help,
PaulYou can set the maximum number of connections on the connection pool configuration page of your datasource.
As there are some troubles with the data source when your dataabse has been down (connection is not restored), I'd suggest to set the Validate Connections option to "true"
Maybe you are looking for
-
IMovie text styles keep reverting to default
I've altered type styles in iMovie, finalized the video and exported to youtube without issue, but the next day, when I reopen the Project, some of the type styles have reverted to the default styles, and I have to restyle text. In some cases, I will
-
WD Elements External drive file transfer issue.
I have just purchased a 1.5Tb USB 2.0 WD Elements external hard drive for backing up data. I have partitioned it, using Disk Utility in to a 1Tb Fat32 and 500Mb OS Journaled (Extended) pair of partitions. The OS Journaled (Extended) partition will re
-
This is extremly frustrating. I was sent the wrong disk for my OSX as well, so I can't even use that disk. I called customer service and was told I had to pay for someone to help me fix this issue.
-
What to do with a defective NEW iPhone 5c?
Hi Guys I just recently purchased an iPhone 5C - it was shipped to me October 1. And I immediately knew I was sent a defective unit. First and foremost, the button is not working--the only way I've been able to navigate it is throught the assistive t
-
Using Property files in Apache Axis
Hi guys... I have done a lot of search, but i cant figure out where to place the property files in Axis Application.. I deployed my web service application as a JAR file in lib directory of Axis.. everything is working fine.. now i want to add proper