Author Archives: Robins

JVM start error: could not reserve enough space for object heap error

JVM startup error: Could not Reserve enough space for Object Heap error
First, understand what the parameters mean:
The

parameter

meaning

— Xms2G Xmx2G

represents the minimum and maximum JVM heap available memory

– XX: PermSize -xx :MaxPermSize represents the JVM’s metadata memory size

Solve problems:

    eclipse startup error is: Could not reserve enough space for object heap error
    current configuration is:
    -xms512m-xmx1024m-xx :PermSize 512M : many SO answers are recommended to use JAVA_OPTION variable, but one answer is that the 32-bit process of Windows 7 cannot get more than 1200M of memory. This answer is a little reliable, SO I tried it. Download and install the 64BIT JDK and boot it up without error.

Appendix:
When

    was converted to a 64-bit JDK, jrebel was found to fail. After a long search, one of the answers given on the official forums is to back up Jrebel32.dll, and then change the 64-bit Jrebel32.DLL to Jrebel32.dll. JVM out of memroy error report summary:
    Java heap space: Increases -XMXpermgen space: Increases -xx :PermSizeRequested Array size: Error means that the size of the array created exceeds the maximum heap size, so the apparent solution is to either increase the size of -XMX or reduce the size of the array to be created.

putty Network error:Software caused Connection abort solution – measured valid

First of all, I from the Internet Baidu a lot of answers, tried a lot of times are useless, a chance, let me find a real solution in the post.
Not wordy ~

    local computer pull up the command line win+R enter the regedit go to the registry find HKEY_CURRENT_USER find the software HKEY_CURRENT_USER\ software \SimonTatham delete putty in there and download puttyperfect~~~

Can help friends to solve more to see ~~~

HTTP status 500 – internal server error (resolved) for Tomcat running project

Today, when I was working on the student information management system, I just ran tomcat and opened the web page and clicked on the student table.

program could not go when I went to the Servlet. I checked the content of the Servlet and found that there was no mistake, and there was no problem after I looked at the interface implementation of Dao layer.
Finally, I thought about it and found that My Mysql was turned off when I ran PHPstudy yesterday. Then I opened the service and found that my Mysql was in a stopped state.

here because yesterday when using PHPStudy, because the integrated environment in PHPStudy contains Mysql, when Mysql on our computer is turned on, Mysql in PHPStudy cannot run. So I shut down Mysql on my computer.
So if we right click on Mysql, we can start, and Mysql is up and running, and our project is running successfully.

ionic4- error TS2307: Cannot find module ‘rxjs-compat/Observable’

The article directories
Sets the interceptor error location

Set interceptor
Without further ado, While writing the interceptor file on the project, Sal had a problem with the introduction:

The Error in node_modules/RXJS observables. Which s (1, 2) : Error TS2307: always find module ‘RXJS – compat/Obserable’


An error location

is not clear about the difference between RXJS and ionicjs after ionic3 has been raised to ionic4, so after multi-party search, we found two relatively certain solutions:
The

    first

    import 'rxjs-compat'
    

    To:

    import 'rxjs/Rx'
    

    2. Use command statements

    npm install rxjs@6 rxjs-compat@6 --save
    

    Upgrading RXJS V5.x to 6 will solve the problem.

Solutions to the problem of “collect2.exe: error: LD returned 1” exit “status when writing C + + with vscode

