Servoy_client.jnlp fails to download

Hello,

I have installed Servoy 5.1.4 and I am getting the error below when I try and download the servoy_client.

http://10.10.10.163:8080 (full path http://10.10.10.163:8080/servoy-client/ … lient.jnlp)

The server is online and functional and launching the web client works. It is just the smart client that I am having trouble with.

I have tried dumping and reloading the repository.

This is a linux with java 1.6_20.

Thx Lach

Oct 10, 2010 6:18:57 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet servoy_client threw exception
java.lang.NullPointerException
at java.io.File.(File.java:222)
at com.servoy.j2db.server.servlets.WebStartClientServlet.doGet(WebStartClientServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:625)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)

Lachness:
Hello,

I have installed Servoy 5.1.4 and I am getting the error below when I try and download the servoy_client.

http://10.10.10.163:8080 (full path http://10.10.10.163:8080/servoy-client/ … lient.jnlp)

The server is online and functional and launching the web client works. It is just the smart client that I am having trouble with.

I have tried dumping and reloading the repository.

This is a linux with java 1.6_20.

Thx Lach

Oct 10, 2010 6:18:57 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet servoy_client threw exception
java.lang.NullPointerException
at java.io.File.(File.java:222)
at com.servoy.j2db.server.servlets.WebStartClientServlet.doGet(WebStartClientServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:625)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)

Do you use Sun JDK ? Is this the error you see in the java console ? Can you try this in Servoy 5.2.2 ?

Hi Laurian,

I am using Sun JDK 1.6_20 on a linux server. The console on the client never fires. I get the java.lang.NullPointerException and the error displays in the browser window and in the server.log

I have not had a chance to try 5.2.2

Lach

Lachness:
Hi Laurian,

I am using Sun JDK 1.6_20 on a linux server. The console on the client never fires. I get the java.lang.NullPointerException and the error displays in the browser window and in the server.log

I have not had a chance to try 5.2.2

Lach

What happens if you restart the application server ? Probably the current folder when application server was started was not correct …

Laurian

I am starting servoy server from with the application_server directory.

cd /opt/servoy/application_server

./servoy_server.sh &

As I said, the application server starts and all looks good. I just cannot fire up a smart client session.

thx
Lach

Lachness:
Laurian

I am starting servoy server from with the application_server directory.

cd /opt/servoy/application_server

./servoy_server.sh &

As I said, the application server starts and all looks good. I just cannot fire up a smart client session.

thx
Lach

So, even if you close the server and start it again ? Do you do any other operation when doing a fresh (re)start before launching smart client (like go to admin page)?

Laurian

I (re)start the application_server, I then go to the main admin page to make sure all is good.

Then I try to start a smart client.

Am I missing something?

thx
lach

Lachness:
Laurian

I (re)start the application_server, I then go to the main admin page to make sure all is good.

Then I try to start a smart client.

Am I missing something?

thx
lach

We were having a bug that if you modify the properties from admin page before any smart client was started then trying to start smart client will fail (if no properties are modfied the client was starting just fine). Maybe this is the problem you are having ?

Laurian

That was it. I will try and move to 5.2.2 today!

thx for the help.

lach