Czech Economic System.
Created attachment 169200 [details] winstrom-10.1.0.ebuild Ebuild for the winstrom-10.1.0.
Jiri, thanks for the ebuild submission! I am assigning this bug to caster because he is a java guy living in Czech Republic and thus seemed like most likely gentoo developer to adopt this package. If caster does not wish to take on winstrom at this time, he will reassign bug to "maintainer-wanted" and you are invited to share this ebuild with other Czech users by submitting it to Sunrise overlay http://overlays.gentoo.org/proj/sunrise
Created attachment 169254 [details] winstrom-10.1.0.ebuild Added a desktop entry and DB connection notes.
I'd like to ask why are all dependencies commented out. If not everything that's bundled is available in the tree, why not use at least what is available?
(In reply to comment #4) > I'd like to ask why are all dependencies commented out. If not everything > that's bundled is available in the tree, why not use at least what is > available? As it is commercial product, it is better to include all JARs delivered with it to be sure it will works. In the portage tree, there are not all required dependencies and to include just few of them would mean more effort to develop and maintain the ebuild. From my point of view, it is better to install it as it is.
Created attachment 172347 [details] winstrom-10.2.0.ebuild Ebuild for the winstrom-10.2.0.
Winstrom 10.3 was released, it seems that they do not provide tar.gz archive any more. Could anyone create a new ebuild please? Thanks a lot.
Created attachment 177722 [details] winstrom-10.3.0.ebuild Ebuild for the winstrom-10.3.0.
Created attachment 177865 [details] winstrom-10.3.1.ebuild Ebuild for the winstrom-10.3.1.
> # any other solution? > MY_PV=`echo ${PV} | sed 's/.[0-9]\$//'` I just wanted to write this comment :) Minor fix/improvement to the ebuild could be to use "${PV%.*}" so the SRC_URI then looks like this: SRC_URI="http://www.winstrom.cz/download/${PV%.*}/${P}.tar.gz"
Created attachment 177866 [details] winstrom-10.3.1.ebuild Minor fix/improvement in SRC_URI (thanks to Gapon).
Created attachment 180910 [details] /winstrom-10.3.5.ebuild Ebuild for the latest stable version of Winstrom.
Created attachment 180912 [details] winstrom-10.4.0_alpha1.ebuild Alpha version of the winstrom-10.4.0.
Created attachment 183970 [details] winstrom-10.4.0.ebuild Ebuild for the winstrom-10.4.0.
Created attachment 183972 [details] files/winstrom-server Init.d script for the WinStrom server.
Created attachment 186408 [details] winstrom-10.4.5.ebuild Ebuild for the winstrom-10.4.5.
Hi, I haved tried it, and followed the info showed after merging the winstrom, but I am getting errors when starting winstrom server. java.sql.SQLException: Connections could not be acquired from the underlying database! at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128) at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:115) at cz.winstrom.net.server.rmi.WinStromConnectorImpl.createAndUpdateCentralDatabase(WinStromConnectorImpl.java:1284) at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:192) at cz.winstrom.net.server.WinStromServer.main(WinStromServer.java:242) Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319) at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557) at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525) ... 5 more 16:33:32,406 ERROR ServerUtils:120 - Error connecting to the main database java.sql.SQLException: Connections could not be acquired from the underlying database! at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128) at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:115) at cz.winstrom.net.server.rmi.WinStromConnectorImpl.createAndUpdateCentralDatabase(WinStromConnectorImpl.java:1284) at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:192) at cz.winstrom.net.server.WinStromServer.main(WinStromServer.java:242) Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319) at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557) at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525) ... 5 more 16:33:32,409 ERROR ServerUtils:218 - Error creating SSL server socket factory java.lang.RuntimeException: java.sql.SQLException: Connections could not be acquired from the underlying database! at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:121) at cz.winstrom.net.server.rmi.WinStromConnectorImpl.createAndUpdateCentralDatabase(WinStromConnectorImpl.java:1284) at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:192) at cz.winstrom.net.server.WinStromServer.main(WinStromServer.java:242) Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database! at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128) at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:115) ... 3 more Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319) at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557) at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525) ... 5 more 16:33:32,410 ERROR WinStromServer:367 - Error starting WinStrom server java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLException: Connections could not be acquired from the underlying database! at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:219) at cz.winstrom.net.server.WinStromServer.main(WinStromServer.java:242) Caused by: java.lang.RuntimeException: java.sql.SQLException: Connections could not be acquired from the underlying database! at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:121) at cz.winstrom.net.server.rmi.WinStromConnectorImpl.createAndUpdateCentralDatabase(WinStromConnectorImpl.java:1284) at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:192) ... 1 more Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database! at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128) at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:115) ... 3 more Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319) at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557) at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525) ... 5 more java.lang.RuntimeException: java.sql.SQLException: Connections could not be acquired from the underlying database!
(In reply to comment #17) > Hi, > > I haved tried it, and followed the info showed after merging the winstrom, but > I am getting errors when starting winstrom server. Don't worry, I'm getting the same error ;o) I have discussed this problem with the WinStrom developer, but it didn't end up with a solution. Let me know if you find out what's wrong.
Created attachment 187788 [details] winstrom-10.4.5.ebuild New ebuild for the winstrom-10.4.5.
Created attachment 187790 [details] files/winstrom-server.init New init.d script.
Created attachment 187792 [details] files/winstrom-server.conf New conf.d script.
(In reply to comment #17) > Hi, > > I haved tried it, and followed the info showed after merging the winstrom, but > I am getting errors when starting winstrom server. Please try it again. It should work now.
Created attachment 187794 [details] winstrom-10.4.9.ebuild Ebuild for the winstrom-10.4.9.
Great, it is working now. Thx Jiri!
Created attachment 191274 [details] winstrom-10.5.0_beta2.ebuild Ebuild for the winstrom-10.5.0_beta2.
Created attachment 191832 [details] winstrom-10.5.0.ebuild Ebuild for the winstrom-10.5.0.
I've tried to install Winstrom as a server service on a web-hosting machine. There was a couple of issues. I would suggest to improve current ebuild to avoid them in future. 1. There was no Java VMS installed on the machine. So ebuild emerged dev-java/icedtea6-bin which doesn't work for winstrom-server init.d script. So I would suggest to add a dependency on dev-java/sun-jre-bin which works great and server starts without any problem... 2. I would add one more config file into the ebulid to the location /etc/default/winstrom This file should contain following lines: WINSTROM_CFG=local # WINSTROM_CFG=server To easily switch behavior of server from local to network scope (http://www.winstrom.cz/produkty/10/instalacni-prirucka/sitovy-pristup/#rpm-distribuce).
Created attachment 192090 [details] winstrom-10.5.0-r1.ebuild Added the /etc/default/winstrom file and modified the RDEPEND variable to depend on sun-jre-bin or sun-jdk package.
I recently emerged winstrom-1.5.0 (and winstrom-1.5.3 later) using 1.5.0-r1 ebuild and encounered few problems: I haven't figured how to enable logging - original server /usr/sbin/winstrom-server sets up logging into /var/log/winstrom.log, java-launcher created by ebuild doesn't. Server doesn't work with jdk-1.5 and silently dies when client connects. Therefore some VM check should be made. I included this into /usr/init.d/winstrom-server: if [ -z $(java-config-2 -f | grep 'sun-j.*-1\.6') ] ; then eerror "Java 1.6 required. Use java-config-2 to select Java 1.6 as a system VM." return 1 fi
(In reply to comment #29) > I haven't figured how to enable logging - original server > /usr/sbin/winstrom-server sets up logging into /var/log/winstrom.log, > java-launcher created by ebuild doesn't. Try to add WINSTROM_ARGS="2>>/var/log/winstrom-server.log" into the /etc/conf.d/winstrom-server. > if [ -z $(java-config-2 -f | grep 'sun-j.*-1\.6') ] ; then > eerror "Java 1.6 required. Use java-config-2 to select Java 1.6 as a system VM." > return 1 > fi Thanks. Added in the 1.6.0 version.
Created attachment 201734 [details] winstrom-10.6.0.ebuild Ebuild for the WinStrom 1.6.0.
Created attachment 201737 [details] winstrom-server.init New init.d script for the WinStrom 10.6.0. See the comment #29 for more info.
Created attachment 203041 [details] Ebuild with added server flag to install winstrom without server dependencies and server init script. Ebuild with added server flag to install winstrom without server dependencies and server init script.
(In reply to comment #33) > Ebuild with added server flag to install winstrom without server dependencies > and server init script. I thought that the server part is always needed or am I wrong?
Winstrom can have server on other machine than client, and in this case isn't server on client needed.
(In reply to comment #35) > Winstrom can have server on other machine than client, and in this case isn't > server on client needed. I see! ;o)
The last ebuild 10.6.3 is not working for me. I am getting: ===================================== Java QA Notice: installing versioned jar 'winstrom-server-impl-10.7.7.jar' Java QA Notice: installing versioned jar 'winstrom-server-10.7.7.jar' Java QA Notice: installing versioned jar 'winstrom-sql-10.7.7.jar' Java QA Notice: installing versioned jar 'winstrom-ucto-10.7.7.jar' Java QA Notice: installing versioned jar 'winstrom-10.7.7.jar' !!! ERROR: Couldn't find a VM dep !!! ERROR: Couldn't find a VM dep * Creating fonts.scale & fonts.dir ... >>> Completed installing winstrom-10.7.7 into /var/tmp/portage/app-office/winstrom-10.7.7/image/ ===================================== when emerging and: ===================================== Traceback (most recent call last): File "/usr/bin/gjl", line 266, in <module> vm = get_vm(pkg) File "/usr/bin/gjl", line 173, in get_vm return verman.get_vm(needed) File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 205, in get_vm low = self.get_lowest(atoms) # Lowest vm version we can use File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 148, in get_lowest lowest = self.get_lowest_atom(atoms) File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 144, in get_lowest_atom raise Exception("Couldn't find a VM dep") Exception: Couldn't find a VM dep Couldn't get needed information ===================================== when starting server and client (both is not working). But when I use old ebuild 10.4.9, rename it to 10.7.7. and emerge it, than everything works.
Created attachment 216480 [details] winstrom-10.7.7.ebuild Ebuild for the latest WinStrom-10.7.7.
Created attachment 216856 [details] winstrom-10.8.0_rc1.ebuild Ebuild for the latest version of Winstrom.
Created attachment 217838 [details] winstrom-10.8.0.ebuild Ebuild for the latest winstrom-10.8.0.
Created attachment 223759 [details] /winstrom-10.8.6.ebuild Ebuild for the latest winstrom-10.8.6. * added USE="tcl" flag dependency on the dev-db/postgresql-server (is needed by the new version of the winstrom server) * changed the way of TTF fonts installation (old way doesn't work with the EAPI="2")
Created attachment 229793 [details] winstrom-10.9.0.3.ebuild Ebuild for the winstrom-10.9.0.3.
When I have updated my Winstrom, it was necessary to update the data in the database. When I have tried to update the data, Winstrom crashed. I have found that the problem is Max heap space memory, which is set up to 20m at file "/usr/sbin/winstrom-server". It is needed to make it bigger for ex. "-Xmx128m".
Created attachment 239351 [details] winstrom-10.10.3.ebuild Ebuild for the latest version of winstrom-10.10.3. Correction of client/server wrapper parameters.
(In reply to comment #43) > When I have updated my Winstrom, it was necessary to update the data in the > database. When I have tried to update the data, Winstrom crashed. I have found > that the problem is Max heap space memory, which is set up to 20m at file > "/usr/sbin/winstrom-server". It is needed to make it bigger for ex. "-Xmx128m". > Thanks for your comment. It is fixed in the last ebuild.
(In reply to comment #29) > I recently emerged winstrom-1.5.0 (and winstrom-1.5.3 later) using 1.5.0-r1 > ebuild and encounered few problems: > > I haven't figured how to enable logging - original server > /usr/sbin/winstrom-server sets up logging into /var/log/winstrom.log, > java-launcher created by ebuild doesn't. > > Server doesn't work with jdk-1.5 and silently dies when client connects. > Therefore some VM check should be made. I included this into > /usr/init.d/winstrom-server: > > if [ -z $(java-config-2 -f | grep 'sun-j.*-1\.6') ] ; then > eerror "Java 1.6 required. Use java-config-2 to select Java 1.6 as a system > VM." > return 1 > fi > (In reply to comment #30) > (In reply to comment #29) > > I haven't figured how to enable logging - original server > > /usr/sbin/winstrom-server sets up logging into /var/log/winstrom.log, > > java-launcher created by ebuild doesn't. I'm affraid, but log functionality doesn't work any other suggestion? > > Try to add WINSTROM_ARGS="2>>/var/log/winstrom-server.log" into the > /etc/conf.d/winstrom-server. > > > if [ -z $(java-config-2 -f | grep 'sun-j.*-1\.6') ] ; then > > eerror "Java 1.6 required. Use java-config-2 to select Java 1.6 as a system VM." > > return 1 > > fi > > Thanks. Added in the 1.6.0 version. >
I have seen that Winstrom has been renamed to FlexiBee. Source package is different, so it is impossible to use existing ebuilds. Do you plan to write new ebuild? I would be very grateful. Thx, Martin
Yes, I'd appreciate this new ebuid too ;-)... (In reply to comment #47) > I have seen that Winstrom has been renamed to FlexiBee. Source package is > different, so it is impossible to use existing ebuilds. Do you plan to write > new ebuild? I would be very grateful. > > Thx, > Martin >
Created attachment 249917 [details] Updated flexibee ebuild I make some ugly changes to this ebuild to install with new package name(flexibee).
Instalatin works - thanks :-). But there are some issues: 1. The /etc/init.d/flexibee-server script is not created 2. Is it needed to create new files /etc/default/flexibee and/or /etc/conf.d/winstrom-server ? (In reply to comment #49) > Created an attachment (id=249917) [details] > Updated flexibee ebuild > > I make some ugly changes to this ebuild to install with new package > name(flexibee). >
I did install 10.11.3.12. when starting I am getting this message flexibee Traceback (most recent call last): File "/usr/bin/gjl-2.6", line 264, in <module> vm = get_vm(pkg) File "/usr/bin/gjl-2.6", line 171, in get_vm return verman.get_vm(needed) File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 244, in get_vm low = self.get_lowest(atoms) # Lowest vm version we can use File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 187, in get_lowest lowest = self.get_lowest_atom(atoms) File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 183, in get_lowest_atom raise Exception("Couldn't find a VM dep") Exception: Couldn't find a VM dep Couldn't get needed information please, I did remerge java-config, run python-updater ... nothing help, any idea? thanks
I have created a new ebuild for the latest WinStrom FlexiBee. Because this product has changed its name, I have created new thread for it: http://bugs.gentoo.org/show_bug.cgi?id=346671 Please send all comments related to this product into the new thread. *** This bug has been marked as a duplicate of bug 346671 ***