• 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

Error 404 - Not found -on accessing JSP- Weblogic 10.3

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am upgrading weblogic 8.1 to weblogic 10.3. My build is successful with ant and i am able to create ejbs.
I am able to deploy the .ear application in exploded mode and all ejbs and web application show deployed and active.
but when i am trying to access any jsp it is saying
Error 404--Not Found
though in tmp file of domain server i can see class files created for jsps.

i had already spent two days on this issue. please help urgently.
observation - when i start the weblogic..it does not show log on unix for deployment of ejbs
but on console it says deployed successfully.


PLEASE ADVISE..
 
neeraj bhardwaj
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody help on this. I am really stuck here..

Other observations -
Whenever there is an error in jsp..my access to jsp shows compilation error but when
there is no errors it says Error 404 - not found.

Quick advise will be greatly appreciated...
 
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having the exact same issue, I was just coming here to ask about it myself. A solution would be fantastic
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

neeraj bhardwaj wrote:Can anybody help on this. I am really stuck here..

Other observations -
Whenever there is an error in jsp..my access to jsp shows compilation error but when
there is no errors it says Error 404 - not found.

Quick advise will be greatly appreciated...



I upgraded several applications from wl 8.1 to 10.3 but never encountered similar problem. Maybe your problem have something to do with exploded deployment? because my apps are always deployed as ear file.

Or does your JSP include or forward another JSP that cannot be found?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

T. Huy Nguyen wrote:

neeraj bhardwaj wrote:Can anybody help on this. I am really stuck here..

Other observations -
Whenever there is an error in jsp..my access to jsp shows compilation error but when
there is no errors it says Error 404 - not found.

Quick advise will be greatly appreciated...



I upgraded several applications from wl 8.1 to 10.3 but never encountered similar problem. Maybe your problem have something to do with exploded deployment? because my apps are always deployed as ear file.

Or does your JSP include or forward another JSP that cannot be found?



Hi T. Huy,
We are using several JSP includes and the include directives are erroring out saying file not found? Any advise is greatly appreciated.

Thanks,
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello neeraj,

Did you fix this issue?
Can you try deploying the EAR directly rather than exploding?

Or if you want it as exploded, then how are you trying to access the page?

 
Aruna Lingaiah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Aruna Lingaiah wrote:

T. Huy Nguyen wrote:

neeraj bhardwaj wrote:Can anybody help on this. I am really stuck here..

Other observations -
Whenever there is an error in jsp..my access to jsp shows compilation error but when
there is no errors it says Error 404 - not found.

Quick advise will be greatly appreciated...



I upgraded several applications from wl 8.1 to 10.3 but never encountered similar problem. Maybe your problem have something to do with exploded deployment? because my apps are always deployed as ear file.

Or does your JSP include or forward another JSP that cannot be found?



Hi T. Huy,
We are using several JSP includes and the include directives are erroring out saying file not found? Any advise is greatly appreciated.

Thanks,



Hi...
I was able to solve this one in our application...
It was actually a bug in our application.The jsps that were being accessed were being pointed to wrong relative path.
In WL8.1, it didn't error as the jsp compiler would automatically try to find from the root. This was because the relative path provided in those jsps would finally point to the root path of the application.
But in 10.3, it errors as it is logically trying to find the file in the specified path and it errors when the file is not found.

I did this by precompiling the jsps using appc before deploying the ear. And then checked the java files generated in both 10.3 and weblogic 8.1 about the jsp inclusions

Not sure if thats the problem with Neeraj's application, but you can try precompiling your jsps before deploying your application.


Cheers..


 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aruna,

Can you please share your build file(if any) or the line precompiling jsps with appc? I'm stuck here. Thank you!
 
reply
    Bookmark Topic Watch Topic
  • New Topic