Code note (5): Code note
1.
Obtain the Client ip Address: Request. getRemoteAddr ()
2.
Solve the pemnen gence problem of myeclipse:
Find myeclipse. ini in the myeclipse installation directory:
-Vmargs
-Xmx2048m
-XX: MaxPermSize = 1024 m
-XX: ReservedCodeCacheSize = 256 m
-Dosgi. nls. warnings = ignore
If the above method is not feasible:
Go to myeclipse and configure jdk for the corresponding web server:
Windows ~ Preferences ~ Myeclipse ~ Servers ~ Weblogic ~ Weblogic12 ~ JDK:
-Xms256m-Xmx512m-XX: CompileThreshold = 8000-XX: PermSize = 48 m-XX: MaxPermSize = 128 m-Xverify: none-da
Increase the memory size.
3.
Chrome Plugin:
Chrome: // extensions
Developer Mode
1> in Chrome (or another browser with this kernel), open chrome: // extensions/
Or set-> Extended Program
2> drag and drop extension. crx In the compressed package to this page.
3>. Install the SDK as prompted.
4.
How to delete an oracle instance (or client) after it is installed:
Go to the installation directory product/xxxhome of oracle, find the deinstall folder, and execute deinstall. bat (if administrator permission is required, right-click the Administrator permission to run it)
5.
Run windows/system32/cmd.exe on the system disk to open the doc command window. You can handle the running of some jar packages with administrator privileges.
6.
The not null constraint in the database. when inserting data, it cannot be null or '', but it can be''. (You can add spaces in the middle of the string)
7.
Linux Command:
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 (to the bottom)
Pkill-9 process number forcibly kills the process
In fact, kill sends a signal to a process id. The signal sent by default is SIGTERM, while the signal sent by kill-9 is SIGKILL, that is, exit. The exit signal is not blocked by the system, so kill-9 can successfully kill the process.