Questions tagged [redeploy]
60 questions
21
votes
7 answers
Tomcat on production server, PermGen and redeploys
It looks like
MemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
is a common problem. You can Increase the size of your perm space, but after 100 or 200 redeploys it will be full. Tracking ClassLoader memory leaks is nearly…

Piotr Gwiazda
- 12,080
- 13
- 60
- 91
19
votes
2 answers
What is the difference between "Redeploy" and "Restart Server" in IntelliJ?
I'm using IntelliJ with Tomcat 6 to run a Spring Java EE application. Rather than deploying the compiled war, I have opted to use the exploded war deployment, thus giving me the option to hotswap some classes and JSPs.
However, aside from the…

noisebelt
- 940
- 2
- 9
- 20
10
votes
1 answer
howto: elastic beanstalk + deploy docker + graceful shutdown
Hi great people of stackoverflow,
Were hosting a docker container on EB with an nodejs based code running on it.
When redeploying our docker container we'd like the old one to do a graceful shutdown.
I've found help & guides on how our code could…

samz
- 1,592
- 3
- 21
- 37
10
votes
3 answers
Update logback configuratioin without redeploy
Idea is to make an ability to change logback configuration without redeploy.
Slf4j and logback are used in project. logback.xml file is in ear, but it reads some properties from property file, which is placed out of ear.
Something like…

error1009
- 151
- 2
- 9
9
votes
4 answers
How to update a running asp.net core application on Windows?
I have a Asp.Net Core MVC application running on Windows Server 2008 R2 with IIS. But every time I update this application, I need to manually stop the applicationPool in IIS, and restart the applicationPool after I finish updating the app.…

John
- 716
- 1
- 7
- 24
8
votes
0 answers
JBoss redeploy gives NameNotFoundException: ORB not bound
I'm running JBoss 6.1.0.Final on a Windows 7 desktop.
When I do a redeploy of my ear I always get a stack like this;
16:23:32,560 WARN [org.jboss.kernel.plugins.dependency.StartStopLifecycleAction] Error during stop for…

Jan Gifvars
- 111
- 2
- 8
5
votes
2 answers
Is it necessary to restart tomcat when redeploy a war?
I know Tomcat can reload the .war file when redeploy it, I don't need to kill the Tomcat process and restart it. I can remove the .war, wait for Tomcat to undeploy it, and copy the new .war to the web path. But, after many times of trivial update…

acerphenix
- 313
- 3
- 6
5
votes
3 answers
Gracefully stop Logback in container environment
Today I get PermGen OutOfMemory error.
Analysis shown that Nearest GC Root for WebappClassLoader is Logback thread:
this - value: org.apache.catalina.loader.WebappClassLoader #4
<- contextClassLoader (thread object) - class:…

gavenkoa
- 45,285
- 19
- 251
- 303
4
votes
1 answer
Change web.xml after deployment
Is it advisable to change web.xml (or, in fact, any other file) in app server after the deployment? Do ALL app servers expose their deployment/directory structure?
I would prefer making changes locally, re-building the war (or .ear, etc.), and…

Sudhanshu Umalkar
- 4,174
- 1
- 23
- 33
3
votes
1 answer
Is it possible to redeploy app on remote weblogic without restarting server?
I have weblogic 12.4.2 running inside Linux and my development environment is in Windows.
Currently, if I want to redeploy the app, I do maven clean install and login in to Linux with ssh client, kill process of weblogic, copy my jar files into…

hamidreza75
- 567
- 6
- 15
3
votes
3 answers
Why does Keycloak keep redeploying the same .jar file?
I have a custom SPI javascript provider, packaged in the .jar file, as described in the official Keycloak docs.
For the local development, I'm using jboss/keycloak docker image via docker-compose file with the volume mapping to the…

st.lovas
- 81
- 7
3
votes
0 answers
Eclipse does not run incremental build
I am using Eclipse Galileo, JRebel for hot deploy and JBoss 5.1.x as application server. Recently Eclipse is started behaving weird, may be after switching to a new workspace(only difference is from branch to trunk).
Previously whenever I make a…

bkrish
- 627
- 1
- 11
- 23
2
votes
1 answer
Postgres and Docker redeploy on file change
I am creating a web application using Java/Postgres/Docker/Gradle.
My project is set up like this:
There is a db container and an application container. The app container just runs a plain jar file. The jar file is added using a volume from the host…

Andrew Cahill
- 95
- 7
2
votes
0 answers
Class cast exception when deploying EAR using Spring in Glassfish
When redeploying an EAR (with no code changes made) to a Glassfish server (v3) without restarting Glassfish first, I get a ClassCastException when trying to instantiate a bean from the Spring container.
I understand that a class definition is a…

insano10
- 113
- 2
- 6
2
votes
0 answers
Web Logic 9.2 redployment issues
So, After a lot of R&D I've still not been able to find a fix to my issue. I'm working on an enterprise app. It's using WebLogic 9.2, ANT and JDK 1.5.
The issue: "weblogic.Deployer$DeployerException:…

CalmestChaos
- 21
- 5