VSCode writes C++ code, and an error is reported at runtime:
Undefined reference to ` WinMain ‘
Exe: Error: LD returned 1 exit status

Solution 1:
Check the code to see if there are any keyword misspellings.
Solution 2:
Close the collect2. Exe.
Win+R, Enter MSinfo32, Enter;
Software environment –& GT; Running tasks;
Find the corresponding process and view the “process ID”;
Win+R, Enter CMD, Enter;
Input: TSkill process ID.
Solution 3:
Ctrl+S, save. To run again.

Error 2005 (HY000) unkonw MySQL server host…

ERROR ERROR when mysql import backup data 2005(HY000) Unkonw mysql Server Host…
ERROR ERROR 1204(HY000) Unkonw mysql Server host…

use mysqldump command to backup the database to an external file, but when using mysql command line to import the backup data, ERROR 2005(HY000) unkonw mysql server host… error
Solutions:
because in peacetime work often use mysqldump command to export the backup data, and then use the mysql client source command in the command line tools to import data, never out of the fault, the only difference is the character set is different, this time to import the database character set is utf8, so they are associated with the need for mysql client command line tools specified character set, after reviewed the help, Open mysql client tool mysql-uroot-p – default-character-Set = UTf8 with the following command, then import the backup data, and everything is OK.

ASP.NET Parser Error Message: Could not load type ‘Web.Global’.

Server Error in ‘/myapp’ Application.


Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.  

Parser Error Message: Could not load type ‘Web.Global’.

Source Error: 

Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="Web.Global" Language="C#" %>

The Source File:/ierp2/global asax
The Line: 1.


Version Information: Microsoft.net Framework Version:4.0.30319; ASP.NET Version: 4.0.30319.1

The Web project referred to other class projects. When I opened Bin, it was empty. I just remembered that I had implemented the cleaning solution when I did the backup before, but I did not regenerate it this time.

Typical error log for IPSec ACL mismatch

IPSec ACL is what we usually call VPN traffic of interest. In real life, problems caused by this ACL configuration error are very common. The typical error is “QM FSM error”, which can be checked by running “Debug Crypto isakmp” on PIX/ASA.

May 15 09:17:11 [IKEv1]: Group = X.X.X.X, IP = X.X.X.X,
QM FSM error (P2 struct & 0x41f7f80, mess id 0x4d3d6016)!

May 15 09:17:11 [IKEv1]: Group = X.X.X.X, IP = X.X.X.X, construct_ipsec_delete(): No SPI to identify Phase 2 SA!

May 15 09:17:11 [IKEv1]: Group = X.X.X.X, IP = X.X.X.X, Removing peer from correlator table failed, no match!

Cisco’s website explains the error log:

QM FSM Error

The IPsec L2L VPN tunnel does not come up on The PIX Firewall or ASA, and The QM FSM error message proves ambiguous. One possible reason is The proxy identities, such as interesting traffic, Access Control List (ACL) or crypto ACL, do not match on both the ends. Check the configuration on both the devices, and make sure that the crypto ACLs match.

This article explains the whole process of IKE and IPsec in detail:
http://jackiechen.blog.51cto.com/196075/158222

This article from “facing the sea, spring flowers” blog, declined to reprint!

SQL Server 2005, unable to log in, forget sa password, 15405 error!


can not be connected to./SQLEXPRESS.
Additional information:
user ‘sa’ login failed. This user is not associated with a trusted SQL Server connection. (18452), Microsoft SQL Server Error:)
— — — — — — — — — — — — — — — — — —
it’s mapping times wrong:
failed to create for user “sa”. (Microsoft) is essentially) express. The smo)
Additional information:
perform Transact_SQL statements or abnormal happened when the batch. (Microsoft) is essentially) express. ConnectionInfo)
unable to use special groups’ sa ‘. The (15405), Microsoft SQL Server Error:

2, the concrete solving steps:

the first step: open the SQL2005 with administrator login first, then right-click the selected attributes in the service name & gt; Security & gt; The login mode option on the right has been changed to authentication OK!

step 2: select safety (expand)> Login name & gt; Double-click the sa> Password change the password you need to confirm! Then turn off SQL2005 or disconnect.

. Step 3: start > Application & gt; Choose SQL2005 & gt; Configuration tool & GT; Open the configuration manager> Expand SQL Server2005 network configuration
note: select MSSQLSERVER if SQMEXPRESS
> TCP/IP options & gt; Enable and right click > Property & gt; Ip address TAB & GT; Change all disabled options to enabled & GT; Then restart the SQL2005 service!

com.apple.installer . pagecontroller error – 1 PKG installation error

Downloaded a PKG installation file on the Internet;
An error occured on a dozen installations on a MAC

The reason is that the file is directly downloaded from the Internet, there will be permission problems, need to repair the installation permission of the installation software;
My reason is, downloaded is a RAR MAC decompression can not, online decompression, got PKG installation error
I finally downloaded a MAC under the RAR decompression software
http://www.pc6.com/softview/SoftView_53196.html
Reference: https://discussions.apple.com/thread/2628710

Executing Maven command error: Java_HOME is not defined correctly executing maven

Assuming you use bash shell and installed Java with the Oracle installer, you could add the following to your .bash_profile

export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=$JAVA_HOME/jre/bin:$PATH

This would pick the correct JAVA_HOME as defined by the Oracle installer and will set it first in your $PATH making sure it is found.
Also, you don’t need to change it later when updating Java.

From:https://stackoverflow.com/questions/27319495/error-java-home-is-not-defined-correctly-executing-maven