Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn it work when I put cocoon.jar in my servlet context or servlet zone instead of my classpath?

Classpath context servlet zone
0
Posted

Why doesn it work when I put cocoon.jar in my servlet context or servlet zone instead of my classpath?

0

This is a complex issue – the details are too complicated to go into here. One issue is that, due to a problem in some classloader implementations (for example, Apache JServ 1.1) local resources cannot be loaded if they are located in custom repositories and packaged inside zip/jar files. Some suggested workarounds (which may or may not work) are: • expand the cocoon.jar file and put that directory in your servlet context, • or place the required resources in your classpath • or use a servlet engine that doesn’t have this limitation.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123