I'm getting following error message when i'm executing ejbc from console:- weblogic.xml.process.ProcessorFactoryException: Could not locate processor for public id="-//sun microsystems,inc.//dtd enterprise javabeans 1.1//en" at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:181) at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:164) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:65) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:47) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:38) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81) at weblogic.ejbc.main(ejbc.java:20) My environment is set properly, but i find weblogic_sp.jar file missing from lib directory of wlserver6.0 evaluation copy.Is this actually the problem. If yes, where can i get a copy of this file. Thanx ------------------
Marcos Maia
Ranch Hand
Joined: Jan 06, 2001
Posts: 973
posted
0
hi, xml is case sensitive so change the doctype from your ejb-jar to: <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> hope this helps. regards.
jp tiwari
Greenhorn
Joined: Aug 18, 2001
Posts: 4
posted
0
Hi, it seems the problem is not wit the case.can u suggest me some other resource to get this problem solved. regards
Originally posted by Marcos Maia: hi, xml is case sensitive so change the doctype from your ejb-jar to: <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> hope this helps. regards.
Joe McGuire
Ranch Hand
Joined: Mar 19, 2001
Posts: 293
posted
0
Is it not finding the xml parser? Can you make sure that set CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\lib\weblogic_sp.jar;%WL_HOME%\lib\weblogic.jar;%CLASSPATH% is in your setEnv.cmd file, and that that file is being run (it's okay that weblogic_sp.jar is not in your %WL_HOME%\lib\ directory). If that doesn't fix it, then, try downloading the ejb20.jar file and placing it in the \wlserver6.0\lib\ directory (I was concerned about the references in you error message to weblogic.ejb20.dd.xml....). [This message has been edited by Joe McGuire (edited October 22, 2001).]