You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Tang Lin (JIRA)" <ji...@apache.org> on 2007/12/14 13:23:34 UTC
[jira] Created: (WW-2376) configure a domainName in tomcat that
have a bug
configure a domainName in tomcat that have a bug
-------------------------------------------------
Key: WW-2376
URL: https://issues.apache.org/struts/browse/WW-2376
Project: Struts 2
Issue Type: Bug
Components: Dispatch Filter
Affects Versions: 2.0.11
Environment: 1. tomcat 6.0.13+jdk1.6+struts2.0.11 + spring 2.x+ hibernate3.x
2. resin-3.1.4 +jdk1.6+ struts2.0.11 + spring 2.x+ hibernate3.x
Reporter: Tang Lin
Priority: Critical
i'm from china,my english is poor
when i configure a host in tomcat 6.0.13
example :
that a folder in webRoot, the name is "demo".
if i configure an package in struts.xml whith namespace="/demo"
and configure a host in tomcat whith host name="www.test.cn"
run it.
call "http://www.test.cn/demo/params.do" that have an error HTTP Status 404 - /demo/params.do
when i delete the folder "demo"
call again "http://www.test.cn/demo/params.do" that right .that no error.
if i configure the web site in default host, that's right too, no error.
and i configure the web site in resin-3.1.4 .
with host id="www.test.cn" or default host ,that' right too,no error.
struts.xml
<package name="demo-gx80" namespace="/demo" extends="gx80-default">
<action name="*" class="cn.gx80.control.action.basic.BasicAction">
<result>/demo/{1}.html</result>
</action>
<action name="params" class="cn.gx80.control.action.basic.ParameterAction">
<result>/WEB-INF/view/freemarker/demo/params.html</result>
</action>
</package>
****************************************************
this is my configure in tomcat,that have error.
<Host name="www.test.cn" appBase="E:/mywork/gx80-out/WebRoot"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
****************************************************
this is right, hava no error.
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
in resion-3.1.14
no error
<host id="www.test.cn" root-directory="E:/mywork/gx80-out">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
</host>
no error
<host id="" root-directory=".">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2376) configure a domainName in tomcat that
have a bug
Posted by "Tang Lin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tang Lin updated WW-2376:
-------------------------
Description:
i'm from china,my english is poor
when i configure a host in tomcat 6.0.13
example :
that a folder in webRoot, the name is "demo".
if i configure an package in struts.xml whith namespace="/demo"
and configure a host in tomcat whith host name="www.test.cn"
run it.
call "http://www.test.cn/demo/params.do" that have an error HTTP Status 404 - /demo/params.do
when i delete the folder "demo"
call "http://127.0.0.1/demo/params.do" that right .that no error.
if i configure the web site in default host, that's right too, no error.
and i configure the web site in resin-3.1.4 .
with host id="www.test.cn" or default host ,that' right too,no error.
struts.xml
<package name="demo-gx80" namespace="/demo" extends="gx80-default">
<action name="*" class="cn.gx80.control.action.basic.BasicAction">
<result>/demo/{1}.html</result>
</action>
<action name="params" class="cn.gx80.control.action.basic.ParameterAction">
<result>/WEB-INF/view/freemarker/demo/params.html</result>
</action>
</package>
****************************************************
this is my configure in tomcat,that have error.
<Host name="www.test.cn" appBase="E:/mywork/gx80-out/WebRoot"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
****************************************************
this is right, hava no error.
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
in resion-3.1.14
no error
<host id="www.test.cn" root-directory="E:/mywork/gx80-out">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
</host>
no error
<host id="" root-directory=".">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
was:
i'm from china,my english is poor
when i configure a host in tomcat 6.0.13
example :
that a folder in webRoot, the name is "demo".
if i configure an package in struts.xml whith namespace="/demo"
and configure a host in tomcat whith host name="www.test.cn"
run it.
call "http://www.test.cn/demo/params.do" that have an error HTTP Status 404 - /demo/params.do
when i delete the folder "demo"
call again "http://www.test.cn/demo/params.do" that right .that no error.
if i configure the web site in default host, that's right too, no error.
and i configure the web site in resin-3.1.4 .
with host id="www.test.cn" or default host ,that' right too,no error.
struts.xml
<package name="demo-gx80" namespace="/demo" extends="gx80-default">
<action name="*" class="cn.gx80.control.action.basic.BasicAction">
<result>/demo/{1}.html</result>
</action>
<action name="params" class="cn.gx80.control.action.basic.ParameterAction">
<result>/WEB-INF/view/freemarker/demo/params.html</result>
</action>
</package>
****************************************************
this is my configure in tomcat,that have error.
<Host name="www.test.cn" appBase="E:/mywork/gx80-out/WebRoot"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
****************************************************
this is right, hava no error.
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
in resion-3.1.14
no error
<host id="www.test.cn" root-directory="E:/mywork/gx80-out">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
</host>
no error
<host id="" root-directory=".">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
> configure a domainName in tomcat that have a bug
> -------------------------------------------------
>
> Key: WW-2376
> URL: https://issues.apache.org/struts/browse/WW-2376
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.0.11
> Environment: 1. tomcat 6.0.13+jdk1.6+struts2.0.11 + spring 2.x+ hibernate3.x
> 2. resin-3.1.4 +jdk1.6+ struts2.0.11 + spring 2.x+ hibernate3.x
> Reporter: Tang Lin
> Priority: Critical
>
> i'm from china,my english is poor
> when i configure a host in tomcat 6.0.13
> example :
> that a folder in webRoot, the name is "demo".
> if i configure an package in struts.xml whith namespace="/demo"
> and configure a host in tomcat whith host name="www.test.cn"
> run it.
> call "http://www.test.cn/demo/params.do" that have an error HTTP Status 404 - /demo/params.do
> when i delete the folder "demo"
> call "http://127.0.0.1/demo/params.do" that right .that no error.
> if i configure the web site in default host, that's right too, no error.
> and i configure the web site in resin-3.1.4 .
> with host id="www.test.cn" or default host ,that' right too,no error.
> struts.xml
> <package name="demo-gx80" namespace="/demo" extends="gx80-default">
> <action name="*" class="cn.gx80.control.action.basic.BasicAction">
> <result>/demo/{1}.html</result>
> </action>
> <action name="params" class="cn.gx80.control.action.basic.ParameterAction">
> <result>/WEB-INF/view/freemarker/demo/params.html</result>
> </action>
> </package>
> ****************************************************
> this is my configure in tomcat,that have error.
> <Host name="www.test.cn" appBase="E:/mywork/gx80-out/WebRoot"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
> <Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
> </Host>
> ****************************************************
> this is right, hava no error.
> <Host name="localhost" appBase="webapps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
> <Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
> </Host>
> in resion-3.1.14
> no error
> <host id="www.test.cn" root-directory="E:/mywork/gx80-out">
> <web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
> </host>
> no error
> <host id="" root-directory=".">
> <web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2376) configure a domainName in tomcat that
have a bug
Posted by "Tang Lin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tang Lin updated WW-2376:
-------------------------
Description:
i'm from china,my english is poor
when i configure a host in tomcat 6.0.13
example :
************************************************************
that a folder in webRoot, the name is "demo".
if i configure an package in struts.xml whith namespace="/demo"
and configure a host in tomcat whith host name="www.test.cn"
run it.
call "http://www.test.cn/demo/params.do" that have an error HTTP Status 404 - /demo/params.do
when i delete the folder "demo"
call "http://www.test.cn/demo/params.do" again, that right .that no error.
************************************************************
if the web site use path = "/gx80"
call http://www.test.cn/demo/params.do that's right too, no error.
if i configure the web site in default host, that's right too, no error.
and i configure the web site in resin-3.1.4 .
with host id="www.test.cn" or default host ,that' right too,no error.
struts.xml
<package name="demo-gx80" namespace="/demo" extends="gx80-default">
<action name="*" class="cn.gx80.control.action.basic.BasicAction">
<result>/demo/{1}.html</result>
</action>
<action name="params" class="cn.gx80.control.action.basic.ParameterAction">
<result>/WEB-INF/view/freemarker/demo/params.html</result>
</action>
</package>
****************************************************
this is my configure in tomcat,that have error.
<Host name="www.test.cn" appBase="E:/mywork/gx80-out/WebRoot"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
****************************************************
this is right, hava no error.
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
in resion-3.1.14
no error
<host id="www.test.cn" root-directory="E:/mywork/gx80-out">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
</host>
no error
<host id="" root-directory=".">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
was:
i'm from china,my english is poor
when i configure a host in tomcat 6.0.13
example :
that a folder in webRoot, the name is "demo".
if i configure an package in struts.xml whith namespace="/demo"
and configure a host in tomcat whith host name="www.test.cn"
run it.
call "http://www.test.cn/demo/params.do" that have an error HTTP Status 404 - /demo/params.do
when i delete the folder "demo"
call "http://127.0.0.1/demo/params.do" that right .that no error.
if i configure the web site in default host, that's right too, no error.
and i configure the web site in resin-3.1.4 .
with host id="www.test.cn" or default host ,that' right too,no error.
struts.xml
<package name="demo-gx80" namespace="/demo" extends="gx80-default">
<action name="*" class="cn.gx80.control.action.basic.BasicAction">
<result>/demo/{1}.html</result>
</action>
<action name="params" class="cn.gx80.control.action.basic.ParameterAction">
<result>/WEB-INF/view/freemarker/demo/params.html</result>
</action>
</package>
****************************************************
this is my configure in tomcat,that have error.
<Host name="www.test.cn" appBase="E:/mywork/gx80-out/WebRoot"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
****************************************************
this is right, hava no error.
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
</Host>
in resion-3.1.14
no error
<host id="www.test.cn" root-directory="E:/mywork/gx80-out">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
</host>
no error
<host id="" root-directory=".">
<web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
> configure a domainName in tomcat that have a bug
> -------------------------------------------------
>
> Key: WW-2376
> URL: https://issues.apache.org/struts/browse/WW-2376
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.0.11
> Environment: 1. tomcat 6.0.13+jdk1.6+struts2.0.11 + spring 2.x+ hibernate3.x
> 2. resin-3.1.4 +jdk1.6+ struts2.0.11 + spring 2.x+ hibernate3.x
> Reporter: Tang Lin
> Priority: Critical
>
> i'm from china,my english is poor
> when i configure a host in tomcat 6.0.13
> example :
> ************************************************************
> that a folder in webRoot, the name is "demo".
> if i configure an package in struts.xml whith namespace="/demo"
> and configure a host in tomcat whith host name="www.test.cn"
> run it.
> call "http://www.test.cn/demo/params.do" that have an error HTTP Status 404 - /demo/params.do
> when i delete the folder "demo"
> call "http://www.test.cn/demo/params.do" again, that right .that no error.
> ************************************************************
> if the web site use path = "/gx80"
> call http://www.test.cn/demo/params.do that's right too, no error.
> if i configure the web site in default host, that's right too, no error.
> and i configure the web site in resin-3.1.4 .
> with host id="www.test.cn" or default host ,that' right too,no error.
> struts.xml
> <package name="demo-gx80" namespace="/demo" extends="gx80-default">
> <action name="*" class="cn.gx80.control.action.basic.BasicAction">
> <result>/demo/{1}.html</result>
> </action>
> <action name="params" class="cn.gx80.control.action.basic.ParameterAction">
> <result>/WEB-INF/view/freemarker/demo/params.html</result>
> </action>
> </package>
> ****************************************************
> this is my configure in tomcat,that have error.
> <Host name="www.test.cn" appBase="E:/mywork/gx80-out/WebRoot"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
> <Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
> </Host>
> ****************************************************
> this is right, hava no error.
> <Host name="localhost" appBase="webapps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
> <Context path="" docBase="E:/mywork/gx80-out/WebRoot" />
> </Host>
> in resion-3.1.14
> no error
> <host id="www.test.cn" root-directory="E:/mywork/gx80-out">
> <web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
> </host>
> no error
> <host id="" root-directory=".">
> <web-app id="/" root-directory="E:/mywork/gx80-out/WebRoot"/>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.