Hi Bill, 

Though this might fix the webxmlval.txt creation, I suspect
it still might fail for the same reason, what ever it was,
that caused:

    2001-09-13 14:44:41 - WorkDirSetup: Creating work dir
       /var/tomcat/work/kitu.olympe.o2t/ROOT

to not actually create the directory.  I don't get time
to play with Linux that often, so I'm not sure of the cause.
Would this be a "have to run as root" or some other
permissions issue?

Cheers,
Larry

> -----Original Message-----
> From: Bill Barker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 13, 2001 12:55 PM
> To: [EMAIL PROTECTED]
> Subject: [PATCH][Bug 3581] New: Ctx() : Error creating 
> validation mark -
> java.io.FileNotFoundException
> 
> 
> Make certain that the directory exists.
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> |
> > + |  Reported By: [EMAIL PROTECTED]
> |
> > + |      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(WebXml
> Reader.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(Emb
> ededTomcat.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(Jdk12S
> upport.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(Introspectio
> nUtils.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. 
> 

Reply via email to