> Sure sounds like it. My guess is one of two things is happening:
>
> 1) Phoenix can't deploy the application and thus m_application never gets set
> (maybe there is an exception that isn't making it into the logs. doh!)
>
> 2) The kernel has a bug where it can't return the app by name (everything
> init'd correctly but m_application never got set)
>
> I can probably track it down pretty easily with a debugger, but I'd need a
> copy of your app (just a WAR with your compiled code is fine). I might have a
> chance to look @ it tonight, or definitly tommorow.
> -pete
ok i forgot to add this log file. This seems like it might complicate the
mystery
further though. Everything looks fine to me.
Pete, i'll get the code to you here shortly. Thanks !
BP
*****************************************
PhoenixServlet (log file created from the PhoenixServlet init parms)
****************************************
1024432979015 [INFO ] (Phoenix): Logger started
1024432979203 [INFO ] (Phoenix.deployer): Installing Sar located at
file:/G:/Workspace/CVSROOT/CoreWebApp/webApplication/WEB-
INF/apps/CoreWebApp.sar.
1024432979218 [WARN ] (Phoenix.deployer): The file SAR-INF/config.xml can
not be extracted from the Sar
"file:/G:/Workspace/CVSROOT/CoreWebApp/webApplication/WEB-
INF/apps/CoreWebApp.sar" into directory
G:\Workspace\CVSROOT\CoreWebApp\webApplication\WEB-
INF\apps\CoreWebApp because there is a file in the way.
1024432979234 [WARN ] (Phoenix.deployer): The file SAR-INF/environment.xml
can not be extracted from the Sar
"file:/G:/Workspace/CVSROOT/CoreWebApp/webApplication/WEB-
INF/apps/CoreWebApp.sar" into directory
G:\Workspace\CVSROOT\CoreWebApp\webApplication\WEB-
INF\apps\CoreWebApp because there is a file in the way.
1024432979437 [DEBUG ] (Phoenix.deployer): Creating BlockInfo from
com/bpurvis/webapp/service/DefaultAuthorizationManager.xinfo.
1024432979515 [DEBUG ] (Phoenix.deployer): Creating a BlockInfo for class
"com.bpurvis.webapp.service.DefaultAuthorizationManager".
1024432979546 [DEBUG ] (Phoenix.deployer): Constructed BlockInfo object for
class com.bpurvis.webapp.service.DefaultAuthorizationManager. BlockInfo
contains
1 services and 0 dependencies.
1024432979562 [DEBUG ] (Phoenix.deployer): Creating BlockInfo from
com/bpurvis/webapp/service/DefaultCommandDispatcher.xinfo.
1024432979671 [DEBUG ] (Phoenix.deployer): Creating a BlockInfo for class
"com.bpurvis.webapp.service.DefaultCommandDispatcher".
1024432979671 [WARN ] (Phoenix.deployer): Warning: BlockInfo for class
com.bpurvis.webapp.service.DefaultCommandDispatcher redundently specifies role
name "com.bpurvis.webapp.services.CommandRepository" in dependency when it
is identical to the name of service. It is recomended that the <role/> section
be
elided.
1024432979671 [WARN ] (Phoenix.deployer): Warning: BlockInfo for class
com.bpurvis.webapp.service.DefaultCommandDispatcher redundently specifies role
name "com.bpurvis.webapp.services.UserRepository" in dependency when it is
identical to the name of service. It is recomended that the <role/> section be
elided.
1024432979671 [WARN ] (Phoenix.deployer): Warning: BlockInfo for class
com.bpurvis.webapp.service.DefaultCommandDispatcher redundently specifies role
name "com.bpurvis.webapp.services.AuthorizationManager" in dependency when it
is identical to the name of service. It is recomended that the <role/> section
be
elided.
1024432979671 [DEBUG ] (Phoenix.deployer): Constructed BlockInfo object for
class com.bpurvis.webapp.service.DefaultCommandDispatcher. BlockInfo contains
1 services and 3 dependencies.
1024432979671 [DEBUG ] (Phoenix.deployer): Creating BlockInfo from
com/bpurvis/webapp/service/DefaultCommandRepository.xinfo.
1024432979984 [DEBUG ] (Phoenix.deployer): Creating a BlockInfo for class
"com.bpurvis.webapp.service.DefaultCommandRepository".
1024432979984 [DEBUG ] (Phoenix.deployer): Constructed BlockInfo object for
class com.bpurvis.webapp.service.DefaultCommandRepository. BlockInfo contains
1 services and 0 dependencies.
1024432979984 [DEBUG ] (Phoenix.deployer): Creating BlockInfo from
com/bpurvis/webapp/service/DefaultUserRepository.xinfo.
1024432980140 [DEBUG ] (Phoenix.deployer): Creating a BlockInfo for class
"com.bpurvis.webapp.service.DefaultUserRepository".
1024432980140 [DEBUG ] (Phoenix.deployer): Constructed BlockInfo object for
class com.bpurvis.webapp.service.DefaultUserRepository. BlockInfo contains 1
services and 0 dependencies.
1024432980312 [INFO ] (Phoenix.deployer): Verifying that the name specified
for
Blocks and BlockListeners are valid.
1024432980312 [INFO ] (Phoenix.deployer): Verifying that the name specified
for
Blocks and BlockListeners are unique.
1024432980312 [INFO ] (Phoenix.deployer): Verifying that the specified
Dependencies are valid according to BlockInfo.
1024432980312 [INFO ] (Phoenix.deployer): Verifying that the dependencies of
Blocks are valid with respect to other Blocks.
1024432980312 [INFO ] (Phoenix.deployer): Verifying that there are no
circular
dependencies between Blocks.
1024432980312 [INFO ] (Phoenix.deployer): Verifying that the specified Blocks
have valid types.
1024432981890 [INFO ] (Phoenix.deployer): Verifying that the specified
BlockListeners have valid types.
1024432982953 [INFO ] (Phoenix.kernel.CoreWebApp): 4 Blocks to process for
phase "startup". Order of processing = [AuthorizationManager,
CommandRepository, UserRepository, CommandDispatcher].
1024432982953 [DEBUG ] (Phoenix.kernel.CoreWebApp): Processing Block
named "AuthorizationManager" through phase "startup".
1024432982953 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"AuthorizationManager" is passing through the Creation stage.
1024432982953 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"AuthorizationManager" is passing through the Logger initialization stage.
1024432982953 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"AuthorizationManager" is passing through the Contextualization stage.
1024432982984 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"AuthorizationManager" is passing through the Configuration stage.
1024432983062 [DEBUG ] (Phoenix.kernel.CoreWebApp): Processed Block
named "AuthorizationManager" through phase "startup".
1024432983062 [DEBUG ] (Phoenix.kernel.CoreWebApp): Processing Block
named "CommandRepository" through phase "startup".
1024432983062 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandRepository" is passing through the Creation stage.
1024432983265 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandRepository" is passing through the Logger initialization stage.
1024432983265 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandRepository" is passing through the Contextualization stage.
1024432983265 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandRepository" is passing through the Configuration stage.
1024432983437 [DEBUG ] (Phoenix.kernel.CoreWebApp): Processed Block
named "CommandRepository" through phase "startup".
1024432983437 [DEBUG ] (Phoenix.kernel.CoreWebApp): Processing Block
named "UserRepository" through phase "startup".
1024432983437 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"UserRepository" is passing through the Creation stage.
1024432983437 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"UserRepository" is passing through the Logger initialization stage.
1024432983437 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"UserRepository" is passing through the Contextualization stage.
1024432983437 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"UserRepository" is passing through the Configuration stage.
1024432983531 [DEBUG ] (Phoenix.kernel.CoreWebApp): Processed Block
named "UserRepository" through phase "startup".
1024432983531 [DEBUG ] (Phoenix.kernel.CoreWebApp): Processing Block
named "CommandDispatcher" through phase "startup".
1024432983531 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandDispatcher" is passing through the Creation stage.
1024432983531 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandDispatcher" is passing through the Logger initialization stage.
1024432983531 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandDispatcher" is passing through the Contextualization stage.
1024432983531 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandDispatcher" is passing through the Composing stage.
1024432983531 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandDispatcher" is passing through the Configuration stage.
1024432983546 [DEBUG ] (Phoenix.kernel.CoreWebApp.lifecycle): Block named
"CommandDispatcher" is passing through the Initialization stage.
1024432983546 [DEBUG ] (Phoenix.kernel.CoreWebApp): Processed Block
named "CommandDispatcher" through phase "startup".
1024432983562 [DEBUG ] (Phoenix.deployer): Adding SarEntry named
"CoreWebApp" to Kernel with ClassPath = [Ljava.lang.String;@232a8cbc.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>