• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Weblogic 6.1 bad exception-type from web.xml

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
My <error-page> works in tomcat 4.0 but get errors when starting weblogic 6.1 with same application war file. The error is :
<Feb 18, 2002 10:48:05 AM EST> <Error> <HTTP> <Bad exception-type in web.xml: com.sales.trailadjustments.ValidUserException
java.lang.ClassNotFoundException: com.mackenzie.sales.trailadjustments.ValidUserException
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)

I have the following in my web.xml file:
<error-page>
<exception-type>com.sales.trailadjustments.ValidUserException</exception-type>
<location>/user_error1.jsp</location>
</error-page>

Help!...what is the problem in Weblogic 6.1

thanks!
 
Darth
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the funny thing is that it worked in weblogic 6.0 but not in weblogic 6.1.....help!!
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Darth:
the funny thing is that it worked in weblogic 6.0 but not in weblogic 6.1.....help!!


Hi! I'm currently having this problem too... I hope somebody could help I'm actually new to weblogic so I really have no idea what's wrong...
 
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Darth & dredie , Welcome to JavaRanch.
Please change your name to comply with the naming policy to which you agreed when you registered.
You can change your name here:
here

You can also find the naming policy here:
http://www.javaranch.com/name.jsp
Thank You!
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java.lang.ClassNotFoundException
is the problem you are getting
Where is this class?? where have you put in in the war.
 
Dred Dy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rahul Mahindrakar:
java.lang.ClassNotFoundException
is the problem you are getting
Where is this class?? where have you put in in the war.



The class is in the .war file. It's in myPackage.myClass
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dred ,
com.mackenzie.sales.trailadjustments.ValidUserException
This class must be available either under the WEB-INF\classes folder
or
must be available in
WEB-INF\lib
in a jar file, perhaps zip formats are not supported
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WLS 6.1 has hell lot of problems with regards to web applications. ClassNotFoundException should not have been thrown as per WLS 6.1 docs. In WLS 6.1 sp3/WLS 7.0 It didn't give error.

Yes, it works fine in Tomcat.
Also some other issues that I faced was in regards to specifying IDLength for limitting session id length. Also log4j1.2 had problem with WLS 6.1 sp2.
Do install ur application on WLS 7.0.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic