JavaBridge need to configure at WHM/CPANEL

Operating System & Version
linux Apache Version 2.4.48
cPanel & WHM Version
96.0 (build 9)

kishoreb

Member
Jun 17, 2021
8
0
1
oman
cPanel Access Level
Website Owner
Dear All
I am working on the payment gateway , for that I need to install JavaBridge into the CPanel. I have added the TOMCAT 8.5 version ,on the server and able to run the JSP file on the browser.
but when I am putting the Javabridge files into Webapps in TOMCAT directory , PHP are not working and printing the PHP Source Code into the browser, while HTML and JSP are working fully functional.
Is I am doing some wrong ,,or need to add/ enable some setting for that.

I have intalled tom cat 8.5 and copied all JavaBridge files into the Directory.

Please looking for your comments on this
Thanks a lot
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,494
1,009
313
cPanel Access Level
Root Administrator
Hey there! The most likely explanation is that it is trying to proxy PHP to the Tomcat connector. You may need to configure this in addition to what you have already done in order to get that working properly:


Can you try that and see if that helps?
 

kishoreb

Member
Jun 17, 2021
8
0
1
oman
cPanel Access Level
Website Owner
Dear Expert
this is bit technical to me the message , what I have already done is this
where I am running http:// localhost:8080/JavaBridge/index.php
1623956484677.png
but while I am clicking any link with PHP link file

1623957090252.png

its printing the Source Code

in JSP file is running
1623957188423.png

can you please help me on this

Hey there! The most likely explanation is that it is trying to proxy PHP to the Tomcat connector. You may need to configure this in addition to what you have already done in order to get that working properly:


Can you try that and see if that helps?
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,494
1,009
313
cPanel Access Level
Root Administrator
The reason that is happening is because the PHP file isn't finding the PHP interpreter in Apache. The proxy tool I linked would help set that up.

If you'd like us to take a closer look at the system, feel free to submit a ticket to our Technical Support team.
 

kishoreb

Member
Jun 17, 2021
8
0
1
oman
cPanel Access Level
Website Owner
I have already summitted this to cPanel , a per them this JavaBridge is not a product of cPanel, so they can not do , ask to your system administrator.

well JavaBridge directory I have copied in Tomcat /webapp directory, its working and file in browser but , php execute is the issue, you can have below URL , in address bar ..php file and working ..only code is not executing
1623960012598.png

my web site is in PHP and configured in port 80 so form there all php are working , from web site I need to redirect to Tomcat Javabridge/
hope you can understand .
please help to execute




Thanks a lot for your support


The reason that is happening is because the PHP file isn't finding the PHP interpreter in Apache. The proxy tool I linked would help set that up.

If you'd like us to take a closer look at the system, feel free to submit a ticket to our Technical Support team.
 

kishoreb

Member
Jun 17, 2021
8
0
1
oman
cPanel Access Level
Website Owner
That's correct that JavaBridge isn't part of cPanel, but we would still be able to check that PHP files function on the server properly.
So I have to resubmit this ticket in cPanel support, they might say same reply .. as I am following this last 2-3 days ,,most of the time find good system administrator

could you please make this at your point.. I need your support on this .. as last 3-4 days I am looking into google but still no help
Could you please help me on this
 

kishoreb

Member
Jun 17, 2021
8
0
1
oman
cPanel Access Level
Website Owner
Can you let me know the ticket number of your current request so I can look into that?
Dear Sir
Please find the Ticket number

requests/94334986
I have requested to have the install the Tomcat and Javaproxy, so tomcat has been successfully done but Javabridge still not working
 

kishoreb

Member
Jun 17, 2021
8
0
1
oman
cPanel Access Level
Website Owner
Dear Sir
Please find the Ticket number

requests/94334986
I have requested to have the install the Tomcat and Javaproxy, so tomcat has been successfully done but Javabridge still not working

Did you get the Ticket .. could you please look into this ..
I am waiting .. here
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,494
1,009
313
cPanel Access Level
Root Administrator
I just read through the ticket. Our team was able to reset the Tomcat settings to the default, and that allowed files to load properly. However, we aren't able to help with the JavaBridge portion, as I mentioned earlier.

It seems there are configuration problems with JavaBridge itself that are keeping things from loading how you expect.

It would be best to work with an admin familiar with that application to see if that person is able to get things working.
 

kishoreb

Member
Jun 17, 2021
8
0
1
oman
cPanel Access Level
Website Owner
I just read through the ticket. Our team was able to reset the Tomcat settings to the default, and that allowed files to load properly. However, we aren't able to help with the JavaBridge portion, as I mentioned earlier.

It seems there are configuration problems with JavaBridge itself that are keeping things from loading how you expect.

It would be best to work with an admin familiar with that application to see if that person is able to get things working.
I am not finding any one to get out this .on one knows what to do on this . can you provide any one who can able to do this .. please help me on this
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,494
1,009
313
cPanel Access Level
Root Administrator
My only recommendation would be to look through the admin services here, as these are all admins that are familiar with cPanel: