Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » IllegalValueException in web.xml with variable
IllegalValueException in web.xml with variable [message #1806727] Tue, 14 May 2019 12:51 Go to next message
David Rogers is currently offline David RogersFriend
Messages: 2
Registered: May 2019
Junior Member
I asked this in another part of the forum but I think this may have been wrong. The error had EMF in it so I posted there but when thinking about it I think its the wrong place.

I get and error in Eclipse from time to time that says:
An internal error occurred during: "Loading descriptor for p_war.".
org.eclipse.emf.ecore.xmi.IllegalValueException: Value '${p.web.cookies.ssl:true}' is not legal. 


It seems to happen whenever I build this particular war or if I run maven update.

Relevant part of my web.xml:
	<session-config>
		<session-timeout>30</session-timeout>
		<cookie-config>
			<http-only>true</http-only>
			<secure>${pap.web.cookies.ssl:true}</secure>
		</cookie-config>
		<tracking-mode>COOKIE</tracking-mode>
	</session-config>

I'm running this on JBoss EAP 6.4 and it does work, both locally (Windows) and on my linux server. The only problem is that Eclipse keep spamming me with errors.
I have disabled xml validation in my workspace.

I'm running Eclipse 2018-09 (4.9.0)


I do not have access to the internet from the environment that is running Eclipse. This have caused problems before but I have found workarounds.

Essentially, everything is working but Eclipse keeps giving me errors. I just want to get rid of these errors.
Re: IllegalValueException in web.xml with variable [message #1806784 is a reply to message #1806727] Wed, 15 May 2019 07:21 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30314
Registered: July 2009
Senior Member
As I mentioned in the EMF forum, please share a stack trace so we can see where this comes from.
Previous Topic:Is it possible to auto generate a source or header file?
Next Topic:Highlighting with multiple conditions in a cross tab
Goto Forum:
  


Current Time: Tue Jul 23 02:33:45 GMT 2019

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

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

Back to the top