Servoy Client download error

I had a problem with a pc where the client could not find the repository.

Suddenly, I cannot reinstall the client on new pc’s. Existing pc’s are fine and developer on server is fine:
**
Java Version 1.4.2_05
Servey 2.1.2

In the Java webstart error messages as follows:

An error occurred while launching/running the application.

Title: Servoy Client
Vendor: Servoy
Category: Download Error

Unable to load resource: http://accounts:8080/lib/j2db.jar
**

**Launch File

<?xml version="1.0" encoding="utf-8"?>

<jnlp spec=“1.0+”

codebase=“http://accounts:8080” href=“/servoy-client/servoy_client.jnlp”>

Servoy Client

Servoy

Database client

**

**Wrapped Exception

ava.io.IOException

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)

at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)

at com.sun.javaws.Launcher.downloadResources(Unknown Source)

at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://accounts:8080/lib/j2db.jar

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

… 11 more
**

The j2db.jar file does exist in the specified folder.

Nothing has changed on the server either.

Any assistance greatly appreciated.

Have you tried to make the java cache empty on the client machine(s)?

Marcel,

Thanks for prompt reply.

On my pc I have manually deleted the contents of the folder

C:\Documents and Settings\username.javaws141\cache

I still get the same error and nothing is now loaded into this folder.

I assume this is the correct folder?

One thing I notice is if I paste the jar file that is causing the problem into the browser ie

http://accounts:8080/lib/j2db.jar

The following message appears in the browser

APACHE/TOMCAT 4.03 HTTP STATUS 503 - servlet Servoy_jar_servlet
is currently unavailable

I wonder if the appserver is not loading correctly?

You should have used the jws tool to empty you cache. Not sure that you did the correct thing here.

The thing is, when other machines function correct and the current machine worked as expected as well it is very hard to solve this on a distance…

I appreciate your assistance, Marcel.

The problem is with the client. If I run it on a virgin machine that has never had Servoy installed I get the same error.

The machines that work correctly are ones which I assume already have the necessary java components downloaded from the Server.

Many thanks for your assistance.

The following are the contents of the log file on the server


