In JBoss, start the applet to connect to EJB, and a java.net. malformedurlexception: Unknown Protocol: dummy exception occurs.
(In fact, there is another log4j exception:
[Java] log4j: warn no appenders cocould be found for logger (Org. JBoss. Security. securityassociation ).
[Java] log4j: Warn please initialize the log4j system properly.
)
Solution:
Check whether there is a gnujaxp. jar file in your system and delete it.
The gnujaxp. JAR file is most easily installed in $ java_home/JRE/lib/EXT; otherwise you may prefer to modify your classpath. if you have other JAXP parsers installed you may also wish to set up $ java_home/JRE/lib/JAXP. properties so the gnu jaxp drivers are used by default:
# Make JAXP clients prefer the GNU implementations
javax. XML. parsers. saxparserfactory = GNU. XML. aelfred2.jaxpfactory
javax. XML. parsers. documentbuilderfactory = GNU. XML. dom. domdocumentbuilderfactory
javax. XML. transform. transformerfactory = GNU. XML. transform. transformerfactoryimpl
javax. XML. XPath. xpathfactory = GNU. XML. XPath. xpathfactoryimpl
Alternatively, you may specify the use of the experimental libxmlj implementations, as follows:
Javax. xml. parsers. saxparserfactory = GNU. xml. libxmlj. Sax. gnomesaxparserfactory
Javax. xml. parsers. documentbuilderfactory = GNU. xml. libxmlj. Dom. gnomedocumentbuilderfactory
Javax. xml. Transform. transformerfactory = GNU. xml. libxmlj. Transform. gnometransformerfactory
If you are using the portable sax2 bootstrapping APIs, you may want to set the org. XML. sax. driver System property on each JVM invocation to be GNU. XML. aelfred2.saxdriver (non-Validating) or GNU. XML. aelfred2.xmlreader (optionally validating ). otherwise the org. XML. sax. helpers. xmlreaderfactory may not return the parser you provided CT.
If using gnu jaxp as part of GNU classpath, no configuration shocould be necessary.