- This topic has 16 replies, 4 voices, and was last updated 18 years, 8 months ago by Intax.
-
AuthorPosts
-
Robert DavidsonMemberHi,
I’m having a small problem with deployment of an EAR to JBoss on Linux. Viewing the contents of the EAR, I can see that folders like meta-inf and web-inf exist in both upper and lower case despite the fact that inside the IDE, the folders only exist in upper case. When JBoss deploys the archive (on Linux) the META-INF/application.xml file can’t be found because it exists in meta-inf/application.xml.
Am I doing something wrong and if not is there a way to correct it?
Thanks,
Robert
– System Setup ——————————-
Operating System and version: IDE: Win2k SP4, Server: RedHat Fedora
Eclipse version: 2.1.2
Eclipse build id: 200311030802
Fresh Eclipse install (y/n): yes
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 7
MyEclipse version: 2.7.0 GA
Eclipse JDK version: 1.4.2
Application Server JDK version: 1.4.2
Are there any exceptions in the Eclipse log file? None relevant
Scott AndersonParticipantRobert,
We’ll have to look into this further. In the meantime, I assume you’re using packaged deployment from you post. Have you tried using exploded deployment instead? Does that correct the issue?
Robert DavidsonMemberScott,
Thanks for your reply. Yes I was using packaged deployment and yes switching to exploded deployment is a good workaround.
Thanks again.
Robert
Scott AndersonParticipantRobert,
Sorry about that; we’ll get it in the very next update. Upon further investigation this is a bug in the packaged deployer that will most likely stop packaged deployment on systems with case-sensitive fine systems (read: all but windows) from working properly. The workaround is to use exploded deployment until the next patch release.
Robert DavidsonMemberScott,
Thanks again for your help and the quick attention. I really like the product and the business model and wish you and your team every success.
Robert
Scott AndersonParticipantThis was fixed in 2.8 Beta 1
IntaxMemberHello,
I have the very same problem with a web application – the war file contains both WEB-INF (includes directories) and web-inf (includes files). In this case Tomcat cannot deploy the application from the war file. I think there was no such problem in eariler versions (4.0). This problem does not affect the exploded deployment.
Pavel Rybnicek
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_03*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.0 GA
Build id: 20060122-4.1-GA
Riyad KallaMemberCan you paste the result of MyEclipse > About > Configuration Summary for me please?
Also please describe how you are creating the WAR and also tell me what kind of project this is, is a plain Web Project? Java Project? And what is the layout of it.
IntaxMemberHello,
the WAR file is created as a standard packaged deploy to Tomcat 5 server. I use the Web Project with JSF and Hibernate capabilities. The project design is standard – folders “src” and “WebRoot”
my Configuration summary is appended
Pavel Rybnicek
*** Date: Fri Mar 10 16:05:45 CET 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_03*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.0 GA
Build id: 20060122-4.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.0
Build id: I20050627-1435Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Documents and Settings\rp\Plocha\eclipse_31_My\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
e94_2c
-vm
C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\javaw.exe
Riyad KallaMemberVery strange and you end up with TWO web inf dirs in your WAR file? What happens if you go unzip that file somewhere?
IntaxMemberWhen I unzip it on a Windows box, one (correct) WEB-INF is created.
Riyad KallaMemberOh wait what are you using to view this WAR file? WinZip?
IntaxMemberWell, yes.
Riyad KallaMemberThis was covered over ayear ago with the original report of this (maybe in another thread) that WinZip specifically has a setting for optimization that is turned on where it doesn’t consider the case of the directory and that is why it “looks” like it has two WEB-INF directories but it doesn’t. Just use the jar command line utility to list the contents of the WAR, it’s likely fine. The real issue could be something else.
If you check out your project on Linux, what does it look like? Are the directories the correct case?
IntaxMemberWell, I checked it on a AIX machine and it looks correct, sorry about that.
Anyway, when I deploy the application to the Windows 2000 machine, it’s unable to unpack the war and ends with “web.xml” not found or something (I can’t check it now). When I unpack it manually, it works fine. I don’t have this problem with my Windows XP. Any idea?
Thanks
Pavel -
AuthorPosts