Lalbahadur Bandaru

Greenhorn
+ Follow
since Jun 01, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Lalbahadur Bandaru

I have made the changes Aaron has mentioned, to the dds, still I am getting the same error. There are no comments in my dds
21 years ago
The following are the dds I am using
ejb-jar.xml...
<?xml version="1.0"? encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC
'-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN'
'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>HelloBean</ejb-name>
<home>sbn.ejb.HelloSessionHome</home>
<remote>sbn.ejb.HelloSessionBean</remote>
<ejb-class>sbn.ejb.HelloSession</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<env-entry>
<env-entry-name>tradeLimit</env-entry-name>
<env-entry-type>java.lang.Integer </env-entry-type>
<env-entry-value>500</env-entry-value>
</env-entry>

</session>

</enterprise-beans>

<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>HelloBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
weblogic-ejb-jar.xml...
<?xml version="1.0"? encoding="UTF-8"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>HelloBean</ejb-name>
<jndi-name>hello.HelloBean</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Thanks
Lal
21 years ago
I checked my ejb-jar and weblogic-ejb-jar files for missing tags. Every thing looks Ok, except, weblogic_sp.jar file in the lib directory is missing. Could this be the problem.
Thanks
Lal
21 years ago
Hi, I am trying to deploy session EJBs on weblogic server with service pack 2 and getting the following error,
Please help me find solution to this error...
[java] org.xml.sax.SAXParseException: The markup in the document preceding
the root element must be well-formed.
[java] at weblogic.apache.xerces.framework.XMLParser.reportError(XMLPar
ser.java:1008)
[java] at weblogic.apache.xerces.framework.XMLDocumentScanner.reportFat
alXMLError(XMLDocumentScanner.java:625)
[java] at weblogic.apache.xerces.framework.XMLDocumentScanner$XMLDeclDi
spatcher.dispatch(XMLDocumentScanner.java:804)
[java] at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome
(XMLDocumentScanner.java:380)
[java] at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.ja
va:900)
[java] at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.
java:128)
[java] at weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.process(EjbJarLoader
_EJB11.java:527)
[java] at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtil
s.java:74)
[java] at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtil
s.java:47)
[java] at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtil
s.java:38)
[java] at weblogic.ejbc20.runBody(ejbc20.java:665)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:81)
[java] at weblogic.ejbc.main(ejbc.java:20)
[java] --------------- nested within: ------------------
[java] weblogic.xml.process.XMLParsingException: The markup in the document
preceding the root element must be well-formed. - with nested exception:
[java] [org.xml.sax.SAXParseException: The markup in the document preceding
the root element must be well-formed.] Line: 1 Column: 1
[java] at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.
java:132)
[java] at weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.process(EjbJarLoader
_EJB11.java:527)
[java] at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtil
s.java:74)
[java] at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtil
s.java:47)
[java] at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtil
s.java:38)
[java] at weblogic.ejbc20.runBody(ejbc20.java:665)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:81)
[java] at weblogic.ejbc.main(ejbc.java:20)
[java] ERROR: weblogic.xml.process.XMLParsingException: The markup in the d
ocument preceding the root element must be well-formed. - with nested exception:
[java] [org.xml.sax.SAXParseException: The markup in the document preceding
the root element must be well-formed.] Line: 1 Column: 1
BUILD FAILED
21 years ago