SOLVED?: Connection refused after installing Cocoon + X11 comment s

2001-12-10 Thread david . greaves

Hi

I ma have solved this problem - certainly I had the same issue:
 # tomcat4 run
started tomcat fine; I waited a while (minutes!) the made a req to
http://tc/
Worked fine, tomcat4 demos fine
Then a connection to /cocoon/
Instant death!
All the tomcat4 processes died - no errors no (useful) logs - just X11
connection closed...

This was a virgin RH7.2 install on an SMP i386 machine.
I had downloaded suns jdk1.3.1_01 to /usr/java/jdk1.3.1_01
installed the tomcat4 noarch rpm to /var/tomcat4 (nb someone fix the
/etc/passwd entry for the tc4 user - the homedir is /var/tomcat not
/var/tomcat4 - also need a chown -R tomcat4.tomcat4 /var/tomcat4)

The cocoon binary failed (haven't retried) so I did a build.sh from the
source.

Then I had the problem described above: (search fodder :)
cocoon2 died after one request
no tomcat4 instances running
no error messages

I had X working (xhost+ over SSH etc) - but it took a while to realise that
this fails after a su to tomcat4 :(

After much log reading we tried the 'headless' install using jpa - nb there
were few clues that this was it and the fact that X was working kinda
red-herring'ed us)
This (http://xml.apache.org/cocoon/installing/index.html) suggested jpa from
www.eteks.com 
I installed the .jars to /usr/java/jdk1.3.1_01/fre/lib/ext as Sun suggest -
this failed to work with class loading problems.
We then explicitly unjarred the pja.jar to a new classes directory that we
had to create in /usr/java/jdk1.3.1_01/jre 
(ie mkdir /usr/java/jdk1.3.1_01/jre/classes)
Cocoon then worked :)


I hope this helps...

Looking forward to some serious work now :)

David Greaves




Included the old thread for searching:

Hi Marcus,

thank you for your answer.

On Monday 03 December 2001 06:22 pm, you wrote:
> Hi Tilman,
>
> On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy 
wrote:
> > Catalina.stop: java.net.ConnectException: Connection
> > refused java.net.ConnectException: Connection refused
> > ..
>
>   hmm. looks like your Tomcat crashed just after startup
> for some reason.

Yes, I think you are right. I tried again and checked 
whether Tomcat was still running after the attempt to 
access Cocoon. It was not.

>
> > The Cocoon version is 2.0, my servlet container is
> > Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on
> > a Linux machine (kernel 2.4.4-4GB).
> >
> > Obviously, the cocoon.war file was extracted (I found a
> > cocoon subdirectory in webapps, and a lot of
> > Cocoon-related messages in the Tomcat log files).
> > Without Cocoon, Tomcat works well.
>
>   I think those messages in the tomcat logs are probably
> useful for diagnosing what's going on. Without them it's
> a bit difficult. Can you send them in ?

See attachments. (The log files comprise two subsequent 
Tomcat sessions)

Thanks again,

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Re: Connection refused after installing Cocoon

2001-12-03 Thread Carlos

Marcus:

Mine was a misconfiguration and impatience error. I was not waiting long
enough after shutting Tomcat to restart it, hence my error

Carlos

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 G | California Virtual Campus
 - | C/O De Anza College
 P | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone   408 257 0420 (work)
PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Paradoxically, a refusal to 'put a monetary value on life' means that
life is often undervalued.
-- Artificial Intelligence: A Modern Approach


> From: Marcus Crafter <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 3 Dec 2001 20:20:34 +0100
> To: [EMAIL PROTECTED]
> Subject: Re: Connection refused after installing Cocoon
> 
> Hi Carlos, Tilman,
> 
> Can you guys do a:
> 
> $> bin/catalina.sh run -config conf/server.xml
> 
> in your Tomcat 4.0.1 directory (or equivalent, ie. run Tomcat in the
> foreground) and send in the output that's printed to the screen
> (hopefully it will display an error message of some sort) ?
> 
> I'm getting:
> 
> <.1]:98>bin/catalina.sh run -config conf/server.xml
> Using CLASSPATH:
> /home/crafterm/workarea/jakarta-tomcat-4.0.1/bin/bootstrap.jar:/usr/local/jdk/
> lib/tools.jar
> Using CATALINA_BASE: /home/crafterm/workarea/jakarta-tomcat-4.0.1
> Using CATALINA_HOME: /home/crafterm/workarea/jakarta-tomcat-4.0.1
> Using JAVA_HOME: /usr/local/jdk
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.1
> Loading catalog: /localhost/cocoon/resources/entities/catalog
> Server 1.6 is running
> Press [Ctrl]+[C] to abort
> 
> With the Cocoon webapp working fine under my Linux system
> (Debian, Kernel 2.4.6, SUN JDK 1.3.1_01).
> 
> Thanks,
> 
> Marcus
> 
> On Mon, Dec 03, 2001 at 09:59:11AM -0800, Carlos wrote:
>> Marcus:
>> 
>> I'm having the same problem but the logs are clean. It doesn't seem like
>> it's logging anything. Catalina.out, catalina.log and root.log don't have
>> any information relevant to the crash other than the connection refused
>> message. If you still think it's useful, I'll post the logs
>> 
>> Carlos
>> 
>> -- 
>> Carlos E. Araya
>> ---+ WebCT Administrator/Trainer
>>  G | California Virtual Campus
>>  - | C/O De Anza College
>>  P | 21250 Stevens Creek Blvd
>> ---+ Cupertino, CA 95014
>> 
>> email   [EMAIL PROTECTED]
>> web http://www.cvc1.org/ (work)
>> http://www.silverwolf-net.net (personal)
>> phone   408 257 0420 (work)
>> PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
>> 
>> Paradoxically, a refusal to 'put a monetary value on life' means that
>> life is often undervalued.
>> -- Artificial Intelligence: A Modern Approach
>> 
>> 
>>> From: Marcus Crafter <[EMAIL PROTECTED]>
>>> Reply-To: [EMAIL PROTECTED]
>>> Date: Mon, 3 Dec 2001 18:22:09 +0100
>>> To: [EMAIL PROTECTED]
>>> Subject: Re: Connection refused after installing Cocoon
>>> 
>>> Hi Tilman,
>>> 
>>> On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote:
>>> 
>>>> Catalina.stop: java.net.ConnectException: Connection refused
>>>> java.net.ConnectException: Connection refused
>>>> ..
>>> 
>>> hmm. looks like your Tomcat crashed just after startup for some
>>> reason.
>>> 
>>>> The Cocoon version is 2.0, my servlet container is Tomcat
>>>> 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux
>>>> machine (kernel 2.4.4-4GB).
>>>> 
>>>> Obviously, the cocoon.war file was extracted (I found a
>>>> cocoon subdirectory in webapps, and a lot of Cocoon-related
>>>> messages in the Tomcat log files). Without Cocoon, Tomcat
>>>> works well.
>>> 
>>> I think those messages in the tomcat logs are probably useful for
>>> diagnosing what's going on. Without them it's a bit difficult.
>>> Can you send them in ?
>>> 
>>> Cheers,
>>> 
>>> Marcus
>>> 
>>> -- 
>>>   .
>>>,,$,  Marcus Crafter
>>>   ;$'  ':Computer Systems Engineer
>>>   $: :   Managesoft GmbH
>>>$   o_)$$$:   82-84 Mainzer Landstrasse
>>

