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:

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
Please sign in to leave a comment.
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
Thanks for the response, Michael!

Unfortunately, when I tried to apply the changes you've mentioned I get an error during server startup:
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
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
Thank you!
Submitted IDEA-134078 for tracking.
Regards,
Dmitry