facebook

Case sensitivity with deployment on JBoss/Linux [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #204502 Reply

    Hi,

    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

    #204503 Reply

    Scott Anderson
    Participant

    Robert,

    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?

    #204504 Reply

    Scott,

    Thanks for your reply. Yes I was using packaged deployment and yes switching to exploded deployment is a good workaround.

    Thanks again.

    Robert

    #204505 Reply

    Scott Anderson
    Participant

    Robert,

    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.

    #204506 Reply

    Scott,

    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

    #208234 Reply

    Scott Anderson
    Participant

    This was fixed in 2.8 Beta 1

    #247515 Reply

    Intax
    Member

    Hello,

    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 Workbench

    Version: 4.1.0 GA
    Build id: 20060122-4.1-GA

    #248263 Reply

    Riyad Kalla
    Member

    Can 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.

    #248266 Reply

    Intax
    Member

    Hello,

    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 Workbench

    Version: 4.1.0 GA
    Build id: 20060122-4.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse 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

    #248273 Reply

    Riyad Kalla
    Member

    Very strange and you end up with TWO web inf dirs in your WAR file? What happens if you go unzip that file somewhere?

    #248280 Reply

    Intax
    Member

    When I unzip it on a Windows box, one (correct) WEB-INF is created.

    #248293 Reply

    Riyad Kalla
    Member

    Oh wait what are you using to view this WAR file? WinZip?

    #248294 Reply

    Intax
    Member

    Well, yes.

    #248297 Reply

    Riyad Kalla
    Member

    This 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?

    #248299 Reply

    Intax
    Member

    Well, 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

Viewing 15 posts - 1 through 15 (of 17 total)
Reply To: Case sensitivity with deployment on JBoss/Linux [Closed]

You must be logged in to post in the forum log in