Mantis Bugtracker
  

Viewing Issue Advanced Details [ Jump to Notes ] [ View Simple ] [ Issue History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005818 [Resin] minor always 11-05-14 10:42 11-10-14 12:03
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution unable to reproduce Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.42 Product Version
  Product Build
Summary 0005818: IllegalStateException when using deploy command the first time
Description (rep by Nobuaki)

When I deployed a war file into Resin by deploy command at first time,
then IllegalStateException occurred and could not depoly a war file.

But second time I deployed a war file, it went well.
Please confirm attached files.

This problem doesn't occur, when I create %RESIN_HOME%/hosts/default beforehand.

So, I have to create %RESIN_HOME%/hosts/default beforehand ?



[14-11-04 18:04:53.858] {deploy@resin.caucho-41} java.lang.IllegalStateException
: JMX context EnvironmentClassLoader[host:default,STOPPED] has been closed.
                        at com.caucho.jmx.EnvironmentMBeanServer.createContext(E
nvironmentMBeanServer.java:101)
                        at com.caucho.jmx.MBeanContext.<init>(MBeanContext.java:
114)
                        at com.caucho.jmx.EnvironmentMBeanServer.createContext(E
nvironmentMBeanServer.java:107)
                        at com.caucho.jmx.Jmx.setContextProperties(Jmx.java:149)

                        at com.caucho.env.deploy.EnvironmentDeployController.con
figureInstance(EnvironmentDeployController.java:437)
                        at com.caucho.env.deploy.EnvironmentDeployController.con
figureInstance(EnvironmentDeployController.java:59)
                        at com.caucho.env.deploy.DeployController.startImpl(Depl
oyController.java:691)
                        at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.s
tartOnInit(StartAutoRedeployAutoStrategy.java:81)
                        at com.caucho.env.deploy.DeployController.startOnInit(De
ployController.java:545)
                        at com.caucho.env.deploy.DeployContainer.update(DeployCo
ntainer.java:246)
                        at com.caucho.env.deploy.ExpandDeployGenerator.update(Ex
pandDeployGenerator.java:641)
                        at com.caucho.env.deploy.ExpandDeployGenerator.updateIfM
odified(ExpandDeployGenerator.java:584)
                        at com.caucho.env.deploy.ExpandDeployGenerator.alarm(Exp
andDeployGenerator.java:940)
                        at com.caucho.env.deploy.ExpandDeployGenerator.onTagChan
ge(ExpandDeployGenerator.java:913)
                        at com.caucho.env.repository.AbstractRepository.onTagCha
nge(AbstractRepository.java:519)
                        at com.caucho.env.repository.AbstractRepository.onTagCha
nge(AbstractRepository.java:508)
                        at com.caucho.env.repository.AbstractRepository.notifyTa
gListeners(AbstractRepository.java:453)
                        at com.caucho.env.repository.AbstractRepository.setTagMa
p(AbstractRepository.java:433)
                        at com.caucho.env.repository.FileRepository.putTag(FileR
epository.java:105)
                        at com.caucho.server.deploy.DeployActor.putTag(DeployAct
or.java:289)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
hodAccessorImpl.java:57)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
atingMethodAccessorImpl.java:43)
                        at java.lang.reflect.Method.invoke(Method.java:606)
                        at com.caucho.bam.proxy.ProxySkeleton$QueryMethodInvoker
.invoke(ProxySkeleton.java:488)
                        at com.caucho.bam.proxy.ProxySkeleton.query(ProxySkeleto
n.java:248)
                        at com.caucho.bam.proxy.ProxyActor.query(ProxyActor.java
:117)
                        at com.caucho.bam.packet.Query.dispatch(Query.java:86)
                        at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProce
ssor.process(MultiworkerMailbox.java:408)
                        at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProce
ssor.process(MultiworkerMailbox.java:394)
                        at com.caucho.env.actor.ValueActorQueue$ValueItemProcess
or.process(ValueActorQueue.java:183)
                        at com.caucho.env.actor.ValueActorQueue$ValueItemProcess
or.process(ValueActorQueue.java:161)
                        at com.caucho.env.actor.ActorQueue$ActorConsumer.doConsu
me(ActorQueue.java:453)
                        at com.caucho.env.actor.ActorQueue$ActorConsumer.consume
All(ActorQueue.java:406)
                        at com.caucho.env.actor.ActorQueue$ActorConsumer.access$
300(ActorQueue.java:340)
                        at com.caucho.env.actor.ActorQueue$ActorWorker.runTask(A
ctorQueue.java:555)
                        at com.caucho.env.thread2.AbstractTaskWorker2.run(Abstra
ctTaskWorker2.java:240)
                        at com.caucho.env.thread2.ResinThread2.runTasks(ResinThr
ead2.java:173)
                        at com.caucho.env.thread2.ResinThread2.run(ResinThread2.
java:118)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006566)
ferg
11-10-14 12:03

server/6b0l

Test case covers situation as described. The test properly creates the directory hierarchy and deploys the new war file.
 

- Issue History
Date Modified Username Field Change
11-05-14 10:42 nam New Issue
11-05-14 10:43 nam Description Updated
11-10-14 12:03 ferg Note Added: 0006566
11-10-14 12:03 ferg Assigned To  => ferg
11-10-14 12:03 ferg Status new => closed
11-10-14 12:03 ferg Resolution open => unable to reproduce
11-10-14 12:03 ferg Fixed in Version  => 4.0.42


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker