1 Dec 2010 01:29
Can't find bundle for base name org.apache.xerces.impl.msg.XMLMessages, locale en_GB
Thomas White <thomas.0007 <at> gmail.com>
2010-12-01 00:29:58 GMT
2010-12-01 00:29:58 GMT
Dear all,
Code from the trunk, WIndows XP, JAVA 1.6_0_21
I am working on a file uploading query and a code that worked before now returns the message
Can't find bundle for base name org.apache.xerces.impl.msg.XMLMessages, locale en_GB
when I try to upload a file.
when I try to upload a file.
There have been some complains in the list before but I do not think there was a final solution for it.
I do remember some time ago, the same problem derived me completely mad and at the end I decided to reinstall my whole laptop.
Now, I am against a very aggressive deadline and every hour counts.
Please, please help me to resolve this issue.
Regards,
Thomas
------------------------------
java.util.MissingResourceException: Can't find bundle for base name org.apache.xerces.impl.msg.XMLMessages, locale en_GB
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)
at org.apache.xerces.impl.msg.XMLMessageFormatter.formatMessage(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.exist.xquery.functions.request.GetData.eval(GetData.java:166)
at org.exist.xquery.BasicFunction.eval(BasicFunction.java:68)
at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:55)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59)
at org.exist.xquery.PathExpr.eval(PathExpr.java:241)
at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:72)
at org.exist.xquery.functions.request.SetAttribute.eval(SetAttribute.java:101)
at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:55)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59)
at org.exist.xquery.PathExpr.eval(PathExpr.java:241)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:81)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59)
at org.exist.xquery.PathExpr.eval(PathExpr.java:241)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:81)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59)
at org.exist.xquery.PathExpr.eval(PathExpr.java:241)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:135)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:278)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:205)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59)
at org.exist.xquery.PathExpr.eval(PathExpr.java:241)
at org.exist.xquery.LetExpr.eval(LetExpr.java:155)
at org.exist.xquery.LetExpr.eval(LetExpr.java:206)
at org.exist.xquery.LetExpr.eval(LetExpr.java:206)
at org.exist.xquery.LetExpr.eval(LetExpr.java:206)
at org.exist.xquery.BindingExpression.eval(BindingExpression.java:155)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59)
at org.exist.xquery.PathExpr.eval(PathExpr.java:241)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:59)
at org.exist.xquery.XQuery.execute(XQuery.java:239)
at org.exist.xquery.XQuery.execute(XQuery.java:194)
at org.exist.http.urlrewrite.XQueryURLRewrite.runQuery(XQueryURLRewrite.java:634)
at org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.java:247)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:421)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:456)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
at org.eclipse.jetty.server.Server.handle(Server.java:351)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1059)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:764)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:506)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
at java.lang.Thread.run(Thread.java:619)
------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________ Exist-open mailing list Exist-open <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/exist-open
Thank you!
Anton
P.S. This is the second attempt for this e-mail, first seems to have
been rejected, because of (non zipped) size of my sample document.
I am using eXist 1.5dev rev.12013 (July 2010)
xmldb.log:
-----------
2010-11-29 18:12:15,290 [qtp224301783-2597] DEBUG (LocalCollection.java
[storeResource]:644) - storing document MTEL2010102650017310
.xml
2010-11-29 18:12:16,203 [qtp224301783-1517] DEBUG (LocalCollection.java
[storeResource]:644) - storing document MTEL2010102650017310
.xml
2010-11-29 18:17:54,648 [qtp224301783-4082] DEBUG (LocalCollection.java
[storeResource]:644) - storing document MTEL2010102650017310
.xml
My index configuration is defined at /db/fnp2/data
Collectoin /db/fnp2/data/applications currently contains 20624 documents
like attached sample.
In that part of service, I am receiving Broadcast messages (via REST
interface) and sending Done messages, every message carries
$application-code (element ApplicationID in the messages).
declare variable $defs:data-applications-path :=
'/db/fnp2/data/applications'
declare function fnp2:applications(){
collection($defs:data-applications-path)
};
declare function fnp2:applications-add($app as node()) as node()?{
let $name := fnp2:application-document-name($app),
$path := fnp2:application-collection-path($app)
return
util:catch("*",
doc(xmldb:store($path, $name, $app))/application,
exception:handle-empty(<exception:platform-store
path="{$path}/{$name}"/>)
)
};
declare function fnp2:application-ensure($application-code as xs:string)
as node()?{
let $app := fnp2:applications()//application[ <at> application_code =
$application-code]
return if (exists($app))
then $app
else fnp2:applications-add(<application
application_code="{$application-code}"/>)
};
On 01.12.2010 00:19, Wolfgang Meier wrote:
> I managed to fix another indexing error which was rather difficult to
> debug: in rare cases, some keys in an index got stored into a wrong
> position in the underlying btree. This was caused by a bad computation
> of the page prefix key in certain edge cases. One needs a rather huge
> database and a correspondingly large range index to run into this
> issue.
>
> The fix has been applied to trunk as well as 1.4.x:
>
>
RSS Feed