Win a copy of Production-Ready Serverless (Operational Best Practices) this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

deploying web application in weblogic8.1  RSS feed

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i hava created one web application and i deployed it in weblogic server
it was showing first page tat was index page
the problem was
when i was trying to access the servlet it was showing some error

the error was
error 500 internal server error

javax.servlet.ServletException: [HTTP:101249][ServletContext(id=12188848,name=myWebApp,context-path=/myWebApp-1)]: Servlet class login for servlet login could not be loaded because the requested class was not found in the classpath C:\bea\user_projects\project\applications\myWebApp;C:\bea\user_projects\project\applications\myWebApp\WEB-INF\classes;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\msbase15983.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\mssqlserver15984.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\msutil15985.jar;C:\bea\user_pr ojects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\multipartrequest15986.jar;C:\bea\user_projects\project\myserver\.wlnotdelete\extract\myserver_proj_myWebApp.
java.lang.UnsupportedClassVersionError: login (Unsupported major.minor version 49.0).
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:794)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)


and one more thing when i tried to deploy small program tat was executing nicely tat was invoking servlet from jsp output of this servlet was displaying the welcome msg

in my proj when i m trying to invoke servlet from jsp it was showing the above mentioned error i don know y



pls help me blackriaz@gmail.com
 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Riyaz,

Seems the issue is with your classpath settings. Do one thing, just edit your DOMAIN start up scripts i.e startWLS.cmd .

The jars required by your application like struts.jar, etc are missing from the classpath. Just set them and you will rock !!

I faced similar issue as well.

Cheers,
Saurabh
 
Die Fledermaus does not fear such a tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!