You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by bu...@apache.org on 2002/04/30 07:03:42 UTC

DO NOT REPLY [Bug 8637] New: - exception while starting:Specified ThreadContext is already bound to a thread

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8637>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8637

exception while starting:Specified ThreadContext is already bound to a thread

           Summary: exception while starting:Specified ThreadContext is
                    already bound to a thread
           Product: Avalon
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Phoenix
        AssignedTo: avalon-dev@jakarta.apache.org
        ReportedBy: colus@apache.org


It appear after recent threadcontext changes.
Below is phoenix.log

INFO    2002-04-30 13:57:37.816 [Phoenix ] (): Logger started
WARN    2002-04-30 13:57:37.906 [Phoenix ] (): Phoenix was not started by the 
daemon thus it will not be possible to restart the JVM via the Management 
interface.
INFO    2002-04-30 13:57:38.120 [Phoenix.] (): Installing Sar located at 
file:/home/colus/src/jakarta-avalon-phoenix/dist/apps/httpproxy.sar.
INFO    2002-04-30 13:57:38.700 [Phoenix.] (): Verifying that the name 
specified for Blocks and BlockListeners are valid.
INFO    2002-04-30 13:57:38.701 [Phoenix.] (): Verifying that the name 
specified for Blocks and BlockListeners are unique.
INFO    2002-04-30 13:57:38.701 [Phoenix.] (): Verifying that the specified 
Dependencies are valid according to BlockInfo.
INFO    2002-04-30 13:57:38.707 [Phoenix.] (): Verifying that the dependencies 
of Blocks are valid with respect to other Blocks.
INFO    2002-04-30 13:57:38.708 [Phoenix.] (): Verifying that there are no 
circular dependencies between Blocks.
INFO    2002-04-30 13:57:38.709 [Phoenix.] (): Verifying that the specified 
Blocks have valid types.
INFO    2002-04-30 13:57:38.748 [Phoenix.] (): Verifying that the specified 
BlockListeners have valid types.
INFO    2002-04-30 13:57:38.855 [Phoenix.] (): 6 Blocks to process for 
phase "startup". Order of processing = [thread-manager, connections, sockets, 
scheduler, httpproxyserver-Auditing, httpproxyserver-Filtering].
INFO    2002-04-30 13:57:38.856 [Phoenix.] (): exception while 
starting:Specified ThreadContext is already bound to a thread

WARN    2002-04-30 13:57:38.868 [Phoenix.] (): Failed to start application 
httpproxy.
org.apache.avalon.framework.CascadingException: Failed to initialize 
application httpproxy.
	at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:138)
	at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:185)
	at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:189)
	at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:483)
	at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:476)
	at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:464)
	at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppli
cations(DefaultEmbeddor.java:454)
rethrown from
org.apache.avalon.phoenix.interfaces.ApplicationException: Specified 
ThreadContext is already bound to a thread
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:103)
	at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:126)
	at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:185)
	at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:189)
	at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:483)
	at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:476)
	at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:464)
rethrown from
java.lang.IllegalArgumentException: Specified ThreadContext is already bound to 
a thread
	at org.apache.excalibur.threadcontext.ThreadContext.setThreadContext
(ThreadContext.java:104)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:295)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:97)
	at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:126)
	at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:185)
	at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:189)
	at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:483)
WARN    2002-04-30 13:57:38.888 [Phoenix.] (): Failed to stop application 
httpproxy as it is not initialized/started.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>