- This topic has 11 replies, 2 voices, and was last updated 19 years, 4 months ago by Riyad Kalla.
-
AuthorPosts
-
jdsrinivasMemberIam trying to Develop an enterprise application with EJB and Web Modules..I followed the instructions in the Quickstart (Enterprise Applications).Iam getting error with sun-ejb-jar.xml file.Please look for the bolded code…
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE sun-ejb-jar PUBLIC “-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN” “http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd”>
<!– Generated by XDoclet –><sun-ejb-jar>
<!–
To add any role mappings, add an Unparsed XML Entity file to your XDoclet
merge directory called sunone-role-mappings.ent that contains the
<role-mapping> elements.
<!ELEMENT role-mapping (role-name, role-impl)>
<!ELEMENT role-impl (group*, user*)>
N.B. This is an Unparsed XML Entity file, rather than an XML Document,
since if there are multiple mappings it will not be well-formed.
–><enterprise-beans>
<ejb>
<ejb-name>Trader</ejb-name><jndi-name>ejb/com/genuitec/trader/ejb/TraderHome</jndi-name>
</ejb>
<!–
To add any persistence manager descriptors, put an XML Document named
sunone-pm-descriptors.xml in your XDoclet merge directory containing the
<pm-descriptors> element.
–></enterprise-beans>
</sun-ejb-jar>My Environment is
Eclipse 3.0
MyEclipse 3.8.4Thanks In Advance
Srini
Riyad KallaMemberPlease clarify what your error is that you are seeing.
jdsrinivasMemberit shows big red cross symbol (not the small on which shows that there is compilation problem) with the message Connection timed out : connect
Riyad KallaMemberYou are likely behind a proxy, be sure to configure your proxy under Window > Prefs > MyEclipse > Internet Tools > INternet Proxy
jdsrinivasMemberNo My Proxy is NOT ENABLED
Riyad KallaMemberCopy this URL into your web browser: http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd
are you able to open the file?
Now try and run Notepad, and paste that URL into the File > Open dialog and hit OK, did the file open?
jdsrinivasMemberYes Iam able to open the url…using my IE as well as Notepad..
Riyad KallaMemberSrini,
I am unable to reproduce this using MYEclipse 3.8.4 or MyEclipse 4.0 GA (Internal build only).Can you provide the Eclipse Build ID (Help > About) and MyEclipse Build ID (Window > Prefs > MYEclipse)
jdsrinivasMemberEclipse Build ID (Help > About
Version: 3.0.0
Build id: 200406251208MyEclipse Build ID (Window > Prefs > MYEclipse
Version: 3.8.4+QF2
Buid Id:200502031200-3.8.4+QF2
Riyad KallaMemberI have setup the same install (in addition to my Eclipse 3.0.1 install I had) and still cannot reproduce this problem, are you able to add a User Entry to the XML catalog (Window > Prefs > MyEclipse > Editors > XML Editor > XML Catalog) for the DTD entry and see if that avoids the timeout issue?
If you don’t have your proxy enabled, have you also made sure to clear out all your proxy settings to make sure the editor isn’t trying to connect to your proxy?
jdsrinivasMemberwhen iam trying to add new User Entry to the XML catalog (Window > Prefs > MyEclipse > Editors > XML Editor > XML Catalog)
Its giving following problem
URI must not included ‘,’ or ‘,,’
for this URI
<!DOCTYPE sun-ejb-jar PUBLIC “-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN” “http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd”>
Thanks for your time and support
Srini
Riyad KallaMemberThe URI you want is just:
-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN
-
AuthorPosts