automatic launching of tomcat script in ec2 - java

i am trying to launch apahe tomcat automatically when the system boots in suse enterprise linux
i have installed apache tomcat8 in suse enterprise linux
i have attached the script in bash file
i have edited the path in catalina also
my 8080 port is working fine
when i launch manually using sh startup.sh everything is working fine
when i try to launch the server automatically its showing tomcat started
when i try to use in browser it will show error (page is not found)
plz help out from this problem

Related

how to enable remote debugging from window machine to Ubuntu machine via netbeans

I want to run remote debugging from Netbeans IDE, OS for remote PC is Ubuntu.
Ubuntu has got some firewall setup, how do I enable it to allow request(remote debugging) from Windows pc?
The application running in Ubuntu is not a web application
I changed the run script and added debug command to execute my jar in debug mode
java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=,suspend=n appname
Configure Netbeans, using attach debugger mentioning remote host IP and port number (same port number used in debug script).
Then stopped firewall in Ubuntu (remote host), as it is ours by running the following command
systemctl stop firewalld
Started the application in debug mode
Clicked attach debugger and OK from Netbeans after setting breakpoint

Tomcat 7 Does not Run on Netbeans

Tomcat Server 7 does not start through Netbeans 8.1 for some reason.
However, Tomcat webpage starts up on browser in localhost:8080. Saying congratulations you have successfully installed Tomcat!
Things I Have Tried:
Changed Port Number
Changed server.xml
Took off quotations in catalina.bat file:
:noJuliConfig set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
:noJuliManager set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%
Unticked IDE Proxy Settings
The annoying thing is. Tomcat can run through Netbeans on my home network. When I come to university or use another network. I try to start Tomcat, but the message I get after a while through Netbeans is "Starting of Tomcat failed". Is this a firewall setting perhaps?
I am using apache_tomcat version 7.0.70 and have tried Netbeans 8.2 and other Tomcat versions. Any help would be really appreciated.
I am using a MacBook Pro, so had to install Tomcat independently. As does not come with Netbeans EE bundle on MAC.

can't run wildfly 9.0.2 from netbeans 8.1 under Windows 8.1

I can't start my Wildfly server in Netbeans.
I am running Windows 8.1, WildFly 9.0.2 Final, Netbeans 8.1.
I get the error:
WildFly Application Server start failed. Check whether the standalone.bat script is executable.
The server does not start.
Note: I can start WildFly from a command shell using standalone.bat script and I can deploy my application from the admin console using a web browser.
My windows 8 account has administration rights and I have also tried running the server in Netbeans when I am logged in as Administrator. The error message is always the same.
I would be very grateful for any help you can give!

How to add glassfish server on a remote windows server to netbeans

I have been trying to add my glassfish server installation on a windows server that is on my network to netbeans on my laptop but no luck.
The Glassfish server is already installed on the server and it works properly. but I cant seems to add it to my netbeans on my laptop to get it to work.
Netbeans detects that it is a valid installation but I cant start the glassfish server from netbeans.
Any help will be appreciated.
Thanks!
I had to enable remote login from external servers by using the command asadmin enable-secure-admin

error in apache at the staring of the computer

i have windows vista and jdk_1.6 in my system. when i started the system i am not able to do the services of the tomcat. i can run my jsp files but can't run servlet files how it is done i don't know? i can run the servlet prog. in netbeans but can't at notepad.
please reply me.............!
Perhaps you didn't install it as a Windows Service, or didn't set the service to be Automatic starting?
See the Tomcat Windows Service HOWTO.

Categories

Resources