facebook

Problems deploying to Oracle 9iAS [Closed]

💡
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 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #197583

    drewmca
    Member

    It doesn’t appear to be working. The setting you mention is definitely checked; I confirmed it in preferences and I know my Java files recompile after every edit. Unfortunately, I don’t see any change when editing a file without redeploying. The file in question is a velocity file (.vm). I’ve confirmed this on Oracle, Tomcat 4, and Tomcat 5.

    I also just confirmed the problem exists with a jsp file, too.

    Let me know if you need more information.

    #197589

    support-michael
    Keymaster

    Q1: are you running MyEclipse version 2.5.1? We addressed several deployment quirks in that release (july 28).

    Q2: Can you check your error log for a stacktrace just after saving the offending JSP or Velocity script of your deployed project? See the folder <workspace>/.metadata/. The file name will end with extension “.log”.

    Q3: Also, do you have any other deployed projects using exploded format that are working properly or have the same behavior?

    Michael
    MyEclipse Support

    #197641

    drewmca
    Member

    Q1: Yes, according to the about box. 2.5.1 on everything.
    Q2: There are no stack traces related to this in the .log file. The only stack trace is for a “ObjectCollectedException” related to what looks like something else. I also see status messages from other plugins that I used prior to connecting, and so I can tell that nothing has been generated since (I stopped using the plugin before hooking back in to MyEclipse). Also, it’s not just jsp and vm files; it’s any kind of file that I update. I frequently update config files during development and it would be helpful if their update caused them to be reloaded (like with Sysdeo’s Tomcat plugin).
    Q3: I don’t have this working with any projects successfully. Something to consider is that the project in question was not originally a MyEclipse project, but rather had MyEclipse settings set once I installed myeclipse and started using it.

    Thanks and by the way your support is pretty responsive. You’ll be getting my $30 tomorrow. Keep up the good work!

    #197644

    support-michael
    Keymaster

    Sounds like incremental deployment is kaput for your instance. Can you do me a favor and send us a copy of the .project file for the project you are working with? Send to support@genuitec.com Also please specify any other plugins current installed in your Eclipse instance or that may have been used on this project prior to enabling it for MyEclipse usage. This will be helpful to isolate the incremental deployment problem.

    What is interesting is that incremental deployment is driven off of the resource change events and a special builder. Something in your Eclipse/MyEclipse instance is disabling this following the execution of the JavaBuilder. Another developer experienced a similar problem. The resolution in his case was to reinstall Eclipse followed by MyEclipse to remove old plugins that seemed to have disabled incremental deployment of all MyEclipse projects. I’m not recommending this yet (but getting close).

    Thanks for subscribing. It’s great to have you aboard.

    Michael
    MyEclipse Support

    #197650

    drewmca
    Member

    Just got my license in the mail. Good to be aboard.

    I’ll send the project file shortly. One thing that may be worth considering is that I had been running the Sysdeo Tomcat plugin on that project prior to my MyEclipse install. I notice that it also picks up on changes but I’m not sure if it involves a builder or not. I know that it reads the files from your project directory so either it’s using the reload features of Tomcat or it has some sort of builder. Just thought I’d make a note of it before sending the project file.

    Other plugins that I can think of are the Velocity plugin and XML Buddy. Beyond that, nothing that doesn’t come with eclipse.

    In an unrelated question, does MyEclipse play nicely with Eclipse 3.0?

    #197651

    support-michael
    Keymaster

    Thanks for the feedback on other plugins. Later today I’ll try a couple of experiments with these plugins and MyEclipse.

    In an unrelated question, does MyEclipse play nicely with Eclipse 3.0

    Presently MyEclipse does not support Eclipse 3.0 milestone builds. Hallmarks that we are striving to establish are product reliability and quality support. Supporting M-builds puts both of these at risk and management is not ready to risk either of these this early in the game. Having said that, being a customer driven product, if demand for Eclipse M-builds is significant you can bet they will be supported.

    Michael
    Just a MyEclipse Support Guy 🙂

    #197671

    drewmca
    Member

    PROBLEM SOLVED. What you said about my project having issues made me think of creating a new project. I kind of needed to anyway to reorganize some code so I created a new MyEclipse project from scratch and just moved the code into it. Everything seems to be working great now. I had another problem with jsp tag classes not loading and that’s resolved, too. The great thing is the incremental deployment. It works so much better than I thought it would. I was expecting something like Sysdeo’s Tomcat plugin, which detects changes and reloads the context. Now, I can make changes and see the results instantly without waiting for a reload. I’ve proved it by playing with logging code, and it even works when dependent jars are updated too. Thanks VERY much for this feature, as it will make me life about 100x easier.

    #197675

    support-michael
    Keymaster

    This is great news. I’m glad you find the incremental exploded deployment feature useful. Sync-on-Demand is what we call it and we will be expanding deployment to support dependent projects in an upcoming release. Help us spread the word about MyEclipse.

    Michael
    MyEclipse Support

    #197755

    hbomb
    Member

    Hi there,

    Before I get into my question I just wanted to say that this is a really cool tool and I look forward to using it exclusively.

    Ok, back to business now 🙂 . I am trying to deploy a Enterprise Project containing a web module to Orion 2.0.2.

    Starting up Orion works fine but I can’t seem to find the deployed project. I notice that it’s in the application-autodeploy folder but I can’t get at it in my browser. I noticed the previous post about modifying server.xml. and was wondering if needed to modify this as well in order to get it to work. I got the impression that the workbench did it all for me and all I had to do was
    type in the URL and voila.

    Thanks in advance

    -Hector

    #197762

    Scott Anderson
    Participant

    Hector,

    Good question. MyEclipse doesn’t modify any server configuration files by design. We just don’t want to risk messing up some advanced user’s configuration. Given that, we rely on the server being configured properly for autodeployment, during the installation process by the user. It sounds like your Orion instance has not been configured to allow automatic deployment of applications. Please check the server’s sever.xml file and make sure it contains lines similar to the following:

    
    <application-server application-directory="../applications"
     application-auto-deploy-directory="../application-autodeploy"
     deployment-directory="../application-deployments"
    >
    

    It’s the application-auto-deploy-directory setting that you’re probably missing. It’s a simple one-time configuration. Once you add it and restart the server you should be able to access your application as you expected.

    –Scott
    MyEclipse Support

    #197783

    hbomb
    Member

    Hi Scott,

    Thanks again for the reply. You were right about the

    application-auto-deploy-directory attribute. I did not have it
    enabled. I changed my server.xml file and tried it again as an exploded
    archive and then started up Orion. I had the same result as before which is that I could not locate it in my browser. Is there something I’m missing?

    I then tried it as a packaged archive and it worked. I was able to locate the app no problem.

    Is packaged archive the only option available with Orion and will I still be able to debug Servlet classes and say Struts Action classes with a packaged archive deployment?

    If so, then I can definitely live without the exploded archive option.

    Thanks again

    -Hector

    #197787

    support-michael
    Keymaster

    Let me answer the latter half of your question and that is YES you can debug Java resources such as Struts Actions in an application that is deployed in packaged archive mode.

    Scott will address your exploded deployment issue shortly.

    Michael
    MyEclipse Support

    #197794

    Scott Anderson
    Participant

    Hector,

    Is packaged archive the only option available with Orion?

    Yes, it is for items loaded from its auto-deploy directory in its default configuration. In fact, it’s more limiting than that; it only will auto-deploy EAR’s, not WAR’s. While you can make Orion deploy exploded formats, you must hand-edit some of its other configuration files to do so.

    However, even when using archive deployment, Java debugging and hotswap capabilities are available to you.

    –Scott
    MyEclipse Support

    #236556

    jkurtz_wa
    Member

    Can any one point me to some example programs using Oracle AS with MyEclipse? The exisiting ones for JBoss are great, but have to use Oracle AS. Even some cross referencing would be helpful.

Viewing 14 posts - 16 through 29 (of 29 total)
Reply To: Problems deploying to Oracle 9iAS [Closed]

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