db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject DERBY-688: Is this a build problem? a CLASSPATH problem? a security problem?
Date Sat, 05 Aug 2006 15:59:37 GMT
Hi Army,

I believe I've successfully applied the XML patches in
DERBY-688 and built them using the normal build techniques
that I use for Derby.

When I try to run, I see the exception below.

Does this indicate that I missed out a step in building somewhere?
Can you identify what failed to build, and how to correct it?

Or, does this indicate some sort of CLASSPATH problem? Were there
CLASSPATH instructions in your notes that I missed?

Or do we possibly need to change derby_tests.policy somehow?

It's not a message I've seen before; I'm hoping it jumps right out at
you and is simple to identify.

If it's important, this came from trying to run one of your tests,
which I did by:

   java org.a.dT.fT.h.RunTest lang/xml_general.sql

I'm running with Sun JDK 1.4.2 on Linux.

"jar tf $JAVA_HOME/jre/lib/rt.jar | grep -i XMLEntities"
reports that such a file *does* exist in my rt.jar

It didn't seem to matter whether or not I explicitly put a copy
of xalan.jar into my classpath prior to running the test.

thanks,

bryan

org.apache.xml.utils.WrappedRuntimeException: The resource [ file:////org/apache/xalan/serialize/XMLEntities.res
] could not load: 
java.security.AccessControlException: access denied (java.io.FilePermission /org/apache/xalan/serialize/XMLEntities.res
read)
  file:////org/apache/xalan/serialize/XMLEntities.res     java.security.AccessControlException:
access denied 
(java.io.FilePermission /org/apache/xalan/serialize/XMLEntities.res read)
         at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
         at org.apache.derby.iapi.types.SqlXmlUtil.loadSerializer(SqlXmlUtil.java:482)
         at org.apache.derby.iapi.types.SqlXmlUtil.<init>(SqlXmlUtil.java:166)
         at org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindXMLParse(UnaryOperatorNode.java:403)
         at org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindUnaryOperator(UnaryOperatorNode.java:363)
         at org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression(UnaryOperatorNode.java:321)
         at org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindUnaryOperator(UnaryOperatorNode.java:346)
         at org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression(UnaryOperatorNode.java:321)
         at org.apache.derby.impl.sql.compile.ResultColumn.bindExpression(ResultColumn.java:579)
         at org.apache.derby.impl.sql.compile.ResultColumnList.bindExpressions(ResultColumnList.java:558)
         at org.apache.derby.impl.sql.compile.SelectNode.bindExpressions(SelectNode.java:526)
         at org.apache.derby.impl.sql.compile.DMLStatementNode.bindExpressions(DMLStatementNode.java:248)
         at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(DMLStatementNode.java:161)
         at org.apache.derby.impl.sql.compile.CursorNode.bind(CursorNode.java:252)
         at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:344)
         at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:118)
         at 
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:713)
         at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:567)
         at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:516)
         at org.apache.derby.impl.tools.ij.ij.executeImmediate(ij.java:313)
         at org.apache.derby.impl.tools.ij.utilMain.doCatch(utilMain.java:478)
         at org.apache.derby.impl.tools.ij.utilMain.runScriptGuts(utilMain.java:347)
         at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java:248)
         at org.apache.derby.impl.tools.ij.Main.go(Main.java:203)
         at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:169)
         at org.apache.derby.impl.tools.ij.Main14.main(Main14.java:55)
         at org.apache.derby.tools.ij.main(ij.java:69)


Mime
View raw message