Re: Connection refused after installing Cocoon

2001-12-03 Thread Marcus Crafter

Hi Carlos, Tilman,

Can you guys do a:

$> bin/catalina.sh run -config conf/server.xml

in your Tomcat 4.0.1 directory (or equivalent, ie. run Tomcat in the
foreground) and send in the output that's printed to the screen
(hopefully it will display an error message of some sort) ?

I'm getting:

<.1]:98>bin/catalina.sh run -config conf/server.xml 
Using CLASSPATH:
/home/crafterm/workarea/jakarta-tomcat-4.0.1/bin/bootstrap.jar:/usr/local/jdk/lib/tools.jar
Using CATALINA_BASE: /home/crafterm/workarea/jakarta-tomcat-4.0.1
Using CATALINA_HOME: /home/crafterm/workarea/jakarta-tomcat-4.0.1
Using JAVA_HOME: /usr/local/jdk
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Loading catalog: /localhost/cocoon/resources/entities/catalog
Server 1.6 is running
Press [Ctrl]+[C] to abort

With the Cocoon webapp working fine under my Linux system
(Debian, Kernel 2.4.6, SUN JDK 1.3.1_01).

Thanks,

Marcus

On Mon, Dec 03, 2001 at 09:59:11AM -0800, Carlos wrote:
> Marcus:
> 
> I'm having the same problem but the logs are clean. It doesn't seem like
> it's logging anything. Catalina.out, catalina.log and root.log don't have
> any information relevant to the crash other than the connection refused
> message. If you still think it's useful, I'll post the logs
> 
> Carlos
> 
> -- 
> Carlos E. Araya
> ---+ WebCT Administrator/Trainer
>  G | California Virtual Campus
>  - | C/O De Anza College
>  P | 21250 Stevens Creek Blvd
> ---+ Cupertino, CA 95014
> 
> email   [EMAIL PROTECTED]
> web http://www.cvc1.org/ (work)
> http://www.silverwolf-net.net (personal)
> phone   408 257 0420 (work)
> PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
> 
> Paradoxically, a refusal to 'put a monetary value on life' means that
> life is often undervalued.
> -- Artificial Intelligence: A Modern Approach
> 
> 
> > From: Marcus Crafter <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Mon, 3 Dec 2001 18:22:09 +0100
> > To: [EMAIL PROTECTED]
> > Subject: Re: Connection refused after installing Cocoon
> > 
> > Hi Tilman,
> > 
> > On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote:
> > 
> >> Catalina.stop: java.net.ConnectException: Connection refused
> >> java.net.ConnectException: Connection refused
> >> ..
> > 
> > hmm. looks like your Tomcat crashed just after startup for some
> > reason.
> > 
> >> The Cocoon version is 2.0, my servlet container is Tomcat
> >> 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux
> >> machine (kernel 2.4.4-4GB).
> >> 
> >> Obviously, the cocoon.war file was extracted (I found a
> >> cocoon subdirectory in webapps, and a lot of Cocoon-related
> >> messages in the Tomcat log files). Without Cocoon, Tomcat
> >> works well.
> > 
> > I think those messages in the tomcat logs are probably useful for
> > diagnosing what's going on. Without them it's a bit difficult.
> > Can you send them in ?
> > 
> > Cheers,
> > 
> > Marcus
> > 
> > -- 
> >   .
> >,,$,  Marcus Crafter
> >   ;$'  ':Computer Systems Engineer
> >   $: :   Managesoft GmbH
> >$   o_)$$$:   82-84 Mainzer Landstrasse
> >;$,_/\ &&:'   60327 Frankfurt Germany
> >  ' /( &&&
> >  \_&&&&' Email : [EMAIL PROTECTED]
> > &&&&.Business Hours : +49 69 9757 200
> >   &&&&&&&:
> > 
> > -
> > 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]>
> 

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Managesoft GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_&&&&' Email : [EMAIL PROTECTED]
  &&&&.Business Hours : +49 69 9757 200
