Some trouble when initializing TOMCAT from WSAD IDE... (Above)

-----Mensagem original-----
De: Oscar (Eccox) [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 7 de agosto de 2003 11:46
Para: 'Tomcat Users List'
Assunto: RES: TOMCAT x WSAD


No, my application is not in the root directory... It is in
$TOMCAT_HOME/webapps... And this is the error: WSAD is putting a slash
in the docBase string, instead of leaving 'application' alone, that
means a relative path to $TOMCAT_HOME/webapps... Why WSAD puts this
slash ???

Thanks for your colaboration...

===========================
Jos� Oscar de Souza Eduardo
Coordenador de Projetos
tel: 3047-4541
fax: 3047-4550
[EMAIL PROTECTED]
===========================     
 


-----Mensagem original-----
De: Angus Mezick [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 7 de agosto de 2003 11:12
Para: Tomcat Users List
Assunto: RE: TOMCAT x WSAD


Application is in your root directory?  You docBase seems to think so.
--Angus

        -----Original Message-----
        From: Oscar (Eccox) [mailto:[EMAIL PROTECTED] 
        Sent: Thursday, August 07, 2003 9:11 AM
        To: [EMAIL PROTECTED]
        Subject: TOMCAT x WSAD
        
        
        Hi, List,
         
        I'm using WSAD with TOMCAT... When I select 'Run On Server' in
the WSAD menu, the TOMCAT starts in debug mode and the Navigator opens
and points to my index.jsp page, for example. But, I receive the error:
         
        

        HTTP Status 404 - /application/index.jsp

  _____  


        type Status report

        message /application/index.jsp

        description The requested resource (/application/index.jps) is
not available.

  _____  


        Apache Tomcat/4.1.24

        Looking in the $TOMCAT_HOME/conf/server.xml, I find this line:
         
        <Context docBase="/application" path="/application"
reloadable="true" source="application"/>

        And, when I remove the slash in docBase, and then restart
TOMCAT, mannualy, everything works fine...
        This line is created automatically by WSAD in server.xml...
Anybody knows why it creates the line with this error ????
         
        Thanks,
         
        PS. In the project properties (WSAD), in the Web section, the
'Context Root' parameter is 'myweb', different from 'application'. WSAD
is using the project name instead of context root for create the line in
server.xml...
         
        ===========================
Jos� Oscar de Souza Eduardo
Coordenador de Projetos
tel: 3047-4541
fax: 3047-4550
[EMAIL PROTECTED]
===========================     
         
         



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to