Re: IBM VisualAge WTE and struts
Alan! I'm up and running on 3.5.3. I used the xerxes.jar, before importing it to the workspace I had to remove the omg classes from the IBM XML Parser project. Regards /Erik >From: [EMAIL PROTECTED] >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: IBM VisualAge WTE and struts >Date: Wed, 31 Oct 2001 16:16:05 + > > > >I've tried the instructions contained in article >http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast=1 > for getting struts working in VAJ 3.5.2 & 3.53 and have had the following >problems := > >Are the instructions for VAJ3.5.3 are the same as VAJ4.0 ? >I can't find a version JAXP1.01 for download and Version 1.1 does not >contain a parser.jar >Has anybody got struts working on VAJ4 using these instructions ? >Are there any additional steps that need to be performed ? > >If I use Stephen's instructions >I get the problem that the omg classes already exists in IBM XML Parser >What is the solution to this problem := >1 Remove the omg classes from the IBM XML Parser project ? >2 Remove the omg classes from the Xeces project ? > >Any help welcome > >Many Thanks > >Alan > > > > > > >[EMAIL PROTECTED] on 10/20/2001 02:57:52 AM > >Please respond to [EMAIL PROTECTED] > > > >To: [EMAIL PROTECTED] >cc: >Subject: Re: IBM VisualAge WTE and struts > >Hi Hitesh, > >I guess you could say that I "missed" some steps ... but I've learned to >modify the .webapp files by hand. (I provided the strutsexample.webapp >with the directions so you don't _have_ to create one). I suppose at some >point I should take the 10-20 minutes and learn (and write-up) the steps to >do the conversion as part of these notes. > >Sounds like you've already found it but the article that IBM provided that >outlines these steps is available at: > >http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast=1 > > >If you get there before me ... please send me your write up so I can add it >to my instructions. For that matter, if you find anything else in err, or >a "more correct" way to do anything in these instructions, please let me >know. I'd be happy to learn. > >Here to help, >Stephen :-{) > >Stephen Brand >Software Architect >[EMAIL PROTECTED] > > > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _ Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: IBM VisualAge WTE and struts
Hi Alan, In the instructions I posted, (see http://www.mail-archive.com/struts-user@jakarta.apache.org/msg16646.html), I outline a strategy of replacing the files in the "IBM XML Parser for Java" project. I believed that the instructions are pretty explicit on exactly how to do this so if I've missed a step, please let me know and I'll amend the instructions. (although a number of people have already followed these instructions and told me they work fine). Since I posted the instructions, Eric Rizzo has noted (see http://www.mail-archive.com/struts-user@jakarta.apache.org/msg16663.html) that it might be more beneficial to separate out these files and therefore simply remove the .org packages from the "IBM XML Parser for Java" project and then import Xerxes into it's own project (presumable called Xerxes?). I have not tried this yet and so can't speak to this effect ... but if I get time I'm planning on trying it out since I agree with Eric that this is a cleaner way to go. Here to help, Stephen :-{) Stephen Brand Software Architect [EMAIL PROTECTED]
Re: IBM VisualAge WTE and struts
I've tried the instructions contained in article http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast=1 for getting struts working in VAJ 3.5.2 & 3.53 and have had the following problems := Are the instructions for VAJ3.5.3 are the same as VAJ4.0 ? I can't find a version JAXP1.01 for download and Version 1.1 does not contain a parser.jar Has anybody got struts working on VAJ4 using these instructions ? Are there any additional steps that need to be performed ? If I use Stephen's instructions I get the problem that the omg classes already exists in IBM XML Parser What is the solution to this problem := 1 Remove the omg classes from the IBM XML Parser project ? 2 Remove the omg classes from the Xeces project ? Any help welcome Many Thanks Alan [EMAIL PROTECTED] on 10/20/2001 02:57:52 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: IBM VisualAge WTE and struts Hi Hitesh, I guess you could say that I "missed" some steps ... but I've learned to modify the .webapp files by hand. (I provided the strutsexample.webapp with the directions so you don't _have_ to create one). I suppose at some point I should take the 10-20 minutes and learn (and write-up) the steps to do the conversion as part of these notes. Sounds like you've already found it but the article that IBM provided that outlines these steps is available at: http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast=1 If you get there before me ... please send me your write up so I can add it to my instructions. For that matter, if you find anything else in err, or a "more correct" way to do anything in these instructions, please let me know. I'd be happy to learn. Here to help, Stephen :-{) Stephen Brand Software Architect [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: IBM VisualAge WTE and struts
Hi Hitesh, I guess you could say that I "missed" some steps ... but I've learned to modify the .webapp files by hand. (I provided the strutsexample.webapp with the directions so you don't _have_ to create one). I suppose at some point I should take the 10-20 minutes and learn (and write-up) the steps to do the conversion as part of these notes. Sounds like you've already found it but the article that IBM provided that outlines these steps is available at: http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast=1 If you get there before me ... please send me your write up so I can add it to my instructions. For that matter, if you find anything else in err, or a "more correct" way to do anything in these instructions, please let me know. I'd be happy to learn. Here to help, Stephen :-{) Stephen Brand Software Architect [EMAIL PROTECTED]
Re: IBM VisualAge WTE and struts
Hi Stephen: Did you miss some steps in this for conversion of web.xml file to strutsexample.webapp file using the XSL provided with WTE (webapp.xsl)? Thanks, Hitesh. --- [EMAIL PROTECTED] wrote: > Hitesh, > > Included are the instructions for getting the > struts-example (under Struts > v1.0) running in both VAJ 4.0/WTE and WAS 4.0 that I > posted a while ago... > > (Note: The WAS instructions make reference to a .war > file that is too big to > upload to this group but I will send it directly to > anyone who needs it.) > > Here to help, > Stephen :-{) > > Stephen Brand > Software Architect > [EMAIL PROTECTED] > > ATTACHMENT part 2 application/zip name=Installing Struts.zip __ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Re: IBM VisualAge WTE and struts
Thanks Stephen/Eric/Alan/David: Stephen: Could you please send the .war file to me. Also, could you please tell us in this thread, what are the specific changes that you made for this sample to work with WTE / WAS? Eric: It is really a great idea to separate the VAJ projects along the product/API lines. This is a clean approach. It is really a good idea to have a "base" project built for general stuff used by multiple projects e.g. the XML parser. Thanks, Hitesh. --- Eric Rizzo <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > Hitesh, > > > > Included are the instructions for getting the > struts-example (under > > Struts v1.0) running in both VAJ 4.0/WTE and WAS > 4.0 that I posted a > > while ago... > > > Cool, I think it's good idea to write this stuff up. > But I would make one > suggestion: instead of just opening the current > edition of the IBM XML Parser > project and letting it be updated when you import > Xerces/JAXP, I recommend > separating out the various XML API's as I have > described in a message in this > thread a few minutes ago. > > HTH, > Eric > -- > Eric Rizzo > VAJ Frequently Asked Questions at > http://www.jguru.com/faq/VAJ > __ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Re: IBM VisualAge WTE and struts
Eric, I agree that I disliked the fact that IBM packaged up the xml stuff in their project, and I like your idea for separating it out, thank you for posting it. If I get some time between my current projects I'll redo it in my VAJ and then add this to the directions. Thanks for the idea. Here to help, Stephen :-{) Stephen Brand Software Architect [EMAIL PROTECTED]
Re: IBM VisualAge WTE and struts
[EMAIL PROTECTED] wrote: > Hitesh, > > Included are the instructions for getting the struts-example (under > Struts v1.0) running in both VAJ 4.0/WTE and WAS 4.0 that I posted a > while ago... Cool, I think it's good idea to write this stuff up. But I would make one suggestion: instead of just opening the current edition of the IBM XML Parser project and letting it be updated when you import Xerces/JAXP, I recommend separating out the various XML API's as I have described in a message in this thread a few minutes ago. HTH, Eric -- Eric Rizzo VAJ Frequently Asked Questions at http://www.jguru.com/faq/VAJ
Re: IBM VisualAge WTE and struts
[EMAIL PROTECTED] wrote: > What I have done to get round problems like these is to := > 1 Export IBM XML Parser for java to a directory - MY_IBM_XML > 2.Remove all the OMG packages from the directory. > 3. Remove the IBM Xml Parser from the Workspace > 4 Craete a new project IBM XML Parser - OMG > 5 Emport the MY_IBM_XML directory into this project > 6 Create a new project for Xerces > 7 5 Emport Xerces into this project There is no need to do the export and import steps or create a totally new Project. All you need to do is open the IBM XML Parser Project, delete the OMG and W3C packages from it, and then version it with a new name, like "IBM XML Parser (without org.omg.*)" Also make sure that when you import Xerces you don't put the org.omg.* or org.w3c.* packages in that Project either. See my message in this thread a few minutes ago for a good structure for the various XML API's. HTH, Eric -- Eric Rizzo VAJ Frequently Asked Questions at http://www.jguru.com/faq/VAJ
Re: IBM VisualAge WTE and struts
Hitesh Parashar wrote: > Hi: > > I am having tough time establishing peace between VAJ > 4.0 WTE and struts. I am following the "WebSphere > Version 4 Application Development Handbook". > > WTE requires IBM XML Parser for Java and struts > requires me to use Xerces. The following packages are > conflicting between the two > > - org.w3c.dom > - org.xml.sax > - org.xml.sax.helpers > > I created open editions of org.w3c.dom, org.xml.sax, > and org.xml.sax.helpers in the IBM XML Parser for Java > project and then created a new Xerces project and > imported all the source from the Xerces. I get > warnings on doing this. Can I live with these > warnings? > > Any suggestion how should I go about importing struts > in VisualAge 4.0? The strategy I recommend for getting over the fact that org.* packges are in so many different API's is to create a new VAJ Project named "XML Base" and put in there the following packages: org.w3c.dom org.xml.sax org.xml.sax.ext org.xml.sax.helpers I have several versions of this Project, each with different versions of DOM and/or SAX in it (right now, I have loaded version "DOM Level 2, SAX 2" which I imported from JAXP 1.1). I also created a new version of the IBM XML Parser Project and removed the non-IBM specific packages from it (is has only com.ibm.xml.* in it now). Actaully, I later created an XML4J Project to replace the IBM one. I created a JAXP project, and imported the javax.xml.* packages into it. I also have a Xerces Project, with is mostly just the org.apache.xerces packages (also one or two packages like org.apache.xml and org.apache.wml.*). I also have a similar Crimson Project, with just org.apache.crimson.*. The pattern is to separate the VAJ Projects along product or API lines, so that they can co-exist in your VAJ workspace and it is easier to switch between them. It aggravates me to no end that IBM chose to put the org.xml stuff in their parser Project, because a lot of VAJ newbies don't yet understand the separation of Projects as I have described. IBM sets a bad example. HTH, Eric -- Eric Rizzo VAJ Frequently Asked Questions at http://www.jguru.com/faq/VAJ
Re: IBM VisualAge WTE and struts
Hitesh, Included are the instructions for getting the struts-example (under Struts v1.0) running in both VAJ 4.0/WTE and WAS 4.0 that I posted a while ago... (Note: The WAS instructions make reference to a .war file that is too big to upload to this group but I will send it directly to anyone who needs it.) Here to help, Stephen :-{) Stephen Brand Software Architect [EMAIL PROTECTED] Installing Struts.zip
Re: IBM VisualAge WTE and struts
What I have done to get round problems like these is to := 1 Export IBM XML Parser for java to a directory - MY_IBM_XML 2.Remove all the OMG packages from the directory. 3. Remove the IBM Xml Parser from the Workspace 4 Craete a new project IBM XML Parser - OMG 5 Emport the MY_IBM_XML directory into this project 6 Create a new project for Xerces 7 5 Emport Xerces into this project What a pain hope it helps Alan
IBM VisualAge WTE and struts
Hi: I am having tough time establishing peace between VAJ 4.0 WTE and struts. I am following the "WebSphere Version 4 Application Development Handbook". WTE requires IBM XML Parser for Java and struts requires me to use Xerces. The following packages are conflicting between the two - org.w3c.dom - org.xml.sax - org.xml.sax.helpers I created open editions of org.w3c.dom, org.xml.sax, and org.xml.sax.helpers in the IBM XML Parser for Java project and then created a new Xerces project and imported all the source from the Xerces. I get warnings on doing this. Can I live with these warnings? Any suggestion how should I go about importing struts in VisualAge 4.0? Thanks, Hitesh. __ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com