You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Feng Xie (fxie)" <fx...@cisco.com> on 2005/07/08 21:51:29 UTC

Axis with embedded tomcat :java.util.MissingResourceException: Can't find bundle for base name i18n, locale en_US

Hi,

I am trying to integrate Axis into an embedded Tomcat5.0 engine running
in one application. 

I put all Axis libraries and resources into
$TOMCAT/webapps/axis/WEB-INF/lib/ and
$TOMCAT/webapps/axis/WEB-INF/classes/ ( like what I did with
Axis/Standalone Tomcat server integration ). However, when I tried
"http://localhost:8080/axis" from my browser, I got back the following
page then an exception ( I am sure there is i18n_en.properties under
$TOMCAT/webapps/axis/WEB-INF/classes/ ). 
"
Apache-AXIS

    We've moved to an internationalized top page. The new URL should be
automatically loaded after 5 seconds.
    If you want to visit the new site immediately, please click the
above link. 

Copyright (c) 2005 The Apache Software Foundation. All rights reserved.
"



"type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

org.apache.jasper.JasperException: Can't find bundle for base name i18n,
locale en_US
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:372)
	
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.util.MissingResourceException: Can't find bundle for base name
i18n, locale en_US
	
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.ja
va:839)
	java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:729)
	java.util.ResourceBundle.getBundle(ResourceBundle.java:579)
	org.apache.jsp.axis.index_jsp.getRB(index_jsp.java:72)
	org.apache.jsp.axis.index_jsp.getMessage(index_jsp.java:168)
	org.apache.jsp.axis.index_jsp.getMessage(index_jsp.java:106)
	org.apache.jsp.axis.index_jsp.getLocaleChoice(index_jsp.java:82)
	org.apache.jsp.axis.index_jsp._jspService(index_jsp.java:312)
	
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)
	
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.0 logs.
Apache Tomcat/5."