【 以下文字转载自 BuildingWeb 讨论区 】 发信人: ppfc (pp), 信区: BuildingWeb 标 题: Strange problem with CGI 发信站: BBS 未名空间站 (Wed Jan 30 13:36:44 2008) I have a CGI which is no longer work. When I execute it within cgi-bin, it gives me segmentation fault. I didn't find anything wrong. But I recompiled it. I then found out the same program runs fine anywhere other than in cgi-bin directory. But whenever I put it into cgi-bin directory,it gives segmentation fault error. My other cgi in the same cgi-bin directory run
M*e
6 楼
一般大家都会说,reviewed xxx times (total xxx manuscripts) for xxx journals
found the following error in catalina log file: SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase. addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [ StandardEngine[Catalina].StandardHost[localhost].StandardContext[/wechatEE]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:724) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java: 700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig. java:596) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run( HostConfig.java:1805) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java: 511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Failed to start component [[email protected]/* */] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158) at org.apache.catalina.core.StandardContext.resourcesStart( StandardContext.java:4850) at org.apache.catalina.core.StandardContext.startInternal( StandardContext.java:4982) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152) ... 10 more Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [[email protected]/* */] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:111) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141) at org.apache.catalina.webresources.StandardRoot.startInternal( StandardRoot.java:701) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152) ... 13 more Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC header (bad signature) at org.apache.catalina.webresources.JarResourceSet.initInternal( JarResourceSet.java:139) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107) ... 16 more Caused by: java.util.zip.ZipException: invalid LOC header (bad signature) at java.util.zip.ZipFile.read(Native Method) at java.util.zip.ZipFile.access$1400(ZipFile.java:60) at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717) at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java: 419) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) at sun.misc.IOUtils.readFully(IOUtils.java:65) at java.util.jar.JarFile.getBytes(JarFile.java:425) at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193) at java.util.jar.JarFile.getManifest(JarFile.java:180) at org.apache.catalina.webresources.JarResourceSet.initInternal( JarResourceSet.java:137) ... 17 more 03-Mar-2017 11:38:14.247 SEVERE [localhost-startStop-1] org.apache.catalina. startup.HostConfig.deployDescriptor Error deploying configuration descriptor C:Toolssts-bundlepivotal-tc-server-developer-3.2.0.RELEASEbase- instanceconfCatalinalocalhostwechatEE.xml java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache. catalina.LifecycleException: Failed to start component [StandardEngine[ Catalina].StandardHost[localhost].StandardContext[/wechatEE]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:728) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java: 700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig. java:596) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run( HostConfig.java:1805) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java: 511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:617) at java.lang.Thread.run(Thread.java:745)
Does it try to create some temporary file under current directory? cgi-bin probably have different permissions.
same I cgi
【在 p**c 的大作中提到】 : 【 以下文字转载自 BuildingWeb 讨论区 】 : 发信人: ppfc (pp), 信区: BuildingWeb : 标 题: Strange problem with CGI : 发信站: BBS 未名空间站 (Wed Jan 30 13:36:44 2008) : I have a CGI which is no longer work. When I execute it within cgi-bin, it : gives me segmentation fault. : I didn't find anything wrong. But I recompiled it. I then found out the same : program runs fine anywhere other than in cgi-bin directory. But whenever I : put it into cgi-bin directory,it gives segmentation fault error. My other cgi : in the same cgi-bin directory run
【在 X****r 的大作中提到】 : Does it try to create some temporary file under current directory? cgi-bin : probably have different : permissions. : : same : I : cgi
M*e
16 楼
一般大家都会说,reviewed xxx times (total xxx manuscripts) for xxx journals
j*3
17 楼
re
【在 m**********o 的大作中提到】 : re
h*t
18 楼
恩,准备托人从中国买来
j*n
19 楼
I only count it by 1 in my total review times. I never regard the revisions of same manuscript as indepdent review experiences.