Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

classloader problem for data protocol URL using WSAD 5

Thread view: 
Edward - 13 Feb 2006 15:34 GMT
I have an application using WSAD 5 that is using Apache FOP to generate
images using the external-graphic tag.  I need to generate a new image
using the data protocol for the external-image src.  Apache has a code
patch to allow acceptance of the data protocol.  I am able to
successfully use this patch to generate the image running a standalone
java app but I am not getting the patch to work while running a web
servlet app in WSAD.

After conferring with an FOP forum I was informed that the problem was
because the patch needs to be referenced by basic class libraries
(java.net.URL) in the system class folder.  This expert, however, was
not skilled in WS and did not know how to do this.

I have tried installing this code patch as a JAR in the base java lib
used by WSAD (C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v5\java\bin) as referenced by the ws.ext.dirs
property and as a JAR dependency in the MANIFEST.MF of the WAR module
of the EAR.  In both cases the application does not seem to reference
the code.

How do I install this code patch so that the basic class libraries will
reference it?
Edward - 14 Feb 2006 14:36 GMT
> I have an application using WSAD 5 that is using Apache FOP to generate
> images using the external-graphic tag.  I need to generate a new image
[quoted text clipped - 18 lines]
> How do I install this code patch so that the basic class libraries will
> reference it?

This is how I finally got it to work:

I added my JAR with the new classes and batik.jar to the global via:

Servers -> myserver -> configuration tab -> Process Definition -> Java
Virtual Machine -> Classpath

in Classpath I just listed the two jars separated only by newlines.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.