[jdom-interest] JDOM and Visual Age

philip.nelson at omniresources.com philip.nelson at omniresources.com
Tue Aug 28 20:19:19 PDT 2001


I can't say for certain since I don't use the WTE but here are a couple of
things to check.

OK so you deleted the org.w3c.* packages.  When you imported Crimson, you
added them again.  However, the project you imported crimson into is
probably not in the classpath for WTE.  Easiest solution is to make Crimson
an extension project which will add it to the classpath of all your
projects, and thus put the org.w3c classes in the WTE classpath.

My personal approach is to put the org.w3c classes in thier own project and
make that an extension project.

There is a possibility that the org.w3c classes are an older version than
the ones in the ibm parser project.  If you go back to the repository, you
can select just those classes and add them to the workspace.  Now they will
go into the Crimson project instead of the ibm parser project since that's
where they are at the time.

WTE is kind of pig, even if it does have some nice features.  Tomcat and
Resin both work a little better in VAJ IMHO.

> -----Original Message-----
> From: Peter Donn [mailto:PDonn at orygen.com]
> Sent: Friday, August 24, 2001 10:20 AM
> To: jdom-interest at jdom.org
> Subject: [jdom-interest] JDOM and Visual Age
> 
> 
> Hi everyone
> 
> I'm trying to use JDOM in the Visual Age environment.  As per info on
> JDOM site I've:
> - deleted the org.* packages from the IBM XML Parser for Java then
> versioned it.
> - Created a new project - "Crimson", imported the crimson.jar,
> versioned it
> - Created a new project - "JDOM", imported the jdom.jar, versioned it
> - Created a new project - "Xalan", imported the jdom.jar, versioned
> it.
> - Created a new project for my code and set Visual Age to autocompute
> the classpath (right click on code file, select Properties and pressed
> compute button).
> 
> I've run some code that does various operations, including create a
> JDOM Document, manipulate it, write to a file, do a transformation
> using a XSL file.
> This all works, now here is my problem.
> 
> When I run a very basic JSP using the Websphere Test Environment
> servlet engine, and have a statement like:
> <%! int i; %>
> in it, then when I run it for the second time it crashes Visual Age -
> it goes into a high-cpu loop which it stays in.
> 
> Have I messed up Visual Age in some way by removing the org.* files?
> Have I imported the right jar files?
> 
> Some help will be greatly appreciated!
> Thanks
> Peter.
> 
> 
> 
> **********************************************************************
> Privileged, confidential and/or copyright information may be contained
> in this e-mail. This e-mail is for the use only of the intended
> addressee. If you are not the intended addressee, or the person
> responsible for delivering it to the intended addressee, you may not
> copy, forward, disclose or otherwise use it or any part of it in any
> way whatsoever. To do so is prohibited and may be unlawful.
> 
> If you receive this e-mail by mistake please advise the sender
> immediately by using the reply facility in your e-mail software.
> 
> Orygen (UK) Limited may monitor the content of e-mails sent and
> received via its network for the purposes of ensuring compliance with
> its policies and procedures.
> 
> This message is subject to and does not create or vary any contractual
> relationship between Orygen (UK) Limited and you
> **********************************************************************
> 
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com



More information about the jdom-interest mailing list