Hi,

not quite sure, but it seems you want to use Tomcat standalone *without* a WebServer. 
In that case you can disable all the Non-HTTP-Connectors in Tomcats server.xml. The 
port 8009 is typically the Ajp13Connector used to communicate with Apache. 

-Jan

> -----Ursprüngliche Nachricht-----
> Von: CARLETTA ANGELO [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 29. Januar 2003 10:10
> An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Betreff: Re: AW: How to run 2 tomcat-coocon web server
> 
> 
> --- Reçu de       INFETUDE.G145193 02/250.96.71              
> 29-01-03 10.10
> 
> Hy,
> 
> I have tomcat 4.1.12, cocoon 2.04, JDK 1.3.1, MySQL 3.21 and 
> VisualAge for
> genarate the JSP
> 
> I have the first Tomcat in c:\tomcat and the second in c:\tomcatProd
> 
> In startup.bat i have add the environement var setting for CLASSPATH
> -- (cut and paste from dos screen) --
> SET CLASSPATH=c:\tomcat\Webapps\VagenWebModule\WEB-
> INF\lib;c:\tomcat\Webapps\VagenWebModule\WEB-
> INF\classes\my\pkg;C:\IBMVAGEN\VGWGS45\;C:\IBMVAGEN\VGWGS45\hp
> tGateway.jar;C
> :\IBMVAGEN\VGWGS45\vgjwgs.jar;C:\IBMVAGEN\VGCSO45\;C:\IBMVAGEN
> \VGCSO45\hpt.j
> ar
> SET COBPATH=c:\tomcat\Webapps\VagenWebModule\WEB-INF\dll_eti;
> SET LIBPATH=c:\tomcat\Webapps\VagenWebModule\WEB-INF\dll_eti;
> SET
> Path=%PATH%;C:\IBMVAGEN\VGWGS45\;C:\IBMVAGEN\VGWGS45\MSVC;C:\I
> BMVAGEN\VGCSO4
> 5\;C:\IBMVAGEN\VGCSO45\MSVC;C:\IBMVAGEN\VGCSO45\exe;c:\jdk\bin
> ;c:\tomcat\Web
> apps\VagenWebModule\WEB-
> INF\dll_eti;c:\ibmvagen\dll_pli;c:\ibmvagen\dll_cobol
> --
> And the startup of tomcat give
> [INFO] Registry - -Loading registry information
> [INFO] Registry - -Creating new Registry instance
> [INFO] Registry - -Creating MBeanServer
> [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.12
> server.properties not found, using command line or default properties
> Opening database: C:\Tomcat\webapps\cocoon\WEB-INF\db\cocoondb
> HSQLDB server 1.7.1 is running
> Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
> Wed Jan 29 09:46:04 CET 2003 Listening for connections ...
> --> GatewaySessionData.readObject
> GatewaySessionData.readObject - initialize transients
> CSOServerCommunications(GatewaySessionData)
> VGJ0612I - Une session passerelle est connectTe au 
> SessionIDManager pour
> l'utili
> sateur g145193.
> <-- GatewaySessionData.readObject
> [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
> [INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009
> [INFO] JkMain - -Jk running ID=0 time=32/140
> config=C:\Tomcat\bin\..\conf\jk2.p
> roperties
> ----------------
> For the tomcatProd, i have replace port 8080 with 80 in server.xml
> In startup.bat i have add the environement var setting for CLASSPATH
> -- (cut and paste from dos screen) --
> SET CLASSPATH=c:\tomcatProd\Webapps\VagenWebModule\WEB-
> INF\lib;c:\tomcatProd\Webapps\VagenWebModule\WEB-
> INF\classes\my\pkg;C:\IBMVAGEN\VGWGS45\;C:\IBMVAGEN\VGWGS45\hp
> tGateway.jar;C
> :\IBMVAGEN\VGWGS45\vgjwgs.jar;C:\IBMVAGEN\VGCSO45\;C:\IBMVAGEN
> \VGCSO45\hpt.j
> ar
> SET
> LIB=C:\IBMVAGEN\VGWGS45\LIB;C:\IBMVAGEN\VGWGS45\MSVC\LIB;C:\IB
> MVAGEN\VGCSO45
> \LIB;C:\IBMVAGEN\VGCSO45\MSVC\LIB;
> SET COBPATH=c:\tomcatProd\Webapps\VagenWebModule\WEB-INF\dll_eti;
> SET LIBPATH=c:\tomcatProd\Webapps\VagenWebModule\WEB-INF\dll_eti;
> SET
> Path=%PATH%;C:\IBMVAGEN\VGWGS45\;C:\IBMVAGEN\VGWGS45\MSVC;C:\I
> BMVAGEN\VGCSO4
> 5\;C:\IBMVAGEN\VGCSO45\MSVC;C:\IBMVAGEN\VGCSO45\exe;c:\jdk\bin
> ;c:\tomcatProd
> \Webapps\VagenWebModule\WEB-
> INF\dll_eti;c:\ibmvagen\dll_pli;c:\ibmvagen\dll_cobol
> --
> And the startup of tomcat give
> [INFO] Registry - -Loading registry information
> [INFO] Registry - -Creating new Registry instance
> [INFO] Registry - -Creating MBeanServer
> [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 80
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.12
> server.properties not found, using command line or default properties
> Opening database: C:\TomcatProd\webapps\cocoon\WEB-INF\db\cocoondb
> HSQLDB server 1.7.1 is running
> Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
> 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:452)
>         at java.net.ServerSocket.<init>(ServerSocket.java:170)
>         at java.net.ServerSocket.<init>(ServerSocket.java:82)
>         at org.hsqldb.Server.run(Unknown Source)
>         at org.hsqldb.Server.main(Unknown Source)
>         at
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:19
> 4)
>         at java.lang.Thread.run(Thread.java:484)
> [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 80
> [INFO] ChannelSocket - -Port busy 8009 
> java.net.BindException: Address in
> use: J
> VM_Bind
> [INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8010
> [INFO] JkMain - -Jk running ID=1 time=15/79
> config=C:\TomcatProd\bin\..\conf\jk
> 2.properties
> 
> I see port busy 8009 but i don't know where i must change
> 
> Thanks
> Angelo
> 
> **************************************************************
> **************
> 
> 
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Wed, 29 Jan 2003 09:18:05 +0100
> Subject: Re: AW: How to run 2 tomcat-coocon web server
> 
> Hy:
> 
> this message:
> 
> VGJ0607E - Une inadéquation de version s'est produite entre le
> serveur  et
> le circuit my.pkg.JAH0001WUIBean.
> 
> translates to something like:
> 
> "differing versions between server and package my.pkg.JAH0001WUIBean"
> 
> seems to point to EJBeans stuff ... ???
> 
> i cant help more ...
> regards, hussayn
> 
> 
> 
> Marco Rolappe wrote:
> > one might be able to better help you if the error message 
> was translated.
> 
> 
> 
> >>-----Ursprüngliche Nachricht-----
> >>Von: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED]]Im
> >>Auftrag von CARLETTA ANGELO
> >>Gesendet: Dienstag, 28. Januar 2003 12:16
> >>An: [EMAIL PROTECTED]
> >>Betreff: How to run 2 tomcat-coocon web server
> >>
> >>
> >>--- Reçu de       INFETUDE.G145193 02/250.96.71
> >>28-01-03 12.16
> >>
> >>Hi,
> >>
> >>I need to run 2 server tomcat-cocoon in one machine
> >>One server use \\localhost:8080\ (port 8080) and the other 
> server use
> >>\\localhost\ (port 80 in config tomcat server.xml)
> >>
> >>I have a probleme in de second server with the used JSP
> >>
> >>Program In Error:
> >>Date of error: 28-janv.-03
> >>Time of Error 12:15:57
> >>Error messages:
> >>VGJ0607E - Une inadéquation de version s'est produite entre le
> >>serveur  et
> >>le circuit my.pkg.JAH0001WUIBean.
> >>
> >>Thanks.
> >>Angelo
> >>
> >>---- 28-01-03 12.16 ---- Envoyé à
> >>------------------------------------
> >>  -> [EMAIL PROTECTED]
> >>
> >>
> >>************************************************************
> **********
> >>This email and any files transmitted with it are confidential and
> >>intended solely for the use of the individual or entity to whom they
> >>are addressed. If you have received this email in error 
> please notify
> >>the system manager.
> >>
> >>
> >>[EMAIL PROTECTED]
> >>*******************************************************************
> >>
> >>
> >>------------------------------------------------------------
> ---------
> >>Please check that your question  has not already been 
> answered in the
> >>FAQ before posting.     
> <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>

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


--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax:     +49-221-56011-20
E-Mail:  [EMAIL PROTECTED]


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

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



****************************************************************************
This footnote confirms that this email message has been checked
for the presence of computer viruses.

---- 29-01-03 10.10 ---- Envoyé à      -------------------------------------
  -> [EMAIL PROTECTED]
  -> [EMAIL PROTECTED]


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.


[EMAIL PROTECTED]
*******************************************************************


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>

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

Reply via email to