2007-01-10 07:45:29 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:29 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:29 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:29 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:29 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:29 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 07:45:30 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 09:08:17 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 09:08:17 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 09:16:51 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 09:16:51 StandardWrapperValve[servoy_jar_servlet]: Servlet servoy_jar_servlet is currently unavailable
2007-01-10 09:24:38 WebappLoader[/lib]: Deploying class repositories to work directory C:\Program Files\Servoy\server\work\localhost\lib
2007-01-10 09:24:38 StandardManager[/lib]: Seeding random number generator class java.security.SecureRandom
2007-01-10 09:24:38 StandardManager[/lib]: Seeding of random number generator has been completed
2007-01-10 09:24:39 ContextConfig[/lib]: Missing application web.xml, using defaults only
2007-01-10 09:24:39 ContextConfig[/lib]: Added certificates → request attribute Valve
2007-01-10 09:24:39 StandardWrapper[/lib]: Loading container servlet default
2007-01-10 09:24:40 default: init
2007-01-10 09:24:40 StandardWrapper[/lib]: Loading container servlet invoker
2007-01-10 09:24:40 invoker: init
2007-01-10 09:24:40 jsp: init
2007-01-10 09:24:40 Internal Error: File /WEB-INF/web.xml not found
2007-01-10 09:24:40 WebappLoader[/lafs]: Deploying class repositories to work directory C:\Program Files\Servoy\server\work\localhost\lafs
2007-01-10 09:24:40 StandardManager[/lafs]: Seeding random number generator class java.security.SecureRandom
2007-01-10 09:24:40 StandardManager[/lafs]: Seeding of random number generator has been completed
2007-01-10 09:24:41 ContextConfig[/lafs]: Missing application web.xml, using defaults only
2007-01-10 09:24:41 ContextConfig[/lafs]: Added certificates → request attribute Valve
2007-01-10 09:24:41 StandardWrapper[/lafs]: Loading container servlet default
2007-01-10 09:24:41 default: init
2007-01-10 09:24:41 StandardWrapper[/lafs]: Loading container servlet invoker
2007-01-10 09:24:41 invoker: init
2007-01-10 09:24:41 jsp: init
2007-01-10 09:24:41 Internal Error: File /WEB-INF/web.xml not found
2007-01-10 09:24:41 WebappLoader[/plugins]: Deploying class repositories to work directory C:\Program Files\Servoy\server\work\localhost\plugins
2007-01-10 09:24:41 StandardManager[/plugins]: Seeding random number generator class java.security.SecureRandom
2007-01-10 09:24:41 StandardManager[/plugins]: Seeding of random number generator has been completed
2007-01-10 09:24:41 ContextConfig[/plugins]: Missing application web.xml, using defaults only
2007-01-10 09:24:41 ContextConfig[/plugins]: Added certificates → request attribute Valve
2007-01-10 09:24:41 StandardWrapper[/plugins]: Loading container servlet default
2007-01-10 09:24:41 default: init
2007-01-10 09:24:41 StandardWrapper[/plugins]: Loading container servlet invoker
2007-01-10 09:24:41 invoker: init
2007-01-10 09:24:41 jsp: init
2007-01-10 09:24:41 Internal Error: File /WEB-INF/web.xml not found
2007-01-10 09:24:41 WebappLoader[/beans]: Deploying class repositories to work directory C:\Program Files\Servoy\server\work\localhost\beans
2007-01-10 09:24:41 StandardManager[/beans]: Seeding random number generator class java.security.SecureRandom
2007-01-10 09:24:41 StandardManager[/beans]: Seeding of random number generator has been completed
2007-01-10 09:24:42 ContextConfig[/beans]: Missing application web.xml, using defaults only
2007-01-10 09:24:42 ContextConfig[/beans]: Added certificates → request attribute Valve
2007-01-10 09:24:42 StandardWrapper[/beans]: Loading container servlet default
2007-01-10 09:24:42 default: init
2007-01-10 09:24:42 StandardWrapper[/beans]: Loading container servlet invoker
2007-01-10 09:24:42 invoker: init
2007-01-10 09:24:42 jsp: init
2007-01-10 09:24:42 Internal Error: File /WEB-INF/web.xml not found
2007-01-10 09:24:42 StandardHost[localhost]: Installing web application at context path from URL file:C:\Program Files\Servoy\server\webapps\ROOT
2007-01-10 09:24:42 WebappLoader: Deploying class repositories to work directory C:\Program Files\Servoy\server\work\localhost_
2007-01-10 09:24:42 StandardManager: Seeding random number generator class java.security.SecureRandom
2007-01-10 09:24:42 StandardManager: Seeding of random number generator has been completed
2007-01-10 09:24:43 ContextConfig: Added certificates → request attribute Valve
2007-01-10 09:24:43 StandardWrapper: Loading container servlet default
2007-01-10 09:24:43 default: init
2007-01-10 09:24:43 StandardWrapper: Loading container servlet invoker
2007-01-10 09:24:43 invoker: init
2007-01-10 09:24:43 jsp: init


I colud restore from a backup if this may resolve the problem? Would there be other directories involved apart from Servoy?

Sorted it by reinstalling Servoy.

However powers that be are not impressed, so I will be rewriting the application in vb and retiring Servoy.

Whilst respecting your decision to use VB for the application I wonder wether on further reflection the ‘powers that be’ will wonder how all the other Developers and Servoy systems are able to perform with a remarkable degree of stability.

As you have stated the problem was resolved with a simple re-install. Maybe there was a problem with the initial installation or even an error in your application setup. Depending on your experience the initial learning curve for Servoy can be quite steep due to the power and flexibilty it offers.

It might be worth keeping Servoy in your toolkit and keep posting when you are unsure - as you have discovered the help is pretty quick.

Regards

Graham Greensall
Worinfo Ltd