&&&&&&&:

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




Re: Connection refused after installing Cocoon

2001-12-03 Thread Tilman Rassy

Hi Marcus,

thank you for your answer.

On Monday 03 December 2001 06:22 pm, you wrote:
> Hi Tilman,
>
> On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy 
wrote:
> > Catalina.stop: java.net.ConnectException: Connection
> > refused java.net.ConnectException: Connection refused
> > ..
>
>   hmm. looks like your Tomcat crashed just after startup
> for some reason.

Yes, I think you are right. I tried again and checked 
whether Tomcat was still running after the attempt to 
access Cocoon. It was not.

>
> > The Cocoon version is 2.0, my servlet container is
> > Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on
> > a Linux machine (kernel 2.4.4-4GB).
> >
> > Obviously, the cocoon.war file was extracted (I found a
> > cocoon subdirectory in webapps, and a lot of
> > Cocoon-related messages in the Tomcat log files).
> > Without Cocoon, Tomcat works well.
>
>   I think those messages in the tomcat logs are probably
> useful for diagnosing what's going on. Without them it's
> a bit difficult. Can you send them in ?

See attachments. (The log files comprise two subsequent 
Tomcat sessions)

Thanks again,

Tilman


Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1


2001-12-03 18:41:12 HttpConnector Opening server socket on all host IP addresses
2001-12-03 18:47:22 HttpConnector Opening server socket on all host IP addresses




