File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Edit Contents with deploytool" Watch "Edit Contents with deploytool" New topic
Author

Edit Contents with deploytool

Drake Almonto
Greenhorn

Joined: Apr 29, 2005
Posts: 16
Hi,
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?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Edit Contents with deploytool
 
Similar Threads
Unable to run deploytool
Error during Verify J2EE compliance with deploytool
Logout problem
A strange thing is happening here , i have no clue,pl help
next upgrade in a few days