Set to true if Tomcat should attempt to create the temporary upload location specified in the MultipartConfig for a Servlet if the location does not already exist. If not specified, the default value of false will be used.
If true, Tomcat attempts to terminate threads that have been started by the web application. Stopping threads is performed via the deprecated (for good reason) Thread.stop() method and is likely to result in instability. As such, enabling this should be viewed as an option of last resort in a development environment and is not recommended in a production environment. If not specified, the default value of false will be used. If this feature is enabled, web applications may take up to two seconds longer to stop as executor threads are given up to two seconds to stop gracefully before Thread.stop() is called on any remaining threads.
If true, Tomcat attempts to terminate java.util.Timer threads that have been started by the web application. Unlike standard threads, timer threads can be stopped safely although there may still be side-effects for the application. If not specified, the default value of false will be used.
If true, any attempt by an application to modify the provided JNDI context with a call to bind(), unbind(), createSubContext(), destroySubContext() or close() will trigger a javax.naming.OperationNotSupportedException as required by section EE.5.3.4 of the Java EE specification. This exception can be disabled by setting this attribute to false in which case any calls to modify the JNDI context will return without making any changes and methods that return values will return null. If not specified, the specification compliant default of true will be used.
Pathname to a scratch directory to be provided by this Context for temporary read-write use by servlets within the associated web application. This directory will be made visible to servlets in the web application by a servlet context attribute (of type java.io.File) named javax.servlet.context.tempdir as described in the Servlet Specification. If not specified, a suitable directory underneath $CATALINA_BASE/work will be provided.
Change User Interface under Scanner Options from Hide Scanner's Native Interface to Show Scanner's Native Interface. Show Scanner's Native Interface uses the same scanning method previous versions of Acrobat. It lets the scanner's driver operate the scanner. Hide Scanner's Native Interface attempts to use the twain driver directly. It can eliminate error messages, especially when you are scanning multiple pieces of paper. If none of these solutions work, then it's sometimes necessary to use a workaround. See solution 8 under General troubleshooting tasks, or contact your scanner manufacturer for an updated driver.
Log files can be very useful when trying to troubleshoot a problem with the system such as trying to load a kernel driver or when looking for unauthorized login attempts to the system. This chapter discusses where to find log files, how to view log files, and what to look for in log files.
In the following example, any syslog message with any priority is selected, formatted with the template template and passed as a parameter to the test-program program, which is then executed with the provided parameter:
In the following example, all kernel syslog messages with the critical priority (crit) are sent to user user1, processed by the template temp and passed on to the test-program executable, and forwarded to 192.168.0.1 via the UDP protocol.
Any output that is generated by rsyslog can be modified and formatted according to your needs with the use of templates. To create a template use the following syntax in /etc/rsyslog.conf:
Note that the database writer checks whether the sql or stdsql options are specified in the template. If they are not, the database writer does not perform any action. This is to prevent any possible security threats, such as SQL injection.
Keep in mind that the $template directive only specifies the template. You must use it inside a rule for it to take effect. In /etc/rsyslog.conf, use the question mark (?) in an action definition to mark the dynamic file name template:
The compatibility mode specified via the -c option exists in rsyslog version 5 but not in version 7. Also, the sysklogd-style command-line options are deprecated and configuring rsyslog through these command-line options should be avoided. However, you can use several templates and directives to configure rsyslogd to emulate sysklogd-like behavior.
Only one queue per action is possible. Depending on configuration, the messages can be sent right to the action processor without action queuing. This is the behavior of direct queues (see below). In case the output action fails, the action processor notifies the action queue, which then takes an unprocessed element back and after some time interval, the action is attempted again.
Rsyslog 7 has a number of different templates styles. The string template most closely resembles the legacy format. Reproducing the templates from the example above using the string format would look as follows:
This template prepends the @cee: string to the JSON string and can be applied, for example, when creating an output file with omfile module. To access JSON field names, use the $! prefix. For example, the following filter condition searches for messages with specific hostname and UID:
In early 2019, security exploits for six Fire Tablet models and one Fire TV model were discovered that could allow temporary root access, permanent root access, and bootloader unlocking[note 1]  due to security vulnerabilities in multiple MediaTek chipsets.
Document hierarchies from Lotus Notes can often be replaced with table relationships in Dataverse, and by linking table rows to documents in SharePoint. Word templates can be easily populated with field values from Power Apps forms (or from any external data via connectors).
watchOS 8 offers scene suggestions based on the scenes that you activate at different times of the day, and the main interface has status symbols for each of your connected devices so you can see the temperature, whether lights are on, and more, at a glance. You can also see scenes and accessories organized by room.
Not easily, but it has been hacked before, but only in a research lab setting by people who are actively trying to crack it. Ledger is very good about issuing updates to known exploits quickly and offers a handsome bug bounty for anyone who can find a vulnerability in their hardware or software
A material can undergo more than one kind of deformation when stress is applied. The barrel-shaped cylinder of potash in Figure 13.6 (right) originally looked like the cylinder on the left. The cylinder was compressed, with stress applied from the top and bottom. Initially, it underwent ductile deformation and thickened in the middle, creating the barrel shape. But as more stress was applied, the cylinder eventually underwent brittle deformation, resulting in the crack across the middle.
For a given rock, deformation will be different depending on the amount of stress applied. Up to a point, rocks undergo elastic deformation, and will spring back to their original shape after the stress is removed. If more stress is applied, the rock may deform in a ductile manner. If stress increases further, the rock may fracture. The amount of stress required in each case will depend on the type of rock, as well as conditions such as pressure and temperature.
At higher temperatures, and under higher confining pressures, rocks are more likely to undergo ductile deformation. Confining pressure is the stress that a material experiences uniformly from all sides as a result of the weight of material above and around it. The pressure that a diver feels deep in the ocean is confining pressure due to the weight of water above and around the diver. This kind of confining pressure is called hydrostatic pressure. Within Earth, the confining pressure is due to the weight of overlying rocks. Confining pressure due to the weight of rocks is called lithostatic pressure.
The rocks in Figures 13.5 and 13.6 experienced confining pressure from the atmosphere, and temperatures comfortable for the humans working in the lab. Under those conditions the rocks ultimately underwent brittle failure when they were compressed in the lab. Deep within the crust, the temperatures and confining pressures are far greater. Deep enough within the crust, both samples would undergo only ductile deformation if the same amount of stress were applied as in the experiment. The depth at which temperatures and confining pressures are high enough for rocks to go from brittle deformation to ductile deformation is called the brittle-ductile transition zone.
The brittle-ductile transition zone occurs between approximately 10 km and 30 km depth, corresponding to temperatures around 300 ºC and greater. The depth at which temperatures reach 300 ºC at any particular location will depend on heat flow at that location. In continental crust, rocks at 300 ºC are deeper than in ocean crust. The change in pressure with depth also varies, depending on the mass and density of rocks. If depths are measured relative to sea level, the pressure at 10 km measured beneath a tall mountain belt will be greater than the pressure at 10 km measured within ocean crust.
Experiments like those shown in Figures 13.5 and 13.6 can be used to determine where the brittle-ductile transition zone will be for a particular rock type. Experimenters apply stress to sample of a rock for a range of temperatures and confining pressures. They note the conditions under which the rock breaks or deforms in a ductile manner, and plot those on a graph (Figure 13.8). The results in Figure 13.8 are from experiments on limestone. The vertical axis is pressure. The more pressure, the deeper the rock would have to be within the Earth to experience that pressure. The white line represents the brittle-ductile transition zone. Above the white line are pressures and temperatures under which the limestone would fracture. Below the white line in the tan area are pressures and temperatures where the limestone would deform by flowing. Notice that the higher the temperatures, the less confining pressure is required for ductile deformation. 2b1af7f3a8