Tag Archives: Error set

[Solved] JAVA Web Error: startup failed due to previous errors

1. Error prompt:

WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/filter] startup failed due to previous errors

File directory structure:

After testing, we found that there is a problem with the configuration in the web.xml file, and the parameter names configured are not the same as those obtained in the filter, resulting in a startup error

2. Solution

Correct the configured parameters and republish them

Fast DFS small demo report error org.csource.common .MyException: getStoreStorage fail, errno code: 2

Title fastdfs error

org.csource.common .MyException: getStoreStorage fail, errno code: 2

solve:

Remove the following problems in turn:

1. Can the virtual machine be pinged

Win + R
CMD + enter
Ping fastdfs server IP address

virtual machine address can be viewed through ifconfig command

2. Is the firewall closed

systemctl stop firewalld.service

3. Check whether the upload address of fastdfs configuration file is IP address

vi /etc/fdfs/ storage.conf

4. Restart the storage service

/etc/init.d/fdfs_ storaged restart

Error response from daemon: Get https://20.0.0.100/v2/: dial tcp 20.0.0.100:443: connect: connection

Error response from: get https://20.0.0.100/v2/ : dial tcp 20.0.0.100:443: connect: connection refused

The reason for this problem is that the docker registry uses HTTPS by default, but the private mirror is built
like HTTP service by default, so the following error occurs when interacting with the private mirror.

Solution:
you must first specify the address of the private warehouse — insure registry

[root@client ~]# vim /usr/lib/systemd/system/docker.service

ExecStart=/usr/bin/dockerd -H fd:// --insecure-registry 20.0.0.10 --containerd=/run/containerd/containerd.sock

[root@client ~]# systemctl daemon-reload 
[root@client ~]# systemctl restart docker

Log in to harbor again: