Tomcat 6 configuration for standalone server - tomcat6

I have the web app that works one my tomcat 6 (local) on Windows. I have bouhgt dedicated server and installed on it tomcat 6. Ubuntu is installed on server. Now if I try to enter my webapps http:\{ipaddress}{web-app} the browser opens title web page. Then appears dialog window for entering log name and password. But on pressing button login browser Chrome is saying that on accessing servlet {servletname} server returns Status Code:500 Internal Server Error.
How should I configure tomcat6 for Internet? I think that catalina doesnt return answer from servlet for outside request.
I want to use tomcat6 as standalone server.

your question is not clear dude! i have tomcat 7 configured and accessible from internet since i have valid IP on my server. try to take a look at tomcat log (usually at /var/log/tomcat6(or 7)/...

Related

Django IIS and SQL with NT Authentication

Good morning. I have several Django apps running in my work environment. All are running through Gunicorn on Ubuntu. I have a new app that must run on Windows for ODBC reasons. This new app is running in development mode on a Windows 10 PC. I run the dev server while logged in as a service account, it uses a trusted connection (local credentials as I understand) to query a SQL server and works perfectly. I ported this app (virtualenv and all) to a Windows Server 2012 r2 instance and run the dev server successfully from there using my domain admin credentials (again trusted_connection=yes).
I set up IIS on this server to run the app permanently and it appears to run. However, I get a django error page that says the SQL login failed for 'DOMAINNAME\SERVERNAME'.
I have tried editing my Application Pool to use the credentials of the working service account (Advanced Settings > Process Model > Identity). With this configuration I no longer see a Django error page, just Service Unavailable HTTP Error 503. I have tried 'recycling' and restarting the IIS service after the change but that has not worked.
Unfortunately, I do not have admin access to the SQL server to create or edit accounts. Is it possible to configure IIS to connect to SQL, through the app, using the service account credentials that I know work. If I were to configure the Application Pool successfully in this way should I still have the trusted connection setting in my connection string? Thanks!

CakePHP 3 showing white blank page

I have successfully installed CakePHP 3 on my local machine. I use WAMP server (http: // localhost /). Everything works fine.
When I have transferred the same files to a web server via FTP http://example.com/ cakephp 3 does not work, it shows the white blank page.
Web server (example.com) uses php 5.6 version.
Where is the problem? What's wrong?
I have seen this issue before and it is was due to the PHP version being too low. If you are running CakePHP 3, ensure your server version is at 5.6 or higher. You can do this in cPanel if you are on shared hosting.
GoDaddy as an example, look under the Software section then you should see "Select PHP version".
Also, ensure you set the correct permission for your tmp and log folder under your CakePHP root.

How do I launch WebSphere Portal Admin Console

I have WebSphere Portal 8.0 on my laptop running Windows 7 Professional and I do not know how to launch the admin console.
I tried typing at the command prompt install-directory\wp-profile\bin startServer server1
and get a FileNotFoundException. When I look into the log it says...
Exception java.io.FileNotFoundException: C:\IBM\WebSphere\wp_profile\config\cells\Mitch-PCCell\nodes\Mitch-PCNode\servers\server1\server.xml (The system cannot find the path specified.)
inside the "server" folder in above error is another folder for WebSphere_Portal but not for server1.
Many thanks in advance.
PS: I am very very very new to WebSphere Portal :)
Start the WebSphere_Portal server instead of server1. The WebSphere_Portal server is where Portal is actually installed. I don't think server1 is really used for anything any more in Portal 8.
10032 for https!!
Url is https://localhost:10032/ibm/console
and that's it
Open a terminal.
Go to C:\IBM\WebSphere\wp_profile\bin.
Start Server with this: startServer WebSphere_Portal.
Default Admin Console Url is : localhost:10032/ibm/console
To find out the console port
from the IBM/Websphere folder
find and open AboutThisProfile.txt
Look for these values:
Administrative console port: 9102
Administrative console secure port: 9104
Then depending weather it is secure or not, use the following:
https://localhost:9104/ibm/console
http://localhost:9102/ibm/console
All the ports can be checked in Ports Page (WAS9 is referred here ).
Application Servers -> (Choose your server) -> Ports
Port of wc_adminhosts will be for admin console
If you are working on Rational Application Developer IDE and looking for admin console follow below
Look for the Server Palette usually bottom pane in IDE and see if you have the server configured as shown below
find the mouse over Administration , then click on Run Administration console tab
this will open the admin console in IDE's internal browser

Start up of of tomcat 6 on server when windows starts

I have already a running web application on my server, the thing is that I want tomcat to start when windows starts. I have already gone to the windows services and looked for tomcat but i could not find Apache tomcat as a service there. What should I do to make it start when windows starts?
Anteneh
Install it as a service.
See the steps here: http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html

Running Tomcat and IIS server in parallel

I have my application running on Tomcat server successfully. I want to run some aspx files for which i need to link up with other server like IIS. How to send a query string to the IIS server and get back the result say in an HTML file. Is this possible?
I got the solution and its quite simple. I created a Iframe and passed the other server url through the tomcat and it worked.

Resources