How to start local Resin 3.1.x with custom resin.conf from IDEA 14?

Hi All,

I used to start local Resin 3.1.12 server with my web app deployed from a command line (have small script that sets some VM params, Resin options and calls java -jar %RESIN_HOME%\lib\resin.jar). Now I am trying to move this configuration to the IDE and have some problems with picking up custom resin.conf that I specify via -conf <RELATIVE_PATH>\resin.conf command line option. I definitely missing some obvious thing, but I don't see which.

Here is more details on my config:

IDEA version: IU-139.658.4
Resin: 3.1(tm)
App: exploaded WAR file

Here is how config is done in IDEA:

resin_config_server_tab.jpg
resin_config_deployment_tab.jpg

After the server startup I see that custom configuration like cluster/server-default/jvm-arg are not picked up, so the startup fails.

Any recommendations how to debug this issue and which configuration could be missing?

Thanks in advance!
Dzmitry

4 comments
Comment actions Permalink
You should specify the path to your custom resin.conf in the application server dialog (opened with 'Configure...' button next to the 'Application server...' combobox in the run configuration), in the 'Default resin configuration file' field.
The field is the only place where you can choose the resin.conf file, the one specified with the '-conf' argument in the 'Additional Resin command line' run configuration field will be ignored.

Actually, I'm not sure if the application server dialog is the correct place to choose the resin configuration file, and the corresponding field should possibly be moved to the run configuration.
Please open the corresponding issue at https://youtrack.jetbrains.com/ it it makes sense.

Regards,  
Michael
0
Comment actions Permalink

Thanks for the response, Michael!

Unfortunately, when I tried to apply the changes you've mentioned I get an error during server startup:
resin_error.jpg
I am pretty sure that the config is valid, because I can start the server with the same config from command line. Any ideas how I can move forward? Should I submit a bug and upload some logs with debug enabled?

Thanks,
Dzmitry

0
Comment actions Permalink
Yes, please create youtrack.

The fastest way would be to attach your resin.conf (note that you may mark it as visible to IDEA developers only).
If it's not a option, at least attach IDEA log there

Regards,
Michael
0
Comment actions Permalink

Thank you!

Submitted IDEA-134078 for tracking.

Regards,
Dmitry

0

Please sign in to leave a comment.