aspose file tools*
The moose likes Tomcat and the fly likes DTD issue in migration from weblogic to tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "DTD issue in migration from weblogic to tomcat server" Watch "DTD issue in migration from weblogic to tomcat server" New topic
Author

DTD issue in migration from weblogic to tomcat server

sanjay kankariya
Greenhorn

Joined: Feb 28, 2011
Posts: 3
Hi,

We are doing migration of our application from Weblogic to Tomcat. We have deployed our application of Linux server. Now here, the issue is.

Our production release failed. Below is the reason.

In some files like

1.cm.tld we have external reference for DTD files as shown below.

<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">

2. struts-bean.tld
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"

"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

At the time of production release, java.sun.com was down and because of this our application could not find DTD at runtime and release failed. And we had to roll back.

Now it is decided that external reference need to be removed and to keep these DTDs in local path ... may be inside <our app>/WEB-INF/DTD/ directory.

I have downloaded these DTDs and kept in WEB-INF/DTD folder. Now how to refer these DTDs from nm.tld and struts-bean.tld file ???

Please help. This is very urgent. I am badly stuck at it.

Thanks,
Sanjay
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

sanjay kankariya wrote:This is very urgent.

Please EaseUp. There is no such thing as "urgent" around here.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DTD issue in migration from weblogic to tomcat server