Hello everyone,
I am trying to deploy the cocoon.war (2.0.1) into the Borland Enterprise
App server 5.0.
The app server starts ok and the cocoon servlet loads ok. The sitemap
compiles correctly when I deploy the core jar files as well as the war
file.
However, when I try to hit a url, it doesn't display anything, and in
the access logs there is this interesting snippet included below.
It seems that simple.xsp is being resolved to
file:/C:/localhost/cocoon/sitemap.xmap/docs/samples/xsp/simple.xsp
Of course, the server is not installed at anything like c:/localhost, so
it can't find the file, and then of course, nothing else is going to
work.
I guess the required simple.xsp is still sitting in the war file, but
can't be found by cocoon.
Borland App server doesn't explode the war file (as tomcat does).
I would really appreciate any help on this, because I am reworking a
big, public high traffic web site. It would be nice publicity for
cocoon.
Kind regards,
Nick
DEBUG (2002-01-31) 16:47.32:491 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Changing Cocoon
context(sitemap.xmap) to prefix()DEBUG (2002-01-31) 16:47.32:491
[access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: from
context(jndi:/localhost/cocoon/) and prefix()
DEBUG (2002-01-31) 16:47.32:491 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: at URI xsp/simple
DEBUG (2002-01-31) 16:47.32:491 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: New context is
file:/C:/localhost/cocoon/sitemap.xmap
DEBUG (2002-01-31) 16:47.32:531 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Resolving
'docs/samples/xsp/simple.xsp' in context
'file:/C:/localhost/cocoon/sitemap.xmap'
DEBUG (2002-01-31) 16:47.32:531 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Resolved to
'file:/C:/localhost/cocoon/sitemap.xmap/docs/samples/xsp/simple.xsp'
DEBUG (2002-01-31) 16:47.32:531 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Resolving
'docs/samples/xsp/simple.xsp' in context
'file:/C:/localhost/cocoon/sitemap.xmap'
DEBUG (2002-01-31) 16:47.32:531 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Resolved to
'file:/C:/localhost/cocoon/sitemap.xmap/docs/samples/xsp/simple.xsp'
DEBUG (2002-01-31) 16:47.32:561 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Resolving
'docs/samples/xsp/simple.xsp' in context
'file:/C:/localhost/cocoon/sitemap.xmap'
DEBUG (2002-01-31) 16:47.32:561 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Resolved to
'file:/C:/localhost/cocoon/sitemap.xmap/docs/samples/xsp/simple.xsp'
DEBUG (2002-01-31) 16:47.32:581 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Set the URI Prefix (OLD=,
NEW=)
DEBUG (2002-01-31) 16:47.32:581 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/AbstractEnvironment: Reset context to
jndi:/localhost/cocoon/
WARN (2002-01-31) 16:47.32:581 [access] (/cocoon/xsp/simple)
HttpProcessor[8080][4]/CocoonServlet: The resource was not found
org.apache.cocoon.ResourceNotFoundException: Resource not found
file:/C:/localhost/cocoon/sitemap.xmap/docs/samples/xsp/simple.xsp
at
org.apache.cocoon.components.source.URLSource.getInputStream(URLSource.java:156)
at
org.apache.cocoon.components.source.URLSource.getInputSource(URLSource.java:223)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:318)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:282)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:196)
... etc.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>