1.5 did the trick. Got a clean installation running on 1.5 up and running. Checked out the CRM demo in the WebClient etc, looked good.
Imported a simple solution of myself, also worked fine.
Then imported a more complex solution, started it in Developer and got a lot of errors. I traced those back to the following:
In Servoy 2.2.1 and before, if you would pass forms[‘formname’] as a parameter to a plugin function that would take a JComponent object as parameter, it worked fine. The “forms[‘formname’]” would give a pointer to the Java component that is the Servoy form. This behavior seems to have changed, because now I get errors like:
Cannot convert FormController[form: products, fs size:2, selected record: Record[DATA:Row[DATA:81,Menu Plugin Client License,2004-01-12 00:00:00.0,pbakker,2005-05-01 11:57:42.87,pbakker,2004-01-01 00:00:00.0,null,2,1, CALCULATIONS: {productname_translation=null, var1=null, table_entitytype=2}]] COLUMS: productid,productname,createdate,createdby,updatedate,updatedby,startdate,enddate,productgroupid,companyid,] to javax.swing.JComponent
Is my assumption correct that this is not supported anymore (in this way)? Is there another way to achieve the same?
In the Webclient this solution is completely screwed up, maybe because of the errors I also get in Developer, maybe because of the fact that this solution is using the technique of (hidden) TabPanels inside JSplitPane beans heavily.
Besides doing this testing on a fresh installation of Servoy 3.0a7, I also installed 3.0a7 on top of a copy of my 2.2 final installation. The installation went fine, but when I start Developer to get the server up and running and then go to the localhost url’s Servoy hosts (index.html, servoy-admin, servoy-webclient etc), I only get error messages that the pages cannot be displayed. (Yes, this version is also running on Java 1.5
)
I see the following in the console, before I open any solution in Developer:
[main] - Creating new class loader
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\catalina-optional.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\catalina.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\commons-el.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\commons-modeler.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\jakarta-regexp-1.2.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\jasper-compiler.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\jasper-runtime.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\jsp-api.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\naming-factory.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\servlets-common.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\servlets-default.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\servlets-invoker.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\servlets-manager.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\servlets-snoop.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\servlets-webdav.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\template-handler.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\tomcat-ajp.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\tomcat-coyote.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\tomcat-http.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\tomcat-util.jar
[main] - Including jar file C:\Program Files\Servoy30A7\server\lib\warp.jar
[main] - Loading startup class
[main] - Setting startup class properties
[main] - Setting naming prefix=org.apache.naming
[main] - addRuleSet() with no namespace URI
[main] - addRuleSet() with no namespace URI
[main] - addRuleSet() with no namespace URI
[main] - addRuleSet() with no namespace URI
[main] - addRuleSet() with no namespace URI
[main] - addRuleSet() with no namespace URI
[main] - Digester for server.xml created 200
[main] - Parse Fatal Error at line -1 column -1: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at org.apache.catalina.startup.Catalina.load(Catalina.java:473)
at org.apache.catalina.startup.Catalina.start(Catalina.java:529)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.server.WebServer.startWebServer(Unknown Source)
at com.servoy.j2db.server.ApplicationServer.startWebServer(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.byte(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.for(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.startup.Bootstrap.main(Bootstrap.java:119)
at Servoy.main(Servoy.java:28)
[main] - Catalina.start using conf/server.xml:
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at org.apache.catalina.startup.Catalina.load(Catalina.java:473)
at org.apache.catalina.startup.Catalina.start(Catalina.java:529)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.server.WebServer.startWebServer(Unknown Source)
at com.servoy.j2db.server.ApplicationServer.startWebServer(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.byte(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.for(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.startup.Bootstrap.main(Bootstrap.java:119)
at Servoy.main(Servoy.java:28)
[main] - Server startup in 0 ms
[TaskExecuter[3]] - Using dialect: net.sf.hibernate.dialect.Oracle9Dialect
[TaskExecuter[3]] - Using dialect: net.sf.hibernate.dialect.Oracle9Dialect
Any idea’s?
Paul
PS: I hope this is the kind of feedback you expect here. If not, let me know and I’ll shut up… ![Cool 8)]()