WebLogic installation support - Re: WLP 8.1 weblogic.utils.io.FilenameEncoder$UnsafeFilenameException deploying Pagefl

This is Interesting: Free IT Magazines  
Home > Archive > WebLogic installation support > February 2004 > Re: WLP 8.1 weblogic.utils.io.FilenameEncoder$UnsafeFilenameException deploying Pagefl





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: WLP 8.1 weblogic.utils.io.FilenameEncoder$UnsafeFilenameException deploying Pagefl
Karthi

2004-02-04, 12:41 am

I too have the same problem. According to my understanding this can be
solved by placing the source in the server (linux box)
under your domain where you deploy the application.

Let me know if it help you.

Karthi.

"soteri panagou" <panagos@eircom.net> wrote in message
news:3f8c9bb1@newsgroups.bea.com...
quote:

> I am setting up a development environment with a linux box hosting a
> full WL Platform 8.1 install which i've exposed as a windows share using
> samba quite successfully. (I also start up the weblogic server on the
> linux box)
>
> Now Ive done a full install of WL Platform 8.1 on another windows box,
> and have mounted the shared samba drive as a windows drive (z on the
> windows PC and managed to connect Workshop running on the windows box to
> the running server on the linux box. Things seem to work quite well, For
> example, i've deployed a very simple process and it works fine, i can
> use the test harness to successfully execute the process. However, when
> i try to run a simple page flow that i create, i get the following
> exception:
>
> <15-Oct-2003 00:59:24 o'clock IST> <Error> <HTTP> <BEA-101005>
> < [ServletContext(id=3879938,name=Untitled
,context-path=/Untitled)]
> getRealPath() called with unsafe path: "/WEB-INF/jpf-struts-config.xml".
> weblogic.utils.io. FilenameEncoder$UnsafeFilenameException:

> /home3/bea/DEV/FirstProject/process/Untitled/WEB-INF/jpf-struts-config.xml
> not under:
>


/home3/bea/user_projects/domains/platformdomain/./../../../DEV/FirstProject/
process/Untitled
quote:

> at weblogic.utils.io.FilenameEncoder.getSafeFile(FilenameEncoder.java:220)
> at
>


weblogic.servlet.internal.WebAppServletContext.getRealPath(WebAppServletCont
ext.java:924)
quote:

> at
>


com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.registerStaleModule(Dy
namicSubappActionServlet.java:539)
quote:

> at
>


com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.ensureModuleRegistered
(DynamicSubappActionServlet.java:500)
quote:

> at
>


com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.getModuleConfig(Dynami
cSubappActionServlet.java:455)
quote:

> at
>


com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappA
ctionServlet.java:389)
quote:

> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>


weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1053)
quote:

> at
>


weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:387)
quote:

> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
> at
>


weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
quote:

> at
>


com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:
313)
quote:

> at
>


weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
quote:

> at
>


weblogic.servlet.internal. WebAppServletContext$ServletInvocationAc
tion.run(W
ebAppServletContext.java:6316)
quote:

> at
>


weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
quote:

> at


weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
quote:

> at
>


weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3622)
quote:

> at
>


weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2569)
quote:

> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
>
> I have looked in the weblogic console on the linux box, and it looks
> like the application is deployed with a relative path as opposed to an
> absolute path:
>
> Path: ../../../DEV/FirstProject/process
> The URI, located on the Administration Server, of the original source
> files for this application.
>
> Is there something i can do prevent this problem from occurring? i.e.
> can i tell weblogic workshop to deploy my application with an absolute
> path as opposed to a relative path?
>
> Note: I had exactly the same problem when attempting to deploy page
> flows between two windows pcs, one hosting the server, and trying to run
> pageflows created in workshop on the other, so i dont think it has
> anything to do with me deploying the stuff to windows in this instance.
>




Suban Asif

2004-02-04, 12:43 am

This tip solved the our problem as well. Though our server was Windows 2000 box.

Thanks
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com