You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/12/06 14:26:05 UTC
DO NOT REPLY [Bug 5302] New: -
Sealing Violation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5302>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5302
Sealing Violation
Summary: Sealing Violation
Product: Ant
Version: 1.4.1
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Blocker
Priority: Other
Component: Core
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: y_desfosses@hotmail.com
Hi,
I have made a lot of research and testing during the last 2 days, but now I
give up. I searched everywhere on the Internet and it always resume to the fact
that I probably have 2 different implementation of the same class in two
different package and one is probably sealed and the other one not. Am I right ?
I try to run Ant and it does not work, I minimize the script to it's minimum
and I always get this error:
************************************************************
[ydesfosses@devwis ant]$ ./a.sh
====================================
ANT_HOME = /export/home/ydesfosses/jakarta-ant-1.4.1
JAVA_HOME = /export/home/ydesfosses/java
CLASSPATH =
====================================
/export/home/ydesfosses/java/bin/java -
classpath /export/home/ydesfosses/java/lib/tools.jar:/export/home/ydesfosses/jak
arta-ant-1.4.1/lib/ant.jar:/export/home/ydesfosses/jakarta-ant-
1.4.1/lib/jaxp.jar:/export/home/ydesfosses/jakarta-ant-1.4.1/lib/crimson.jar -
Dant.home=/export/home/ydesfosses/jakarta-ant-1.4.1 org.apache.tools.ant.Main
Buildfile: build.xml
BUILD FAILED
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.crimson.jaxp.SAXParserFactoryImpl could not be instantiated:
java.lang.SecurityException: sealing violation
at javax.xml.parsers.SAXParserFactory.newInstance
(SAXParserFactory.java:105)
at org.apache.tools.ant.ProjectHelper.getParserFactory
(ProjectHelper.java:776)
at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:105)
at org.apache.tools.ant.ProjectHelper.configureProject
(ProjectHelper.java:85)
at org.apache.tools.ant.Main.runBuild(Main.java:439)
at org.apache.tools.ant.Main.start(Main.java:153)
at org.apache.tools.ant.Main.main(Main.java:176)
Total time: 0 seconds
Provider org.apache.crimson.jaxp.SAXParserFactoryImpl could not be
instantiated: java.lang.SecurityException: sealing violation
************************************************************
Like you can see I have no CLASSPATH just to make sure there is no magic, I put
manually each jar in my classpath
Environments
- Java 1.3.1
- ANT 1.4.1
- Solaris 2.7
What I also tried !
- Ant 1.4
- Put xerces.jar instead of jaxp.jar
- Changed the order in the classpath
- Unzip the jaxp.jar and crimson.jar and put the directories in my classpath
- Put Java 1.3.1 and Ant in my account in case it would be some rights problem
- The only way I can make it run is either on Windows with Java 1.3.1 or on
Unix with Java 1.2
Please HELP !!!!!!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>