OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need your help



I think maybe this is the stupid quesion
i got a parser using SAX : myclass extends DefaultHandler
i got in trouble with "extends" .
I make a servlet import this myclass and using method of myclass but i always got an error "sealing violation"
    i attach my servlet and my trong.java for anyone can solve this problem
Thanks in advance
Trong Van Ho
 
 
PS: i use JRUN and i always receive this error message?
    what happening ???
 
 

500 Internal Server Error

/default/servlet/xml.sqlcatch:

sealing violation
java.lang.SecurityException: sealing violation
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at xml.sqlcatch.doPost(sqlcatch.java:100)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at allaire.jrun.servlet.JRunNamedDispatcher.forward(../servlet/JRunNamedDispatcher.java:34)
	at allaire.jrun.servlet.Invoker.service(../servlet/Invoker.java:84)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:88)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
	at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:107)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)

This is the demo for sql syntax in xml ...!!!

Please select table name       :
Please select column name    :
Please select your conditions :
Name                                   :         
Please select Job
Please select Sal

 

sqlcatch.java

trong.java