hai Philipp,
I changed to "http://www.rashmie.com"; now the page is coming but all the images are not showing up.

regards,
sagar

Philipp Bracher wrote:

use http://www.rashmie.com and not http://rashmie.com

should help

Philipp

On 05.09.2005, at 07:10, Vijaya Sagar wrote:

Hai,

I am also using Magnolia 2.1 RC4 under Tomcat 5.0.28. I also got the same problem and I did the same things which you have mentioned below but it did not solve the problem for me.

Problem: When I am activating the pages , delete the pages, clear the cache and restart the server and when I type my domain name "www.rashmie.com" .The first time it is coming correctly, but the next time when I refresh the page a white page is coming. Suprisingly this does not happen when I type the IP instead of domain name for the first time after performing any of the deletion or activation activities.

I changed the level > domain to "http://rashmie.com"; in both magnoliaAuthor and magnoliaPublic, but it didnt solved the problem. I also tried by changing domain to "http://rashmie.com/magnoliaPublic"; but it didnt solved the problem.

I am redirecting the call from www.rashmie.com to http://rashmie.com/magnoliaPublic/Rashmi.html using index.jsp in the magnoliaPublic folder.

The exception that I am getting according to public logs is:

ERROR info.magnolia.cms.core.CacheHandler 05.09.2005 00:29:37 -- Failed to stream [/Rashmi.html] due to a java.io.FileNotFoundException: http://rashmie.com/magnoliaPublic/Rashmi.html java.io.FileNotFoundException: http://rashmie.com/magnoliaPublic/Rashmi.html at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConne ction.java:1131) at info.magnolia.cms.core.CacheHandler.streamURI(CacheHandler.java:193) at info.magnolia.cms.core.CacheHandler.cacheURI(CacheHandler.java:100)
   at info.magnolia.cms.core.CacheProcess.run(CacheProcess.java:43)
ERROR info.magnolia.cms.core.CacheHandler 05.09.2005 00:29:37 -- NOT Caching uri [/Rashmi.html] due to a previous error ERROR info.magnolia.cms.core.CacheHandler 05.09.2005 00:29:37 -- Failed to stream [/Rashmi.html] due to a java.io.FileNotFoundException: http://rashmie.com/magnoliaPublic/Rashmi.html java.io.FileNotFoundException: http://rashmie.com/magnoliaPublic/Rashmi.html at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConne ction.java:1131) at info.magnolia.cms.core.CacheHandler.streamURI(CacheHandler.java:193) at info.magnolia.cms.core.CacheHandler.cacheURI(CacheHandler.java:125)
   at info.magnolia.cms.core.CacheProcess.run(CacheProcess.java:43)

In server.xml I added the following context path:

<Context path="/" docBase="magnoliaPublic" debug="0" reloadable="true" />

Please help me in solving this problem

regards,
sagar



Marc Champion wrote:

Problem is solved! After changing the value of
/server/cache/level1/domain to http://demo.hagebutte.ch
it works perfectly.

I use apache1.3 with mod_jk before magnolia but the same error happend when calling tomcat directly (by port).

Thanks a lot!
Marc

Am Freitag, den 26.08.2005, 13:57 +0200 schrieb Philipp Bracher:

First of all:
- does the cash work properly if you call tomcat directly (without going through apache)?

In general:
- the domain is extracted by magnolia automatically, but sometimes this is not correct and you must adjust the value in the domain parameter
- the domain is used to stream the data to cache

in your case you must set the domain value to http://demo.hagebutte.ch

If it doesn't work look at the logs (as you did) and check the cache directory if there is anything curious (maybe some hostname or context path).

If your problem still appear and you use only tomcat (no apache), send me you server.xml configuration so that I can test it in details. It could be a bug then!

Thanks for testing

Philipp



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------





----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to