HTTP 错误 500.19 - Internal Server Error

web.config 文件的 system.webServer/httpErrors 节中不允许绝对物理路径“C:\inetpub\custerr”。请改用相对路径。 详细错误信息
模块 CustomErrorModule
通知 SendResponse
处理程序 AboMapperCustom-33028
错误代码 0x8007000d
请求的 URL XXXXXX
物理路径 D:\user\XXXX\index.php
登录方法 匿名
登录用户 匿名
最可能的原因:
•工作进程无法读取 applicationhost.config 或 web.config 文件。
•applicationhost.config 或 web.config 文件中存在格式错误的 XML。
•由于 NTFS 权限不正确,服务器无法访问 applicationhost.config 或 web.config 文件。
可尝试的操作:
•查询事件日志中有关配置文件不可读的原因的信息。
•确保为应用程序池指定的用户标识或通过身份验证的用户具有访问 web.config 文件的必需权限。
CSDN现有的方法 都测试过了,无法修复,求大神指导

1个回答

有没有可能是版本的不兼容,我之前部署zabbix时 就显示500了

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
HTTP 错误 500.0 - Internal Server Error

求解决方法,php模块路径 extension_dir = "C:\php\ext" WIN 2012 R2安装好IIS8.5和配置好PHP访问本地http://localhost/ 出现 HTTP 错误 500.0 - Internal Server Error C:\php\php-cgi.exe - FastCGI 进程意外退出 最可能的原因: IIS 收到了请求;但在处理请求过程中出现内部错误。此错误的根本原因取决于处理该请求的是哪一个模块以及出现此错误时工作进程中出现了何种情况。 IIS 无法访问网站或应用程序的 web.config 文件。如果 NTFS 权限设置不正确,便会出现这种情况。 IIS 无法处理网站或应用程序的配置。 已经过身份验证的用户没有使用此 DLL 的权限。 该请求将被映射到托管处理程序,但不会安装 .NET 可扩展功能。 可尝试的操作: 确保 web.config 文件的 NTFS 权限正确,并允许访问 Web 服务器的计算机帐户。 检查事件日志中是否记录了任何附加信息。 确认 DLL 的权限。 如果请求被映射到托管处理程序,则安装 .NET 可扩展功能。 创建跟踪规则以跟踪此 HTTP 状态代码的失败的请求。有关为失败的请求创建跟踪规则的详细信息,请单击此处。 详细错误信息: 模块 FastCgiModule 通知 ExecuteRequestHandler 处理程序 FastCGI 错误代码 0xc0000005 请求的 URL http://localhost:80/index.php 物理路径 C:\inetpub\wwwroot\index.php 登录方法 匿名 登录用户 匿名 详细信息: 此错误表明在处理请求时出现问题。Web 服务器收到了请求,但在处理过程中出现错误,导致 500 错误。 查看详细信息 » Microsoft 知识库文章: 294807

网站打开报错,HTTP 错误 500.19 - Internal Server Error

