facebook

exploded deployment doesn’t work on Windows 7

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #311773 Reply

    giometeor
    Member

    We moved our application environment from Windows XP to Windows 7/64. Now the exploded deployment of our application doesn’t work.

    We have an web-application using ejb3-modules for database communication. Here we use hibernate 3.1.
    We try to deploy the app directrly from myeclipse. If we deploy the app in packaged mode everything is well working. But when we switch to exploded mode we get following error:

    JPAPUnitInfo E CWWJP0009E: Der Server kann keine Factory des Typs EntityManangerFactory für die persistente Einheit SFRKunden über den Provider org.hibernate.ejb.HibernatePersistence im Modul file:/C:/Program Files (x86)/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/dev-kwNode01Cell/InvestInformEar.ear/MandantenVerwaltung.jar/ erstellen.

    WE use:

    MyEclispe 8.5
    Windows: Windows 7 64bit
    Appserver: WebSphere 6.0.0.27

    #311798 Reply

    giometeor,
    Can you try the workaround given in the link below –
    http://www.ibm.com/developerworks/forums/thread.jspa?threadID=234032

    Let me know how that works for you.

    #311965 Reply

    giometeor
    Member

    Shalin
    thanks for your help.
    I did not find the solution in your link. But in the end the solution to my problem was simple:

    The problem was the installation path of WebSphere on Wiondows 7. Before I had WebSphere installed to

     C:/Program Files (x86)/IBM

    Now I installed WebSphere (and MyExclipse) to Paths without Program Files (x86)

    C:/IBM

    and

    C:/MyEclipse

    Now everything is working.

    I heared something about Windows 7 behaviour: It will link writing access to directories inside Program Files to user specific directories. Maybe WebSphere originally working with a system account and MyEclipse working with my user account were confused when working together…

    Cheers,

    giometeor

    #311975 Reply

    giometeor,
    Good to know that it is working and thank you for sharing your findings.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: exploded deployment doesn’t work on Windows 7

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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