Solved

change context root of .war file on glassfish

Posted on 2010-09-07
1
1,068 Views
Last Modified: 2013-11-23
Hello,

I have a .war file running on glassfish and no matter what configuration I change, I'm unable to get a permanent context root for the .war file.  If I change it in the admin console that change goes away after I restart the server.  Any ideas?
0
Comment
Question by:cgray1223
1 Comment
 
LVL 10

Accepted Solution

by:
Pramod Kumar earned 500 total points
ID: 33644732
once you deployed and changes of context. stop glassfish and rename or remove the WAR file. Now restarting of glassfish will not affect your context.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
web services creation SOAP vs REST 5 41
HashTable highest marks enumeration alternative 9 38
servlet filter example 37 63
spring jars download 1 27
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question