YOu are trying to deploy a process from jdeveloper in SOA Suite 10g and you are getting following error
78: A problem occured while connecting to server "localhost" using port "7200": org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. C:\Temp\upload_00000000.tmp (The system cannot find the path specified)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
at _deployHttpClientProcess._jspService(_deployHttpClientProcess.java:344)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Total time: 2 seconds
As you can see that it is giving some issues that C:/temp Directory doesn't exist.
Ok we will try to understand what exactly is happening.
Go to you sOA_HOME\opmn\conf directory and open your opmn.xml
you will get some entry like this
<environment>
<variable id="TMP" value="C:\Temp"/>
</environment>
<module-data>
Jdeveloper uses this temporary location while deploying the process to soa server.
So in order to resolve this issue either create a directory structure
C:\temp
or change it in opmn.xml
One important thing is that whenever you make a change is opmnn.xml you have to reload it
i.e go to SOA_HOME\opmn\bin and do opmnctl reload
it will reconfigure the opmn then you need to restart your server.
HOwever this is a long process and creating a directory structure directly will be a much easier and better option.
But the temporary location should be somewhere inside folder structure so that it can not be deleted acccidently.
Another important thing is that this directory structure is used to store some temporary file while deploying the service,once it is deployed it gets deleted automatically so after process is deployed if you will check this folder it will be empty.
No comments:
Post a Comment