facebook

Configuring Oracle and JBoss and My Eclipse overall

  1. MyEclipse Archived
  2.  > 
  3. Old Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #196383 Reply

    Wayne Kidd
    Member

    First, Overall configuration:
    If I have 2 workspaces in my environment and then install MyEclipse, one of them is never properly configured (and apparently can’t be). The Winddows->Preferences stuff is there, but there is no MyEclipse menu or toolbar entry and there is no launcher button.

    Next: JBoss and Oracle
    Creating a web project for standalone Ovacle (OC4J) has an assumed structure that is different from JBoss (at least). The project template from J2EE in Myeclipse should be on the Server level (in my opinion) since the various app servers have such widely varying forms. In addition, since at least JBoss (and probably WebLogic and WebSphere as well) require additional xml files required to deploy to those environments, the templates should include those items in the structure (including empty defaults with appropriate dtd – at least referenced).

    Next:
    Shutdown does not work for Oracle. I can do it with admin.jar (so it is not horrible), but it is annoying to have to do it. both userid and password are required to propeerly shutdown using admin.jar from Oracle. The problem is that the hanging server instance for a new user makes the software look amateurish.

    Finally:
    Even if this stuff can’t get in to the upcoming release, someone should spend a couple of hours writing something beyond the tiny bit that is written here. There is virtually nothing written about Oracle.

    #196386 Reply

    Scott Anderson
    Participant

    The Winddows->Preferences stuff is there, but there is no MyEclipse menu or toolbar entry and there is no launcher button.

    If you’ve already customized the Java perspective, Eclipse won’t respect our code’s request to add the MyEclipse menu items. You can add them manually by selecting all the MyEclipse options under Window->Customize Perspective->Other->MyEclipse*.

    Creating a web project for standalone Ovacle (OC4J) has an assumed structure that is different from JBoss (at least). The project template from J2EE in Myeclipse should be on the Server level (in my opinion) since the various app servers have such widely varying forms.

    Actually, the forms don’t vary that much. They all support WAR, EJB jar, and EAR formats in either an exploded or archive form. JBoss is odd because it expects that exploded directories are suffixed with a .war or .ear or whatever. However, we have compensated for this in the next release of Enterprise Workbench, which will be available on 6/23. As far as custom descriptors go, we are rapidly moving in the direction of creating basic server-specific descriptors. At present, this would best be handled as an enhancement request since we’ll already honor any custom descriptors that you’ve written.

    Shutdown does not work for Oracle. I can do it with admin.jar (so it is not horrible), but it is annoying to have to do it. both userid and password are required to propeerly shutdown using admin.jar from Oracle.

    True. And the userid of ‘admin’ and the password you set in the configuration dialog are passed to Oracle for shutdown. This works quite well in the default installation configuration. I assume you set a different administrator account than the default? Would you like to propose an enhancement request that we also allow configuration of the admin account user name?

    Even if this stuff can’t get in to the upcoming release, someone should spend a couple of hours writing something beyond the tiny bit that is written here. There is virtually nothing written about Oracle.

    We certainly agree. However, since the software is in an Early Adopter release state, the documentation is very incomplete since we’ve concentrated on features over documentation at this pont. Documentation will be one of the areas of concentration between EA2 and GA. By the way, if you’d like to help out and write an Oracle tutorial, we’d be more than happy to incorporate it into the documentation. Our consulting practice doesn’t use Oracle 9i/AS that much so a tutorial from an expert would really be useful.

    –Scott
    MyEclipse Support

    #196387 Reply

    Wayne Kidd
    Member

    @scott wrote:

    The Winddows->Preferences stuff is there, but there is no MyEclipse menu or toolbar entry and there is no launcher button.

    If you’ve already customized the Java perspective, Eclipse won’t respect our code’s request to add the MyEclipse menu items. You can add them manually by selecting all the MyEclipse options under Window->Customize Perspective->Other->MyEclipse*.

    Actually, I found a post about this and was able to use the post after I submitted this message. If someone could put this stuff in a searchable place, you would not have to answer it multiple times.

    Creating a web project for standalone Ovacle (OC4J) has an assumed structure that is different from JBoss (at least). The project template from J2EE in Myeclipse should be on the Server level (in my opinion) since the various app servers have such widely varying forms.

    Actually, the forms don’t vary that much. They all support WAR, EJB jar, and EAR formats in either an exploded or archive form. JBoss is odd because it expects that exploded directories are suffixed with a .war or .ear or whatever. However, we have compensated for this in the next release of Enterprise Workbench, which will be available on 6/23. As far as custom descriptors go, we are rapidly moving in the direction of creating basic server-specific descriptors. At present, this would best be handled as an enhancement request since we’ll already honor any custom descriptors that you’ve written.

    Oracle wants an application.xml file in a META-INF at the top of the project. It seems that JBoss is quite insistent on its jboss-xxx.xml (Oracle does not have that sort of thing). My real goal is to have a project that I can decide to test and deploy to multiple servers. I think the spec is close to that kind of capability. This kind of capability would put myeclipse head and shoulders above any other J2EE environment. I will put something in enhancement request.

    Shutdown does not work for Oracle. I can do it with admin.jar (so it is not horrible), but it is annoying to have to do it. both userid and password are required to propeerly shutdown using admin.jar from Oracle.

    True. And the userid of ‘admin’ and the password you set in the configuration dialog are passed to Oracle for shutdown. This works quite well in the default installation configuration. I assume you set a different administrator account than the default? Would you like to propose an enhancement request that we also allow configuration of the admin account user name?

    I did not change the account from admin. It just did not work. When I could not make it work, I did change the password to something (the default in the Oracle download is “” and so I actually put something there and set it in the server dialog in myecliipse, but to no avail.

    Even if this stuff can’t get in to the upcoming release, someone should spend a couple of hours writing something beyond the tiny bit that is written here. There is virtually nothing written about Oracle.

    We certainly agree. However, since the software is in an Early Adopter release state, the documentation is very incomplete since we’ve concentrated on features over documentation at this pont. Documentation will be one of the areas of concentration between EA2 and GA. By the way, if you’d like to help out and write an Oracle tutorial, we’d be more than happy to incorporate it into the documentation. Our consulting practice doesn’t use Oracle 9i/AS that much so a tutorial from an expert would really be useful.

    –Scott
    MyEclipse Support

    I certainly do not, by these comments, mean to denigrate the effort you have put in here. I am very pleased and encouraged. This is a fine piece of work that IBM or Oracle or BEA would charge thousands for with much less capability (especially for multiple deployments). Thank you for this effort and for its afforability.

    Wayne

    #196388 Reply

    Scott Anderson
    Participant

    Wayne,

    Actually, I found a post about this and was able to use the post after I submitted this message.

    Good to hear you’re up and running.

    If someone could put this stuff in a searchable place, you would not have to answer it multiple times.

    Acutally, the forums are searchable and there is a link labeled ‘Search’ just stays just above the forum title / or message title, depending on which level you’re looking at. In any event, it’s below the main “link bar” whenever you’re in the Forums area.

    Oracle wants an application.xml file in a META-INF at the top of the project. It seems that JBoss is quite insistent on its jboss-xxx.xml (Oracle does not have that sort of thing). My real goal is to have a project that I can decide to test and deploy to multiple servers.

    All the application servers, JBoss included, support application.xml and the other required J2EE descriptors. In addition, all of them (including Orion / Oracle 9iAS) have a set of server specific descriptors where you can specify all the stuff that the spec was too naive to include. Little things like what JNDI names you want your EJB’s to have, etc. 🙂 Fortunately, the names for these server-specific files don’t seem to collide with each other from vendor to vendor so you can have them all in one project and the server you deploy on will only read the standard descriptors plus the ones for that server. The rest are ignored.

    I did not change the account from admin. It just did not work.

    On my current build, which will be released as EA2 on Monday, it’s working well. I did notice a couple bugs that have been logged and fixed against the Oracle connector, but nothing related to shutdown. What I’d like to suggest is that you download EA2 next week and see if the problem persists with the new build. If so, we’ll investigate further.

    I am very pleased and encouraged. This is a fine piece of work that IBM or Oracle or BEA would charge thousands for with much less capability (especially for multiple deployments). Thank you for this effort and for its afforability.

    I quoted this mainly because I liked to read it so I wanted it to show up in two message. 😉 Seriously though, you’re welcome and thanks for your interest and improvement suggestions. You’ll see that we’re very serious about our feature set being customer-driven in the upcoming releases.

    –Scott
    MyEclipse Support

    #209070 Reply

    Anonymous
    Member

    how to configurate websphere, oracle, struts, J2ee. thank you all

    #209071 Reply

    Anonymous
    Member

    how to configurate websphere, oracle, struts, J2ee. thank you all

    #276187 Reply

    amir55
    Participant

    This message has not been recovered.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Configuring Oracle and JBoss and My Eclipse overall

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