Forum Discussion

jacob_ottalam's avatar
jacob_ottalam
New Contributor
12 years ago

code collaborator server issue

 

 


om.smartbear.ccollab.datamodel.DataModelException: <html><head><title>Apache Tomcat/6.0.20-patched - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /opt/ccollab_server/tomcat/temp/upload__5413c611_13c429fb66d__8000_00000000.tmp (No such file or directory)


com.smartbear.upload.MultipartRequestWrapper.&lt;init&gt;(MultipartRequestWrapper.java:101)


com.smartbear.ccollab.rpc.StreamingContentUploadServlet.doPost(StreamingContentUploadServlet.java:40)


javax.servlet.http.HttpServlet.service(HttpServlet.java:637)


javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


com.smartbear.ccollab.AuthTicketFilter.doFilter(AuthTicketFilter.java:74)


com.smartbear.ccollab.CollabCleanupFilter.doFilter(CollabCleanupFilter.java:30)


</pre></p><p><b>root cause</b> <pre>org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /opt/ccollab_server/tomcat/temp/upload__5413c611_13c429fb66d__8000_00000000.tmp (No such file or directory)


org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)


org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:310)


com.smartbear.upload.MultipartRequestWrapper.&lt;init&gt;(MultipartRequestWrapper.java:91)


com.smartbear.ccollab.rpc.StreamingContentUploadServlet.doPost(StreamingContentUploadServlet.java:40)


javax.servlet.http.HttpServlet.service(HttpServlet.java:637)


javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


com.smartbear.ccollab.AuthTicketFilter.doFilter(AuthTicketFilter.java:74)


com.smartbear.ccollab.CollabCleanupFilter.doFilter(CollabCleanupFilter.java:30)


</pre></p><p><b>root cause</b> <pre>java.io.FileNotFoundException: /opt/ccollab_server/tomcat/temp/upload__5413c611_13c429fb66d__8000_00000000.tmp (No such file or directory)


java.io.FileOutputStream.open(Native Method)


java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:212)


java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:165)


org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:165)


org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:221)


org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:127)


org.apache.commons.fileupload.util.Streams.copy(Streams.java:101)


org.apache.commons.fileupload.util.Streams.copy(Streams.java:64)


org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:362)


org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:310)


com.smartbear.upload.MultipartRequestWrapper.&lt;init&gt;(MultipartRequestWrapper.java:91)


com.smartbear.ccollab.rpc.StreamingContentUploadServlet.doPost(StreamingContentUploadServlet.java:40)


javax.servlet.http.HttpServlet.service(HttpServlet.java:637)


javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


com.smartbear.ccollab.AuthTicketFilter.doFilter(AuthTicketFilter.java:74)


com.smartbear.ccollab.CollabCleanupFilter.doFilter(CollabCleanupFilter.java:30)


</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.20-patched logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.20-patched</h3></body></html>


at com.smartbear.ccollab.datamodel.xmlrpc.XmlRpcClientEngineImplementation.uploadByStreamingZip(XmlRpcClientEngineImplementation.java:677)


at com.smartbear.ccollab.datamodel.xmlrpc.XmlRpcClientEngineImplementation.uploadMulti(XmlRpcClientEngineImplementation.java:575)


at com.smartbear.ccollab.datamodel.Engine.saveMulti(Engine.java:1480)


at com.smartbear.ccollab.datamodel.Scm.prepopulateContentCache(Scm.java:518)


at com.smartbear.ccollab.datamodel.Scm.uploadChangeset(Scm.java:428)


at com.smartbear.ccollab.datamodel.Scm.uploadChangeset(Scm.java:374)


at com.smartbear.ccollab.client.commands.CommandAddChanges.execute(CommandAddChanges.java:274)


at com.smartbear.ccollab.client.commands.admin.review.AbstractReviewCommand.execute(AbstractReviewCommand.java:125)


at com.smartbear.ccollab.client.commands.Command.validateAndExecute(Command.java:345)


at com.smartbear.ccollab.client.commands.Command.validateAndExecute(Command.java:419)


at com.smartbear.ccollab.CLI.doMain(CLI.java:969)


at com.smartbear.ccollab.Main.doMain(Main.java:131)


at com.smartbear.ccollab.Main.main(Main.java:103)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


at java.lang.reflect.Method.invoke(Method.java:601)


at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)


at com.install4j.runtime.Launcher.main(Unknown Source)









this is the log i get wen i try to add changes its an issue with server side tomcat i think so, there is no file by this name

(/opt/ccollab_server/tomcat/temp/upload__5413c611_13c429fb66d__8000_00000000.tmp ). I tried with all the three clients gui,browser,command line and i am working in linux .plz help 

2 Replies

  • Anonymous's avatar
    Anonymous
    Hi George,



    I have created a support case for this issue.

    (Case 70326) code collaborator server issue



    From the log, it seems that the server is not being able to write the uploaded file contents to it's local temp directory.



    Can you check:



    1. That the directory /opt/ccollab_server/tomcat/temp exists, and

    2. That the user running the server process has write access to this directory?



    If it doesn't exist, manually create it giving it appropriate permissions and try the upload again.



    If your issue persists, it would help to see a GUI debug log of the failure.

    On the GUI client menu, select 'Help' then 'Capture Debugging Log'. This will open a Debugging Log window. With this window still open, please reproduce the issue. Once the error appears, click 'Save Log' and send us the log as an attachment (along with a detailed description of the steps you're doing, including SCM)

    to:  support@smartbear.com

    subject: (Case 70326) code collaborator server issue. Thanks!















  • Barb,



    In the documentation for v7.3.7303 it mentions tha the /tomcat/temp folder is an option specific to CLI usage of the tool. However, the issue Jacob is having also happens from the browser. So what should be the right thing to do?



    The installations I did on Windows Server 2008 did not create the ../tomcat/temp folder. Should I add it? Is this folder required in all cases? (gui/browser/cli).