Hi, > <bean id="h2web" class="org.h2.tools.Server" > factory-method="createWebServer" init-method="start" destroy- > method="stop"> > <constructor-arg value="-browser" /> > </bean>
createWebServer does not support the argument '-browser'. This is only supported by the method Server.main(). See also the Javadocs. > but it doesn't work for me - connection refused when trying to do > something on entity manager. Is there an exception? Could you post it please? Maybe the problem is just the port number, or maybe you want to access it from another machine (this is disabled by default). > If i try > jdbc:h2:mem:koszyki_postpaid;DB_CLOSE_DELAY=-1 everything work fine. I > can connect to my database from the other process than my app is > working on. Unfortunately, when I try to build my app by maven and > tests are executed - Adress already bind excpetion is being thrown. I get 'address already bound' if another process uses this port. Maybe the (test) process is not stopped after maven is killed or finished? Could you use 'jps -l' to find out if there is an old Java process running before you start maven? If jps is not installed (needs Java 1.5) then you can use ps -ef (Linux) or the Task Manager (Windows). Regards, Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---