2001-12-03 18:41:12 WebappLoader[/examples]: Deploying class repositories to work directory /homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/work/localhost/examples
2001-12-03 18:41:12 WebappLoader[/examples]: Reloading checks are enabled for this Context
2001-12-03 18:41:12 StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom
2001-12-03 18:41:12 StandardManager[/examples]: Seeding of random number generator has been completed
2001-12-03 18:41:12 ContextConfig[/examples]: Configured an authenticator for method FORM
2001-12-03 18:41:12 ContextListener: contextInitialized()
2001-12-03 18:41:12 SessionListener: contextInitialized()
2001-12-03 18:41:12 ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@32e13d')
2001-12-03 18:41:12 StandardWrapper[/examples:default]: Loading container servlet default
2001-12-03 18:41:12 default: init
2001-12-03 18:41:12 StandardWrapper[/examples:invoker]: Loading container servlet invoker
2001-12-03 18:41:12 invoker: init
2001-12-03 18:41:13 jsp: init
2001-12-03 18:47:23 WebappLoader[/examples]: Deploying class repositories to work directory /homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/work/localhost/examples
2001-12-03 18:47:23 WebappLoader[/examples]: Reloading checks are enabled for this Context
2001-12-03 18:47:23 StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom
2001-12-03 18:47:23 StandardManager[/examples]: Seeding of random number generator has been completed
2001-12-03 18:47:23 ContextConfig[/examples]: Configured an authenticator for method FORM
2001-12-03 18:47:23 ContextListener: contextInitialized()
2001-12-03 18:47:23 SessionListener: contextInitialized()
2001-12-03 18:47:23 ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@32e13d')
2001-12-03 18:47:23 StandardWrapper[/examples:default]: Loading container servlet default
2001-12-03 18:47:23 default: init
2001-12-03 18:47:23 StandardWrapper[/examples:invoker]: Loading container servlet invoker
2001-12-03 18:47:23 invoker: init
2001-12-03 18:47:23 jsp: init


2001-12-03 18:41:13 WebappLoader[/manager]: Deploying class repositories to work directory /homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/work/localhost/manager
2001-12-03 18:41:13 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom
2001-12-03 18:41:13 StandardManager[/manager]: Seeding of random number generator has been completed
2001-12-03 18:41:13 ContextConfig[/manager]: Configured an authenticator for method BASIC
2001-12-03 18:41:13 StandardWrapper[/manager:default]: Loading container servlet default
2001-12-03 18:41:13 default: init
2001-12-03 18:41:13 StandardWrapper[/manager:invoker]: Loading container servlet invoker
2001-12-03 18:41:13 invoker: init
2001-12-03 18:41:13 jsp: init
2001-12-03 18:41:13 StandardHost[localhost]: Installing web application at context path  from URL file:/homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/webapps/ROOT
2001-12-03 18:41:13 WebappLoader[]: Deploying class repositories to work directory /homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/work/localhost/_
2001-12-03 18:41:13 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2001-12-03 18:41:13 StandardManager[]: Seeding of random number generator has been completed
2001-12-03 18:41:14 StandardWrapper[:default]: Loading container servlet default
2001-12-03 18:41:14 default: init
2001-12-03 18:41:14 

Re: Connection refused after installing Cocoon

2001-12-03 Thread Carlos

Marcus:

I'm having the same problem but the logs are clean. It doesn't seem like
it's logging anything. Catalina.out, catalina.log and root.log don't have
any information relevant to the crash other than the connection refused
message. If you still think it's useful, I'll post the logs

Carlos

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 G | California Virtual Campus
 - | C/O De Anza College
 P | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone   408 257 0420 (work)
PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Paradoxically, a refusal to 'put a monetary value on life' means that
life is often undervalued.
-- Artificial Intelligence: A Modern Approach


> From: Marcus Crafter <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 3 Dec 2001 18:22:09 +0100
> To: [EMAIL PROTECTED]
> Subject: Re: Connection refused after installing Cocoon
> 
> Hi Tilman,
> 
> On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote:
> 
>> Catalina.stop: java.net.ConnectException: Connection refused
>> java.net.ConnectException: Connection refused
>> ..
> 
> hmm. looks like your Tomcat crashed just after startup for some
> reason.
> 
>> The Cocoon version is 2.0, my servlet container is Tomcat
>> 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux
>> machine (kernel 2.4.4-4GB).
>> 
>> Obviously, the cocoon.war file was extracted (I found a
>> cocoon subdirectory in webapps, and a lot of Cocoon-related
>> messages in the Tomcat log files). Without Cocoon, Tomcat
>> works well.
> 
> I think those messages in the tomcat logs are probably useful for
> diagnosing what's going on. Without them it's a bit difficult.
> Can you send them in ?
> 
> Cheers,
> 
> Marcus
> 
> -- 
>   .
>,,$,  Marcus Crafter
>   ;$'  ':Computer Systems Engineer
>   $: :   Managesoft GmbH
>$   o_)$$$:   82-84 Mainzer Landstrasse
>;$,_/\ &&:'   60327 Frankfurt Germany
>  ' /( &&&
>  \_&&&&' Email : [EMAIL PROTECTED]
> &&&&.Business Hours : +49 69 9757 200
>   &&&&&&&:
> 
> -
> 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]>




