Error while deploy to Servoy Application Servoy.

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Error while deploy to Servoy Application Servoy.

Postby jeffrey.vandenhondel » Wed Feb 14, 2018 2:17 pm

Hello,

We are running Servoy 8.2.2 and i try to deploy to our application server but i get the following error "Unable to read file".
Some times is does work but most of the times it doesn't.

There nothing in the eclipse.log or the servoy log.

Image

And the file is present.
jeffrey.vandenhondel
 
Posts: 36
Joined: Thu Jul 28, 2016 9:05 am

Re: Error while deploy to Servoy Application Servoy.

Postby jeffrey.vandenhondel » Wed Feb 14, 2018 2:28 pm

I tried to post it with postman and it always works so somewhere in eclipse something goes wrong.
jeffrey.vandenhondel
 
Posts: 36
Joined: Thu Jul 28, 2016 9:05 am

Re: Error while deploy to Servoy Application Servoy.

Postby Gabi Boros » Wed Feb 14, 2018 3:54 pm

try to see if there is an error in the console; to do so, edit your servoy.ini, and set the vm to java (so no javaw is used);
Code: Select all
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
--launcher.GTK_version
2
--launcher.XXMaxPermSize
256m
-vm
/home/programs/jdk1.8.0/bin/java
-vmargs
-Xms1g
-Xmx2G
-XX:MaxPermSize=256M

then start the developer from cmd line and try to do a deploy
Gabi Boros
Servoy
Gabi Boros
 
Posts: 418
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Error while deploy to Servoy Application Servoy.

Postby jeffrey.vandenhondel » Wed Feb 14, 2018 5:35 pm

Code: Select all
feb 14, 2018 4:33:56 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://replaced:7443: Software caused connection abort: socket write error
feb 14, 2018 4:33:56 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://replaced:7443
feb 14, 2018 4:33:57 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://replaced:7443: Software caused connection abort: socket write error
feb 14, 2018 4:33:57 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://replaced:7443
feb 14, 2018 4:34:00 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://replaced:7443: Software caused connection abort: socket write error
feb 14, 2018 4:34:00 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://replaced:7443
Unable to read file
java.net.SocketException: Software caused connection abort: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
        at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:123)
        at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:135)
        at org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:164)
        at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:115)
        at org.apache.http.entity.mime.content.FileBody.writeTo(FileBody.java:120)
        at org.apache.http.entity.mime.AbstractMultipartForm.doWriteTo(AbstractMultipartForm.java:150)
        at org.apache.http.entity.mime.AbstractMultipartForm.writeTo(AbstractMultipartForm.java:173)
        at org.apache.http.entity.mime.MultipartFormEntity.writeTo(MultipartFormEntity.java:97)
        at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:155)
        at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:149)
        at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236)
        at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
        at com.servoy.eclipse.ui.wizards.exportsolution.pages.DeployPage$2.run(DeployPage.java:186)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
jeffrey.vandenhondel
 
Posts: 36
Joined: Thu Jul 28, 2016 9:05 am

Re: Error while deploy to Servoy Application Servoy.

Postby Gabi Boros » Thu Feb 15, 2018 10:34 am

this is happening when you upload a large file to a server where authentication is required, in this case preemptive authentication should be used (see https://support.servoy.com/browse/SVY-12007 ), but the export wizard didn't do that;
now this is fixed by this case https://support.servoy.com/browse/SVY-12179
Gabi Boros
Servoy
Gabi Boros
 
Posts: 418
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Error while deploy to Servoy Application Servoy.

Postby jeffrey.vandenhondel » Thu Feb 15, 2018 11:41 am

Gabi Boros wrote:this is happening when you upload a large file to a server where authentication is required, in this case preemptive authentication should be used (see https://support.servoy.com/browse/SVY-12007 ), but the export wizard didn't do that;
now this is fixed by this case https://support.servoy.com/browse/SVY-12179


Thx, any idea when 8.2.3 gets released?
jeffrey.vandenhondel
 
Posts: 36
Joined: Thu Jul 28, 2016 9:05 am

Re: Error while deploy to Servoy Application Servoy.

Postby Gabi Boros » Thu Feb 15, 2018 12:52 pm

first there will be a RC, in 2 weeks, see : viewtopic.php?f=16&t=22087
Gabi Boros
Servoy
Gabi Boros
 
Posts: 418
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Error while deploy to Servoy Application Servoy.

Postby c85700 » Wed Dec 18, 2019 3:54 pm

was the same problem,thank's
c85700
 
Posts: 4
Joined: Wed Dec 18, 2019 3:53 pm


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 2 guests