• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EAR additional lib in classpath + Error 403 forbidden Weblogic 6.1 sp1

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I have tester .war which has servlet and it uses third party lib Regex.
I'm able to sucessfully deploy war and acess the servlet which in turn refers to lib.
Here is the hierachy of war
WEB-INF
\classes
\lib
web.xml

I access this as http://localhost:7001/test/Tester.

And Everything works fine.

Note : Here regex nor servlet is given in classpath.


Now I have EJB test.jar. I bundle the jar and war to make test.ear.
After I deploy it, console shows deployed.
But when I try to access it ,it is shows internal server error.
B'cos it requires the classes as well as the third party lib in classpath.
Why is it so. Isn't the Application classloader able to take careof it. (We did not require anything in classpath in case of war).

Second major issue I'm facing is I'm using weblogic 6.1 sp1.
After I deploy EAR i fail to get even index.html
http://localhost:7001/index.html
I get Error 403 Forbidden.

After I restart the server few times sometimes it shows above page.
No other error on console .

Kindly any hints...
Regards
-Sugandha
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Two things:
1) The JavaRanch naming standard requires that you use your real last name and not simply an initial. Please change your display name to reflect this.
2) This is a weblogic deployment question so I am moving this to the weblogic forum.
 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are you using the EJB jar for?
The classes in that jar will not be able to find the classes in your webapps lib directory.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic