Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse - JBoss Development problem((Why do I need to restart JBoss after any small changes in the code?))
Eclipse - JBoss Development problem [message #884569] Mon, 11 June 2012 11:22 Go to next message
Karoly Guba is currently offline Karoly GubaFriend
Messages: 4
Registered: January 2012
Junior Member
Hi!

I have installed the last version of Eclipse (Indigo sp2) and the last version of JBoss AS (7.1.1 Final). Installed JBoss server adapter. So I can start and stop JBoss from Eclipse. I created my first WebApp without any classes just one jsp file (index.jsp):

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
Hello World!!!
</body>
</html>



When I was launching this app for the first time, everything was ok and I have got "Hello World!!!" on the browser. BUT after that changes doesn't appears on the browser. For example if I chnge the index.jsp to:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
Hello World second time!!!
</body>
</html>



and I launch the application I get once "Hello World!!!" on the browser.
After restarting the JBoss AS and lautch the app I get the correct result: "Hello World second time!!!"


Why do I need to restart JBoss after any small changes in the code?

Thanks,
Karoly
Re: Eclipse - JBoss Development problem [message #884621 is a reply to message #884569] Mon, 11 June 2012 13:54 Go to previous messageGo to next message
Roberto Sanchez Herrera is currently offline Roberto Sanchez HerreraFriend
Messages: 36
Registered: January 2011
Member
Hello,
Are you using the internal browser from eclipse? Have you tried refreshing the page (press F5) after you run your page the second time? I've have seen this before, looks like the page stays in the browser's cache.
Re: Eclipse - JBoss Development problem [message #884953 is a reply to message #884621] Tue, 12 June 2012 06:56 Go to previous messageGo to next message
Karoly Guba is currently offline Karoly GubaFriend
Messages: 4
Registered: January 2012
Junior Member
Hi!

I have using internal browser, but I was try with external browser (firefox) but the result is the same. Yes I have refreshed the browser, but still see the old content.

How did you resolve your problem ("I've have seen this before, looks like the page stays in the browser's cache")?

Thanks
Re: Eclipse - JBoss Development problem [message #886603 is a reply to message #884953] Fri, 15 June 2012 09:06 Go to previous message
Wolfgang Knauf is currently offline Wolfgang KnaufFriend
Messages: 63
Registered: July 2009
Member
Hi,

which JBoss server adapter do you mean? Probably the one at
http://www.jboss.org/tools ? If this is true, you might ask the question
there.

Is your web app deployed as WAR file or exploded? Did you check whether
the files in the JBoss deploy directory are correctly updated? Maybe
JBoss does not pick the change, maybe JBossTools does not deploy
modified content correctly...

Best regards

Wolfgang


Am 12.06.2012 08:56, schrieb Karoly Guba:
> Hi!
>
> I have using internal browser, but I was try with external browser
> (firefox) but the result is the same. Yes I have refreshed the browser,
> but still see the old content.
>
> How did you resolve your problem ("I've have seen this before, looks
> like the page stays in the browser's cache")?
>
> Thanks
Previous Topic:JavaScript Formatter
Next Topic:Adding jar in Deployment Assembly
Goto Forum:
  


Current Time: Fri Apr 26 04:26:11 GMT 2024

Powered by FUDForum. Page generated in 0.03267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top