facebook

Problem deploying to Weblogic 7

💡
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 Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #252539 Reply

    rahulkothari
    Member

    Guys,

    I am having problems deploying the app. It never creates all the folders. Only WEB-INF and META_INF. I have my jsps directly under the project root and they never get copied. I have some jar files which never get copied to the lib folder either ?

    I have tried almost everything….can someone help ?

    Regards

    #252547

    Riyad Kalla
    Member

    99% of the time this happened you need to refresh the project from the root, we are working on improving this notification step because it’s so cryptic now. Just right click on the root of your project and do a “Refresh” then try and recreate the deployment.

    #252548

    rahulkothari
    Member

    I saw the “refresh” suggestion in your previous posts. But that doesnt help either. Any other suggestions….
    also i am not using ANT or CLEARCASE or CVS.

    #252554

    Riyad Kalla
    Member

    Hmm strange, is this a web project? If you right click on the project, go to properties, then go to MyEclipse-Web, tell me the two values in the two text boxes. If one of the text boxes is empty, that could be a problem.

    Also when you remove the deployment, does it remove successfully? Then when you recreate, does it recreate with a green check box successfully or does it immediately show “out of sync”?

    #252556

    Riyad Kalla
    Member

    Oh wait wait, you need to shut down the app server before you deploy, if you aren’t doing this your deployment will fail every time because of read locks on the files. You probably got a popup that says this if you tried to deploy to a running app server.

    #252604

    rahulkothari
    Member

    The two values in the text box are :
    WebRoot
    /webapp

    I have no read locks problem. i always shut down the server and the webapp gets removed properly too.

    #252613

    Riyad Kalla
    Member

    What about this part:

    Also when you remove the deployment, does it remove successfully? Then when you recreate, does it recreate with a green check box successfully or does it immediately show “out of sync”?

    #252615

    rahulkothari
    Member

    that part works fine too….

    #252619

    Riyad Kalla
    Member

    So it says it deploys fine and has a check mark next to it, but when you go into the deplioyed dir location it’s only 1/2 there? Check your log file for exceptions:
    <workspace dir>\.metadata\.log

    that should help us see if there is something obvious (maybe a troubled file) in there.

    #252673

    rahulkothari
    Member

    no buddy…nothing wrong in the logs either.

    #252683

    Riyad Kalla
    Member

    Please answer all of my questions, I still don’t completely understand what is happening based on what you said:

    So it says it deploys fine and has a check mark next to it, but when you go into the deplioyed dir location it’s only 1/2 there?

    If it is deploying fine once then not redeploying, that is different then never deploying correctly.

    #252780

    rahulkothari
    Member

    When i deploy it using the deployment button on myeclipse. I dialogue box says, succesfully deployed. It gets removed without any issues too. But after deploying. I look at the applications/mywebapp folder. There is only META-INF and WEB-INF inside it. My jsp pages which are in a folder directly under the “root”…. dont get copied.

    #252781

    Riyad Kalla
    Member

    If you create a new web project and copy over your project contents, then deploy that second one, does it work without any incidents?

    #252797

    rahulkothari
    Member

    same problem….only the stuff under WEBROOT gets copied into WEB-INF.

    #252807

    Riyad Kalla
    Member

    This is correct… everything under webroot gets deployed. Your complaints thus far have been that only the META-INF and WEB-INF dirs are getting deployed, am I to understand that this entire time everything under WEBROOT is getting deployed? That *is* what is suppose to happen… can you clarify what is not happening and what you expected to happen? Maybe I’m just misunderstanind gyou.

Viewing 15 posts - 1 through 15 (of 17 total)
Reply To: Problem deploying to Weblogic 7

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