As far as I know, the boxes are pretty identical, software-wise.
They're both (sadly) Windows (workstation is XP. server is 2003
Server). I have tried the undeploy, restart, redeploy route to no
avail. I've also checked the generated/ directory to make sure there
are no lingering artifacts, but there's not even a mention of this
application in that directory (nor in the applications/ directory).
I've also tried cranking up the logging, setting admin, ejb container,
deployment, naming, and web container to FINEST (using the admin console
;). An interesting nugget came of that. It appears that GF is seeing
my session beans and PU, as the logs show them being deployed. They are
all local session beans, so I can't verify easily they're deployed by
browsing the JNDI tree, though. It's when I hit the web portion of the
application that I see the "GF isn't deploying my app," meaning I get a
404. I may try making those session beans remote just to see if they're
actually deploying. That would be an interesting test.
I'll attach the server.log and web.xml (in case that matters, since this
may only be affecting the .ear's .war). If you want to see the whole
.ear, let me know and I'll send it in a private email.
Thanks!
--
Jason Lee
Programmer/Analyst
_____
From: Hong Zhang [mailto:Hong.Zhang_at_Sun.COM]
Sent: Thursday, June 22, 2006 8:45 PM
To: users_at_glassfish.dev.java.net
Subject: Re: App Deployment Error
Hi, Jason
What's the difference between your dev box and prod box? Are they
using the same OS? If you undeploy the application, (restart server) and
deploy it again, do you see the same problem? And do you have other
applications deployed on the prod box for this Glassfish installation
and they all running ok?
Unfortunately, the stack trace in this case really doesn't tell us
much (this is one of areas we want to improve in 9.1). I suppose it's
not possible for you to provide your application for us to take a look?
One thing you could try is turn to log level of some sub components
(the bolded ones below) to "FINE" in the domain.xml (under
GF_INSTALL/domains/domain1/config, restart server after you modify) and
see whether server.log has any additional information.
<module-log-levels admin="INFO" classloader="INFO" cmp="INFO"
cmp-container="INFO" configuration="INFO" connector="INFO" corba="INFO"
deployment="INFO" ejb-container="INFO" group-management-service="INFO"
javamail="INFO" jaxr="INFO" jaxrpc="INFO" jdo="INFO" jms="INFO"
jta="INFO" jts="INFO" management-event="INFO" mdb-container="INFO"
naming="INFO" node-agent="INFO" resource-adapter="INFO" root="INFO"
saaj="INFO" security="INFO" self-management="INFO" server="INFO"
synchronization="INFO" util="INFO" verifier="INFO"
web-container="INFO"/>
- Hong
Jason Lee wrote:
I'm trying to deploy an .ear to Glassfish. This same ear
deploys and
runs on my dev box, but fails on the prod box (identical builds
of GF).
There are no known dependencies missing in production, but I
can't say
that for certain due to the vagueness of the error message.
Does this
make sense to anyone? Thanks a lot!
[#|2006-06-22T15:41:35.837-0500|FINE|sun-appserver-pe9.0|javax.enterpris
e.system.tools.admin|_ThreadID=50;_ThreadName=Thread-719;ClassName=com.s
un.enterprise.admin.server.core.DeploymentNotificationHelper;MethodName=
multicastEvent;No local string definednull No local
string
definedError while loading application [Oprah]. Please refer to
the
server log for more details.
com.sun.enterprise.admin.event.AdminEventListenerException:
Error while
loading application [Oprah]. Please refer to the server log for
more
details.
at
com.sun.enterprise.server.AbstractManager.registerException(AbstractMana
ger.java:550)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(Applica
tionManager.java:639)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDe
ployEventListener(AdminEventMulticaster.java:908)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDe
ployEvent(AdminEventMulticaster.java:892)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminE
ventMulticaster.java:445)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(Admi
nEventMulticaster.java:160)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multic
astEvent(DeploymentNotificationHelper.java:296)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEv
ent(DeploymentServiceUtils.java:203)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEv
ent(ServerDeploymentTarget.java:285)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(App
licationStartPhase.java:119)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(Deplo
ymentPhase.java:95)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(
PEDeploymentService.java:871)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploy
mentService.java:541)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploy
mentService.java:585)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(Applicatio
nsConfigMBean.java:719)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.j
ava:353)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.j
ava:336)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.j
ava:448)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.j
ava:213)
at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nServerInterceptor.java:815)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77
)
at $Proxy1.invoke(Unknown Source)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(Sunone
Interceptor.java:297)
at
com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplicat
ion(DeploymentClientUtils.java:133)
at
com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:
517)
at java.lang.Thread.run(Thread.java:595)
;_RequestID=92387fe8-74a3-4382-8b2e-54670ba01fe5;|ADM1043:Response of
instance on listening event:[No local string definednull
No
local string definedError while loading application [Oprah].
Please
refer to the server log for more details.
com.sun.enterprise.admin.event.AdminEventListenerException:
Error while
loading application [Oprah]. Please refer to the server log for
more
details.
at
com.sun.enterprise.server.AbstractManager.registerException(AbstractMana
ger.java:550)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(Applica
tionManager.java:639)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDe
ployEventListener(AdminEventMulticaster.java:908)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDe
ployEvent(AdminEventMulticaster.java:892)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminE
ventMulticaster.java:445)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(Admi
nEventMulticaster.java:160)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multic
astEvent(DeploymentNotificationHelper.java:296)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEv
ent(DeploymentServiceUtils.java:203)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEv
ent(ServerDeploymentTarget.java:285)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(App
licationStartPhase.java:119)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(Deplo
ymentPhase.java:95)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(
PEDeploymentService.java:871)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploy
mentService.java:541)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploy
mentService.java:585)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(Applicatio
nsConfigMBean.java:719)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.j
ava:353)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.j
ava:336)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.j
ava:448)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.j
ava:213)
at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nServerInterceptor.java:815)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77
)
at $Proxy1.invoke(Unknown Source)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(Sunone
Interceptor.java:297)
at
com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplicat
ion(DeploymentClientUtils.java:133)
at
com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:
517)
at java.lang.Thread.run(Thread.java:595)
--
Jason Lee
Programmer/Analyst
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail:
users-help_at_glassfish.dev.java.net