2

I'm trying to use IntelliJ to deploy exploded wars to JBoss 4.2.3. I seem to have no problem with doing this with 5.0.1.

But when I switch the server to 4.2.3, IntelliJ tells me that the extension for the exploded war is invalid, which makes very little sense, given that it is an exploded war. It seems to be expecting a .war file extension.

It seems that JBoss 4.2.3 can only take compressed war files, though I haven't found documentation to prove it.

Is there a way to configure JBoss 4.2.3 to accept exploded wars?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Eric
  • 1,023
  • 1
  • 15
  • 27
  • 1
    JBoss 4 will accept exploded WAR directories just fine. It seems to be IntelliJ at fault here. Try giving the directory name the .war extension. – skaffman Feb 16 '12 at 10:11
  • JBoss 5.0.1 doesn't require that....why does JBoss 4? – Eric Feb 16 '12 at 10:23

1 Answers1

7

JBoss 4.x requires the exploded directory to have .war in the end of its name, adjust IDEA artifact settings and it will work fine.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904