You need to change the docbase attribute to 'viettrieu' as in:
<Context path="/viettrieu" docBase="viettrieu"
crossContext="true">
</Context>
This context file should be called viettrieu.xml.
Also, you should modify the portletcontainer.uniquename property in WEB-INF/config/services/ConfigService.properties like this:
portletcontainer.uniquename = viettrieu
| Nguyen Viet Trieu <[EMAIL PROTECTED]>
04/25/2005 07:34 PM
|
|
Hi there,
I deployed portlet. Now I want to modify
the context Pluto is running under, i modify the path
attribute in
{PLUTO_HOME}/conf/Catalina/localhost :
Before:
<Context path="/pluto" docBase="pluto"
crossContext="true">
</Context>
After:
<Context path="/viettrieu" docBase="pluto"
crossContext="true">
</Context>
then i added all files and folders from pluto folder
and deleted
pluto folder.
but when i typied link :
http://localhost:8080/viettrieu/portal
(instead of http://localhost:8080/pluto/portal )there
was
porblem :
"HTTP Status 404 - Servlet pluto is not available
type : Status report
message : Servlet pluto is not available
description : The requested resource (Servlet pluto
is
not available) is not available."
In log file i saw error : "unable to access context
for /testsuite at
org.apache.pluto.PortalImpl.loadApplicationDefinition(
PortletDefinitionRegistryServiceContextImpl.java:143)"
and many things.
i guessed that it can't find /testsuite directory but
i don't know which conf file i have to modify.
Cheer,
Viet Trieu
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
</html>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
