facebook

Web Application deployment on WLS 9.0

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #239548 Reply

    percewal
    Member

    Hi
    I made Dynamic Web Project. Add everythink like i allexamples and try to deploy ma simple application. I’ve noticed that in my working directory I have right structure (WEB-INF/classes/mycompany/struts/actions and …./forms and other compiled files). I made deployment thru myeclipse button (Deploy MyEclipse J2EE Project) and I dont have in my jar file this structure (nevertheless I deloy as war file or as a structure in my wls domain). Besides I dont have weblogic.xml file. I’m new in eclipse I watched flash examples but this examples doesn’t helped me – i know that I should do something more but I don’t know what (I use xdoclet of course).

    #239583

    Riyad Kalla
    Member

    percewal,
    I had a hard time following exactly what your are trying to do and what the problem is that youa re running into… did you check our extensive documentation here? http://www.myeclipseide.com/ContentExpress-display-ceid-67.html

    #239609

    percewal
    Member

    Yes I did, but maybe I go dipper inside this documentation…
    Thanks
    Chris

    #239618

    percewal
    Member

    I didn’t found nothink more in documentation that I know.
    Main problem is that I have right structure in my working directory:
    H:\eclipseworkspace\employers\.deployables\employers\WEB-INF\classes\mycompany\struts\… (all action/forms etc)
    but on serwer classes directory is empty:
    E:\bea9\user_projects\domains\base_domain\autodeploy\employers\WEB-INF\classes
    Can I reach build.xml ant file directly to fix deploy task manually?

    #239646

    Riyad Kalla
    Member

    Chris,
    I understand better what you are asking:

    H:\eclipseworkspace\employers\.deployables\employers\WEB-INF\classes\mycompany\struts\… (all action/forms etc)

    Did you create the .deployable directory? Why did you use a dot-name? These are typically hidden files/directories. If you open up your Project Properties > MyEclipse-Web preferences, what is your webroot set to?

    E:\bea9\user_projects\domains\base_domain\autodeploy\employers\WEB-INF\classes

    If you open up your Navigator View in Eclipse, and drill down to your classes dir in your PROJECT, do you see files there?

    #239961

    percewal
    Member

    .deployable directory was created by eclipse and inside this directory inside “classes” there is right directory structure. Problem is that deploy command dosen’t create this structure on serwer, in domain application directory.
    I go around and instead of Dynamic Web Project I made Enterprise Application Project and this application deploy correctly (it create right structure in clasess dir on serwer). I don’t know why but this is what I want (finally I want to create full application so my problem was resolved by creation of other type of project :)).

    Answering your second question – classes dir is empty in my project because I use default directory JavaSource for storing my class, but if dir H:\eclipseworkspace\employers\.deployables\employers\WEB-INF\classes\mycompany\struts\… has right classes so I thought that it will be the same on serwer (i think that you use in eclipse ant which copy from JavaSource to the right J2EE structure, and I think that it do this in half – does copy to temporary .deployables directory but doesn’t copy to server domain dir (E:\bea9\user_projects\domains\base_domain\autodeploy\employers\WEB-INF\classes). I’m not sure if you use ant inside – do you use? If yes, can I change build.xml file by myself?

    I don’t want to waste your time if I resolved my problem using other wizard project. I would by happy if you tell me if I have access to build.xml ant file, but maybe you use something else for creation application on server. (maybe you don’t use ant at all 🙂 and i think that you use because I use this technology for application creation :)))
    Thanks for help!

    #239974

    Riyad Kalla
    Member

    I’m not sure if you use ant inside – do you use? If yes, can I change build.xml file by myself?

    We don’t use Ant at this time, so there isn’t anything to change.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Web Application deployment on WLS 9.0

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