The deploy tool inside JRun uses an XML parser for reading your deployment
descriptor. Usually errors like this are due to having another XML parser
in the classpath, conflicting with the one the deploy tool thinks it should
use.
It uses JAXP 1.0 and parser.jar from Sun by default. Do you have some other
XML jars in the vicinity that might be muddying the works?
Scott Stirling
-----Original Message-----
From: [EMAIL PROTECTED]
To: JRun-Talk
Sent: 8/23/01 3:52 PM
Subject: No value for sax.parser property error
Hi All,
Has anybody ever experienced "java.lang.NullPointerException:No value
for
sax.parser property" error while deploying EntityBean through Jrun
Management Console.
Following is the ejb-jar.xml file -
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD
EnterpriseJavaBeans
1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
<ejb-jar>
<enterprise-beans>
<entity>
<ejb-name>asi.DataModel</ejb-name>
<home>com.emc.asi.ejb.DataModelHome</home>
<remote>com.emc.asi.ejb.DataModel</remote>
<ejb-class>com.emc.asi.ejb.DataModelBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
</entity>
</enterprise-beans>
<assembly-descriptor>
<security-role>
<role-name>all</role-name>
</security-role>
<method-permission>
<role-name>all</role-name>
<method>
<ejb-name>asi.DataModel</ejb-name>
<method-name>create</method-name>
</method>
<method>
<ejb-name>asi.DataModel</ejb-name>
<method-name>findByPrimaryKey</method-name>
</method>
</method-permission>
</assembly-descriptor>
</ejb-jar>
Ths class file for bean are simple has no special function except all
EntityBean functions.
Any help will be appreciated.
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists