Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Websphere/RAD and DTD  RSS feed

 
Mike Himstead
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I took over a project based on a Websphere server (developed with RAD 6.0), Struts, Hibernate and Spring. I'm right in the middle of setting up my work environment. Unfortenately many things are undocumented and I my knowledge of J2EE applications is close to nill. I was able to build the project and to start the server, that is, it SEEMS to be running, I haven't found out how to access the applications website yet (this qualifies as a bonus question...)

Anyway, I do have a general problem with my environment. Hibernate and Spring use many XML files whose DOCTYPE delivers a web address. RAD complains about these URIs ("http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd", for example) that the address can't be resolved. As far as I know these addresses aren't MEANT to be resolved, so where does this behavior come from and how can I get rid of it? Could it be a proxy problem?

[ November 07, 2006: Message edited by: Mike Himstead ]
[ November 07, 2006: Message edited by: Mike Himstead ]
 
Priyanka Kumar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To resolve this,
got to Windows-> Preferences->Web and XML-->XML Catalog

Create a XML Catalog Entry :

URI: platform:/resource/ImageRetrieval/WebContent/WEB-INF/spring-beans-2.0.dtd
Key Type:Public ID
Key:-//SPRING//DTD BEAN 2.0//EN

Copy the spring-beans-2.0.dtd in your workspace.. and according your URI will vary.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!