Resin plugin for IntelliJ Ultimate- where is conf folder - intellij-idea

I just installed Resin plugin for IntelliJ, but I couldn't set the configuration correctly.
Running Resin separately has worked for my application. Here's what I did to configure Resin (the standalone application)
Download http://www.caucho.com/download/resin-pro-3.1.12.zip
Copy some conf files to C:\resin-pro-3.1.12\conf
I figured the reason why my IntelliJ's Resin plugin doesn't behave as expected is because I haven't put my conf files into conf folder. But, I don't know where conf folder is located for Resin plugin for IntelliJ

Actually, just go to Run > Edit Configurations.. > Resin > Configure.. and select default resin configuration file

Related

Installing stackify in linux

The installation guide of Stackify states that we have to modify the catalina.sh of tomcat file to add the java agent. But in a spring-boot app, where can I find the tomcat location to modify the file.
I changed the application.properties file to set the custom location for tomcat by setting server.tomcat.basedir.
How can I change the catalina.sh file now?
Should be able to do the command cd $CATALINA_HOME/bin to get to the folder that contains the catalina.sh. After that you can add CATALINA_OPTS="$CATALINA_OPTS -javaagent:enter_path_stackify_apm_jar" to it.

How to load config xml for apache Ignite from resources

In my java project, I have config.xml in the
java/main/resources
folder. How do I load it so apache ignite can pick it up?
Ignition.start("config.xml");
You should put the file in java/main/resources/META-INF folder. In this case it will be picked up automatically.

Tomcat customization while starting server

I am manually copying a war file to the web-apps folder of Tomcat and starting Tomcat using cmd ./catalina.sh start. I want to customize it in such a way that I can use a war name to start e.g ./catalina.sh start quickenweb (where 'quickenweb' is a war file name).
Please suggest how to achieve this.
If you have access to Windows and WinZip or the 7-Zip File Manager, you can open the war file with Zip Program. Or, if you have LINUX, PeaZip/File Roller would work too.
In the zip program, you can navigate to the folder - like log4j.properties for example and edit it. When closing TextPad/LeafPad for example, the Zip program should prompt you to update the war file. It is advisable to edit/update the war file outside of the tomcat folder structure and then delete the war under tomcat and then update.. Actually, probe is a great tool for managing/updating/compiling war files.
Hope this helps?

How to set Jenkins_Home hosted on apache tomcat

I am new to apache tomcat and Jenkins. I have installed Tomcat Apache server and upload Jenkins on it.
So, now Jenkins is there in following directory :
C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\jenkins
But when I am trying to execute command as :
echo %JENKINS_HOME%
it simply returns %JENKINS_HOME%
Please tell me how to set Jenkins home directory. Thanks in advance.
To change the location of the Jenkins Configuration directory which is running inside the Apache Tomcat server can be done using the below steps:
Navigate to the conf directory in the apache-tomcat install path
Open the context.xml inside the conf directory and update as below
<Context ...>
<Environment name="JENKINS_HOME" value="/opt/jenikins" type="java.lang.String"/>
</Context>
The above code block will change the Jenkins Home to /opt/jenkins.
Replace it whatever you desire.
NOTE: It is important to change the Jenkins Config directory, by default it gets generated in the USER HOME directory where you may not have enough space to hold all the Jenkins Job config data.
To set some Windows environment variables, you can customise the following batch:
C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\startup.bat
Just add the following line at the beginning of the batch:
set JENKINS_HOME=C:\YOUR_JENKINS_HOME_PATH
In windows,
Open Apache Tomcat Directory,
Locate context.xml under conf folder.
add the following lines
<Environment name="JENKINS_HOME" value="C:\Jenkins\JK_HOME" type="java.lang.String"/>

I want to know how to deploy the war file in apache tomcat and make it to run

I create a war file using apache ant and
i wanted to
deploy that .war file in tomcat and make it run
can u people help me with the steps..
i m not clear abt it
stop tomcat
move your war into [tomcat install dir]/webapps
start tomcat
tomcat will deploy the war on startup
for database connectivity copy the connector in the lib folder of project which is in WEB_INF folder
like point\war\WEB-INF\lib
create war File ...in war folder of the project
like c:/user/workspace/point/war/ there (point is project name)
...by command jar cvf point.war *
now type http://localhost/portnumber/ like mine is http://localhost/9090
press on tomcat manager and give user and password
go on the option deploy war file to upload ...browse and choice the war file create in war folder of project
upload the file
click on the /point which created by manager and their your file is uploaded