Servoy Client download error

Questions, answers, tips and ideas on Servoy Client

Servoy Client download error

Postby ericl » Tue Jan 09, 2007 4:55 pm

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">

<information>

<title>Servoy Client</title>

<vendor>Servoy</vendor>

<homepage href="http://www.servoy.com/"/>

<description>Database client</description>

<icon href="/lib/images/servoy_client_icon.gif"/>

<icon kind="splash" href="/lib/splashclient.gif"/>

</information>

<resources>

<j2se version="1.4+" />

<jar href="/lib/j2db.jar" main="true" download="eager"/>

<jar href="/lib/js.jar" part="script" download="eager"/>

<jar href="/lib/MRJAdapter.jar" part="mac_menu" download="eager"/>

<package name="org.mozilla.*" part="script" recursive="true"/>

<extension name="LAFS_and_BEANS" href="/servoy-client/unsigned.jnlp"/>

<extension name="agent.jar" href="/servoy-client/plugins/agent.jar.jnlp"/>

<extension name="dialog.jar" href="/servoy-client/plugins/dialog.jar.jnlp"/>

<extension name="excelxport.jar" href="/servoy-client/plugins/excelxport.jar.jnlp"/>

<extension name="file.jar" href="/servoy-client/plugins/file.jar.jnlp"/>

<extension name="http.jar" href="/servoy-client/plugins/http.jar.jnlp"/>

<extension name="mail.jar" href="/servoy-client/plugins/mail.jar.jnlp"/>

<extension name="scheduler.jar" href="/servoy-client/plugins/scheduler.jar.jnlp"/>

<extension name="tabxport.jar" href="/servoy-client/plugins/tabxport.jar.jnlp"/>

</resources>

<application-desc main-class="com.servoy.j2db.J2DBClient">

</application-desc>

<security>

<all-permissions/>

</security>

</jnlp>

**


**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.
Win XP SP2 Ms Sql Server Backend Java SDK 1.4.2.04
ericl
 
Posts: 30
Joined: Wed Nov 17, 2004 12:40 am
Location: scotland

Postby IT2Be » Tue Jan 09, 2007 5:40 pm

Have you tried to make the java cache empty on the client machine(s)?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby ericl » Tue Jan 09, 2007 5:54 pm

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?
Win XP SP2 Ms Sql Server Backend Java SDK 1.4.2.04
ericl
 
Posts: 30
Joined: Wed Nov 17, 2004 12:40 am
Location: scotland

Postby ericl » Tue Jan 09, 2007 6:42 pm

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?
Win XP SP2 Ms Sql Server Backend Java SDK 1.4.2.04
ericl
 
Posts: 30
Joined: Wed Nov 17, 2004 12:40 am
Location: scotland

Postby IT2Be » Tue Jan 09, 2007 6:45 pm

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...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby ericl » Wed Jan 10, 2007 11:05 am

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.
Win XP SP2 Ms Sql Server Backend Java SDK 1.4.2.04
ericl
 
Posts: 30
Joined: Wed Nov 17, 2004 12:40 am
Location: scotland

Postby ericl » Wed Jan 10, 2007 11:40 am

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:default]: Loading container servlet default
2007-01-10 09:24:40 default: init
2007-01-10 09:24:40 StandardWrapper[/lib:invoker]: 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:default]: Loading container servlet default
2007-01-10 09:24:41 default: init
2007-01-10 09:24:41 StandardWrapper[/lafs:invoker]: 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:default]: Loading container servlet default
2007-01-10 09:24:41 default: init
2007-01-10 09:24:41 StandardWrapper[/plugins:invoker]: 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:default]: Loading container servlet default
2007-01-10 09:24:42 default: init
2007-01-10 09:24:42 StandardWrapper[/beans:invoker]: 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[:default]: Loading container servlet default
2007-01-10 09:24:43 default: init
2007-01-10 09:24:43 StandardWrapper[:invoker]: 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?
Win XP SP2 Ms Sql Server Backend Java SDK 1.4.2.04
ericl
 
Posts: 30
Joined: Wed Nov 17, 2004 12:40 am
Location: scotland

Postby ericl » Wed Jan 10, 2007 7:03 pm

Sorted it by reinstalling Servoy.

However powers that be are not impressed, so I will be rewriting the application in vb and retiring Servoy.
Win XP SP2 Ms Sql Server Backend Java SDK 1.4.2.04
ericl
 
Posts: 30
Joined: Wed Nov 17, 2004 12:40 am
Location: scotland

Postby grahamg » Wed Jan 10, 2007 10:59 pm

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
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 18 guests