Here is the other web.xml. Essentially, this is from a standard download of
Liferay Enterprise Portal. http://sourceforge.net/projects/lportal/

Been a strong advocate for my employer both using and contributing to open
source. Have been given a deadline of noon today to make this work.
Otherwise forced to switch to BEA.

-----Original Message-----
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 8:31 PM
To: 'Tomcat Users List'
Subject: RE: Random 500 errors


Unfortunately I don't run apache with tomcat so can't reproduce your error.
That's why I asked so many questions in my last post ;)

Understand now what you mean by "random".

Your attached web.xml appear to be basically the default web.xml from
CATALINA_HOME\conf\ - please can you also post your webapp's web.xml file
from CATALINA_HOME\webapps\yourwebapp\web.xml ?

If you could also post any of the other info that I mentioned in my last
post, I'm sure this would improve the chances of someone being able to help
you :)

> -----Original Message-----
> From: James McGovern [mailto:[EMAIL PROTECTED]
> Sent: Wednesday 27 October 2004 01:02
> To: Tomcat Users List
> Subject: RE: Random 500 errors
>
>
> By random, it means that I access the same exact URL
> repeatedly in a row and
> sometimes it throws a 500 and sometimes it doesnt. The error
> even appears
> for static GIF files as well. Attached is the web.xml. It shows in the
> appache HTTPD access_log as a 500. It does not show in Apache HTTPD
> error_log.
>
> I created another configuration that doesn't use MOD_JK2 and
> instead uses
> MOD_PROXY. The same thing occurs only the error then changes
> to 502 and
> complains about being able to do a /get.
>
> One small correction. I am running Apache 2.0.50.
>
> -----Original Message-----
> From: Steve Kirk [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 26, 2004 7:18 AM
> To: 'Tomcat Users List'
> Subject: RE: Random 500 errors
>
>
>
> When you say "random" do you mean that accessing the same URL
> sometimes
> gives a 500 and sometimes not, or that you can't see a
> pattern in the URLs
> that cause the 500?
>
> Are you looking in all the tomcat log files (under
> CATALINA_HOME\logs ), and
> the apache httpd logs, as well as any TC log file you might
> have configured
> yourself?
>
> What error messages are you seeing in the browser when the 500 occurs?
>
> Are you seeing the standard tomcat error page or have you
> configured your
> own?
>
> Can you give an example URL that triggers the 500, and your
> web.xml config
> (esp your servlet mappings)?
>
> > -----Original Message-----
> > From: James McGovern [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday 26 October 2004 11:55
> > To: [EMAIL PROTECTED]
> > Subject: Random 500 errors
> >
> >
> >
> > I am currently running Apache 2.0.48 with JK2 and Tomcat
> > 5.0.28 on Redhat
> > Enterprise 2.1 and experience random 500 errors. I am getting
> > them for GIFs
> > files and other non Java related access. I am not finding
> > anything in the
> > error logs to indicate the problem. The access log does show
> > the file with
> > the 500 error code.
> >
> > What should I be looking for in order to resolve this problem?
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
	<context-param>
		<param-name>company_id</param-name>
		<param-value>liferay.com</param-value>
	</context-param>
	<filter>
		<filter-name>Compression Filter</filter-name>
		<filter-class>com.liferay.filters.compression.CompressionFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>Compression Filter</filter-name>
		<url-pattern>/c/*</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>Compression Filter</filter-name>
		<url-pattern>*.css</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>Compression Filter</filter-name>
		<url-pattern>*.html</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>Compression Filter</filter-name>
		<url-pattern>*.js</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>Compression Filter</filter-name>
		<url-pattern>*.jsp</url-pattern>
	</filter-mapping>
	<listener>
		<listener-class>com.liferay.portal.servlet.SessionListener</listener-class>
	</listener>
	<servlet>
		<servlet-name>InitServlet</servlet-name>
		<display-name>InitServlet</display-name>
		<servlet-class>com.liferay.portal.servlet.InitServlet</servlet-class>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>MainServlet</servlet-name>
		<display-name>MainServlet</display-name>
		<servlet-class>com.liferay.portal.servlet.MainServlet</servlet-class>
		<init-param>
			<param-name>ctx_path</param-name>
			<param-value>/</param-value>
		</init-param>
		<init-param>
			<param-name>config</param-name>
			<param-value>/WEB-INF/struts-config.xml,/WEB-INF/struts-config-ext.xml</param-value>
		</init-param>
		<init-param>
			<param-name>debug</param-name>
			<param-value>0</param-value>
		</init-param>
		<init-param>
			<param-name>detail</param-name>
			<param-value>0</param-value>
		</init-param>
		<init-param>
			<param-name>stxxInit</param-name>
			<param-value>/stxx.properties</param-value>
		</init-param>
		<load-on-startup>2</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>CaptchaServlet</servlet-name>
		<display-name>CaptchaServlet</display-name>
		<servlet-class>com.liferay.portal.servlet.CaptchaServlet</servlet-class>
		<load-on-startup>3</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>ImageServlet</servlet-name>
		<display-name>ImageServlet</display-name>
		<servlet-class>com.liferay.portal.servlet.ImageServlet</servlet-class>
		<load-on-startup>4</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>BlogsServlet</servlet-name>
		<display-name>BlogsServlet</display-name>
		<servlet-class>com.liferay.portlet.blogs.servlet.BlogsServlet</servlet-class>
		<init-param>
			<param-name>ctx_path</param-name>
			<param-value>/</param-value>
		</init-param>
		<load-on-startup>5</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>HttpService</servlet-name>
		<servlet-class>com.liferay.portlet.httpbridge.servlet.HttpService</servlet-class>
		<load-on-startup>6</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>UserService</servlet-name>
		<servlet-class>com.httpbridge.webproxy.ui.UserService</servlet-class>
		<load-on-startup>7</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>JCVSServlet</servlet-name>
		<display-name>JCVSServlet</display-name>
		<servlet-class>com.liferay.portlet.jcvs.servlet.JCVSServlet</servlet-class>
		<init-param>
			<param-name>JCVSletConfigDirectory</param-name>
			<param-value>WEB-INF/jcvs/conf</param-value>
		</init-param>
		<init-param>
			<param-name>JCVSletTempDirectory</param-name>
			<param-value>WEB-INF/jcvs/temp</param-value>
		</init-param>
		<init-param>
			<param-name>JCVSletWorkDirectory</param-name>
			<param-value>WEB-INF/jcvs/work</param-value>
		</init-param>
		<load-on-startup>8</load-on-startup>
	</servlet>
	<servlet-mapping>
		<servlet-name>MainServlet</servlet-name>
		<url-pattern>/c/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>CaptchaServlet</servlet-name>
		<url-pattern>/captcha/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ImageServlet</servlet-name>
		<url-pattern>/image/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>BlogsServlet</servlet-name>
		<url-pattern>/blogs/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>HttpService</servlet-name>
		<url-pattern>/httpbridge/http</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>JCVSServlet</servlet-name>
		<url-pattern>/jcvs/*</url-pattern>
	</servlet-mapping>
	<session-config>
		<session-timeout>30</session-timeout>
	</session-config>
	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
		<welcome-file>index.jsp</welcome-file>
	</welcome-file-list>
	<taglib>
		<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
		<taglib-location>/WEB-INF/tld/c-rt.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
		<taglib-location>/WEB-INF/tld/fmt-rt.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
		<taglib-location>/WEB-INF/tld/sql-rt.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>http://java.sun.com/jstl/xml</taglib-uri>
		<taglib-location>/WEB-INF/tld/x-rt.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>http://displaytag.sourceforge.net</taglib-uri>
		<taglib-location>/WEB-INF/tld/displaytag.tld</taglib-location>
	</taglib>
	<resource-ref>
		<res-ref-name>jdbc/LiferayPool</res-ref-name>
		<res-type>javax.sql.DataSource</res-type>
		<res-auth>Container</res-auth>
		<res-sharing-scope>Shareable</res-sharing-scope>
	</resource-ref>
	<resource-ref>
		<res-ref-name>mail/MailSession</res-ref-name>
		<res-type>javax.mail.Session</res-type>
		<res-auth>Container</res-auth>
	</resource-ref>
	<security-constraint>
		<web-resource-collection>
			<web-resource-name>/c/portal/*</web-resource-name>
			<url-pattern>/c/portal/*</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/portal_public/protected</web-resource-name>
			<url-pattern>/c/portal_public/protected</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/address_book/export</web-resource-name>
			<url-pattern>/c/address_book/export</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/bookmarks/open_entry</web-resource-name>
			<url-pattern>/c/bookmarks/open_entry</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/calendar/iframe_events</web-resource-name>
			<url-pattern>/c/calendar/iframe_events</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/document_library/get_file</web-resource-name>
			<url-pattern>/c/document_library/get_file</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/document_library/get_file_version</web-resource-name>
			<url-pattern>/c/document_library/get_file_version</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/image_gallery/view_slide_show</web-resource-name>
			<url-pattern>/c/image_gallery/view_slide_show</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/jcvs/download</web-resource-name>
			<url-pattern>/c/jcvs/download</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/journal/view_article_content</web-resource-name>
			<url-pattern>/c/journal/view_article_content</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/mail/save_part</web-resource-name>
			<url-pattern>/c/mail/save_part</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/message_boards/get_message_attachment</web-resource-name>
			<url-pattern>/c/message_boards/get_message_attachment</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/polls/view_chart</web-resource-name>
			<url-pattern>/c/polls/view_chart</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/c/recent_documents/*</web-resource-name>
			<url-pattern>/c/recent_documents/*</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<web-resource-collection>
			<web-resource-name>/jcvs/*</web-resource-name>
			<url-pattern>/jcvs/*</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<auth-constraint>
			<role-name>users</role-name>
		</auth-constraint>
		<user-data-constraint>
			<transport-guarantee>NONE</transport-guarantee>
		</user-data-constraint>
	</security-constraint>
	<login-config>
		<auth-method>FORM</auth-method>
		<realm-name>PortalRealm</realm-name>
		<form-login-config>
			<form-login-page>/c/portal_public/j_login</form-login-page>
			<form-error-page>/c/portal_public/j_login_error</form-error-page>
		</form-login-config>
	</login-config>
	<security-role>
		<role-name>users</role-name>
	</security-role>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/AddressLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portal.ejb.AddressLocalManagerHome</local-home>
		<local>com.liferay.portal.ejb.AddressLocalManager</local>
		<ejb-link>com_liferay_portal_ejb_AddressLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/CompanyLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portal.ejb.CompanyLocalManagerHome</local-home>
		<local>com.liferay.portal.ejb.CompanyLocalManager</local>
		<ejb-link>com_liferay_portal_ejb_CompanyLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/GroupLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portal.ejb.GroupLocalManagerHome</local-home>
		<local>com.liferay.portal.ejb.GroupLocalManager</local>
		<ejb-link>com_liferay_portal_ejb_GroupLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/LayoutLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portal.ejb.LayoutLocalManagerHome</local-home>
		<local>com.liferay.portal.ejb.LayoutLocalManager</local>
		<ejb-link>com_liferay_portal_ejb_LayoutLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/RoleLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portal.ejb.RoleLocalManagerHome</local-home>
		<local>com.liferay.portal.ejb.RoleLocalManager</local>
		<ejb-link>com_liferay_portal_ejb_RoleLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/UserLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portal.ejb.UserLocalManagerHome</local-home>
		<local>com.liferay.portal.ejb.UserLocalManager</local>
		<ejb-link>com_liferay_portal_ejb_UserLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/UserTrackerLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portal.ejb.UserTrackerLocalManagerHome</local-home>
		<local>com.liferay.portal.ejb.UserTrackerLocalManager</local>
		<ejb-link>com_liferay_portal_ejb_UserTrackerLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/CalEventLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.calendar.ejb.CalEventLocalManagerHome</local-home>
		<local>com.liferay.portlet.calendar.ejb.CalEventLocalManager</local>
		<ejb-link>com_liferay_portlet_calendar_ejb_CalEventLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/DLFileProfileLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.documentlibrary.ejb.DLFileProfileLocalManagerHome</local-home>
		<local>com.liferay.portlet.documentlibrary.ejb.DLFileProfileLocalManager</local>
		<ejb-link>com_liferay_portlet_documentlibrary_ejb_DLFileProfileLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/DLFileVersionLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.documentlibrary.ejb.DLFileVersionLocalManagerHome</local-home>
		<local>com.liferay.portlet.documentlibrary.ejb.DLFileVersionLocalManager</local>
		<ejb-link>com_liferay_portlet_documentlibrary_ejb_DLFileVersionLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/DLRepositoryLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.documentlibrary.ejb.DLRepositoryLocalManagerHome</local-home>
		<local>com.liferay.portlet.documentlibrary.ejb.DLRepositoryLocalManager</local>
		<ejb-link>com_liferay_portlet_documentlibrary_ejb_DLRepositoryLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/MailReceiptLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.mail.ejb.MailReceiptLocalManagerHome</local-home>
		<local>com.liferay.portlet.mail.ejb.MailReceiptLocalManager</local>
		<ejb-link>com_liferay_portlet_mail_ejb_MailReceiptLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/PollsQuestionLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.polls.ejb.PollsQuestionLocalManagerHome</local-home>
		<local>com.liferay.portlet.polls.ejb.PollsQuestionLocalManager</local>
		<ejb-link>com_liferay_portlet_polls_ejb_PollsQuestionLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/ShoppingOrderLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.shopping.ejb.ShoppingOrderLocalManagerHome</local-home>
		<local>com.liferay.portlet.shopping.ejb.ShoppingOrderLocalManager</local>
		<ejb-link>com_liferay_portlet_shopping_ejb_ShoppingOrderLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/WikiNodeLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.wiki.ejb.WikiNodeLocalManagerHome</local-home>
		<local>com.liferay.portlet.wiki.ejb.WikiNodeLocalManager</local>
		<ejb-link>com_liferay_portlet_wiki_ejb_WikiNodeLocalManager</ejb-link>
	</ejb-local-ref>
	<ejb-local-ref>
		<ejb-ref-name>ejb/liferay/WikiPageLocalManagerHome</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<local-home>com.liferay.portlet.wiki.ejb.WikiPageLocalManagerHome</local-home>
		<local>com.liferay.portlet.wiki.ejb.WikiPageLocalManager</local>
		<ejb-link>com_liferay_portlet_wiki_ejb_WikiPageLocalManager</ejb-link>
	</ejb-local-ref>
</web-app>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to