本地运行没有问题,发布到服务器就出现以下错误 ![图片说明](https://img-ask.csdn.net/upload/201707/21/1500641705_493507.png)

内部服务器错误 - Drupal 6

<div class="post-text" itemprop="text"> <p>I have Drupal 6 Site.</p> <p>I have enabled compression of CSS &amp; JS files. Last night I uploaded couple of css files. I cleared the Cache from Drupal site. It was working fine..</p> <p>But this morning when I opened the site, it is throwing error </p> <blockquote> <p>500 Internal Server Error. Contact your system administration.</p> </blockquote> <p>I logged into as admin anyhow &amp; disabled the compression so all the css &amp; js files issue got fixed but the images that are under <strong>sites/default/files/</strong> are not loading &amp; getting 500 Error for these files.</p> <p>This is very critical for my site. </p> <p>I have already reverted the files &amp; uploaded. But not working.</p> <p>The strangest thing is that I was doing this on my subdomain dev.hello.com but the issue is also affecting / giving the same error on the main site as well. www.hello.com</p> <p>Steps taken till now by me:</p> <ul> <li>Reverted the old css &amp; uploaded</li> <li>Checked the files if they are available, they are available </li> <li>.htacess intialised </li> <li><a href="https://www.drupal.org/node/1226512" rel="nofollow">https://www.drupal.org/node/1226512</a></li> <li><a href="https://www.drupal.org/node/587592" rel="nofollow">https://www.drupal.org/node/587592</a></li> <li><a href="https://www.drupal.org/node/2620220" rel="nofollow">https://www.drupal.org/node/2620220</a></li> </ul> <p>Exactly the same issue</p> <ul> <li><a href="https://www.drupal.org/node/702150" rel="nofollow">https://www.drupal.org/node/702150</a></li> </ul> <p>Any help highly appreciated.</p> </div>

高并发下出现错误。500 Internal Server Error

1.高并发下会出现错误500 Internal Server Error 2. ``` 2019-05-21 19:31:50 -1985877 [http-bio-8002-exec-491] ERROR - A JSONObject text must begin with '{' at character 1 of <html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.9</center> </body> </html> net.sf.json.JSONException: A JSONObject text must begin with '{' at character 1 of <html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.9</center> </body> </html> at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512) at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:881) at net.sf.json.JSONObject._fromString(JSONObject.java:1102) at net.sf.json.JSONObject.fromObject(JSONObject.java:175) at net.sf.json.JSONObject.fromObject(JSONObject.java:145) at com.rebate.controller.IndexController.getByCertno(IndexController.java:179) at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2019-05-21 19:31:49 -1985174 [http-bio-8002-exec-482] INFO - getRedPacket: mobile=null, resultJson=<html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.9.9</center> </body> </html> ``` 2.我想确人是因为程序原因报错,导致nginx出现错误。 还是ngnix转发原因出现,访问不到连接报错。

HTTP Status 500 – Internal Server Error是什么原因学生信息管理系统的

![图片说明](https://img-ask.csdn.net/upload/201904/30/1556615867_5693.png)![图片说明](https://img-ask.csdn.net/upload/201904/30/1556615877_331413.png) 数据库的导入是不是有问题啊,圈起来的地方是灰色的![图片说明](https://img-ask.csdn.net/upload/201904/30/1556615942_509286.png)而且浏览器运行500

安装keystone提示openstack Internal Server Error

安装配置openstack时,到keystone部分时,运行openstack service create --name keystone --description "OpenStack Identity" identity提示如下错误: **ERROR:openstack Internal ServerError(HTTP 500)** 什么原因产生这种情况?配置错误吗?该如何处理呢? 查看 /var/log/keystone/keystone.conf,该文件里没有任何内容, 查看/var/log/httpd/keystone-error.log有如下内容: 2017-10-10 14:19:15.144225 mod_wsgi (pid=8576, process='keystone-admin', application=''): Loading WSGI script '/var/www/cgi-bin/keystone/admin'. 2017-10-10 14:19:15.851922 mod_wsgi (pid=8576): Target WSGI script '/var/www/cgi-bin/keystone/admin' cannot be loaded as Python module. 2017-10-10 14:19:15.851947 mod_wsgi (pid=8576): Exception occurred processing WSGI script '/var/www/cgi-bin/keystone/admin'. 2017-10-10 14:19:15.851968 Traceback (most recent call last): 2017-10-10 14:19:15.851981 File "/var/www/cgi-bin/keystone/admin", line 4, in <module> 2017-10-10 14:19:15.852019 application = wsgi_server.initialize_application(name) 2017-10-10 14:19:15.852027 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 36, in initialize_application 2017-10-10 14:19:15.852057 common.configure() 2017-10-10 14:19:15.852063 File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 36, in configure 2017-10-10 14:19:15.852088 config.setup_logging() 2017-10-10 14:19:15.852097 File "/usr/lib/python2.7/site-packages/keystone/config.py", line 56, in setup_logging 2017-10-10 14:19:15.852127 log.setup(CONF, 'keystone') 2017-10-10 14:19:15.852133 File "/usr/lib/python2.7/site-packages/oslo_log/log.py", line 211, in setup 2017-10-10 14:19:15.852219 _setup_logging_from_conf(conf, product_name, version) 2017-10-10 14:19:15.852227 File "/usr/lib/python2.7/site-packages/oslo_log/log.py", line 263, in _setup_logging_from_conf 2017-10-10 14:19:15.852238 filelog = logging.handlers.WatchedFileHandler(logpath) 2017-10-10 14:19:15.852244 File "/usr/lib64/python2.7/logging/handlers.py", line 392, in __init__ 2017-10-10 14:19:15.852459 logging.FileHandler.__init__(self, filename, mode, encoding, delay) 2017-10-10 14:19:15.852469 File "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__ 2017-10-10 14:19:15.852751 StreamHandler.__init__(self, self._open()) 2017-10-10 14:19:15.852760 File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open 2017-10-10 14:19:15.852771 stream = open(self.baseFilename, self.mode) 2017-10-10 14:19:15.852784 IOError: [Errno 13] Permission denied: '/var/log/keystone/keystone.log'

ajax在win2003上报500(internal server error)

HTTP Status 500 - Handler processing failed; nested exception is java.lang.UnsupportedClassVersionError: cn/siggy/util/DBUtil type Exception report message Handler processing failed; nested exception is java.lang.UnsupportedClassVersionError: cn/siggy/util/DBUtil description The server encountered an internal error that prevented it from fulfilling this request. exception org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.UnsupportedClassVersionError: cn/siggy/util/DBUtil org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1303) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:977) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) cn.siggy.filter.CorsFilter.doFilter(CorsFilter.java:22) root cause java.lang.UnsupportedClassVersionError: cn/siggy/util/DBUtil cn.siggy.dao.DataDao.findList(DataDao.java:38) cn.siggy.controller.AllController.arrayData(AllController.java:34) sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) cn.siggy.filter.CorsFilter.doFilter(CorsFilter.java:22) ![图片说明](https://img-ask.csdn.net/upload/201801/19/1516362712_884024.jpg)

发布网站后,配置错误 定义了重复的“devExpress/compression”节

HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效。错误代码 0x800700b7 ,配置错误 定义了重复的“devExpress/compression”节 。![图片说明](https://img-ask.csdn.net/upload/201510/03/1443843346_310664.png),求高手指点

weblogic12c 发布项目失败

我用weblogic12c发布项目总是失败,已经删除了xml-api这个jar,weblogic.xml也加了配置,还是失败,日志如下:请大神看看 Error 500--Internal Server Error org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring.xml]; nested exception is java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory cannot be cast to javax.xml.parsers.DocumentBuilderFactory at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:613) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:514) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:582) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:233) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:190) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1730) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2740) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1704) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:781) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:212) at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:111) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:582) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:335) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory cannot be cast to javax.xml.parsers.DocumentBuilderFactory at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source) at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:90) at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:71) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391) ... 56 more

java.lang.ClassNotFoundException: org.mortbay.jetty.Connector 这是什么错误啊?

mac Myeclipse ci 2018 weblogic12c java项目jdk1.6 weblogicjdk1.8 项目在部署到weblogic上失败 ``` ``` Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 <2018-12-19 下午08时41分01秒 CST> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.> <2018-12-19 下午08时41分01秒 CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.> <2018-12-19 下午08时41分01秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 25.191-b12 from Oracle Corporation.> <2018-12-19 下午08时41分01秒 CST> <Info> <RCM> <BEA-2165021> <"ResourceManagement" is not enabled in this JVM. Enable "ResourceManagement" to use the WebLogic Server "Resource Consumption Management" feature. To enable "ResourceManagement", you must specify the following JVM options in the WebLogic Server instance in which the JVM runs: -XX:+UnlockCommercialFeatures -XX:+ResourceManagement.> <2018-12-19 下午08时41分01秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.2.1.1.0 Thu Jun 2 16:21:58 PDT 2016 1784838> <2018-12-19 下午08时41分02秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.> <2018-12-19 下午08时41分02秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.> <2018-12-19 下午08时41分03秒 CST> <Info> <WorkManager> <BEA-002942> <CMM memory level becomes 0. Setting standby thread pool size to 256.> <2018-12-19, 8:41:03,470 下午 CST> <Notice> <Log Management> <BEA-170019> <The server log file weblogic.logging.FileStreamHandler instance=2092500132 Current log file=/Users/oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log Rotation dir=/Users/oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/logs is opened. All server side log events will be written to this file.> <2018-12-19, 8:41:03,532 下午 CST> <Notice> <Security> <BEA-090946> <Security pre-initializing using security realm: myrealm> <2018-12-19, 8:41:04,84 下午 CST> <Notice> <Security> <BEA-090947> <Security post-initializing using security realm: myrealm> <2018-12-19, 8:41:04,979 下午 CST> <Notice> <Security> <BEA-090082> <Security initialized using administrative security realm: myrealm> <2018-12-19, 8:41:05,300 下午 CST> <Warning> <Store> <BEA-280109> <The JVM was unable to load the native wlfileio library for the store "_WLS_AdminServer". File and paging stores will continue to function correctly. Specifically, file stores that are configured with a transactionally safe synchronous write policy will continue to operate safely and transactionally but may open with a different write-policy. Other store types may not be able to open.> <2018-12-19, 8:41:05,340 下午 CST> <Warning> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://169.254.153.13:7001/jndi/weblogic.management.mbeanservers.runtime.> <2018-12-19, 8:41:05,340 下午 CST> <Warning> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://169.254.153.13:7001/jndi/weblogic.management.mbeanservers.domainruntime.> <2018-12-19, 8:41:05,352 下午 CST> <Warning> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://169.254.153.13:7001/jndi/weblogic.management.mbeanservers.edit.> <2018-12-19, 8:41:06,588 下午 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.> <2018-12-19, 8:41:06,589 下午 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.> <2018-12-19, 8:41:06,625 下午 CST> <Notice> <Log Management> <BEA-170036> <The Logging monitoring service timer has started to check for logged message counts every 30 seconds.> <2018-12-19, 8:41:06,813 下午 CST> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.> <2018-12-19, 8:41:06,904 下午 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.> <2018-12-19, 8:41:06,956 下午 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.> <2018-12-19, 8:41:07,5 下午 CST> <Warning> <Server> <BEA-002611> <The hostname "localhost", maps to multiple IP addresses: 127.0.0.1, 0:0:0:0:0:0:0:1.> <2018-12-19, 8:41:07,7 下午 CST> <Warning> <Server> <BEA-002611> <The hostname "zkr-jyp-pc.local", maps to multiple IP addresses: 169.254.153.13, 11.205.52.52, fe80:0:0:0:10fd:f6fc:8230:8788%10, fe80:0:0:0:97:aebc:b52a:e094%20.> <2018-12-19, 8:41:07,7 下午 CST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> <2018-12-19, 8:41:07,8 下午 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 11.205.52.52:7001 for protocols iiop, t3, ldap, snmp, http.> <2018-12-19, 8:41:07,8 下午 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 169.254.153.13:7001 for protocols iiop, t3, ldap, snmp, http.> <2018-12-19, 8:41:07,8 下午 CST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 0:0:0:0:0:0:0:1%lo0:7001 for protocols iiop, t3, ldap, snmp, http.> <2018-12-19, 8:41:07,8 下午 CST> <Notice> <WebLogicServer> <BEA-000331> <Started the WebLogic Server Administration Server "AdminServer" for domain "base_domain" running in development mode.> <2018-12-19, 8:41:07,8 下午 CST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> <2018-12-19, 8:41:07,8 下午 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 11.205.52.52:7001 for protocols iiop, t3, ldap, snmp, http.> <2018-12-19, 8:41:07,9 下午 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 169.254.153.13:7001 for protocols iiop, t3, ldap, snmp, http.> <2018-12-19, 8:41:07,9 下午 CST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 0:0:0:0:0:0:0:1%lo0:7001 for protocols iiop, t3, ldap, snmp, http.> <2018-12-19, 8:41:07,11 下午 CST> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.> <2018-12-19, 8:41:07,18 下午 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.> <2018-12-19, 8:41:50,423 下午 CST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=AdminServer : Initializing callbacks> <2018-12-19, 8:41:50,426 下午 CST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=AdminServer : Callback is done> <2018-12-19, 8:41:50,426 下午 CST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=AdminServer : Connection already exists for the server. Does not attempt to connect to the server> <2018-12-19, 8:42:35,137 下午 CST> <Warning> <JAXRSIntegration> <BEA-2192511> <The list of resource packages: org.apache.cxf.jaxrs.provider;org.apache.cxf.jaxrs.impl;com.picc.platform.demo.webservice.server.jaxrs> <2018-12-19, 8:42:57,500 下午 CST> <Warning> <JAXRSIntegration> <BEA-2192511> <The list of resource packages: org.apache.cxf.jaxrs.provider;com.picc.platform.demo.webservice.server.jaxrs;org.apache.cxf.jaxrs.impl> <2018-12-19, 8:43:08,828 下午 CST> <Warning> <JAXRSIntegration> <BEA-2192511> <The list of resource packages: org.apache.cxf.jaxrs.provider;com.picc.platform.demo.webservice.server.jaxrs;org.apache.cxf.jaxrs.impl> <2018-12-19, 8:43:17,888 下午 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "5747660773208" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector" weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:132) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:246) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65) Truncated. see log file for complete stacktrace Caused By: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1025) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:986) at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:83) at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:607) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:539) Truncated. see log file for complete stacktrace > <2018-12-19, 8:43:17,910 下午 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "cams".> <2018-12-19, 8:43:17,910 下午 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:132) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:246) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65) Truncated. see log file for complete stacktrace Caused By: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1025) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:986) at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:83) at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:607) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:539) Truncated. see log file for complete stacktrace > <2018-12-19, 8:43:17,940 下午 CST> <Error> <Console> <BEA-240003> <Administration Console encountered the following error: weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:132) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:246) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:229) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:103) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:241) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:794) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1340) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:267) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:177) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:186) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:14) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:666) at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348) at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333) at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54) at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406) at weblogic.work.ExecuteThread.run(ExecuteThread.java:346) Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1025) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:986) at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:83) at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:607) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:539) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:492) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:469) at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:53) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1047) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:1041) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:145) at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:47) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:120) at weblogic.j2ee.dd.xml.PojoAnnotationProcessorImpl.processJ2eeAnnotations(PojoAnnotationProcessorImpl.java:93) at weblogic.application.internal.flow.PojoAnnotationProcessingFlow.processAnnotations(PojoAnnotationProcessingFlow.java:304) at weblogic.application.internal.flow.PojoAnnotationProcessingFlow.processPOJOsInModuleScopes(PojoAnnotationProcessingFlow.java:229) at weblogic.application.internal.flow.PojoAnnotationProcessingFlow.prepare(PojoAnnotationProcessingFlow.java:73) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:731) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:243) > <2018-12-19, 8:43:18,388 下午 CST> <Warning> <JAXRSIntegration> <BEA-2192511> <The list of resource packages: org.apache.cxf.jaxrs.provider;com.picc.platform.demo.webservice.server.jaxrs;org.apache.cxf.jaxrs.impl>

