You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/09/13 14:52:35 UTC

[DO NOT REPLY: Bug 3581] New: Ctx() : Error creating validation mark - java.io.FileNotFoundException

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3581

*** shadow/3581	Thu Sep 13 05:52:35 2001
--- shadow/3581.tmp.2600	Thu Sep 13 05:52:35 2001
***************
*** 0 ****
--- 1,67 ----
+ +============================================================================+
+ | Ctx() : Error creating validation mark  - java.io.FileNotFoundException    |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3581                        Product: Tomcat 3                |
+ |       Status: NEW                         Version: 3.3 Beta 2              |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Linux                   |
+ |     Priority: Other                     Component: Unknown                 |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: tomcat-dev@jakarta.apache.org                                |
+ |  Reported By: nicolas.mailhot@one2team.com                                 |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Hi,
+ 
+ Since we've moved to tomcat 3.3-b1 & tomcat 3.3-b2, we've been getting this
+ error into the logs :
+ 
+ 2001-09-13 14:44:40 - SessionIdGenerator: Opening /dev/urandom
+ 2001-09-13 14:44:40 - ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml
+ 2001-09-13 14:44:40 - PathSetter: home=/var/tomcat
+ 2001-09-13 14:44:41 - ContextXmlReader: Context
+ config=$TOMCAT_HOME/conf/apps-kitu.xml
+ 2001-09-13 14:44:41 - AutoDeploy: Source or destination missing 
+ 2001-09-13 14:44:41 - AutoWebApp: No autoconf directory /var/tomcat/modules
+ 2001-09-13 14:44:41 - AutoWebApp: Auto-Adding DEFAULT:/kitu-1.9.39
+ 2001-09-13 14:44:41 - ContextManager: Tomcat configured and in stable state 
+ 2001-09-13 14:44:41 - WorkDirSetup: Creating work dir
+ /var/tomcat/work/kitu.olympe.o2t/ROOT
+ 2001-09-13 14:44:41 - ContextManager: Adding  kitu.olympe.o2t:/ROOT
+ 2001-09-13 14:44:41 - WorkDirSetup: Creating work dir
+ /var/tomcat/work/DEFAULT/kitu-1.9.39
+ 2001-09-13 14:44:41 - ContextManager: Adding  DEFAULT:/kitu-1.9.39
+ 2001-09-13 14:44:41 - Ctx() : Validating web.xml
+ 2001-09-13 14:44:41 - Ctx() : Error creating validation mark  -
+ java.io.FileNotFoundException:
+ /var/tomcat/work/kitu.olympe.o2t/ROOT/webxmlval.txt (No such file or directory)
+         at java.io.FileOutputStream.open(Native Method)
+         at java.io.FileOutputStream.<init>(FileOutputStream.java:108)
+         at java.io.FileOutputStream.<init>(FileOutputStream.java:68)
+         at java.io.FileOutputStream.<init>(FileOutputStream.java:138)
+         at
+ org.apache.tomcat.facade.WebXmlReader.processWebXmlFile(WebXmlReader.java:237)
+         at org.apache.tomcat.facade.WebXmlReader.contextInit(WebXmlReader.java:112)
+         at org.apache.tomcat.core.Context.init(Context.java:542)
+         at org.apache.tomcat.core.ContextManager.init(ContextManager.java:595)
+         at
+ org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:425)
+         at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:546)
+         at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:530)
+         at
+ org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:163)
+         at java.security.AccessController.doPrivileged(Native Method)
+         at
+ org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:96)
+         at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:528)
+         at java.lang.reflect.Method.invoke(Native Method)
+         at
+ org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
+         at org.apache.tomcat.startup.Main.execute(Main.java:307)
+         at org.apache.tomcat.startup.Main.main(Main.java:134) 
+ 
+ is it dangerous ?
+ How can we solve this ?

[PATCH][Bug 3581] New: Ctx() : Error creating validation mark - java.io.FileNotFoundException

Posted by Bill Barker <wb...@wilshire.com>.
Make certain that the directory exists.
----- Original Message -----
From: <bu...@apache.org>
To: <to...@jakarta.apache.org>
Sent: Thursday, September 13, 2001 5:52 AM
Subject: [DO NOT REPLY: Bug 3581] New: Ctx() : Error creating validation
mark - java.io.FileNotFoundException


> PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
> ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
> AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
> DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
> BE LOST SOMEWHERE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3581
>
> *** shadow/3581 Thu Sep 13 05:52:35 2001
> --- shadow/3581.tmp.2600 Thu Sep 13 05:52:35 2001
> ***************
> *** 0 ****
> --- 1,67 ----
> +
+===========================================================================
=+
> + | Ctx() : Error creating validation mark  -
java.io.FileNotFoundException    |
> +
+---------------------------------------------------------------------------
-+
> + |        Bug #: 3581                        Product: Tomcat 3
|
> + |       Status: NEW                         Version: 3.3 Beta 2
|
> + |   Resolution:                            Platform: PC
|
> + |     Severity: Normal                   OS/Version: Linux
|
> + |     Priority: Other                     Component: Unknown
|
> +
+---------------------------------------------------------------------------
-+
> + |  Assigned To: tomcat-dev@jakarta.apache.org
|
> + |  Reported By: nicolas.mailhot@one2team.com
|
> + |      CC list: Cc:
|
> +
+---------------------------------------------------------------------------
-+
> + |          URL:
|
> +
+===========================================================================
=+
> + |                              DESCRIPTION
|
> + Hi,
> +
> + Since we've moved to tomcat 3.3-b1 & tomcat 3.3-b2, we've been getting
this
> + error into the logs :
> +
> + 2001-09-13 14:44:40 - SessionIdGenerator: Opening /dev/urandom
> + 2001-09-13 14:44:40 - ServerXmlReader:
Config=$TOMCAT_HOME/conf/server.xml
> + 2001-09-13 14:44:40 - PathSetter: home=/var/tomcat
> + 2001-09-13 14:44:41 - ContextXmlReader: Context
> + config=$TOMCAT_HOME/conf/apps-kitu.xml
> + 2001-09-13 14:44:41 - AutoDeploy: Source or destination missing
> + 2001-09-13 14:44:41 - AutoWebApp: No autoconf directory
/var/tomcat/modules
> + 2001-09-13 14:44:41 - AutoWebApp: Auto-Adding DEFAULT:/kitu-1.9.39
> + 2001-09-13 14:44:41 - ContextManager: Tomcat configured and in stable
state
> + 2001-09-13 14:44:41 - WorkDirSetup: Creating work dir
> + /var/tomcat/work/kitu.olympe.o2t/ROOT
> + 2001-09-13 14:44:41 - ContextManager: Adding  kitu.olympe.o2t:/ROOT
> + 2001-09-13 14:44:41 - WorkDirSetup: Creating work dir
> + /var/tomcat/work/DEFAULT/kitu-1.9.39
> + 2001-09-13 14:44:41 - ContextManager: Adding  DEFAULT:/kitu-1.9.39
> + 2001-09-13 14:44:41 - Ctx() : Validating web.xml
> + 2001-09-13 14:44:41 - Ctx() : Error creating validation mark  -
> + java.io.FileNotFoundException:
> + /var/tomcat/work/kitu.olympe.o2t/ROOT/webxmlval.txt (No such file or
directory)
> +         at java.io.FileOutputStream.open(Native Method)
> +         at java.io.FileOutputStream.<init>(FileOutputStream.java:108)
> +         at java.io.FileOutputStream.<init>(FileOutputStream.java:68)
> +         at java.io.FileOutputStream.<init>(FileOutputStream.java:138)
> +         at
> +
org.apache.tomcat.facade.WebXmlReader.processWebXmlFile(WebXmlReader.java:23
7)
> +         at
org.apache.tomcat.facade.WebXmlReader.contextInit(WebXmlReader.java:112)
> +         at org.apache.tomcat.core.Context.init(Context.java:542)
> +         at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:595)
> +         at
> +
org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.jav
a:425)
> +         at
org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:546)
> +         at
org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:530)
> +         at
> +
org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.
java:163)
> +         at java.security.AccessController.doPrivileged(Native Method)
> +         at
> +
org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:96
)
> +         at
org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:528)
> +         at java.lang.reflect.Method.invoke(Native Method)
> +         at
> +
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87
)
> +         at org.apache.tomcat.startup.Main.execute(Main.java:307)
> +         at org.apache.tomcat.startup.Main.main(Main.java:134)
> +
> + is it dangerous ?
> + How can we solve this ?
>
>


*----*

This message is intended only for the use of the person(s) listed above 
as the intended recipient(s), and may contain information that is 
PRIVILEGED and CONFIDENTIAL.  If you are not an intended recipient, 
you may not read, copy, or distribute this message or any attachment.  
If you received this communication in error, please notify us immediately 
by e-mail and then delete all copies of this message and any attachments.


In addition you should be aware that ordinary (unencrypted) e-mail sent 
through the Internet is not secure. Do not send confidential or sensitive 
information, such as social security numbers, account numbers, personal 
identification numbers and passwords, to us via ordinary (unencrypted) 
e-mail. 

[PATCH][ Bug 3581] New: Ctx() : Error creating validation mark - java.io.FileNotFoundException

Posted by Bill Barker <wb...@wilshire.com>.
Let's try that again.
----- Original Message -----
From: <bu...@apache.org>
To: <to...@jakarta.apache.org>
Sent: Thursday, September 13, 2001 5:52 AM
Subject: [DO NOT REPLY: Bug 3581] New: Ctx() : Error creating validation
mark - java.io.FileNotFoundException


> PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
> ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
> AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
> DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
> BE LOST SOMEWHERE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3581
>
> *** shadow/3581 Thu Sep 13 05:52:35 2001
> --- shadow/3581.tmp.2600 Thu Sep 13 05:52:35 2001
> ***************
> *** 0 ****
> --- 1,67 ----
> +
+===========================================================================
=+
> + | Ctx() : Error creating validation mark  -
java.io.FileNotFoundException    |
> +
+---------------------------------------------------------------------------
-+
> + |        Bug #: 3581                        Product: Tomcat 3
|
> + |       Status: NEW                         Version: 3.3 Beta 2
|
> + |   Resolution:                            Platform: PC
|
> + |     Severity: Normal                   OS/Version: Linux
|
> + |     Priority: Other                     Component: Unknown
|
> +
+---------------------------------------------------------------------------
-+
> + |  Assigned To: tomcat-dev@jakarta.apache.org
|
> + |  Reported By: nicolas.mailhot@one2team.com
|
> + |      CC list: Cc:
|
> +
+---------------------------------------------------------------------------
-+
> + |          URL:
|
> +
+===========================================================================
=+
> + |                              DESCRIPTION
|
> + Hi,
> +
> + Since we've moved to tomcat 3.3-b1 & tomcat 3.3-b2, we've been getting
this
> + error into the logs :
> +
> + 2001-09-13 14:44:40 - SessionIdGenerator: Opening /dev/urandom
> + 2001-09-13 14:44:40 - ServerXmlReader:
Config=$TOMCAT_HOME/conf/server.xml
> + 2001-09-13 14:44:40 - PathSetter: home=/var/tomcat
> + 2001-09-13 14:44:41 - ContextXmlReader: Context
> + config=$TOMCAT_HOME/conf/apps-kitu.xml
> + 2001-09-13 14:44:41 - AutoDeploy: Source or destination missing
> + 2001-09-13 14:44:41 - AutoWebApp: No autoconf directory
/var/tomcat/modules
> + 2001-09-13 14:44:41 - AutoWebApp: Auto-Adding DEFAULT:/kitu-1.9.39
> + 2001-09-13 14:44:41 - ContextManager: Tomcat configured and in stable
state
> + 2001-09-13 14:44:41 - WorkDirSetup: Creating work dir
> + /var/tomcat/work/kitu.olympe.o2t/ROOT
> + 2001-09-13 14:44:41 - ContextManager: Adding  kitu.olympe.o2t:/ROOT
> + 2001-09-13 14:44:41 - WorkDirSetup: Creating work dir
> + /var/tomcat/work/DEFAULT/kitu-1.9.39
> + 2001-09-13 14:44:41 - ContextManager: Adding  DEFAULT:/kitu-1.9.39
> + 2001-09-13 14:44:41 - Ctx() : Validating web.xml
> + 2001-09-13 14:44:41 - Ctx() : Error creating validation mark  -
> + java.io.FileNotFoundException:
> + /var/tomcat/work/kitu.olympe.o2t/ROOT/webxmlval.txt (No such file or
directory)
> +         at java.io.FileOutputStream.open(Native Method)
> +         at java.io.FileOutputStream.<init>(FileOutputStream.java:108)
> +         at java.io.FileOutputStream.<init>(FileOutputStream.java:68)
> +         at java.io.FileOutputStream.<init>(FileOutputStream.java:138)
> +         at
> +
org.apache.tomcat.facade.WebXmlReader.processWebXmlFile(WebXmlReader.java:23
7)
> +         at
org.apache.tomcat.facade.WebXmlReader.contextInit(WebXmlReader.java:112)
> +         at org.apache.tomcat.core.Context.init(Context.java:542)
> +         at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:595)
> +         at
> +
org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.jav
a:425)
> +         at
org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:546)
> +         at
org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:530)
> +         at
> +
org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.
java:163)
> +         at java.security.AccessController.doPrivileged(Native Method)
> +         at
> +
org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:96
)
> +         at
org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:528)
> +         at java.lang.reflect.Method.invoke(Native Method)
> +         at
> +
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87
)
> +         at org.apache.tomcat.startup.Main.execute(Main.java:307)
> +         at org.apache.tomcat.startup.Main.main(Main.java:134)
> +
> + is it dangerous ?
> + How can we solve this ?
>
>


*----*

This message is intended only for the use of the person(s) listed above 
as the intended recipient(s), and may contain information that is 
PRIVILEGED and CONFIDENTIAL.  If you are not an intended recipient, 
you may not read, copy, or distribute this message or any attachment.  
If you received this communication in error, please notify us immediately 
by e-mail and then delete all copies of this message and any attachments.


In addition you should be aware that ordinary (unencrypted) e-mail sent 
through the Internet is not secure. Do not send confidential or sensitive 
information, such as social security numbers, account numbers, personal 
identification numbers and passwords, to us via ordinary (unencrypted) 
e-mail.