Application Server Int

For those that speak Bachi… my Developer suddenly stopped loading at: Application server Init, no matter how long I leave it. I did a DSTACTRACE and here’s what I got:

Starting Servoy from C:\Documents and Settings\Administrator.JANUS\Desktop\Servo
y Build v2.2.23 02-06-06
Servoy R2 2.2.5 build-337 on Windows 2000 using Java 1.5.0_06
Loading servoy.properties from C:\Documents and Settings\Administrator.JANUS\Des
ktop\Servoy Build v2.2.23 02-06-06\servoy.properties
Loading - Done
javax.swing.UIManager$LookAndFeelInfo[Metal javax.swing.plaf.metal.MetalLookAndF
eel]
javax.swing.UIManager$LookAndFeelInfo[CDE/Motif com.sun.java.swing.plaf.motif.Mo
tifLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[Windows com.sun.java.swing.plaf.windows.Wi
ndowsLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[KunststoffLookAndFeel com.incors.plaf.kuns
tstoff.KunststoffLookAndFeel]
Final commonPart com.incors.plaf
javax.swing.UIManager$LookAndFeelInfo[Plastic3DLookAndFeel com.jgoodies.plaf.pla
stic.Plastic3DLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[PlasticLookAndFeel com.jgoodies.plaf.plast
ic.PlasticLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[PlasticXPLookAndFeel com.jgoodies.plaf.pla
stic.PlasticXPLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[ExtWindowsLookAndFeel com.jgoodies.plaf.wi
ndows.ExtWindowsLookAndFeel]
Final commonPart com.jgoodies.plaf
javax.swing.UIManager$LookAndFeelInfo[SkinLookAndFeel com.l2fprod.gui.plaf.skin.
SkinLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[LinuxLookAndFeel com.l2fprod.gui.plaf.skin
.LinuxLookAndFeel]
Final commonPart com.l2fprod.gui
loaded lafs defs 3
Showing
Final commonPart com.servoy.r2
Final commonPart HTMLPane
Final commonPart com.ibm.clock
Final commonPart sunw.demo.molecule
Final commonPart com.ibm.eou
Final commonPart javax.swing
Checking for new version
Server: repository_server, url=jdbc:sybase:Tds:10.1.1.9:2638?ServiceName=servoy

repository&CHARSET=utf8
driver=com.sybase.jdbc2.jdbc.SybDriver@1a422f6
url=jdbc:sybase:Tds:10.1.1.9:2638?ServiceName=servoy_repository&CHARSET=utf8
connectionProperties={user=DBA, password=SQL}
Plugin agent loaded in 0 ms.
Plugin amortization loaded in 0 ms.
Plugin dialogs loaded in 0 ms.
Plugin excelxport loaded in 0 ms.
Plugin file loaded in 0 ms.
Plugin http loaded in 0 ms.
Plugin images loaded in 0 ms.
Plugin kioskmode loaded in 0 ms.
Plugin mail loaded in 0 ms.
Plugin pdf_output loaded in 0 ms.
Plugin popupmenu loaded in 0 ms.
Plugin rawSQL loaded in 0 ms.
Plugin scheduler loaded in 16 ms.
Plugin spellcheck loaded in 0 ms.
Plugin textxport loaded in 0 ms.
Plugin udp loaded in 0 ms.
Plugin agent initialised in 16 ms.
Plugin amortization initialised in 0 ms.
Plugin dialogs initialised in 0 ms.
Plugin excelxport initialised in 0 ms.
Plugin file initialised in 0 ms.
Plugin http initialised in 0 ms.
Plugin images initialised in 0 ms.
Plugin kioskmode initialised in 0 ms.
Plugin mail initialised in 0 ms.
Plugin pdf_output initialised in 0 ms.
Plugin popupmenu initialised in 0 ms.
Plugin rawSQL initialised in 0 ms.
Plugin scheduler initialised in 0 ms.
Plugin spellcheck initialised in 46 ms.
Plugin textxport initialised in 0 ms.
Plugin udp initialised in 0 ms.
Plugin com.servoy.r2.plugins.runtime_builder.RuntimeBuilderPlugin loaded in 0 ms
.
Plugin com.servoy.r2.plugins.runtime_builder.RuntimeBuilderPlugin initialised in
0 ms.

Any ideas? I’d love to continue development.

Hmm, I don’t see anything really strange. Have you changed anything in your startup script?

Yes! I did, obi wan!

I used the following code:

databaseManager.getFoundSetCount(forms[currentcontroller.getName()].foundset) + " in foundset)

Is there anyway to stop the startup from executing?

The stange thing is I tested several times by logging in and out (but not quitting).

Hmm, you try to do a foundset count on a form that’s not yet loaded I guess.

What is the current form/controller in your startup script? Probably none…

I really don’t know how to do this.

(Wait for the Analyzer to come out. Should not take more than 2 months :) )

I use a couple forms/controllers for my startup, one looks up the user logging in:

forms.users.controller.find()
forms.users.full_name = security.getUserName()
var found = forms.users.controller.search()

One loads the user records on the main form:

var startupsearch = ‘’
forms.contact_main.controller.find()
forms.contact_main.origin = security.getUserName()
var startupsearch = forms.contact_main.controller.search()
if(!startupsearch)
{
forms.contact_main.controller.showRecords()
}
else
{
forms.contact_main.controller.loadRecords(startupsearch)
}

And one updates the found set:

if(!globals.gSimilarBy)
{
//the radio button is empty - so set it to Company
globals.gSimilarBy = ‘Company’;
}
//perform search_similars method
forms.tab_similars.search_similars();

globals.gRecordIndex = forms.contact_main.controller.getSelectedIndex();
globals.gMaxRecordIndex = forms.contact_main.controller.getMaxRecordIndex();

Its the last one that I started messing around with the code in order to properly delivery proper record info to the navigator:

var x = "Record " + currentcontroller.getSelectedIndex() + " of " + currentcontroller.getMaxRecordIndex()

x += " (" + databaseManager.getFoundSetCount(forms[currentcontroller.getName()].foundset) + " in foundset)"

globals.rec_display = x

I think the lesson here is don’t fool around with the startup unless the solution is backedup/exported.

Can I open an older copy of servoy and load it with the latest solution? That way I only loose a day?