tomcat6

http://localhost:8080 not redirecting to opensso login page

浪尽此生 提交于 2019-12-01 12:34:35
问题 I have my Tomcat server of Liferay running on port 8080. When I am trying to access the application from server by typing url http://localhost:8080 , it is not redirecting to the Login page but giving me the error: The Connection to abc.xyz.com was interrupted while the page was loading. Here abc.xyz.com is the URL of my Opensso Login page. No errors are logged in stdout.log and catalina.log. But when I am typing the URL the login page is coming. Tried this in different IE and Mozilla but

Starting Tomcat v6.0 Server at localhost fails

*爱你&永不变心* 提交于 2019-12-01 10:53:27
I am not able to start Tomcat v6.0 from Eclipse Helios. I have my Java bin path set properly. Moreover, I can start the server from outside of Eclipse manually. I could start it from Windows Services as well as using tomcat6.exe and see that it works correctly in my browser by typing localhost:8080 in the URL, but when I start from Eclipse a window appears saying that it encountered a problem while starting tomcat. And my Console shows the following error:- java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect

ubuntu 11.10 安装apache2 tomcat6

元气小坏坏 提交于 2019-12-01 09:00:20
一、安装apache2 1. sudo apt-get install apache2 启动两个代理模块: 1. sudo a2enmod proxy_ajp 2. sudo a2enmod proxy 二、安装tomcat6 1. sudo apt-get install tomcat6 三、安装sun-java6-jdk 1. sudo apt-get install python-software-properties 2. sudo add-apt-repository ppa:ferramroberto/java 3. sudo apt-get update 4. sudo apt-get install sun-java6-jdk 四、整合配置 1、打开/etc/apache2/sites-enabled/000-default,增加: 1. ProxyPass / ajp://127.0.0.1:8009/ 2. ProxyPassReverse / ajp://127.0.0.1:8009/ 2、打开/etc/tomcat6/server.xml,找到: 后面添加如下内容: 3、设置环境变量 1. JAVA_HOME=/usr/lib/jvm/java-6-sun 2. sudo echo "JAVA_HOME=/usr/lib/jvm/java-6-sun" >>

CentOS YUM 安装 TOMCAT6

允我心安 提交于 2019-12-01 09:00:01
CentOS YUM 安装 TOMCAT6 安装tomcat6 1 yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps 启动tomcat6 1 service tomcat6 start 停止tomcat6 1 service tomcat6 stop 重启tomcat6 1 service tomcat6 restart 按照以上方法安装tomcat6默认目录在/usr/share/tomcat6/下 配置文件默认目录在/etc/tomcat6/下 如果访问http://localhost:8080/访问不了那大多是防火墙经用了8080端口,解决方法如下: 1 iptables -A INPUT -p tcp --dport 8080 -j ACCEPT 2 iptables -A OUTPUT -p tcp --sport 8080 -j ACCEPT 来源: oschina 链接: https://my.oschina.net/u/593517/blog/304326

Tomcat6 -> how to put a project into the root folder?

天大地大妈咪最大 提交于 2019-12-01 08:42:20
I have a Tomcat6 server on a Linux server. The structure of the webapps directory is: examples host-manager manager ROOT sample I have a web application running on my localhost on a Tomcat. I created a war file MyProject.war and put it into the webapps directory. Restarting the Tomcat server, the war is extracted and I have this structure: examples host-manager manager MyProject ROOT sample Calling the URL http://mysubdomain.mysite.com:8080/ I get the Tomcat start page with If you're seeing this page with a web browser, it means you've setup Tomcat successfully. Congratulations!. Calling http:

Tomcat6 -> how to put a project into the root folder?

余生颓废 提交于 2019-12-01 06:26:46
问题 I have a Tomcat6 server on a Linux server. The structure of the webapps directory is: examples host-manager manager ROOT sample I have a web application running on my localhost on a Tomcat. I created a war file MyProject.war and put it into the webapps directory. Restarting the Tomcat server, the war is extracted and I have this structure: examples host-manager manager MyProject ROOT sample Calling the URL http://mysubdomain.mysite.com:8080/ I get the Tomcat start page with If you're seeing

Tomcat - want to clear cache of app being undeployed

笑着哭i 提交于 2019-12-01 05:34:33
I've got Tomcat6 running on my Ubuntu server 14.04 minimal platform and had deployed a .war file. However, things did not go right during the initial setup of the app and I'm trying to undeploy the app from tomcat manager. Unfortunately when I re-deploy the app and start it, the previous install comes up. How can I get a fresh install of the app? (I've also tried "reload" but no luck) Thanks in anticipation. In Tomcat you have a folder called "work". Go to <TOMCAT_HOME>/work/Catalina/<HOSTNAME> In this location you will find your application. Delete the application from this location and try

Setting Max HTTP Header Size With AJP / Tomcat 6.0

谁说胖子不能爱 提交于 2019-12-01 05:19:00
If you're not using AJP, Tomcat 6.0 Connectors have a nice maxHttpHeaderSize attribute in server.xml . But if you are using AJP, that attribute is not understood. Is there any way to increase the allowed HTTP header size if you are writing an app that is using AJP? ( maxHttpHeaderSize is documented at http://tomcat.apache.org/tomcat-6.0-doc/config/http.html but there is also this in that document: "If you wish to configure the Connector that is used for connections to web servers using the AJP protocol (such as the mod_jk 1.2.x connector for Apache 1.3), see here instead." The "here" link

Custom Tomcat Valve contained in web app WAR file

我的未来我决定 提交于 2019-12-01 04:37:26
I'm looking to implement a custom Valve and configuring it using META-INF/context.xml. At the moment though, when context.xml is parsed during deployment, Tomcat (6.0.32) dies with a ClassNotFoundException on my custom Valve implementation. I'm under the impression that I'm running into a class loading context issue and I'm not 100% sure I understand it. Is my class not found because it is located in the WEB-INF/classes file and the Context level class loader is unable to locate the class because of the hierarchy? Thanks in advance. You can not load Valve s from inside the webapp class loader.

Cannot create PoolableConnectionFactory (Access denied for user ''@'localhost'

坚强是说给别人听的谎言 提交于 2019-12-01 04:17:06
I have been trying to set up a DatabaseConnectionPool for a web app for the last couple of days with no success. I have read the relevant sections of the Tomcat docs and a great deal around the subject and think I'm doing everything right, but obviously not because I keep on getting the following error: Cannot create PoolableConnectionFactory (Access denied for user ''@'localhost' (using password: YES)) I'm not getting the error when I start Tomcat running, but when I try to run the following servlet: package twittersearch.web; import javax.servlet.*; import javax.servlet.http.*; import java