SpringCloud微服务开发时报了一个错,请经验丰富的高手指教一下?

This application has no explicit mapping for /error, so you are seeing this as a fallback. Tue Nov 27 09:52:19 CST 2018 There was an unexpected error (type=Internal Server Error, status=500). status 500 reading ProcessApplyRemoteService#getCertListByAccttypeRemote(Byte); content: {"timestamp":1543283539684,"status":500,"error":"Internal Server Error","exception":"org.mybatis.spring.MyBatisSystemException","message":"nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='accType', mode=IN, javaType=class java.lang.Object, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).","path":"/get/cert/list/by/accttype/remote/0"}

如何修复视频处理和500错误 - (Laravel,FFmpeg)

<div class="post-text" itemprop="text"> <p>I'm setting up a new website with Laravel for uploading videos... I have read all the possible solutions but none of them help me to solve the issue...</p> <p>This is my issue: When I upload a small file (&lt;10mb) the web works fine, the video get uploaded and the video get converted, the dashboard shows the converted videos---</p> <p>When I try to upload a large file, the file get uploaded, the video get converted with a green frame on it (really uggly) and the site goes to a 500 server error...</p> <p>I'm using Laravel Jobs to do the conversion.</p> <p>My Controller code:</p> <pre><code> &lt;?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Storage; use Symfony\Component\HttpFoundation\Response; use Carbon; use Closure; use App\Jobs\ConvertVideoForPreview; use FFMpeg\FFProbe; use FFMpeg\Coordinate\Dimension; use FFMpeg\Format\Video\X264; use Pawlox\VideoThumbnail\Facade\VideoThumbnail; use Pbmedia\LaravelFFMpeg\FFMpegFacade as FFMpeg; use Illuminate\Contracts\Filesystem\Filesystem; use App\Video; class VideoController extends Controller { public function createVideo(){ return view('video.createVideo'); } public function saveVideo(Request $request){ set_time_limit(0); ini_set('memory_limit', '1024M'); //Validar Formulario $validatedData = $this -&gt; validate($request, [ 'title' =&gt; 'required', 'description' =&gt; 'required', 'palabras' =&gt; 'required', 'video' =&gt; 'mimetypes:video/mp4,video/quicktime' ]); $video = new Video(); $user = \Auth::user(); $video -&gt; user_id = $user-&gt;id; $video -&gt; title = $request -&gt; input('title'); $video -&gt; description = $request -&gt; input('description'); $video -&gt; palabras = $request -&gt; input('palabras'); $video_file = $request -&gt; file('video'); if($video_file){ $video_path = 'original'.'_'.$video_file -&gt; getClientOriginalName(); Storage::disk('videos')-&gt; put($video_path, \File::get($video_file)); $videoUrl = storage_path('app/videos/').$video_path; $storageUrl = storage_path('app/thumbs/'); $fileName = 'thumb'.'_'.time().'.jpg'; $second = 2; VideoThumbnail::createThumbnail($videoUrl, $storageUrl, $fileName, $second, $width = 640, $height = 480); $video -&gt; preview = $fileName; $video -&gt; video_path = $video_path; } $video -&gt; save(); ConvertVideoForPreview::dispatch($video); return redirect() -&gt; route('home') -&gt; with (array( 'message' =&gt; 'El video se ha enviado con exito')); } public function getImage($filename){ $file = Storage::disk('thumbs') -&gt; get($filename); return new Response($file, 200); } public function getVideo($filename){ $file = Storage::disk('converted_videos') -&gt; get($filename); return new Response($file, 200); } } </code></pre> <p>This is my ConvertVideo Job:</p> <pre><code> &lt;?php namespace App\Jobs; use App\Video; use Carbon\Carbon; use FFMpeg; use FFMpeg\Format\Video\X264; use Illuminate\Http\Request; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; class ConvertVideoForPreview implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; public $video; public function __construct(Video $video) { $this -&gt; video = $video; } public function handle() { $converted_name= 'preview'.'-'.$this -&gt; video -&gt; video_path.'.mp4'; FFMpeg::open('videos/'.$this -&gt; video -&gt; video_path) -&gt; export() -&gt; inFormat(new \FFMpeg\Format\Video\X264) -&gt; save('converted_videos/'.$converted_name); $this -&gt; video -&gt; update([ 'video_preview' =&gt; $converted_name, 'processed' =&gt; true ]); } } </code></pre> <p>One of my goals is to upload large video files (&lt;=4GB), show a uploading process bar and a encoding process bar during the video upload.</p> <p>I getting this error:</p> <pre><code> [core:error] [pid 14787:tid 139975366489856] [client 201.188.26.12:51022] Script timed out before returning headers: index.php, </code></pre> <p>It's happend when the video es proccesing and the redirect to home dashboard it's call...</p> <p>The FFMPEG works:</p> <pre><code>[2019-07-19 17:20:41] local.INFO: ffprobe executed command successfully [2019-07-19 17:21:52] local.INFO: ffmpeg executed command successfully [2019-07-19 17:21:52] local.INFO: ffmpeg running command '/usr/local/bin/ffmpeg' '-y' '-i' '/home/tribus/public_html/storage/app/videos/original_Sequence 01.mov' '-threads' '12' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '2' '-passlogfile' '/tmp/ffmpeg-passes5d31fbe9010e6ldt9s/pass-5d31fbe90152d' '/home/tribus/public_html/storage/app/converted_videos/preview-original_Sequence 01.mov.mp4' </code></pre> <p>I have tried: Change all the memory and file size in PHP.ini, Nginx, Apache... (Probably I'm missing one)... </p> <p>Changed timeouts too.</p> <p>My environment: VPS 4GB 50GB, APACHE 2.4, PHP7.3, MySql MariaDB, WebServer: Apache-Nginx, Laravel 5.8.</p> <p>Can anyone help me to reach this?...</p> <p>This is how the large video looks after converted and show 500 error in the browser: <a href="https://i.stack.imgur.com/YzjSd.png" rel="nofollow noreferrer">Error video processed</a></p> </div>

xxl-job项目启动,tomcat报错

再使用xxl-job 时,用到了jfinal执行器,所有运行正常,但是当jfinal连接数据库后,项目无法发布,tomcat报错 017-10-26 19:57:58,994 - xxl-job-admin - INFO [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] - <Mapped URL path [/favicon.ico] onto handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0'> 2017-10-26 19:57:59,002 - xxl-job-admin - INFO [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] - <Mapped URL path [/static/**] onto handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#1'> 2017-10-26 19:57:59,010 - xxl-job-admin - INFO [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] - <Mapped URL path [/**/*.html] onto handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#2'> 2017-10-26 19:57:59,065 - xxl-job-admin - INFO [org.springframework.web.servlet.DispatcherServlet] - <FrameworkServlet 'springmvc': initialization completed in 866 ms> 26-Oct-2017 19:57:59.097 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive G:\apache-tomcat-8.0.28\webapps\xxl-job-admin.war has finished in 6,832 ms 26-Oct-2017 19:57:59.102 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive G:\apache-tomcat-8.0.28\webapps\xxl-job-jfinal-lbh.war 26-Oct-2017 19:58:00.867 InfO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 26-Oct-2017 19:58:00.975 SEVERE [localhost-startStop-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 26-Oct-2017 19:58:00.975 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/xxl-job-jfinal-lbh] startup failed due to previous errors 26-Oct-2017 19:58:00.997 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [xxl-job-jfinal-lbh] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43) 26-Oct-2017 19:58:01.002 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive G:\apache-tomcat-8.0.28\webapps\xxl-job-jfinal-lbh.war has finished in 1,900 ms 26-Oct-2017 19:58:01.012 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"] 26-Oct-2017 19:58:01.019 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"] 26-Oct-2017 19:58:01.020 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 8810 ms 2017-10-26 19:58:18,144 - xxl-job-admin - INFO [org.springframework.scheduling.quartz.SchedulerFactoryBean] - <Starting Quartz Scheduler now, after delay of 20 seconds> 2017-10-26 19:58:18,174 - xxl-job-admin - INFO [org.springframework.scheduling.quartz.LocalDataSourceJobStore] - <ClusterManager: detected 1 failed or restarted instances.> 2017-10-26 19:58:18,175 - xxl-job-admin - INFO [org.springframework.scheduling.quartz.LocalDataSourceJobStore] - <ClusterManager: Scanning for instance "DESKTOP-UL9DUO61509017877267"'s failed in-progress jobs.> 2017-10-26 19:58:18,185 - xxl-job-admin - INFO [org.quartz.core.QuartzScheduler] - <Scheduler quartzScheduler_$_DESKTOP-UL9DUO61509019077711 started.> 找了很久也没找到问题的根源.请教下有谁能帮忙么....

执行指令OpenStack compute service list 出现HTTP(500)

2017-11-08 19:18:52.833 ERROR nova.compute.manager [req-e4abe3b9-f679-41cb-bed6-064ca37a3f7f - - - - -]更新节点controller时发生错误 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager Traceback (most recent call last): 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6571, in update_available_resource_for_node 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 551, in update_available_resource 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self._update_available_resource(context, resources) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return f(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 575, in _update_available_resource 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self._init_compute_node(context, resources) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 438, in _init_compute_node 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.scheduler_client.update_resource_stats(cn) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 60, in update_resource_stats 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.reportclient.update_resource_stats(compute_node) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return getattr(self.instance, __name)(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 631, in update_resource_stats 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager compute_node.hypervisor_hostname) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 407, in _ensure_resource_provider 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager rp = self._get_resource_provider(uuid) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 55, in wrapper 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return f(self, *a, **k) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 309, in _get_resource_provider 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager resp = self.get("/resource_providers/%s" % uuid) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 209, in get 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager endpoint_filter=self.ks_filter, raise_exc=False, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 758, in get 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.request(url, 'GET', **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return wrapped(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 491, in request 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager auth_headers = self.get_auth_headers(auth) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 818, in get_auth_headers 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return auth.get_headers(self, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/plugin.py", line 90, in get_headers 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager token = self.get_token(session) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 90, in get_token 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.get_access(session).auth_token 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 136, in get_access 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.auth_ref = self.get_auth_ref(session) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 198, in get_auth_ref 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self._plugin.get_auth_ref(session, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager authenticated=False, log=False, **rkwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.request(url, 'POST', **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return wrapped(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager raise exceptions.from_response(resp, method, url) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager InternalServerError: Internal Server Error (HTTP 500) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager

appium-desktop启动模拟器adb命令超时失败

1appium-desktop启动模拟器adb命令超时失败 2.使用appium-server启动没有问题 报错如下: ``` [Appium] Welcome to Appium v1.15.0 [Appium] Non-default server args: [Appium] allowInsecure: { [Appium] } [Appium] denyInsecure: { [Appium] } [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [HTTP] --> POST /wd/hub/session [HTTP] {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android"}},"desiredCapabilities":{"platformName":"Android","platformVersion":"5.1.1","deviceName":"Android Emulator","appPackage":"com.android.calculator2","appActivity":".Calculator"}} [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"5.1.1","deviceName":"Android Emulator","appPackage":"com.android.calculator2","appActivity":".Calculator"},null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android"}}] [BaseDriver] Event 'newSessionRequested' logged at 1571708607532 (09:43:27 GMT+0800 (中国标准时间)) [Appium] Could not parse W3C capabilities: 'deviceName' can't be blank [Appium] Trying to fix W3C capabilities by merging them with JSONWP caps [BaseDriver] The capabilities ["platformVersion","deviceName","appPackage","appActivity"] are not standard capabilities and should have an extension prefix [Appium] [Appium] ====================================================================== [Appium] DEPRECATION WARNING: [Appium] [Appium] The 'automationName' capability was not provided in the desired [Appium] capabilities for this Android session [Appium] [Appium] Setting 'automationName=UiAutomator2' by default and using the [Appium] UiAutomator2 Driver [Appium] [Appium] The next major version of Appium (2.x) will **require** the [Appium] 'automationName' capability to be set for all sessions on all [Appium] platforms [Appium] [Appium] In previous versions (Appium <= 1.13.x), the default was [Appium] 'automationName=UiAutomator1' [Appium] [Appium] If you wish to use that automation instead of UiAutomator2, please [Appium] add 'automationName=UiAutomator1' to your desired capabilities [Appium] [Appium] For more information about drivers, please visit [Appium] http://appium.io/docs/en/about-appium/intro/ and explore the [Appium] 'Drivers' menu [Appium] [Appium] ====================================================================== [Appium] [Appium] Appium v1.15.0 creating new AndroidUiautomator2Driver (v1.37.1) session [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [BaseDriver] Creating session with W3C capabilities: { [BaseDriver] "alwaysMatch": { [BaseDriver] "platformName": "Android", [BaseDriver] "appium:platformVersion": "5.1.1", [BaseDriver] "appium:deviceName": "Android Emulator", [BaseDriver] "appium:appPackage": "com.android.calculator2", [BaseDriver] "appium:appActivity": ".Calculator" [BaseDriver] }, [BaseDriver] "firstMatch": [ [BaseDriver] {} [BaseDriver] ] [BaseDriver] } [BaseDriver] Session created with session id: 838e3971-499e-42b3-aacd-1ef1a14ff4be [UiAutomator2] Starting 'com.android.calculator2' directly on the device [ADB] Found 1 'build-tools' folders under 'E:\androidsdk\android-sdk-windows' (newest first): [ADB] E:/androidsdk/android-sdk-windows/build-tools/29.0.2 [ADB] Using 'adb.exe' from 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe' [AndroidDriver] Retrieving device list [ADB] Trying to find a connected android device [ADB] Getting connected devices... [ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}] [AndroidDriver] Looking for a device with Android '5.1.1' [ADB] Setting device id to emulator-5554 [ADB] Getting device platform version [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release' [ADB] Current device property 'ro.build.version.release': 5.1.1 [AndroidDriver] Using device: emulator-5554 [ADB] Using 'adb.exe' from 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe' [ADB] Setting device id to emulator-5554 [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk' [ADB] Current device property 'ro.build.version.sdk': 22 [ADB] Device API level: 22 [AndroidDriver] No app sent in, not parsing package/activity [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device' [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping' [AndroidDriver] Pushing settings apk to device... [ADB] Getting install status for io.appium.settings [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings' [ADB] 'io.appium.settings' is installed [ADB] Getting package info for 'io.appium.settings' [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings' [ADB] Cannot extract apk info using apkanalyzer. Falling back to aapt. Original error: Could not find 'apkanalyzer.bat' in ["E:\\androidsdk\\android-sdk-windows\\platform-tools\\apkanalyzer.bat","E:\\androidsdk\\android-sdk-windows\\emulator\\apkanalyzer.bat","E:\\androidsdk\\android-sdk-windows\\tools\\apkanalyzer.bat","E:\\androidsdk\\android-sdk-windows\\tools\\bin\\apkanalyzer.bat","E:\\androidsdk\\android-sdk-windows\\build-tools\\29.0.2\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'E:\androidsdk\android-sdk-windows'? [ADB] Using 'aapt.exe' from 'E:\androidsdk\android-sdk-windows\build-tools\29.0.2\aapt.exe' [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('2.14.2' >= '2.14.2') [ADB] There is no need to install/upgrade 'C:\Users\Administrator\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [ADB] Getting IDs of all 'io.appium.settings' processes [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?'' [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pidof --help > /dev/null; echo $?'' [ADB] Using ps-based PID detection [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell ps' [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings put secure mock_location 1' [Logcat] Starting logcat capture [ADB] Getting install status for io.appium.uiautomator2.server [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server' [ADB] 'io.appium.uiautomator2.server' is installed [ADB] Getting package info for 'io.appium.uiautomator2.server' [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server' [ADB] Cannot extract apk info using apkanalyzer. Falling back to aapt. Original error: Could not find 'apkanalyzer.bat' in ["E:\\androidsdk\\android-sdk-windows\\platform-tools\\apkanalyzer.bat","E:\\androidsdk\\android-sdk-windows\\emulator\\apkanalyzer.bat","E:\\androidsdk\\android-sdk-windows\\tools\\apkanalyzer.bat","E:\\androidsdk\\android-sdk-windows\\tools\\bin\\apkanalyzer.bat","E:\\androidsdk\\android-sdk-windows\\build-tools\\29.0.2\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'E:\androidsdk\android-sdk-windows'? [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.3.0' >= '4.3.0') [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [ADB] Checking app cert for C:\Users\Administrator\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk [ADB] Using 'apksigner.bat' from 'E:\androidsdk\android-sdk-windows\build-tools\29.0.2\apksigner.bat' [ADB] Starting 'E:\androidsdk\android-sdk-windows\build-tools\29.0.2\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\Administrator\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.3.0.apk"]' [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [ADB] [ADB] 'C:\Users\Administrator\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk' is already signed. [ADB] Getting install status for io.appium.uiautomator2.server.test [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test' [ADB] 'io.appium.uiautomator2.server.test' is not installed [ADB] Checking app cert for C:\Users\Administrator\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [ADB] Starting 'E:\androidsdk\android-sdk-windows\build-tools\29.0.2\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\Administrator\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk"]' [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [ADB] [ADB] 'C:\Users\Administrator\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is already signed. [UiAutomator2] Server packages are going to be (re)installed [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_'' [ADB] The current Android API does not support extended ls options. Defaulting to no-options call [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'ls /data/local/tmp/appium_cache 2>&1 || echo _ERROR_'' [ADB] The count of applications in the cache: 2 [ADB] The application at 'C:\Users\Administrator\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk' is already cached to '/data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk' [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm install -r /data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk' [UiAutomator2] Deleting UiAutomator2 session [UiAutomator2] Deleting UiAutomator2 server session [WD Proxy] Matched '/' to command name 'deleteSession' [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Trying to proxy a session command without session id [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.android.calculator2' [Logcat] Stopping logcat capture [ADB] Removing forwarded port socket connection: 8200 [ADB] Running 'E:\androidsdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp\:8200' [UiAutomator2] Unable to remove port forward 'Error executing adbExec. Original error: 'Command 'E:\\androidsdk\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s emulator-5554 forward --remove tcp\:8200' exited with code 1'; Stderr: 'adb.exe: error: listener 'tcp:8200' not found'; Code: '1'' [BaseDriver] Event 'newSessionStarted' logged at 1571708636226 (09:43:56 GMT+0800 (中国标准时间)) [W3C] Encountered internal error running command: Error executing adbExec. Original error: 'Command 'E:\\androidsdk\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s emulator-5554 shell pm install -r /data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'uiautomator2ServerInstallTimeout' capability [W3C] Error: Command 'E:\\androidsdk\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s emulator-5554 shell pm install -r /data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk' timed out after 20000ms [W3C] at Timeout.setTimeout (C:\Users\Administrator\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\teen_process\lib\exec.js:125:19) [W3C] at ontimeout (timers.js:427:11) [W3C] at tryOnTimeout (timers.js:289:5) [W3C] at listOnTimeout (timers.js:252:5) [W3C] at Timer.processTimers (timers.js:212:10) [HTTP] <-- POST /wd/hub/session 500 28715 ms - 1450 [HTTP] ```

运行并发请求时,转到gRPC status.Error()导致无效的内存地址

<div class="post-text" itemprop="text"> <p>I have a <code>bcrypt.CompareHashAndPassword()</code> function that if the error is not nil return a status.Error() back to the client. </p> <p>It works If I don't run concurrent requests.</p> <p>If I just return the err back to the client instead of <code>status.Error()</code> from the bcrypt everything works with concurrent requests. I ran it testing race conditions and nothing came up.</p> <p>I'm not sure if the issue is with the <code>"google.golang.org/grpc/status"</code> library or with <code>"golang.org/x/crypto/bcrypt"</code>. I looked into the status library and there are no reading/writing of maps or anything in my mind that would cause this issue. Any help appreciated.</p> <p>My code:</p> <pre><code> package main import ( pb "dms-cloud/authentication-microservice/pb" _ "github.com/go-sql-driver/mysql" "golang.org/x/net/context" "golang.org/x/crypto/bcrypt" "github.com/satori/go.uuid" "time" "encoding/json" "google.golang.org/grpc/status" ) func (s *server) Authenticate(ctx context.Context, in *pb.AuthenticationRequest) (*pb.Ticket, error) { // Verify Password Correct err := bcrypt.CompareHashAndPassword([]byte(in.EncryptedPassword), []byte(in.Password)) if err != nil { return nil, status.Error(105, "Authentication Failed") } // Generate Ticket tkt := uuid.NewV4() exp := time.Now().Unix() + 700 // Response t := pb.Ticket{ Uuid: tkt.String(), TimeExpire: exp, AccountId: in.AccountId, } rTkt, err := json.Marshal(t) err = cache.Set(tkt.String(), string(rTkt), time.Minute*60).Err() if err != nil { return nil, status.Error(500, "Internal Error") } return &amp;t, nil } </code></pre> <p>The error:</p> <pre><code>panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x13d96c5] goroutine 34 [running]: main.(*server).Authenticate(0x176f580, 0x1b44000, 0xc420194210, 0xc420192e00, 0x176f580, 0x102906e, 0x0) /Users/kenfab/go/src/dms-cloud/authentication-microservice/Authenticate.go:19 +0x105 dms-cloud/authentication-microservice/pb._AuthenticationMicroservice_Authenticate_Handler(0x1453060, 0x176f580, 0x1b44000, 0xc420194210, 0xc420016cd0, 0x0, 0x0, 0x0, 0x0, 0x0) /Users/kenfab/go/src/dms-cloud/authentication-microservice/pb/authenticate.pb.go:240 +0x28d google.golang.org/grpc.(*Server).processUnaryRPC(0xc4200128c0, 0x1717ec0, 0xc42001b1e0, 0xc42019c000, 0xc420019e60, 0x17464c0, 0xc4201625a0, 0x0, 0x0) /Users/kenfab/go/src/google.golang.org/grpc/server.go:781 +0xc41 google.golang.org/grpc.(*Server).handleStream(0xc4200128c0, 0x1717ec0, 0xc42001b1e0, 0xc42019c000, 0xc4201625a0) /Users/kenfab/go/src/google.golang.org/grpc/server.go:981 +0x15a6 google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc420011b50, 0xc4200128c0, 0x1717ec0, 0xc42001b1e0, 0xc42019c000) /Users/kenfab/go/src/google.golang.org/grpc/server.go:551 +0xa9 created by google.golang.org/grpc.(*Server).serveStreams.func1 /Users/kenfab/go/src/google.golang.org/grpc/server.go:552 +0xa1 exit status 2 </code></pre> </div>

gitlab-runner持续集成,注册出现:500错误。Perhaps you are having network problems

- gitlab搭建在虚拟机里,gitlab-runner搭建在李刚一台虚拟机。互相能Ping通。 > 注册 gitlab-runner register(dockers exec - it gitlab-runner gitlab-runner register ) >Running in system-mode. >Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): > http://192.168.1.185:10080/ >Please enter the gitlab-ci token for this runner: >avpX5_vu9s3n_H9U5DvH >Please enter the gitlab-ci description for this runner: >[localhost.localdomain]: >Please enter the gitlab-ci tags for this runner (comma separated): >ERROR: Registering runner... failed runner=avpX5_vu status=500 Internal Server Error PANIC: Failed to register this runner. Perhaps you are having network problems 但是,如果使用搭建在阿里云上gitlab的就一切OK。 ``` Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): http://47.94.19~.~:10080/ Please enter the gitlab-ci token for this runner: Ss-fHdM3h3ZG7tz79Ly4 Please enter the gitlab-ci description for this runner: [aae0b11429ff]: Please enter the gitlab-ci tags for this runner (comma separated): Registering runner... succeeded runner=Ss-fHdM3 Please enter the executor: virtualbox, docker+machine, docker, parallels, ssh, docker-ssh+machine, kubernetes, docker-ssh, shell: shell Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded! ``` 请问: gitlab-runner 和gitlab 之间这种局域网网络问题出现的原因是什么?怎么解决?

使用AFN发送post请求,报了一个500的错,但是安卓和postman能请求的到数据

我使用AFN发送一个post请求,报了以下的错误,但是安卓和postman能请求的到数据,跪求各位大神帮我看一下问题出在哪里 Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: internal server error (500)" UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x600000425e00> { URL: http://123.207.232.93/api/Cart/cart_list } { status code: 500, headers { Server = Apache; Content-Type = text/html; charset=UTF-8; Pragma = no-cache; Cache-Control = no-store, no-cache, must-revalidate, post-check=0, pre-check=0; Date = Thu, 22 Jun 2017 09:33:30 GMT; Content-Length = 0; Expires = Thu, 19 Nov 1981 08:52:00 GMT; Connection = close; } }, NSErrorFailingURLKey=http://123.207.232.93/api/Cart/cart_list, com.alamofire.serialization.response.error.data=<>, NSLocalizedDescription=Request failed: internal server error (500)}

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

搜狗输入法也在挑战国人的智商!

故事总是一个接着一个到来...上周写完《鲁大师已经彻底沦为一款垃圾流氓软件!》这篇文章之后,鲁大师的市场工作人员就找到了我,希望把这篇文章删除掉。经过一番沟通我先把这篇文章从公号中删除了...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《Oracle Java SE编程自学与面试指南》最佳学习路线图2020年最新版(进大厂必备)

正确选择比瞎努力更重要!

《Oracle Java SE编程自学与面试指南》最佳学习路线图(2020最新版)

正确选择比瞎努力更重要!

都前后端分离了,咱就别做页面跳转了!统统 JSON 交互

文章目录1. 无状态登录1.1 什么是有状态1.2 什么是无状态1.3 如何实现无状态1.4 各自优缺点2. 登录交互2.1 前后端分离的数据交互2.2 登录成功2.3 登录失败3. 未认证处理方案4. 注销登录 这是本系列的第四篇,有小伙伴找不到之前文章,松哥给大家列一个索引出来: 挖一个大坑,Spring Security 开搞! 松哥手把手带你入门 Spring Security,别再问密...

字节跳动面试官竟然问了我JDBC?

轻松等回家通知

面试官:你连SSO都不懂,就别来面试了

大厂竟然要考我SSO,卧槽。

阿里面试官让我用Zk(Zookeeper)实现分布式锁

他可能没想到,我当场手写出来了

终于,月薪过5万了!

来看几个问题想不想月薪超过5万?想不想进入公司架构组?想不想成为项目组的负责人?想不想成为spring的高手,超越99%的对手?那么本文内容是你必须要掌握的。本文主要详解bean的生命...

自从喜欢上了B站这12个UP主,我越来越觉得自己是个废柴了!

不怕告诉你,我自从喜欢上了这12个UP主,哔哩哔哩成为了我手机上最耗电的软件,几乎每天都会看,可是吧,看的越多,我就越觉得自己是个废柴,唉,老天不公啊,不信你看看…… 间接性踌躇满志,持续性混吃等死,都是因为你们……但是,自己的学习力在慢慢变强,这是不容忽视的,推荐给你们! 都说B站是个宝,可是有人不会挖啊,没事,今天咱挖好的送你一箩筐,首先啊,我在B站上最喜欢看这个家伙的视频了,为啥 ,咱撇...

代码注释如此沙雕,会玩还是你们程序员!

某站后端代码被“开源”,同时刷遍全网的,还有代码里的那些神注释。 我们这才知道,原来程序员个个都是段子手;这么多年来,我们也走过了他们的无数套路… 首先,产品经理,是永远永远吐槽不完的!网友的评论也非常扎心,说看这些代码就像在阅读程序员的日记,每一页都写满了对产品经理的恨。 然后,也要发出直击灵魂的质问:你是尊贵的付费大会员吗? 这不禁让人想起之前某音乐app的穷逼Vip,果然,穷逼在哪里都是...

2020春招面试了10多家大厂,我把问烂了的数据库事务知识点总结了一下

2020年截止目前,我面试了阿里巴巴、腾讯、美团、拼多多、京东、快手等互联网大厂。我发现数据库事务在面试中出现的次数非常多。

立即提问
相关内容推荐