Hi Marco,

now I found a workaround for your (and my) problem. Take a look into
cocoon's web.xml file:

<!-- HSQLDB Server for samples:
    Comment this section out if you don't care about the samples.
        port   : number      port where the server is listening
        silent : true/false  display all queries
        trace  : true/false  display JDBC trace messages
  -->

<!--
  <hsqldb-server class="org.apache.cocoon.components.hsqldb.ServerImpl"
                 logger="core.hsqldb-server"
                 pool-max="1" pool-min="1">
     <parameter name="port" value="9002"/>
     <parameter name="silent" value="true"/>
     <parameter name="trace" value="false"/>
  </hsqldb-server>
-->

If you don't need the samples, then you can comment the above section and
you will get rid of the problem. Puuuh !

Best regards,
- Volker -


-----Original Message-----
From: marco [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 19. Marz 2002 03:26
To: [EMAIL PROTECTED]
Subject: Re: help on jvm_bind error


I had restarted the computer and then started cocoon and viewed the web
pages, but the same error occurs.

Any hints for solving the problem about the Microsoft Jview update listed
below?

Please help!!!!!!!!!!!!!!!!!!!!!

----- Original Message -----
From: "Volker Schneider" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 5:05 PM
Subject: RE: help on jvm_bind error


> Hi Marco,
>
> I have the same with Cocoon 2.0.1 an WebSphere 4.0.1 and Tomcat 4.0.3.
Maybe
> the reason is, that after stopping cocoon TCP does not not free the port
> immediately but in a few minutes. If you wait a few minutes before you
> restart cocoon this does not happen. But I don't know how to fix this.
>
> - Volker -
>
> -----Original Message-----
> From: marco [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 18. Marz 2002 03:45
> To: [EMAIL PROTECTED]
> Subject: help on jvm_bind error
>
>
> I am using cocoon 2.00, jdk1.3.1_01, tomcat4.0.1 in Windows 98. The cocoon
> was looking good.
>
> Yesterday, I updated the JVIEW version to 5.00.3805 by downloading the exe
> file from http://www.microsoft.com/java/vm/dl_vm40.htm, because of the
> security news
>
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/
> bulletin/ms02-013.asp . After that, the comcat and cocoon was started with
> no problem, but once I use a browser to request a cocoon page, then the
> following error message was displayed on the tomcat command prompt.
>
> Please help.
>
>
> Loading catalog: /localhost/cocoon/resources/entities/catalog
> Server.run/init: java.net.BindException: Address in use: JVM_Bind
> java.net.BindException: Address in use: JVM_Bind
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
>         at java.net.ServerSocket.<init>(ServerSocket.java:170)
>         at java.net.ServerSocket.<init>(ServerSocket.java:82)
>         at org.hsqldb.Server.run(Server.java:131)
>         at org.hsqldb.Server.main(Server.java:78)
>         at
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
> 1)
>         at java.lang.Thread.run(Thread.java:484)
> Loading catalog: /localhost/cocoon/resources/entities/catalog
> Server.run/init: java.net.BindException: Address in use: JVM_Bind
> java.net.BindException: Address in use: JVM_Bind
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
>         at java.net.ServerSocket.<init>(ServerSocket.java:170)
>         at java.net.ServerSocket.<init>(ServerSocket.java:82)
>         at org.hsqldb.Server.run(Server.java:131)
>         at org.hsqldb.Server.main(Server.java:78)
>         at
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
> 1)
>         at java.lang.Thread.run(Thread.java:484)
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to