# Unable to Launch Client

**URL:** <https://forum.servoy.com/t/unable-to-launch-client/5219>\
**Category:** Classic Servoy\
**Created:** [December 17, 2005, 6:23pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219 "2005-12-17T18:23:40Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![mit](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mit](https://forum.servoy.com/u/mit)\
**Post date:** [December 17, 2005, 6:23pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/1 "2005-12-17T18:23:40Z")

</div>

I’m running Mac OS X 10.3.9 Server for the server and client (and Mac OS X client for the client). I’m running a solution that works fine in Servoy Developer. I’m running Application Server, and I can access Server admin pages. I can download servoy\_client.jnlp, but it aborts with the following:

> An error occurred while launching/running the application.
> 
> Title: Servoy Client  
> Vendor: Servoy  
> Category: Download Error
> 
> Unable to load resource: ([http://hostname](http://hostname):port/plugins/pdf\_output/itext.jar, 1.0)

I’m stumped at the moment.

Ric

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [December 17, 2005, 9:29pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/2 "2005-12-17T21:29:17Z")

</div>

Which version of Servoy are you running?

---

<div class="post-metadata">

**Author:** ![mit](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mit](https://forum.servoy.com/u/mit)\
**Post date:** [December 17, 2005, 9:58pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/3 "2005-12-17T21:58:40Z")

</div>

> jaleman:  
> Which version of Servoy are you running?

I’m running R2 2.2.3-build 335

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [December 18, 2005, 9:56am UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/4 "2005-12-18T09:56:19Z")

</div>

Hmm, looks like you are loading the pdf\_output plugin but miss the itext jar in the plugins/pdf\_output folder

> Unable to load resource: ([http://hostname:port/plugins/pdf\_output/itext.jar](http://hostname:port/plugins/pdf_output/itext.jar), 1.0)

When you want to use it you need them all. If not just remove all (jar, jnlp and folder) starting with pdf\_output…

Hope this helps

---

<div class="post-metadata">

**Author:** ![mit](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mit](https://forum.servoy.com/u/mit)\
**Post date:** [December 18, 2005, 4:57pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/5 "2005-12-18T16:57:23Z")

</div>

Thanks. Removing three plugins and changing to the standard TCP/IP ports (I was using non-standard RMI and HTTP ports) now has the client working with Servoy Developer running. I can also access the admin pages on Application Server, but I haven’t yet gotten standalone Application Server to support the client

Ric

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [December 18, 2005, 5:17pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/6 "2005-12-18T17:17:44Z")

</div>

Did you make sure developer was stopped before you started server? The server bit of developer is the same server bit as server so in theory they should behave exactly the same; if however you launched server before quitting developer it might pick up the previous version of your properties file as developer writes that to disk upon existing.

---

<div class="post-metadata">

**Author:** ![mit](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mit](https://forum.servoy.com/u/mit)\
**Post date:** [December 18, 2005, 8:33pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/7 "2005-12-18T20:33:08Z")

</div>

Current status:

Solution runs in Developer.

Solution runs client while Developer is running.

Application server fails to start correctly and won’t support client:

Welcome to Darwin!  
server2:~ user1$ cd /Applications/Servoy  
server2:/Applications/Servoy user1$ ./servoy\_server.sh &  
[1] 504  
server2:/Applications/Servoy user1$ Loading servoy.properties from /Applications/Servoy/servoy.properties  
Loading - Done  
Exception in thread “main” org.apache.commons.dbcp.DbcpException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused  
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:85)  
at com.servoy.j2db.persistence.datasource.n.createConnection(Unknown Source)  
at com.servoy.j2db.persistence.datasource.r.makeObject(Unknown Source)  
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)  
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:110)  
at com.servoy.j2db.persistence.datasource.i.getConnection(Unknown Source)  
at com.servoy.j2db.persistence.Server.getConnection(Unknown Source)  
at com.servoy.j2db.persistence.Server.checkIfTableExistsInDatabase(Unknown Source)  
at com.servoy.j2db.persistence.Repository.int(Unknown Source)  
at com.servoy.j2db.persistence.Repository.(Unknown Source)  
at com.servoy.j2db.persistence.Repository.(Unknown Source)  
at com.servoy.j2db.persistence.Server.getRepository(Unknown Source)  
at com.servoy.j2db.server.ApplicationServer.main(Unknown Source)  
Caused by: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused  
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:487)  
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:723)  
at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3071)  
at com.sybase.jdbc2.tds.Tds.login(Tds.java:394)  
at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:218)  
at com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:195)  
at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:174)  
at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:126)  
at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:179)  
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:83)  
… 12 more  
server2:/Applications/Servoy user1$

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [December 18, 2005, 8:51pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/8 "2005-12-18T20:51:53Z")

</div>

Ah, this looks like your database is not up yet.

The application server doesn’t start up the database server automatically. Makes sense since Servoy doesn’t know ‘up front’ what database you want to use…

If so, the easies way to test is :

1. start your developer.
2. close your developer.
3. make sure the developer is really ‘gone’.
4. start the application server.

Cheers

---

<div class="post-metadata">

**Author:** ![mit](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mit](https://forum.servoy.com/u/mit)\
**Post date:** [December 18, 2005, 11:26pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/9 "2005-12-18T23:26:21Z")

</div>

OK, starting Developer, then quitting, then starting Application Server seems to have worked - I can now run the client with Application Server, while Developer is not running.

But it seems very strange to have to start Developer as part of the initialization process on a _deployment_ server. Is there no way to fully initialize the Application Server without Developer?

Ric

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [December 19, 2005, 5:44am UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/10 "2005-12-19T05:44:53Z")

</div>

Servoy itself is not a database, for ease of use we ship with sybase ASA but this doesn’t mean that at deployment time it has to or will be used. Additionally in many cases the database server is ran on a different server than the application server. Our server documentation describes how to make sybase ASA launch at startup by installing it as a service.

---

<div class="post-metadata">

**Author:** ![mit](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mit](https://forum.servoy.com/u/mit)\
**Post date:** [December 19, 2005, 12:09pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/11 "2005-12-19T12:09:43Z")

</div>

> jaleman:  
> Servoy itself is not a database, for ease of use we ship with sybase ASA but this doesn’t mean that at deployment time it has to or will be used. Additionally in many cases the database server is ran on a different server than the application server. Our server documentation describes how to make sybase ASA launch at startup by installing it as a service.

That’s completely understandable, but the database (MySQL) was already up and running - that’s not the problem. The exact problem sequence was:

- restart server
- launch MySQL
- launch Servoy Application Server [problems here]
- use Servoy web admin interface [works OK]
- launch client [doesn’t run]
- launch Developer (don’t bother to open solution)
- launch client [works fine]
- quit Developer
- relaunch Application Server
- relaunch client [works fine]

The problem isn’t getting MySQL launched; the problem is getting Application Server (and client) running _after_ MySQL is launched.

I hope that’s clearer.

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [December 19, 2005, 12:45pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/12 "2005-12-19T12:45:26Z")

</div>

> mit:  
> The problem isn’t getting MySQL launched; the problem is getting Application Server (and client) running _after_ MySQL is launched.

Are you sure your Repository is in MySQL and not in Sybase?  
If MySQL is up and running and all the DBs you need, Repository INCLUDED, are available you only need to launch Servoy Server by using it’s script (servoy\_server.sh).

---

<div class="post-metadata">

**Author:** ![mit](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mit](https://forum.servoy.com/u/mit)\
**Post date:** [December 19, 2005, 1:15pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/13 "2005-12-19T13:15:50Z")

</div>

> Are you sure your Repository is in MySQL and not in Sybase?  
> If MySQL is up and running and all the DBs you need, Repository INCLUDED, are available you only need to launch Servoy Server by using it’s script (servoy\_server.sh).

Ah, that’s it, of course!

Thanks!

Ric

---

<div class="post-metadata">

**Author:** ![eliza81](https://avatars.discourse-cdn.com/v4/letter/e/f0a364/32.png) [@eliza81](https://forum.servoy.com/u/eliza81)\
**Post date:** [February 26, 2010, 12:14pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/14 "2010-02-26T12:14:30Z")

</div>

(moderated)

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [February 26, 2010, 12:37pm UTC](https://forum.servoy.com/t/unable-to-launch-client/5219/15 "2010-02-26T12:37:28Z")

</div>

Eliza, I dont understand why you are posting this! (also two times!) ![:?]( "Confused")

this is totally off-topic, and from a post back in 2005!  
and the other post is in the section: webclient, also off-topic.
