Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to run Stateful EJB program on windows vista  RSS feed

 
carox kaur
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting following exception when I try to execute a stateful EJB program on windows vista. This program is working accurately on xp opertaing system but is'nt running on windows vista. I am using weblogic application server to execute EJB. Although the stateless programs are running but this is'nt running on vista. No such exception was thrown when I executed the stateless ejb program. On my laptop (having vista) there is no such folder named Document (or Document and settings) under C drive.
I was trying to uplaod the file in zip or rar format but that is now allowed so I ll copy all the contents of the program is required.....

javax.servlet.UnavailableException: Working directory: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ was not found and could not be created.
at weblogic.servlet.jhtmlc.PageCompileServlet.init(PageCompileServlet.java:108)
at weblogic.servlet.JSPServlet.init(JSPServlet.java:49)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
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)
 
bksella sella
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Carox,

Check your weblogic.xml file for the value, that is set for the parameter "workingDir". Its value should be a valid directory under Windows Vista.

Hope this helps.

BK Sella
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!