• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

tomcat and jsp

R

rumman

Guest
i am at my wits end with trying to run my java applications on plesk 7.5.

jsp files compile but come up with a blank result. if I only include html statements in the jsp it shows them. but any java code inside <% > brackets, or any <jsp:useBean> type commands don't execute at all.

i have set security permissions to java.security.AllPermission for the /var/cache/tomcat4/ ... toplevel folder. i have set AllPermission for my specific war file. Tried almost everything that this forum advises. But to no avail.

when i copy the examples.war to one of my domains, it works. so i took just the number guess application out of it and made a war file and uploaded it. it doesn't work. the jsp compiles with the bean creation code, but when i run the app nothing happens.

PLEASE HELP ME.

Thanks
Rumman
 
I'm having a similar problem. I have uploaded a WAR file, and apart from Plesk reporting:

"Actual status of the application does not correspond to the status retrieved from the database."

I'm just getting blank pages. I've gone through some history of Tomcat problems on this site and it doesn't look like there are any conclusive answers to various Tomcat issues.
 
If you are referring to:

/var/log/tomcat5/localhost_log.2006-04-17.txt

there no information.

EDIT:

Somewhere else on this forum I was told to use "unpackWARs='true'". I changed that to false, and also added this line:

<Alias>
tld.com
</Alias> in the <Host> section and now I can see the page.
 
404 is different, i though you were getting blank pages.

/var/tomcat/logs/catalina.out

What is the url you are using to access the pages?
 
I also having problem using JSP, can I have your msn to discuss, as I have no one to work with in the office, mine is ruihull AT hotmail.com, thanks.
 
Back
Top