第二步:找到”server“菜单下的”Runtime Environment“,之后在此页面下点击”add“。
第三步:选择”tomcat60“之后,点击”Next“。
第四步:点击”Browse“之后找到”Tomcat“的存储路径,点击”Finsh“即可完成。apache-tomcat\conf\serverxml 中修改了3个端口
runtime\UIServer\WEB-INF\justepxml 中修改了1个端口
runtime\BusinessServer\WEB-INF\justepxml 中修改了1个端口
runtime\DocServer\WEB-INF\justepxml 中修改了1个端口
runtime\ReportServer\WEB-INF\justepxml 中修改了3个端口
我在文档中心,上传文件的时,提示下载一个uploadDocj的文件,然后上传就失败了,服务器tomcat提示如下:
2014-5-27 13:14:19 orgapachecatalinacoreStandardWrapperValve invoke
严重: Servletservice() for servlet main-servlet threw exception
orgapachecommonsfileuploadMultipartStream$MalformedStreamException: Stream ended unexpectedly
at orgapachecommonsfileuploadMultipartStream$ItemInputStreammakeAvailable(MultipartStreamjava:983)
at orgapachecommonsfileuploadMultipartStream$ItemInputStreamread(MultipartStreamjava:887)
at javaioInputStreamread(InputStreamjava:89)
at orgapachecommonsfileuploadutilStreamscopy(Streamsjava:94)
at orgapachecommonsfileuploadutilStreamscopy(Streamsjava:64)
at orgapachecommonsfileuploadFileUploadBaseparseRequest(FileUploadBasejava:362)
at orgapachecommonsfileuploadservletServletFileUploadparseRequest(ServletFileUploadjava:126)
at comjustepuiutilNetUtilsgenerateParts(Unknown Source)
at comjustepuisystemservicedocDocUtilsuploadDoc(Unknown Source)
at comjustepuisystemservicedocDocUtilsservice(Unknown Source)
at UploadDocdoPost(UploadDocjava:15)
at comjustepuiimplJProcessorImplexecute(Unknown Source)
at comjustepuiJavaServerrunJava(Unknown Source)
at comjustepuiJavaServerdoJ(Unknown Source)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)