File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Edit Contents with deploytool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Edit Contents with deploytool" Watch "Edit Contents with deploytool" New topic

Edit Contents with deploytool

Drake Almonto

Joined: Apr 29, 2005
Posts: 16
I am using the deploytool to verify and deploy my ejb's and jsp pages. As a result of testing, I needed to make changes to a couple of my jsp pages. When I use the "Edit Contents" button within the deploytool to update the war file, it asks me if I want to overwrite the existing jsp page. I am clicking on the "yes" button and the jsp page is apparently overwritten. After saving the updated war file, I am running "verify J2EE compliance" on the war file. I am getting an failure during verify that is referencing a line in the jsp page that is no longer in the jsp page.

I tried removing the jsp page altogether and verifying. The error goes away. When I add the jsp page back, the error comes back and still references the same line of code in the jsp page that is no longer in the page.

I feel like some older version of the jsp page has not been cleared or removed entirely when I do "Edit Contents" with the deploytool, even though the overwrite seems to work successfully.

I am new to J2EE, ejb's and jsp pages. Can anyone tell me what I am doing wrong and why my changed jsp page still gets a verify error for a line of code that has been removed?

I agree. Here's the link:
subject: Edit Contents with deploytool
It's not a secret anymore!