有人遇到PCI合规扫描会在应用服务器中创建错误吗

时间:2014-11-18 20:10:33

标签: java web-applications glassfish webserver pci-compliance

我在Apache 2.4.10 Web服务器上运行GlassFish 3.1.2,在CentOS 6 Linux服务器上运行mod_jk。我观察到PCI合规性扫描始终在GlassFish server.log文件中创建错误,导致我在GlassFish中运行的Web应用程序变得不可用(找不到文件)。基本上,Web应用程序已经死亡,但域继续运行,尽管从那时起它会不断产生错误。

有人能证实这是已知的行为吗?如果是这样,有没有任何已知的解决方法?

或者,是唯一能让我的应用程序停机1-2天才能运行PCI合规性扫描的解决方案吗?

以下是我在运行此类扫描时看到的典型错误/警告(来自GlassFish&#39的server.log文件):

  

[#| 2014-11-13T16:09:46.849-0800 |警告| glassfish3.1.2 | org.apache.catalina.connector.Request | _ThreadID = 57; _ThreadName =螺纹-2; | PWC4011:   无法从上下文将请求字符编码设置为UTF-8,   因为已经读取了请求参数,或者   ServletRequest.getReader()已被称为|#]


  

[#| 2014-11-14T11:56:40.218-0800 |警告| glassfish3.1.2 | javax.enterprise.resource.corba.ORBUtil | _ThreadID = 515; _ThreadName =螺纹-2; | IOP00710020:   GIOP魔法中的错误org.omg.CORBA.INTERNAL:警告:IOP00710020:   GIOP magic vmcid中的错误:OMG次要代码:20完成:也许在   sun.reflect.NativeConstructorAccessorImpl.newInstance0(本机方法)     在   sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)     在   sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)     在   com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)     在   com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)     在   com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)     在   com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access $ 400(WrapperGenerator.java:107)     在   com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator $ 2.invoke(WrapperGenerator.java:511)     在   com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)     在com.sun.proxy。$ Proxy196.giopMagicError(未知来源)at   com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.parseGiopHeader(MessageBase.java:201)     在   com.sun.corba.ee.impl.protocol.MessageParserImpl.parseBytes(MessageParserImpl.java:216)     在   com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.parseBytesAndDispatchMessages(SocketOrChannelConnectionImpl.java:1619)     在   com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnectionImpl.java:1486)     在   com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1084)     在   com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl $ WorkerThread.performWork(ThreadPoolImpl.java:497)     在   com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl $ WorkerThread.run(ThreadPoolImpl.java:540)   |#]


  

[#| 2014-11-14T11:58:57.231-0800 |严重| glassfish3.1.2 | com.sun.grizzly.config.GrizzlyServiceListener | _ThreadID = 53; _ThreadName =螺纹-2; | GRIZZLY0051:   ProcessorTask异常。 java.lang.IllegalStateException:无效   包魔数:1603 pos = 0 lastValid = 166 end = 0 at   com.sun.grizzly.http.ajp.AjpInputBuffer.readAjpMessageHeader(AjpInputBuffer.java:90)     在   com.sun.grizzly.http.ajp.AjpProcessorTask.parseRequest(AjpProcessorTask.java:107)     在   com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706)     在   com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)     在   com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)     在   com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)     在   com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)     在   com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)     在   com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)     在   com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)     在   com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)     在com.sun.grizzly.ContextTask.run(ContextTask.java:71)at   com.sun.grizzly.util.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:532)     在   com.sun.grizzly.util.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:513)     在java.lang.Thread.run(Thread.java:724)|#]


  

[#| 2014-11-14T12:03:28.651-0800 |严重| glassfish3.1.2 | org.apache.jasper.servlet.JspServlet | _ThreadID = 532; _ThreadName =螺纹-2; | PWC6117:   文件   " /home/glassfish/glassfish3/glassfish/domains/domain1/docroot/login.jsp"   找不到|#]


  

[#| 2014-11-14T12:03:29.062-0800 |严重| glassfish3.1.2 | org.apache.jasper.servlet.JspServlet | _ThreadID = 533; _ThreadName =螺纹-2; | PWC6117:   文件   " /home/glassfish/glassfish3/glassfish/domains/domain1/docroot/spiffymcgee.jsp"   没有基础|#]


  

[#| 2014-11-14T12:03:29.634-0800 |严重| glassfish3.1.2 | com.sun.grizzly.config.GrizzlyServiceListener | _ThreadID = 531; _ThreadName =螺纹-2; | GRIZZLY0042:   创建内部请求时出错。 java.lang.NumberFormatException at   com.sun.grizzly.util.buf.Ascii.parseLong(Ascii.java:236)at at   com.sun.grizzly.util.buf.ByteChunk.getLong(ByteChunk.java:554)at   com.sun.grizzly.util.buf.MessageBytes.getLong(MessageBytes.java:715)     at com.sun.grizzly.tcp.Request.getContentLengthLong(Request.java:378)     在   com.sun.grizzly.http.ProcessorTask.prepareRequest(ProcessorTask.java:1457)     在   com.sun.grizzly.http.ProcessorTask.parseRequest(ProcessorTask.java:947)     在   com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706)     在   com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)     在   com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)     在   com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)     在   com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)     在   com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)     在   com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)     在   com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)     在   com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)     在com.sun.grizzly.ContextTask.run(ContextTask.java:71)at   com.sun.grizzly.util.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:532)     在   com.sun.grizzly.util.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:513)     在java.lang.Thread.run(Thread.java:724)|#]


  

[#| 2014-11-14T12:03:34.250-0800 |警告| glassfish3.1.2 | com.sun.grizzly.config.GrizzlyServiceListener | _ThreadID = 62; _ThreadName =线程2; |内部   服务器错误: %。 java.io.CharConversionException:EOF at   com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:140)at at   com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:257)at   com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:235)at at   com.sun.grizzly.util.http.HttpRequestURIDecoder.decode(HttpRequestURIDecoder.java:98)     在   com.sun.enterprise.v3.services.impl.ContainerMapper.lookupHandler(ContainerMapper.java:243)     在   com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:194)     在   com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)     在   com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)     在   com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)     在   com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)     在   com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)     在   com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)     在   com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)     在   com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)     在   com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)     在   com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)     在com.sun.grizzly.ContextTask.run(ContextTask.java:71)at   com.sun.grizzly.util.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:532)     在   com.sun.grizzly.util.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:513)     在java.lang.Thread.run(Thread.java:724)|#]


  

[#| 2014-11-14T12:03:34.427-0800 |警告| glassfish3.1.2 | com.sun.grizzly.config.GrizzlyServiceListener | _ThreadID = 57; _ThreadName =线程2; |内部   服务器错误:%server.policy java.io.CharConversionException:   isHexDigit at   com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:145)at at   com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:257)at   com.sun.grizzly.util.buf.UDecoder.convert(UDecoder.java:235)at at   com.sun.grizzly.util.http.HttpRequestURIDecoder.decode(HttpRequestURIDecoder.java:98)     在   com.sun.enterprise.v3.services.impl.ContainerMapper.lookupHandler(ContainerMapper.java:243)     在   com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:194)     在   com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)     在   com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)     在   com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)     在   com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)     在   com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)     在   com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)     在   com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)     在   com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)     在   com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)     在   com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)     在com.sun.grizzly.ContextTask.run(ContextTask.java:71)at   com.sun.grizzly.util.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:532)     在   com.sun.grizzly.util.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:513)     在java.lang.Thread.run(Thread.java:724)|#]


0 个答案:

没有答案