tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42041] New: - Tomcat deployer can not auto create directory "apache-tomcat-6.0.10\conf\Catalina\localhost"
Date Wed, 04 Apr 2007 05:21:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42041>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42041

           Summary: Tomcat deployer can not auto create directory "apache-
                    tomcat-6.0.10\conf\Catalina\localhost"
           Product: Tomcat 6
           Version: 6.0.10
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: lizongbo@gmail.com


my operation is follow:

1.unzip netbeans6.0 m8 to D:\Java\netbeans.

2.unzip  apache-tomcat-6.0.10.zip to
D:\Java\netbeans\enterprise4\apache-tomcat-6.0.10.

3.change tomcat-users.xml for add  <user username="ide" password="ide"
roles="manager"/>

4.start up netbeans, add tomcat 6.0 in "Server Manger".

5.create a web application, choose server "Tomcat 6.0"

6.run project, thne failed.

filed log is: 

netbeans log :  

Starting server Tomcat 6.0
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
In-place deployment at D:\Java\netbeans\nbwork\shside\build\web
deploy?config=file:/C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/context63484.xml&path=/shside
FAIL - Failed to deploy application at context path /shside
D:\Java\netbeans\nbwork\shside\nbproject\build-impl.xml:866: Deployment error:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 40 seconds)


tomcat log:

java.io.FileNotFoundException:
D:\Java\netbeans\enterprise4\apache-tomcat-6.0.10\conf\Catalina\localhost\shside.xml
(&#31995;&#32479;&#25214;&#19981;&#21040;&#25351;&#23450;&#30340;&#36335;&#24452;&#12290;)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at
org.apache.catalina.manager.ManagerServlet.copyInternal(ManagerServlet.java:1570)
        at org.apache.catalina.manager.ManagerServlet.copy(ManagerServlet.java:1530)
        at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:803)
        at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:345)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
        at java.lang.Thread.run(Thread.java:619)
2007-4-4 13:08:36 org.apache.coyote.http11.Http11Protocol pause




8. I create 
"D:\Java\netbeans\enterprise4\apache-tomcat-6.0.10\conf\Catalina\localhost"
manually.

9. then rerun project again.

10.Succesfull.


so. maybe this is tomcat deployer's bug  or netbeans's bug???

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message