tomcat5.5

Hot republishing/deploying of static xhtml files issues

给你一囗甜甜゛ 提交于 2019-12-01 10:50:29
I'm noticing a lot of issues operating the "hot deploying" of JSF pages in the following environment: Eclipse Indigo(latest version) Tomcat 5.5 JSF 1.2 Facelets View Handler I noticed that, if I modify an already rendered xhtml page (for example the CSS style of an element) and then re-publish(through Eclipse or manually copying the xhtml file inside Tomcat) this page (maintaining the servlet container up), it doesn't show me the current changes. I also, in vain, setup the following configuration on my web application: <Context docBase="mywebapp" path="/mywebapp" reloadable="true"

Hot republishing/deploying of static xhtml files issues

眉间皱痕 提交于 2019-12-01 09:25:58
问题 I'm noticing a lot of issues operating the "hot deploying" of JSF pages in the following environment: Eclipse Indigo(latest version) Tomcat 5.5 JSF 1.2 Facelets View Handler I noticed that, if I modify an already rendered xhtml page (for example the CSS style of an element) and then re-publish(through Eclipse or manually copying the xhtml file inside Tomcat) this page (maintaining the servlet container up), it doesn't show me the current changes. I also, in vain, setup the following

How to fix java RuntimeException: Can't find resource 'solrconfig.xml' in classpath?

≯℡__Kan透↙ 提交于 2019-12-01 06:11:30
I'm having issues setting up Solr as Tomcat service in CentOS. I’m using solr 3.3.0 which should be working with Tomcat 5.5 installed from cPanel. The error I was getting is: Can't find resource 'solrconfig.xml' in classpath or '/home/sampleuser/public_html/apache-solr/example/solr/./conf/', cwd=/usr/local/jakarta/apache-tomcat-5.5.33/bin I saw other people having similar issues. I googled and tried to apply all of the approaches. However nothing worked for me so far. I did the following: Copied solr.war to tomcat/webapps Restarted Tomcat Service Edited /usr/local/jakarta/tomcat/webapps/solr

How to fix java RuntimeException: Can't find resource 'solrconfig.xml' in classpath?

筅森魡賤 提交于 2019-12-01 04:36:53
问题 I'm having issues setting up Solr as Tomcat service in CentOS. I’m using solr 3.3.0 which should be working with Tomcat 5.5 installed from cPanel. The error I was getting is: Can't find resource 'solrconfig.xml' in classpath or '/home/sampleuser/public_html/apache-solr/example/solr/./conf/', cwd=/usr/local/jakarta/apache-tomcat-5.5.33/bin I saw other people having similar issues. I googled and tried to apply all of the approaches. However nothing worked for me so far. I did the following:

Is there a way to get the absolute path of the context root in tomcat?

北战南征 提交于 2019-12-01 04:35:26
问题 I have a problem that, after a lot of reading and research, seems like tomcat is running another instance of itself and thus serving an old version of my updated app (or somehow has cached an older version of my webapp somewhere only serves that.) I work on the app in eclipse on a windows machine and deploy it on a Linux server as a ROOT app (Renaming the war file to a ROOT.war). What I'd like to know is if there's a way to locate the older version that tomcat is serving by getting tomcat to

Tomcat consuming high CPU

自闭症网瘾萝莉.ら 提交于 2019-11-29 11:55:54
问题 Tomcat.exe is consuming 75% of CPU. Is anyone having any idea why it happens and how can that be decreased? I am using Tomcat5.5 & J2SDK v 1.4.2_12 回答1: To understand what's happening, you should try to run it under a profiler. Try the YourKit (http://www.yourkit.com/) or Netbeans (http://profiler.netbeans.org/docs/help/5.5/profile_j2ee_profileproject.html). The YourKit one have better integration with tomcat. 回答2: If you're using 75% CPU and dont understand why, I suggest you issue a kill -3

Communications link failure due to: java.io.EOFException

旧时模样 提交于 2019-11-28 11:43:54
My webapp is running on Tomcat 5.5, I declared the datasource in web.xml: <resource-ref> <res-ref-name>jdbc/OrdiniWebDS</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> In context.xml (tomcat conf): <Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="100" maxIdle="30" maxWait="10000" name="jdbc/OrdiniWebDS" password="[mypassword]" type="javax.sql.DataSource" url="jdbc:mysql://[myHost:port]/ordiniweb" username="[myusername]" /> The database is a MySql 5.0. Everything

Default session timeout for Apache Tomcat applications

爱⌒轻易说出口 提交于 2019-11-28 03:38:09
What is the default session timeout for web applications deployed on Tomcat5.5? Is it browser specific? In my web application, default timeout is mentioned neither in web.xml nor in code. Evgeniy Dorofeev Open $CATALINA_BASE/conf/web.xml and find this <!-- ==================== Default Session Configuration ================= --> <!-- You can set the default session timeout (in minutes) for all newly --> <!-- created sessions by modifying the value below. --> <session-config> <session-timeout>30</session-timeout> </session-config> all webapps implicitly inherit from this default web descriptor.

What can be done with 'PermGen out of space' exception in Tomcat-Spring-Hibernate web application?

≯℡__Kan透↙ 提交于 2019-11-27 19:24:24
We have an web application that uses Spring-Hibernate to persist registered users data in Oracle database. The application works fine in development environment, but when we copy it int live environment with much more data, it failed. Initially the application starts normally, but after few actions 'PermGen out of space' exception occured. I've started to search in Google, Spring and Hibernate forums, but it doesn't help. There is many discussions about this error, but for each solution, there are people, that say: 'It works' and other people say 'It doesn't'. For example, many people offer to

Communications link failure due to: java.io.EOFException

久未见 提交于 2019-11-27 06:22:42
问题 My webapp is running on Tomcat 5.5, I declared the datasource in web.xml: <resource-ref> <res-ref-name>jdbc/OrdiniWebDS</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> In context.xml (tomcat conf): <Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="100" maxIdle="30" maxWait="10000" name="jdbc/OrdiniWebDS" password="[mypassword]" type="javax.sql.DataSource" url=