Code notes (v)

Source: Internet
Author: User

1.

get client IP : request.getremoteaddr ()

2.

Solve MyEclipse's Pemnen gence problem:

Locate the Myeclipse.ini in the MyEclipse installation directory:

-vmargs

-xmx2048m

-xx:maxpermsize=1024m

-xx:reservedcodecachesize=256m

-dosgi.nls.warnings=ignore

If the above method does not work:

Enter MyEclipse To configure the JDK for the appropriate Web server:

Windows~preferences~myeclipse~servers~weblogic~weblogic12~jdk:

-xms256m-xmx512m-xx:compilethreshold=8000-xx:permsize=48m-xx:maxpermsize=128m-xverify:none-da

Increase the memory

3.

Chrome plugin:

Chrome://extensions

Developer mode

1>. in the Chrome ( or other browser for this kernel ) , Open chrome://extensions/

or set-up Extender

2>. drag-and-drop inside the compression pack EXTENSION.CRX to this page

3>. follow the prompts to install

4.

How to remove after installing an Oracle instance (or client):

Locate the Deinstall folder in the installation directory Product/xxxhome of Oracle, execute the Deinstall.bat (you may have administrator rights, then right-click Administrator permissions to run)

5.

windows in the system disk /system32/cmd.exe can open the Doc Command window, which can be handled for some jar packages running and with administrator privileges.

6.

The NOT NULL constraint in the database, when inserting data, cannot be either null or ' , but can be ' . The middle of the string plus a space can be)

7.

Linux commands:

RZ: Select File Upload

LZ Select File Upload

Ps-ef | grep WebLogic View WebLogic Process number

Ps-ef | grep Java View Java process number

Tail –F xxx.log View log file (bottom view)

Pkill-9 process number forced kill process

In fact, kill is sending a signal to a process ID. The signal sent by default is Sigterm, and the signal sent by Kill-9 is Sigkill, which is exit. The exit signal is not blocked by the system, so the kill-9 can kill the process successfully.





Code notes (v)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.