You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Paul Hammant <Pa...@yahoo.com> on 2001/10/21 18:36:54 UTC

Deployment of Catalina/Bay hangs Phoenix

Hangs in that it sucks up 99% CPU time.

To reproduce - download the Catalina snapshot from the nightlies of the 
21st.  Unzip it, take the jakarta-tomcat-4.0-20011021 directory, drop it 
in cornerstone/apps/bay, rename it to catalina, build and deploy bay. 
 Launch Phoenix as usual.  It never gets past the install stage.  

Tomorrow I should be able to say where precisely it hangs.

Regards,

- Paul H


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Re: Deployment of Catalina/Bay hangs Phoenix

Posted by Paul Hammant <mo...@mongrel.homechoice.co.uk>.
Peter,

>>>>Hangs in that it sucks up 99% CPU time.
>>>>
>>>ug.
>>>
>>I'm so stupid.  It's because the SAR file is 4.8Mb in size.  Repeated
>>traversal for resources and classes must be killing the machine, though
>>I am still running tests.
>>
>
>It still should work fine. Will have a look at it.
>

:-)

Unzip the Catalina nightly as "jakarta-tomcat-4.0" into the bay 
directory before bulding.

Listen, can I add ....

    URLStreamHandlerFactory getDefaultURLStreamHandlerFactory();

... to BlockContext?  I propose adding as deprecated to discourage use 
until we can work out how to fix complex classloading bugs.  I really 
need this because I have big problems with Jesktop (which used to work 
fine) and now Bay - they both try to mount their own classloaders.

Regards,

- Paul H


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Re: Deployment of Catalina/Bay hangs Phoenix

Posted by Peter Donald <do...@apache.org>.
On Fri, 26 Oct 2001 22:20, Paul Hammant wrote:
> Peter, Mircea,
>
> >>Hangs in that it sucks up 99% CPU time.
> >
> >ug.
>
> I'm so stupid.  It's because the SAR file is 4.8Mb in size.  Repeated
> traversal for resources and classes must be killing the machine, though
> I am still running tests.

It still should work fine. Will have a look at it.

-- 
Cheers,

Pete

--------------------------------------------------------------
"Science is like sex: sometimes something useful comes out, 
but that is not the reason we are doing it" -- Richard Feynman
--------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Re: Deployment of Catalina/Bay hangs Phoenix

Posted by Paul Hammant <Pa...@yahoo.com>.
Peter, Mircea,

>>Hangs in that it sucks up 99% CPU time.
>>
>
>ug.
>
I'm so stupid.  It's because the SAR file is 4.8Mb in size.  Repeated 
traversal for resources and classes must be killing the machine, though 
I am still running tests.

I'm not sure it that is a fatal issue.  I have an Athlon 900Mhz here 
with 512Mb of matched CAS latency 2 Memory.

Regards,

- Paul H


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Re: Deployment of Catalina/Bay hangs Phoenix

Posted by Paul Hammant <Pa...@yahoo.com>.
Peter,

>did you ever locate where this was hanging ? I am going to be rehacking the 
>code on saturday and a bit of sunday so hopefully I will try to fix this by 
>then if it is still occuring.
>
With a fresh Avalon and Tomcat it seems that it's not hung, it's just 
amazing slow.  It's taken 10 minutes to launch Phoenix, and it's not 
even mounted  the webserver yet.  This used to take ten seconds for the 
lot.  Will report more later,

- Paul

>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Re: Deployment of Catalina/Bay hangs Phoenix

Posted by Paul Hammant <Pa...@yahoo.com>.
Peter,

>did you ever locate where this was hanging ? I am going to be rehacking the 
>code on saturday and a bit of sunday so hopefully I will try to fix this by 
>then if it is still occuring.
>
Phoenix's log - note the times.

Fri Oct 26 12:15:49 BST 2001 [INFO   ] (Phoenix): Logger started
Fri Oct 26 12:15:49 BST 2001 [INFO   ] (Phoenix): Installing Sar locat
Fri Oct 26 12:21:19 BST 2001 [WARN   ] (Phoenix): Application file:/C:
Fri Oct 26 12:21:23 BST 2001 [INFO   ] (Phoenix): Verifying that the n
Fri Oct 26 12:21:23 BST 2001 [INFO   ] (Phoenix): Verifying that the n
Fri Oct 26 12:21:23 BST 2001 [INFO   ] (Phoenix): Verifying that the s
Fri Oct 26 12:21:23 BST 2001 [INFO   ] (Phoenix): Verifying that the d
Fri Oct 26 12:21:23 BST 2001 [INFO   ] (Phoenix): Verifying that there
Fri Oct 26 12:21:23 BST 2001 [INFO   ] (Phoenix): Verifying that the s
Fri Oct 26 12:21:23 BST 2001 [INFO   ] (Phoenix): Verifying that the s
Fri Oct 26 12:21:23 BST 2001 [INFO   ] (Phoenix.avalon-bay): 1 Blocks
Fri Oct 26 12:21:23 BST 2001 [ERROR  ] (Phoenix.avalon-bay.lifecycle):
Fri Oct 26 12:21:23 BST 2001 [ERROR  ] (Phoenix.avalon-bay): There was
org.apache.avalon.framework.CascadingException: Block named "http-serv
    at org.apache.avalon.phoenix.components.application.LifecycleH
    at org.apache.avalon.phoenix.components.application.LifecycleH
    at org.apache.avalon.phoenix.components.application.DefaultApp
    at org.apache.avalon.phoenix.components.application.DefaultApp
    at org.apache.avalon.phoenix.components.kernel.DefaultKernel.s
    at org.apache.avalon.phoenix.components.kernel.DefaultKernel.a
    at org.apache.avalon.phoenix.components.deployer.DefaultDeploy
rethrown from
java.lang.RuntimeException: ClassNotFoundException java.lang.ClassNotF

The ClassNotFoundException is an ordinary class that should be loaded. 
 I'll track it down.

- PAul


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Re: Deployment of Catalina/Bay hangs Phoenix

Posted by Peter Donald <do...@apache.org>.
On Mon, 22 Oct 2001 02:36, Paul Hammant wrote:
> Hangs in that it sucks up 99% CPU time.

ug.

> To reproduce - download the Catalina snapshot from the nightlies of the
> 21st.  Unzip it, take the jakarta-tomcat-4.0-20011021 directory, drop it
> in cornerstone/apps/bay, rename it to catalina, build and deploy bay.
>  Launch Phoenix as usual.  It never gets past the install stage.
>
> Tomorrow I should be able to say where precisely it hangs.

did you ever locate where this was hanging ? I am going to be rehacking the 
code on saturday and a bit of sunday so hopefully I will try to fix this by 
then if it is still occuring.

-- 
Cheers,

Pete

-----------------------------------------------
   "You can't depend on your eyes when your 
   imagination is out of focus." -Mark Twain 
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org