About Tomcat under multiple projects configure a log4j.properties, to output the respective log of the problem,
After the actual work of the summary and investigation, here to make a summary and memo.
To lift the log4j configuration, our common configuration method is to create a log4j.properties file for each project and write the information of its own output log.
But I encountered a problem at work, in fact, the load of the Log4j.properties file a
Settings: The default is the. m2/settings.xml file in the C-drive user directory, where you configure the externally installed MAVEN usage profile, as I am using the MAVEN installation directory under the conf/ Settings.xml file, select the "Update Settings" button below and don't forget to click on it.
3. Use MyEclipse to import a project created by Maven :
There are two ways to import a tutorial here:
1) use MyEclipse General engineering to import, the steps are as follows:
1> Open DOS First
Since the previous projects were developed using MyEclipse, it is now time to switch to eclipse. However, the project was imported into eclipse and found that the project was not a Web project and could not be deployed to Tomcat. This problem has been solved now.
First, make sure that eclipse on your machine is a Java EE version, or that you have installed the WTP plugin
two. Close project first, and then modify the. project file under Eclipse
http://news.cnblogs.com/n/506775/
1. Webbench
Webbench is a very simple web site pressure measurement tool that is used under Linux. It uses fork () to simulate multiple clients accessing the URL we set at the same time, testing the performance of the site under pressure, and simulating up to 30,000 concurrent connections to test the load capacity of the site. Webbench use C language, code is too concise, the source add up to less than 600 lines.
Download Link: http://home.tiscali.cz/~cz21055
For the installation and deployment of Ubuntu under Apache, refer to the previous articles.
Today, we mainly introduce the deployment of multiple Web projects under one server through Apache.
Idea: Using the same IP, using different ports, to map to different projects
The main need to change the following three configuration points:
1. Modify the prot.conf file under/etc/apache
Add one more port for monito
Tags: jobs macwindowcontentsep atl database application plug-in feature Generation of database table design, generation of SQL statements, generation of database projects, generation of MySQL database First, training purposes through comprehensive training to further consolidate and deepen the basic knowledge and skills of database management and development of students, so that students master the basic SQL scripting specifications, Develop goo
Scenario: SharePoint Projects (other types of items are the same), the database was created with EF (version: 6.0.0.0), the production environment is already in use, so subsequent modifications to the database can only be achieved by updating.Here's how to do it:1. Visual Studio opens the project and opens the package management console.How to: View--Other Windows--Package management Console2, the project "References" in the EntityFramework.SqlServer.
I always wanted to join an open-source project. The purpose was simple: to share ideas and accept the test of everyone, but it was not possible.
After reading this article, I was inspired by it. Note: There are deletions. Http://www.php100.com/html/itnews/it/2012/0420/10275.html
The idea of participating in open-source projects is often dispelled for the following three reasons:
1. I am not good enough
2. I don't have enough time
3. I don't know what
The sharing of test cases and test plans between team projects is a concern for many customers. Especially in the team that develops the product + service, the sharing requirement of test cases is higher. The following is an analysis of your experience in how to implement use-case sharing between team projects in teams Foundation server. Same team Project : In the same team project in TFS, you can easily i
With the development of national conditions, domestic software accumulation began to deepen, and some companies with relatively high technical capabilities gradually found patterns in their own projects, forming some software products. For example, Kingdee's ERP and our products. This is also a benign manifestation of the software industry. However, the thinking of software products has not changed, leading to the gradual death of many companies.
Diff
General Manager of Xuan Xiaofeng Project Management Alliance, PMP
Project management refers to centralized management and coordination of multiple associated projects. Compared to implementing separate management for multiple projects, the management effect of implementing project set management is to achieve better overall benefits and control effect. Project group management or large-scale
Use Library Project Development
Library Project sample code
The SDK contains a sample application called tictactoemain, which shows how the related application uses the code and resources of the android library project. The tictactoemain application uses the code and resources of the tictactoelib example library project.
To download the sample applications and run them as projects in your development environment, useAndroid SDK andavd ManagerDownload
Statement: This series is original, share my present frame, without my consent, prohibit reprint! Http://yuangang.cnblogs.comI hope that we all take steps to do, all the technology and projects, there is no reservation to provide, I hope we can do a set of their own, but also, please rest assured, as long as you like, someone needs, absolutely not rotten tail, I will persist in writing ~If you feel the article is helpful, point a recommendation, let
ArticleDirectory
Ten open-source application projects that Android Developers should learn in Depth
Ten open-source application projects that Android Developers should learn in Depth
Ten open-source application projects that Android Developers should learn in Depth
Android development has brought about a new wave of popularity, which has attracte
ProjectsHighlight My directory:Apache Storage directory: D:\pydj\Apache24Django Project directory: D:\pydj\mysiteOpen the Apache configuration file httpd.conf again:"C:/python36/python36.dll" "C:/python36/lib/site-packages/mod_wsgi/server/mod_wsgi.cp36-win_amd64.pyd" "c:/python36"/d:/pydj/mysite/mysite/wsgi.py# Specify the project path Wsgipythonpath D:/pydj/MySite Require all grantedThe above path, please modify according to your actual situation.Open a settings.py file to add:= [' 127.0.
" depends= " clean,compile " > NBSP; dir= " ${jar.dir} " /> NBSP; destfile= " ${jar.dir}/${ Ant.project.name}.jar " basedir= " ${bin.dir} " /> You only need to replace the project name, such as memcached, and the resulting jar is Memcached.jar. The basic process of the jar target: 1) clean , clear the original bin and Span style= "font-family: ' Times New Roman '" >out directory, i.e. delete .class and .jar file 2) compile , using classpath Reference co
because SVN is used to it, asset server is still charged, so this version uses SVN to manage the Unity3d project . directories that require version management After creating a new unity project, it was discovered that there were many directories and files, only two of which needed to be versioned: Assets, Projectsettings. The others are automatically generated:
*.csproj,*.sln These IDE's engineering files are automatically generated;
Library, the main deposit is a local cache file
, printing takes the following example:DEBUG Server comment-defondswowzaserverlistener-onserverinit-memcached-somekey=now1398324763217Test success.Note: Log for the Wowza pluginThe logging implementation of Wowza is an Apache log4j logging tool. log4j configuration file in%wowza%/conf/log4j.properties, default configuration such as the following:Log4j.rootcategory=info, stdout, serveraccess, ServererrorSuppose we want to change the log level in some of our own definition classes in the plug-in p
1, add the configuration file to the project source directory (SRC)
mapreduce.framework.name
yarn
Read the contents of the configuration file so that the project knows to submit to the cluster to run2, package the project into the Project source directory (SRC) 3, add a sentence in Java code
Configuration conf = new Configuration();
conf.set("mapreduce.job.jar", "wc.jar");
Note: These are intended to allow the cluste
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.