• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

weblogic.ejbc command problem

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
------------------
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


 
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
reply
    Bookmark Topic Watch Topic
  • New Topic