Aditya Raghu wrote:I need to run a script as soon as tomcat starts each time (In Linux).
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Aditya Raghu wrote: Well, I want to run a java jar which is a swing applet.
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sagar Rohankar wrote:Well applet can be run by embedding them into JSP/HTML file, not by executing them within the Tomcat startup script, which is unusual thing to try !!!
Paul Clapham wrote:
Sagar Rohankar wrote:Well applet can be run by embedding them into JSP/HTML file, not by executing them within the Tomcat startup script, which is unusual thing to try !!!
I expect there has been some misunderstanding and this is not the actual requirement.
Aditya Raghu wrote:I want to run a swing application jar. I can run the application from an ordinary '.sh' file, but I'm not able to run the jar from startup.sh. I used this command at the end of the startup.sh file- 'java -jar frontend2.jar'. when i run startup.sh it starts tomcat properly but does nothing with the jar. Is this the right way to do this? I even tried calling another shell file from startup.sh, where I was running the jar but, even that did not work.
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I have a web application war in my web apps.
Aditya Raghu wrote:I have to get tomcat run the war only when a proper license is submitted( licensing mechanism is not built yet).
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
# 2. Don't deploy war at all:
Implement the context listener, which will check for the .lic file which is nothing but the encrypted license file. Once verified deploy the war otherwise exit
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
"Disappointing" and "Utterly Horrible" are not equal.
Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|