facebook

multiple resin configurations

💡
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 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #274442 Reply

    refactor
    Member

    I see that you can have multiple weblogic configs. But, can you have multiple resin server configurations. We run resin as the primary app server and have several different web apps . I would like to run/debug these on separate appservers.

    If this is possible please give explicit instructions as I have tried and not been able to figure it out.

    thx
    dean

    #274444

    Loyal Water
    Member

    You can go to Windows > Preferences > MyEclipse > Application Server > Resin > Resin 2.x > Launch, hit Create Launch Configuration and create a custom launch configuration. But you will have to launch those from the Run or Debug menus, you won’t be able to use the Servers view or Server Dropdown from the toolbar to launch these custom configurations because that executes the default connector configuration and you have to use the custom launch configs that you created instead.

    #274457

    refactor
    Member

    so mabye i don’t get it. but here is the scenario. i have lets say 3 apps. I want 3 appserver instances, one where the home dir is c:/dev/apps/resin1 second c:dev/apps/resin2 etc When I follow the instructions you just gave it looks like I am messing around with my current single configuration in myeclipse, like I have to delete all usr lib refs cause they are pointing to the current config, i have to change all the paths cause they are pointing to the current config. Before i go an screw up my current configuration can you please explain to me what is going on there. All paths need to be changed and it will NOT afftect my current configuration?

    thx
    dean

    #274460

    refactor
    Member

    BTW, i am running restin 3.x

    #274504

    Riyad Kalla
    Member

    Dean,
    What the function “Create Custom Launch Configuration” does is takes a snapshot of the Default connector’s settings, and creates a run configuration for you under the Run/Debug menu.

    So for folks that have 3 setups in different dirs what they will do is config the Resin connector 3 times, hitting “Create Luanch Config” between each change to create a snapshot of *that* connector state.

    Also note that you will need to use a Custom Location deployment when you go to deploy your projects, because the deployment tool won’t have access to the custom launch configs, only the default connector config (which it sounds like you aren’t using).

    #274564

    refactor
    Member

    k thx
    i think i am getting there. but what a headache. this really needs to be addressed. it should be a very simple process from the servers deployment and it has been a bug for years. will this ever get fixed.

    thx
    dean

    #274598

    Riyad Kalla
    Member

    Dean,
    What specific enhancement do you have in mind? If you could enumerate a few here I can kick them back to the team for review.

    #274625

    refactor
    Member

    well
    all the servers should be listed in the servers window
    resin 1
    resin2
    resin 3

    i should be able to start and stop them differently

    right now I am experiencing some funky behavior that when i start the sever configured in the “servers” section and then start a server from the debug configuration, they both still run but if I stop the second server, stop debugging for instance, both instances go down. not to mention having to change the source views for the configurations etc.

    simply is a hack right now. really should be more robust to handle any number of servers in the application servers configuration as well the ability to shut down a debugging session without affecting any other severs.

    thx
    dean

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: multiple resin configurations

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