You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ulf Åkerberg <ul...@utklippan.se> on 2002/06/07 08:22:41 UTC

Problem with empty sitemap_xmap.java e


Hi !

I have installed version 2.02 an a HP_UX 11.0 system, Weblogic Server 6.1 SP2, JDK 1.3.1.02

Following the advice on the list I have:

- unpacked the war file

- unpacked the jar files in the lib directory and placed them in classes

After this Cocon deploys without any errors.

When I try to access cocoon the sitemap_xmap.java file is generated and placed in (WORK_DIR)/cocoon-files. Next step is to compile it.This fails, as the sitemap_xmap.java is empty. Cocoon then displays the message ...due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap

I have also tried to set "incremental-processing" to "true".

Read a bug report with a similar problem with the advice to clean WORK_DIR/cocoon-files. As this is created every time I restart the server it does not help me, it is empty. 


The log file contains:


 DEBUG   (2002-06-07) 08:02.15:708   [cocoon  ] (/cocoon/) ExecuteThread: '10' fo
r queue: 'default'/AbstractMarkupLanguage: AbstractMarkupLanguage addLogicsheetT
oList: logicsheetName file:/opt/weblogic/weblogic61/wlserver6.1/config/utvdomain
/applications/.wlnotdelete_DHSServer/wl_comp32600/WEB-INF/classes/org/apache/coc
oon/components/language/markup/sitemap/java/sitemap.xsl
DEBUG   (2002-06-07) 08:02.15:710   [cocoon  ] (/cocoon/) ExecuteThread: '10' fo
r queue: 'default'/AbstractMarkupLanguage: AbstractMarkupLanguage addLogicsheetT
oList: adding dependency on file /opt/weblogic/weblogic61/wlserver6.1/config/utv
domain/applications/.wlnotdelete_DHSServer/wl_comp32600/WEB-INF/classes/org/apac
he/cocoon/components/language/markup/sitemap/java/sitemap.xsl
DEBUG   (2002-06-07) 08:02.26:025   [cocoon  ] (/cocoon/) ExecuteThread: '10' fo
r queue: 'default'/JavaLanguage: Compiling /opt/weblogic/weblogic61/wlserver6.1/
config/utvdomain/applications/.wlnotdelete_DHSServer/wl_comp32600/WEB-INF/_tmp_w
ar_DHSServer_DHSServer_cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.ja
va
WARN    (2002-06-07) 08:02.29:545   [cocoon  ] (/cocoon/) ExecuteThread: '10' fo
r queue: 'default'/JavaLanguage: Could not load class for program 'org/apache/co
coon/www/sitemap_xmap'                               

There are no other ERRORS in the log files


Any ideas ?


Regards


Ulf

RE: Problem with empty sitemap_xmap.java e

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Ulf Еkerberg [mailto:ulf.akerberg@utklippan.se]
> 
> 
> Hi !
> 
> I have installed version 2.02 an a HP_UX 11.0 system, Weblogic Server
6.1 SP2,
> JDK 1.3.1.02
> 
> Following the advice on the list I have:
> 
> - unpacked the war file
> 
> - unpacked the jar files in the lib directory and placed them in
classes
> 
> After this Cocon deploys without any errors.
> 
> When I try to access cocoon the sitemap_xmap.java file is generated
and placed
> in (WORK_DIR)/cocoon-files. Next step is to compile it.This fails, as
the
> sitemap_xmap.java is empty. Cocoon then displays the message ...due to
a

It means that transformation step has failed. Have you modified
cocoon.xconf as needed?

http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/documentation/xdocs/in
stalling/index.xml?rev=1.18.2.5&content-type=text/vnd.viewcvs-markup,
"Installing on BEA WebLogic 6.1sp2":

<xslt-processor
class="org.apache.cocoon.components.xslt.XSLTProcessorImpl"
  logger="root.xslt">
  <parameter name="use-store" value="true"/>
  <parameter name="transformer-factory"
    value="org.apache.xalan.processor.TransformerFactoryImpl"/>
</xslt-processor>


Vadim



> java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
> 
> I have also tried to set "incremental-processing" to "true".
> 
> Read a bug report with a similar problem with the advice to clean
> WORK_DIR/cocoon-files. As this is created every time I restart the
server it
> does not help me, it is empty.
> 
> 
> The log file contains:
> 
> 
>  DEBUG   (2002-06-07) 08:02.15:708   [cocoon  ] (/cocoon/)
ExecuteThread: '10'
> fo
> r queue: 'default'/AbstractMarkupLanguage: AbstractMarkupLanguage
> addLogicsheetT
> oList: logicsheetName
> file:/opt/weblogic/weblogic61/wlserver6.1/config/utvdomain
> /applications/.wlnotdelete_DHSServer/wl_comp32600/WEB-
> INF/classes/org/apache/coc
> oon/components/language/markup/sitemap/java/sitemap.xsl
> DEBUG   (2002-06-07) 08:02.15:710   [cocoon  ] (/cocoon/)
ExecuteThread: '10'
> fo
> r queue: 'default'/AbstractMarkupLanguage: AbstractMarkupLanguage
> addLogicsheetT
> oList: adding dependency on file
> /opt/weblogic/weblogic61/wlserver6.1/config/utv
> domain/applications/.wlnotdelete_DHSServer/wl_comp32600/WEB-
> INF/classes/org/apac
> he/cocoon/components/language/markup/sitemap/java/sitemap.xsl
> DEBUG   (2002-06-07) 08:02.26:025   [cocoon  ] (/cocoon/)
ExecuteThread: '10'
> fo
> r queue: 'default'/JavaLanguage: Compiling
> /opt/weblogic/weblogic61/wlserver6.1/
> config/utvdomain/applications/.wlnotdelete_DHSServer/wl_comp32600/WEB-
> INF/_tmp_w
> ar_DHSServer_DHSServer_cocoon/cocoon-
> files/org/apache/cocoon/www/sitemap_xmap.ja
> va
> WARN    (2002-06-07) 08:02.29:545   [cocoon  ] (/cocoon/)
ExecuteThread: '10'
> fo
> r queue: 'default'/JavaLanguage: Could not load class for program
> 'org/apache/co
> coon/www/sitemap_xmap'
> 
> There are no other ERRORS in the log files
> 
> 
> Any ideas ?
> 
> 
> Regards
> 
> 
> Ulf


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>