Home » Language IDEs » ServerTools (WTP) » XML catalog entries with EJB validator
|
Re: XML catalog entries with EJB validator [message #89066 is a reply to message #89050] |
Thu, 31 March 2005 05:35 |
Eclipse User |
|
|
|
Originally posted by: jeremydyoung.sbcglobal.SPAM.ME.NOT.net
You're on the right track with the XML Catalog. You can download the
file and put it in a project in your workspace. Then you will need to
create a new User Specified Entry with
-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN
as the key, and then pick the file in your project.
The alternative is preferable in my eyes, but it involves modifying a
plugin.xml file for the jst.j2ee_1.0.0.
When you are off-line, you'll probably need quite a few more files than
the one you've already gotten an error for. In this file:
eclipse/plugins/org.eclipse.jst.j2ee_1.0.0/plugin.xml
You can find the list of files that are needed. They are commented out.
In addition, you'll need to change this tag
<extension point="com.ibm.etools.xmlcatalog.catalogContributor">
to this
<extension point="org.eclipse.wst.xml.uriresolver.catalogContributor">
And uncomment whichever files you can download and place in their
correct directories.
Check out the message with subject
web.xml error. ( Possible Solution ) (
j2ee_web_services_client_1_1.xsd not found ) ( reference problems )
I provided a patch.zip that will provide some of the files needed. It
should be fairly clear how to go about filling in the rest of the files
as you find need for them.
Krishna Dasyam wrote:
> Hi,
>
> When I am not connected to internet, when ever I create a SessionBean with
> the wizard, EJB validator gives an error message saying
> http://java.sun.com/dtd/ejb-jar_2_0.dtd file not found. Is there a way to
> specify a catalog entry some where using which EJB validator can find local
> dtd? I tried using XML catalog in the preferences, but of no use. In the XML
> catalog there is plugin specified entries item, what is it for, and how to
> add entries there?
>
>
|
|
|
Re: XML catalog entries with EJB validator [message #89081 is a reply to message #89066] |
Thu, 31 March 2005 06:16 |
Krishna Dasyam Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Wow!!! pretty fast reply. Thanks alot Jeremy!!! I tried already with
eclipse/plugins/org.eclipse.jst.j2ee_1.0.0/plugin.xml
already but didn't change <extension
point="com.ibm.etools.xmlcatalog.catalogContributor">
probably that could be the culprit. let me try and see how it works after
changing.
Thanks
"Jeremy Young" <jeremydyoung@sbcglobal.SPAM.ME.NOT.net> wrote in message
news:d2g29k$c5k$1@news.eclipse.org...
> You're on the right track with the XML Catalog. You can download the file
> and put it in a project in your workspace. Then you will need to create a
> new User Specified Entry with
>
> -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN
>
> as the key, and then pick the file in your project.
>
> The alternative is preferable in my eyes, but it involves modifying a
> plugin.xml file for the jst.j2ee_1.0.0.
>
> When you are off-line, you'll probably need quite a few more files than
> the one you've already gotten an error for. In this file:
>
> eclipse/plugins/org.eclipse.jst.j2ee_1.0.0/plugin.xml
>
> You can find the list of files that are needed. They are commented out.
> In addition, you'll need to change this tag
>
> <extension point="com.ibm.etools.xmlcatalog.catalogContributor">
>
> to this
>
> <extension point="org.eclipse.wst.xml.uriresolver.catalogContributor">
>
> And uncomment whichever files you can download and place in their correct
> directories.
>
> Check out the message with subject
>
> web.xml error. ( Possible Solution ) ( j2ee_web_services_client_1_1.xsd
> not found ) ( reference problems )
>
> I provided a patch.zip that will provide some of the files needed. It
> should be fairly clear how to go about filling in the rest of the files as
> you find need for them.
>
> Krishna Dasyam wrote:
>> Hi,
>>
>> When I am not connected to internet, when ever I create a SessionBean
>> with the wizard, EJB validator gives an error message saying
>> http://java.sun.com/dtd/ejb-jar_2_0.dtd file not found. Is there a way to
>> specify a catalog entry some where using which EJB validator can find
>> local dtd? I tried using XML catalog in the preferences, but of no use.
>> In the XML catalog there is plugin specified entries item, what is it
>> for, and how to add entries there?
>>
|
|
|
Re: XML catalog entries with EJB validator [message #89111 is a reply to message #89081] |
Thu, 31 March 2005 09:00 |
Krishna Dasyam Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Hey Jeremy Young,
Just now I have tried your solution, it works !!!
Thanks for the tip,
Krishna Dasyam
"Krishna Dasyam" <d_kittu@yahoo.com> wrote in message
news:d2g4kn$ev4$1@news.eclipse.org...
> Wow!!! pretty fast reply. Thanks alot Jeremy!!! I tried already with
> eclipse/plugins/org.eclipse.jst.j2ee_1.0.0/plugin.xml
> already but didn't change <extension
> point="com.ibm.etools.xmlcatalog.catalogContributor">
> probably that could be the culprit. let me try and see how it works after
> changing.
>
> Thanks
>
> "Jeremy Young" <jeremydyoung@sbcglobal.SPAM.ME.NOT.net> wrote in message
> news:d2g29k$c5k$1@news.eclipse.org...
>> You're on the right track with the XML Catalog. You can download the
>> file and put it in a project in your workspace. Then you will need to
>> create a new User Specified Entry with
>>
>> -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN
>>
>> as the key, and then pick the file in your project.
>>
>> The alternative is preferable in my eyes, but it involves modifying a
>> plugin.xml file for the jst.j2ee_1.0.0.
>>
>> When you are off-line, you'll probably need quite a few more files than
>> the one you've already gotten an error for. In this file:
>>
>> eclipse/plugins/org.eclipse.jst.j2ee_1.0.0/plugin.xml
>>
>> You can find the list of files that are needed. They are commented out.
>> In addition, you'll need to change this tag
>>
>> <extension point="com.ibm.etools.xmlcatalog.catalogContributor">
>>
>> to this
>>
>> <extension point="org.eclipse.wst.xml.uriresolver.catalogContributor">
>>
>> And uncomment whichever files you can download and place in their correct
>> directories.
>>
>> Check out the message with subject
>>
>> web.xml error. ( Possible Solution ) ( j2ee_web_services_client_1_1.xsd
>> not found ) ( reference problems )
>>
>> I provided a patch.zip that will provide some of the files needed. It
>> should be fairly clear how to go about filling in the rest of the files
>> as you find need for them.
>>
>> Krishna Dasyam wrote:
>>> Hi,
>>>
>>> When I am not connected to internet, when ever I create a SessionBean
>>> with the wizard, EJB validator gives an error message saying
>>> http://java.sun.com/dtd/ejb-jar_2_0.dtd file not found. Is there a way
>>> to specify a catalog entry some where using which EJB validator can find
>>> local dtd? I tried using XML catalog in the preferences, but of no use.
>>> In the XML catalog there is plugin specified entries item, what is it
>>> for, and how to add entries there?
>>>
>
|
|
|
Re: XML catalog entries with EJB validator [message #89143 is a reply to message #89111] |
Thu, 31 March 2005 14:55 |
Eclipse User |
|
|
|
Originally posted by: jeremydyoung.sbcglobal.SPAM.ME.NOT.net
Glad to hear it! Have fun, and share your knowledge! :)
Krishna Dasyam wrote:
> Hey Jeremy Young,
>
> Just now I have tried your solution, it works !!!
>
> Thanks for the tip,
> Krishna Dasyam
>
> "Krishna Dasyam" <d_kittu@yahoo.com> wrote in message
> news:d2g4kn$ev4$1@news.eclipse.org...
>
>>Wow!!! pretty fast reply. Thanks alot Jeremy!!! I tried already with
>>eclipse/plugins/org.eclipse.jst.j2ee_1.0.0/plugin.xml
>>already but didn't change <extension
>>point="com.ibm.etools.xmlcatalog.catalogContributor">
>>probably that could be the culprit. let me try and see how it works after
>>changing.
>>
>>Thanks
>>
>>"Jeremy Young" <jeremydyoung@sbcglobal.SPAM.ME.NOT.net> wrote in message
>>news:d2g29k$c5k$1@news.eclipse.org...
>>
>>>You're on the right track with the XML Catalog. You can download the
>>>file and put it in a project in your workspace. Then you will need to
>>>create a new User Specified Entry with
>>>
>>>-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN
>>>
>>>as the key, and then pick the file in your project.
>>>
>>>The alternative is preferable in my eyes, but it involves modifying a
>>>plugin.xml file for the jst.j2ee_1.0.0.
>>>
>>>When you are off-line, you'll probably need quite a few more files than
>>>the one you've already gotten an error for. In this file:
>>>
>>>eclipse/plugins/org.eclipse.jst.j2ee_1.0.0/plugin.xml
>>>
>>>You can find the list of files that are needed. They are commented out.
>>>In addition, you'll need to change this tag
>>>
>>><extension point="com.ibm.etools.xmlcatalog.catalogContributor">
>>>
>>>to this
>>>
>>><extension point="org.eclipse.wst.xml.uriresolver.catalogContributor">
>>>
>>>And uncomment whichever files you can download and place in their correct
>>>directories.
>>>
>>>Check out the message with subject
>>>
>>> web.xml error. ( Possible Solution ) ( j2ee_web_services_client_1_1.xsd
>>>not found ) ( reference problems )
>>>
>>>I provided a patch.zip that will provide some of the files needed. It
>>>should be fairly clear how to go about filling in the rest of the files
>>>as you find need for them.
>>>
>>>Krishna Dasyam wrote:
>>>
>>>>Hi,
>>>>
>>>> When I am not connected to internet, when ever I create a SessionBean
>>>>with the wizard, EJB validator gives an error message saying
>>>>http://java.sun.com/dtd/ejb-jar_2_0.dtd file not found. Is there a way
>>>>to specify a catalog entry some where using which EJB validator can find
>>>>local dtd? I tried using XML catalog in the preferences, but of no use.
>>>>In the XML catalog there is plugin specified entries item, what is it
>>>>for, and how to add entries there?
>>>>
>>
>
>
|
|
|
Re: XML catalog entries with EJB validator [message #89201 is a reply to message #89143] |
Thu, 31 March 2005 16:26 |
Eclipse User |
|
|
|
Originally posted by: teascape.hotmail.com
Hi Jeremy,
I downloaded your patch.zip file. But, I am getting the "Cannot open file:
it does not appear to be a valid archive" message from my WinZip(7.0). Can
you attach the patch.zip file here again.
Thanks,
teascape
|
|
| |
Goto Forum:
Current Time: Sat Nov 09 23:11:18 GMT 2024
Powered by FUDForum. Page generated in 0.03790 seconds
|