From: Geoff Howard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How To Run 2 Cocoons Simultaneously? Date: Wed, 27 Aug 2003 18:13:37 -0400
Sonny Sukumar wrote:
From: "Michael Kurz" <[EMAIL PROTECTED]>
----- Original Message -----
"Sonny Sukumar" <[EMAIL PROTECTED]>
> My app *is* database driven and uses Tomcat's DBCP, but I'm not able even
to
> read a simple html file. The html files were copied along with the
cocoon
> directory, so all the paths should be correct. It doesn't look like the
> Cocoon app under the "/live" virtual path is even being invoked. My
> original Cocoon (the one I'm using for testing) still works though.
I've recently had a similiar problem with a sub-sitemap. I moved it from one
tomcat installation to another (on a different computer but the completely
same installation) and nothing worked. After deleting the corresponding
parts in the tomcat-work directory everything worked again.
I tried deleting the work directories in Tomcat and restarting, but the same problem exists. It's not even a Cocoon problem (not yet at least), because Cocoon isn't even being invoked. When I tried to access the "/live" <Context> I defined (under the same <Host> as the default "" Context path), Tomcat just spins its wheels for awhile and then returns a completely empty response. I mean, I do "View Source" and there's nothing there.
Perhaps I should join the Tomcat Users list or something and ask there?
Did you try fixing the hsql block issue yet? See Bertrand's email from about 12 hours ago.
Bertrand said " If that's the problem, you should see an exception saying "port is already in use" or something in the tomcat or Cocoon logs when the second instance of Cocoon starts. "
Nevertheless, I tried commenting out the <hsqldb-server> section in cocoon.xconf for both Cocoon instances. I still get a blank server response (if that's even a response) for the instance with path "/live." The instance with default path ("") still works.
I also have a separate question: How does the <datasources> section in cocoon.xconf differ from using DBCP where I set it up in web.xml/server.xml? I see some connection pooling defined within that <datasources> tag. I'm not very good with J2EE config files yet (like web.xml/server.xml), hence my confusion. :-/
Thanks,
Sonny
Geoff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________ MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
