I've got no idea really, but:

1. Can you telnet to the port when your app isn't running? (ie: could there
be something else on port 8043?)
2. What happens if you change the port to something else, like 40001?
3. Could it be a Windows 7 security issue?

Cheers
Kerry

On Thu, Jun 17, 2010 at 11:59 PM, danblack <[email protected]> wrote:

> 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]<h2-database%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>
>

-- 
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.

Reply via email to