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 / November 2006

Tip: Looking for answers? Try searching our database.

Servlet help

Thread view: 
corallino6@hotmail.com - 10 Nov 2006 10:53 GMT
Hi all. I've some problems running a servlet which is deployed on Jboss
3.2. The situation is as follows :
- The servlet needs to use version 1.0 of a package named myPackage
- The JBoss installation hosting the servlet use version 2.0 of
myPackage (package jar is deployed in jboss-3.2.3/server/default/lib).
Version 2.0 is needed by other servlets deployed on the same server.

The servlet raises an error because it finds a newer and not compatible
version of myPackage.
I've tried to add myPackage v1.0 to the servlet war but the error
remains the same (jboss goes on referring to myPackage deployed on its
lib dir)

What can I do? Any help will be appreciated!
Manish Pandit - 10 Nov 2006 17:40 GMT
You need to recompile the servlet with version 2.0 of mypackage.
Another option is replacing the 2.0 with 1.0 on the server, but that
will kill the purpose of any upgrade that you did.

-cheers,
Manish
www.pulpjava.com - 10 Nov 2006 22:38 GMT
Sounds like you might have a classloader issue. Read this tutorial to
demystify your classpath issues:

http://www.technicalfacilitation.com/get.php?link=classloading

Cheers!

-Cameron McKenzie

Free Mock Java Certifcation Exams: www.scja.com
Free Java and J2EE Tutorials: www.mcnz.com

www.examscam.com www.pulpjava.com

> You need to recompile the servlet with version 2.0 of mypackage.
> Another option is replacing the 2.0 with 1.0 on the server, but that
> will kill the purpose of any upgrade that you did.
>
> -cheers,
> Manish


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.