首页
网站首页
公司简介
资讯中心
推荐内容
返回顶部
用U盘裸机安装ubuntu显示安装成功后,WebApp如何防止触屏造成控制台刷屏
发布时间:2020-04-28 10:43
浏览次数:

裸机安装ubuntu导致Error1962:NoOperatingSystemfound.今天装系统,裸机装ubuntu16.04,u盘安装安装过程一切正常,但是装完之后,重启就会提示Error1962:NoOperatingSystemfound.硬盘500G,走的整个流程都正常,就是重启后无法引导进入

androidStudio开发webapp每次触摸屏幕都会发生D/PhoneWindow:mDisplayDector.onTouchEventonScrolltitle=com.example.wvr1/com.example.wvr1.MainActivity影响看输出日志,请问如何屏蔽?

图片 1

项目服务器(centos7.6)有时会自己重启.重启之后tomcat不自己启动...所以想配置开机启动tomcat.用的是daemon.shstart的方法.然后加上tomcat.service.开机systemctlstart服务.但是我在自己centos的虚拟机上测试时发现通过这种方式启动tomcat并不加载项目.直接敲命令systemctlstarttomcat能启动tomcat.能访问到前端的包.但不加载后端javaweb的项目.daemon.shstart也不加载项目.只有startup.sh才能加载项目.想问问有没有人遇到同样的情况...可能是什么原因下面是我daemon.shstart启动tomcat时tomcat的日志....12-Sep-201908:59:16.888INFO[main]org.apache.catalina.startup.VersionLoggerListener.logServerversion:ApacheTomcat/8.5.4512-Sep-201908:59:17.033INFO[main]org.apache.catalina.startup.VersionLoggerListener.logServerbuilt:Aug14201922:21:25UTC12-Sep-201908:59:17.033INFO[main]org.apache.catalina.startup.VersionLoggerListener.logServernumber:8.5.45.012-Sep-201908:59:17.033INFO[main]org.apache.catalina.startup.VersionLoggerListener.logOSName:Linux12-Sep-201908:59:17.033INFO[main]org.apache.catalina.startup.VersionLoggerListener.logOSVersion:3.10.0-957.el7.x86_6412-Sep-201908:59:17.033INFO[main]org.apache.catalina.startup.VersionLoggerListener.logArchitecture:amd6412-Sep-201908:59:17.033INFO[main]org.apache.catalina.startup.VersionLoggerListener.logJavaHome:/home/java/jdk1.8.0_221/jre12-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logJVMVersion:1.8.0_221-b1112-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logJVMVendor:OracleCorporation12-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCATALINA_BASE:/home/java/apache-tomcat-8.5.4512-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCATALINA_HOME:/home/java/apache-tomcat-8.5.4512-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Djava.util.logging.config.file=/home/java/apache-tomcat-8.5.45/conf/logging.properties12-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Xms256M12-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Xmx512M12-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-XX:MaxNewSize=256m12-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager12-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Dignore.endorsed.dirs=12-Sep-201908:59:17.034INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Dcatalina.base=/home/java/apache-tomcat-8.5.4512-Sep-201908:59:17.035INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Dcatalina.home=/home/java/apache-tomcat-8.5.4512-Sep-201908:59:17.035INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Djava.io.tmpdir=/home/java/apache-tomcat-8.5.45/temp12-Sep-201908:59:17.035INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Dcommons.daemon.process.id=759412-Sep-201908:59:17.035INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Dcommons.daemon.process.parent=758512-Sep-201908:59:17.035INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:-Dcommons.daemon.version=1.2.012-Sep-201908:59:17.035INFO[main]org.apache.catalina.startup.VersionLoggerListener.logCommandlineargument:abort12-Sep-201908:59:17.035INFO[main]org.apache.catalina.core.AprLifecycleListener.lifecycleEventTheAPRbasedApacheTomcatNativelibrarywhichallowsoptimalperformanceinproductionenvironmentswasnotfoundonthejava.library.path:[/home/java/jdk1.8.0_221/jre/lib/amd64/server:/home/java/jdk1.8.0_221/jre/lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]12-Sep-201908:59:18.240INFO[main]org.apache.coyote.AbstractProtocol.initInitializingProtocolHandler[""]12-Sep-201908:59:18.399INFO[main]org.apache.tomcat.util.net.NioSelectorPool.getSharedSelectorUsingasharedselectorforservletwrite/read12-Sep-201908:59:18.541INFO[main]org.apache.coyote.AbstractProtocol.initInitializingProtocolHandler["ajp-nio-8009"]12-Sep-201908:59:18.542INFO[main]org.apache.tomcat.util.net.NioSelectorPool.getSharedSelectorUsingasharedselectorforservletwrite/read12-Sep-201908:59:18.546INFO[main]org.apache.catalina.startup.Catalina.loadInitializationprocessedin4470ms12-Sep-201908:59:18.690INFO[main]org.apache.catalina.core.StandardService.startInternalStartingservice[Catalina]12-Sep-201908:59:18.690INFO[main]org.apache.catalina.core.StandardEngine.startInternalStartingServletEngine:ApacheTomcat/8.5.4512-Sep-201908:59:18.921INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployWARDeployingwebapplicationarchive[/home/java/apache-tomcat-8.5.45/webapps/ROOT.war]12-Sep-201908:59:18.967WARNING[localhost-startStop-1]org.apache.catalina.core.StandardContext.postWorkDirectoryFailedtocreateworkdirectory[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/ROOT]forcontext[]12-Sep-201908:59:19.631SEVERE[localhost-startStop-1]org.apache.jasper.EmbeddedServletOptions.initThescratchDiryouspecified:[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/ROOT]isunusable.12-Sep-201908:59:19.637INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployWARDeploymentofwebapplicationarchive[/home/java/apache-tomcat-8.5.45/webapps/ROOT.war]hasfinishedin[716]ms12-Sep-201908:59:19.650INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployDirectoryDeployingwebapplicationdirectory[/home/java/apache-tomcat-8.5.45/webapps/docs]12-Sep-201908:59:19.664WARNING[localhost-startStop-1]org.apache.catalina.core.StandardContext.postWorkDirectoryFailedtocreateworkdirectory[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/docs]forcontext[/docs]12-Sep-201908:59:19.703SEVERE[localhost-startStop-1]org.apache.jasper.EmbeddedServletOptions.initThescratchDiryouspecified:[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/docs]isunusable.12-Sep-201908:59:19.704INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployDirectoryDeploymentofwebapplicationdirectory[/home/java/apache-tomcat-8.5.45/webapps/docs]hasfinishedin[54]ms12-Sep-201908:59:19.704INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployDirectoryDeployingwebapplicationdirectory[/home/java/apache-tomcat-8.5.45/webapps/examples]12-Sep-201908:59:19.705WARNING[localhost-startStop-1]org.apache.catalina.core.StandardContext.postWorkDirectoryFailedtocreateworkdirectory[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/examples]forcontext[/examples]12-Sep-201908:59:20.767SEVERE[localhost-startStop-1]org.apache.jasper.EmbeddedServletOptions.initThescratchDiryouspecified:[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/examples]isunusable.12-Sep-201908:59:20.767INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployDirectoryDeploymentofwebapplicationdirectory[/home/java/apache-tomcat-8.5.45/webapps/examples]hasfinishedin[1,063]ms12-Sep-201908:59:20.767INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployDirectoryDeployingwebapplicationdirectory[/home/java/apache-tomcat-8.5.45/webapps/host-manager]12-Sep-201908:59:20.819WARNING[localhost-startStop-1]org.apache.catalina.core.StandardContext.postWorkDirectoryFailedtocreateworkdirectory[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/host-manager]forcontext[/host-manager]12-Sep-201908:59:20.893SEVERE[localhost-startStop-1]org.apache.jasper.EmbeddedServletOptions.initThescratchDiryouspecified:[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/host-manager]isunusable.12-Sep-201908:59:20.893INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployDirectoryDeploymentofwebapplicationdirectory[/home/java/apache-tomcat-8.5.45/webapps/host-manager]hasfinishedin[126]ms12-Sep-201908:59:20.893INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployDirectoryDeployingwebapplicationdirectory[/home/java/apache-tomcat-8.5.45/webapps/manager]12-Sep-201908:59:20.900WARNING[localhost-startStop-1]org.apache.catalina.core.StandardContext.postWorkDirectoryFailedtocreateworkdirectory[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/manager]forcontext[/manager]12-Sep-201908:59:20.968SEVERE[localhost-startStop-1]org.apache.jasper.EmbeddedServletOptions.initThescratchDiryouspecified:[/home/java/apache-tomcat-8.5.45/work/Catalina/localhost/manager]isunusable.12-Sep-201908:59:20.968INFO[localhost-startStop-1]org.apache.catalina.startup.HostConfig.deployDirectoryDeploymentofwebapplicationdirectory[/home/java/apache-tomcat-8.5.45/webapps/manager]hasfinishedin[75]ms12-Sep-201908:59:20.985INFO[main]org.apache.coyote.AbstractProtocol.startStartingProtocolHandler[""]12-Sep-201908:59:21.005INFO[main]org.apache.coyote.AbstractProtocol.startStartingProtocolHandler["ajp-nio-8009"]12-Sep-201908:59:21.025INFO[main]org.apache.catalina.startup.Catalina.startServerstartupin2479ms有打印ROOT信息.但是我的war包并没有被真正启动....启动的话日志上会有项目静态资源.bean加载等打印信息....还有个问题就是...周二去服务器那边同样配置.tomcat也能正常启动.但是项目报错.文件找不到的错.那个文件路径是springboot自带的slf4j日志来写日志的文件.但是startup.sh可以正常启动.那个目录在tomcat的bin目录下.但systemctlstart就报错.所以想问一下是不是这种启动方式的相对路径与startup.sh不同...那这种方式的相对路径在哪里呢.....

友情链接: 网站地图
Copyright © 2015-2019 http://www.nflfreepicks.net. 新葡萄京娱乐场网址有限公司 版权所有