Re: Connection refused after installing Cocoon

2001-12-03 Thread yromem.com mailinglist

i got the same problem.
to have cocoon runing i stop tomcat
wait 4second
and restart it

after what i go on  : http://127.0.0.1:8080/cocoon

and it works
(some time i have to reload the page after some seconds to take the good
page)
.
- Original Message -
From: "Marcus Crafter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 6:22 PM
Subject: Re: Connection refused after installing Cocoon


> Hi Tilman,
>
> On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote:
>
> > Catalina.stop: java.net.ConnectException: Connection refused
> > java.net.ConnectException: Connection refused
> > ..
>
> hmm. looks like your Tomcat crashed just after startup for some
> reason.
>
> > The Cocoon version is 2.0, my servlet container is Tomcat
> > 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux
> > machine (kernel 2.4.4-4GB).
> >
> > Obviously, the cocoon.war file was extracted (I found a
> > cocoon subdirectory in webapps, and a lot of Cocoon-related
> > messages in the Tomcat log files). Without Cocoon, Tomcat
> > works well.
>
> I think those messages in the tomcat logs are probably useful for
> diagnosing what's going on. Without them it's a bit difficult.
> Can you send them in ?
>
> Cheers,
>
> Marcus
>
> --
> .
>  ,,$,  Marcus Crafter
> ;$'  ':Computer Systems Engineer
> $: :   Managesoft GmbH
>  $   o_)$$$:   82-84 Mainzer Landstrasse
>  ;$,_/\ &&:'   60327 Frankfurt Germany
>' /( &&&
>\_&&&&' Email : [EMAIL PROTECTED]
>   &&&&.Business Hours : +49 69 9757 200
> &&&&&&&:
>
> -
> 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]>




Re: Connection refused after installing Cocoon

2001-12-03 Thread Marcus Crafter

Hi Tilman,

On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote:

> Catalina.stop: java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
> ..

hmm. looks like your Tomcat crashed just after startup for some
reason.

> The Cocoon version is 2.0, my servlet container is Tomcat 
> 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux 
> machine (kernel 2.4.4-4GB).
> 
> Obviously, the cocoon.war file was extracted (I found a 
> cocoon subdirectory in webapps, and a lot of Cocoon-related 
> messages in the Tomcat log files). Without Cocoon, Tomcat 
> works well.

I think those messages in the tomcat logs are probably useful for
diagnosing what's going on. Without them it's a bit difficult.
Can you send them in ?

Cheers,

Marcus

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Managesoft GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
&&&:

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Connection refused after installing Cocoon

2001-12-03 Thread Tilman Rassy


Hi,

I just tried to install Cocoon and encountered the 
following problem: when I attempt to access 
http://localhost:8080/cocoon, I get an error message saying 
that the connection to localhost:8080 was refused. When 
stopping Tomcat (which is my servlet container), I get the 
message


Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at 
java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at 
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at
java.net.Socket.(Socket.java:273)
at
java.net.Socket.(Socket.java:100)
at 
org.apache.catalina.startup.Catalina.stop(Catalina.java:826)
at 
org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at 
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at
java.lang.reflect.Method.invoke(Native Method)
at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


The Cocoon version is 2.0, my servlet container is Tomcat 
4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux 
machine (kernel 2.4.4-4GB).

Obviously, the cocoon.war file was extracted (I found a 
cocoon subdirectory in webapps, and a lot of Cocoon-related 
messages in the Tomcat log files). Without Cocoon, Tomcat 
works well.

Can anybody help?

Thanks in advance,

Tilman


-
Please check that your question has not already been answered in the
FAQ before posting. 

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