Hello
I tried to start and stop the H2 TCP server using the Spring Framework
but error occured.
CONFIG
<bean id = "org.h2.tools.Server"
class="org.h2.tools.Server"
factory-method="createTcpServer"
init-method="start"
destroy-method="stop">
<constructor-arg value="-tcp,-tcpAllowOthers,true,-tcpPort,8043" /
>
</bean>
ERROR
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.h2.tools.Server' defined in
ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of
init method failed; nested exception is org.h2.jdbc.JdbcSQLException:
Input/outpu error: "java.net.SocketException: Unrecognized Windows
Sockets error: 0: JVM_Bind"; "port: 8043 ssl: false"
IO Exception: "java.net.SocketException: Unrecognized Windows Sockets
error: 0: JVM_Bind"; "port: 8043 ssl: false" [90031-137]
How can I fix this problem?
P.S.
I am using Win7, Eclipse 3.5, spring3 and h2-1.2.137.jar
--
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.