[ http://wso2.org/jira/browse/WSAS-710?page=all ]

Charitha Kankanamge closed WSAS-710.
------------------------------------

    Fix Version/s: 1.1-rc2
       Resolution: Not a bug

This is not a bug. Sorry for the mistake. The parameters supplied were 
incorrect. When running the client, we should give the file name only. I 
provided the path of the file hence it failed. The output file is saved at 
WSAS_HOME/tmp/mtom directory.

> IOexception: permission denied to write the file error occurs when running 
> MTOM sample on Windows
> -------------------------------------------------------------------------------------------------
>
>                 Key: WSAS-710
>                 URL: http://wso2.org/jira/browse/WSAS-710
>             Project: WSO2 WSAS
>          Issue Type: Bug
>          Components: samples
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>         Assigned To: Afkham Azeez
>             Fix For: 1.1-rc2
>
>
> I'm getting the following IOException when running mtom sample client on 
> windows. I followed the steps given in readme. Can somebody please check this 
> on linux as well as windows and fix if there is an issue?
> ERROR [2008-01-22 13:04:12,718]  Permission is denied to write the file
> java.io.IOException: The filename, directory name, or volume label syntax is 
> incorrect
>         at java.io.WinNTFileSystem.createFileExclusively(Native Method)
>         at java.io.File.createNewFile(File.java:850)
>         at 
> org.wso2.wsas.sample.mtom.services.MTOMService.attachment(MTOMService.java:57)
>         at 
> org.wso2.wsas.sample.mtom.services.MTOMSampleMessageReceiverInOut.invokeBusinessLogic(MTOMSampleMessageReceiverInOut.java:48)
>         at 
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>         at 
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:148)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:121)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at 
> org.wso2.adminui.AdminUIServletFilter.doFilter(AdminUIServletFilter.java:142)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt
> p11BaseProtocol.java:667)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.ja
> va:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)IO

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to