Re: error-compling sitemap_xmap

2002-03-19 Thread KOZLOV Roman



Hi Cyril,
I've got the same error message sometimes and when I've tryed to find
the mentioned line I've found out that the java file was corrupted and
cutted up to this line so that method definition (which was started in
this line) was cutted.
I've need to restart the server after this. Perhaps there were some
problems like "out of memory".
 Roman

cyril vidal wrote:

Thomas,
John,thanks
a lot for your help. I've looked for the mentionned file.But
actually, it's a little bit too difficult for me to find the line
573 in the java
file, especially for a missing "}".I've
tried it but without success...I've
forgotten to say to you that when I start Tomcat, I get the following message
in the command line:Server.
run /init:java.net.BindExecption:Adress in use:bindjava.net.BindException:Adress
in use:bind
at java.net.PlainSocketImpl.socketBind(nativMethod)...Sitemap
location = sitemap.xmapChecking
sitemap reload=true...Starting
service Tomcat-ApacheApache
Tomcat/4.0.1Is
this normal? Doesn't the above compilation error come from here?Is
this compilation error a frequent error?Thanks
for your answers,Cyril.







- Original Message -

From:
John
Turk

To: [EMAIL PROTECTED]

Sent: Monday, March 18, 2002 8:14
PM

Subject: RE: error-compling sitemap_xmap
Cyril
-sitemap.xmap
is converted into a java source file - that's the file the 571 lines refers
to. You can find that file under the Tomcat work directory (look
for something like cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java).John

-Original
Message-
From: cyril vidal [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002
11:05 AM
To: [EMAIL PROTECTED]
Subject: error-compling sitemap_xmap

Hello,When
I want to transform some documents (it doesn't happen with serving static
documents), I obtain a strange error messagetype
fatal
message Language Exception
description org.apache.cocoon.ProcessingException:
Language Exception: org.apache.cocoon.components.language.LanguageException:
Error compiling sitemap_xmap: Line 571, column 63: '}' expected. Line 0,
column 0: Note: C:\tomcat\work\localhost\essai\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java
uses or overrides a deprecated API. Recompile with "-deprecation" for details.
1 error, 1 warning
but my sitemap.xmap file doesn't include 571 lignes!!! This is the short
following one:
?xml version="1.0"?>
map:sitemap
xmlns:map="http://apache.org/cocoon/sitemap/1.0">

map:components>
map:generators
default="file">
 map:generator
name="file" src="org.apache.cocoon.generation.FileGenerator"/>
/map:generators>
map:transformers
default="xslt">
 map:transformer
name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"/>
/map:transformers>
map:readers
default="resource">
 map:reader
name="resource" src="org.apache.cocoon.reading.ResourceReader"/>
/map:readers>
map:serializers
default="html">
 map:serializer
name="xml" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer"/>
 map:serializer
name="html" mime-type="text/html" src="org.apache.cocoon.serialization.HTMLSerializer"/>
 map:serializer
name="svg2png" src="org.apache.cocoon.serialization.SVGSerializer" mime-type="image/png"/>
 map:serializer
name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer" mime-type="application/pdf"/>
/map:serializers>
map:matchers
default="wildcard">
 map:matcher
name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/>
/map:matchers>
/map:components>
map:pipelines>
 map:pipeline>

map:match pattern="index.html">

map:read src="static/index.html" mime-type="text/html"/>

/map:match>
 /map:pipeline>
map:pipeline>

map:match pattern="content/*.html">

map:generate src="content/{1}.xml"/>

map:tranform src="transforms/tri.xsl"/>

map:serialize type="html"/>

/map:match>
/map:pipeline>

/map:pipelines>
/map:sitemap>
Someone could
tell me what's happening?
Thanks for your
help,
Cyril.






begin:vcard 
n:KOZLOV;Roman
tel;work:+783 12 65 85 91, +783 12 62 27 76
x-mozilla-html:FALSE
org:DATAVISION CIS;PDM
adr:;;Gagarina Prospect 25b;Nizhny Novgorod;;;RUSSIA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Programmer
fn:Roman KOZLOV
end:vcard



-
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]


RE: error-compling sitemap_xmap

2002-03-18 Thread John Turk



Cyril 
-

sitemap.xmap is converted into a java source file - 
that's the file the 571 lines refers to. You can find that fileunder 
the Tomcat work directory (look for something like 
cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java).

John

  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 18, 2002 11:05 
  AMTo: [EMAIL PROTECTED]Subject: error-compling 
  sitemap_xmap
  Hello,
  
  When I want to transform some 
  documents (it doesn't happen with serving static documents), Iobtain a 
  strange error message 
  
  type 
  fatal
  message 
  Language Exception
  description 
  org.apache.cocoon.ProcessingException: Language Exception: 
  org.apache.cocoon.components.language.LanguageException: Error compiling 
  sitemap_xmap: Line 571, column 63: '}' expected. Line 0, column 0: Note: 
  C:\tomcat\work\localhost\essai\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java 
  uses or overrides a deprecated API. Recompile with "-deprecation" for details. 
  1 error, 1 warning 
  but my sitemap.xmap file doesn't include 571 lignes!!! This is the short 
  following one:
  ?xml 
  version="1.0"?map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"
  map:componentsmap:generators 
  default="file" map:generator name="file" 
  src="org.apache.cocoon.generation.FileGenerator"//map:generators
  map:transformers default="xslt" map:transformer 
  name="xslt" 
  src="org.apache.cocoon.transformation.TraxTransformer"//map:transformers
  map:readers default="resource" map:reader 
  name="resource" 
  src="org.apache.cocoon.reading.ResourceReader"//map:readers
  map:serializers default="html" map:serializer 
  name="xml" mime-type="text/xml" 
  src="org.apache.cocoon.serialization.XMLSerializer"/ 
  map:serializer name="html" mime-type="text/html" 
  src="org.apache.cocoon.serialization.HTMLSerializer"/ 
  map:serializer name="svg2png" 
  src="org.apache.cocoon.serialization.SVGSerializer" 
  mime-type="image/png"/ map:serializer name="fo2pdf" 
  src="org.apache.cocoon.serialization.FOPSerializer" 
  mime-type="application/pdf"//map:serializers
  map:matchers default="wildcard" map:matcher 
  name="wildcard" 
  src="org.apache.cocoon.matching.WildcardURIMatcher"//map:matchers/map:components
  map:pipelines map:pipeline 
  map:match pattern="index.html" 
  map:read src="static/index.html" 
  mime-type="text/html"/ /map:match 
  /map:pipelinemap:pipeline 
  map:match pattern="content/*.html" 
  map:generate src="content/{1}.xml"/ 
  map:tranform 
  src="transforms/tri.xsl"/ 
  map:serialize type="html"/ 
  /map:match/map:pipeline 
  /map:pipelines
  /map:sitemap
  Someone could tell me what's happening?
  Thanks for your help,
  Cyril.


Re: error-compling sitemap_xmap

2002-03-18 Thread cyril vidal



Thomas, John,

thanks a lot for your help. I've 
looked for the mentionned file.
But actually, it's a little bit too 
difficult for me to find the line 573 in the 
java file, especiallyfor a missing "}".
I've tried it but without 
success...
I've forgotten to say to you that 
when I start Tomcat, I get the following message in the command 
line:
Server. run 
/init:java.net.BindExecption:Adress in use:bind
java.net.BindException:Adress in 
use:bind
 at 
java.net.PlainSocketImpl.socketBind(nativMethod)

...
Sitemap location = 
sitemap.xmap
Checking sitemap 
reload=true
...
Starting service 
Tomcat-Apache
Apache Tomcat/4.0.1

Is this normal? Doesn't the above 
compilation error come from here?
Is this compilation error a frequent 
error? 
Thanks for your answers,
Cyril.

  
  
  
  - Original Message - 
  From: 
  John Turk 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, March 18, 2002 8:14 
PM
  Subject: RE: error-compling 
  sitemap_xmap
  
  Cyril -
  
  sitemap.xmap is converted into a java source file - 
  that's the file the 571 lines refers to. You can find that 
  fileunder the Tomcat work directory (look for something like 
  cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java).
  
  John
  
-Original Message-From: cyril vidal 
[mailto:[EMAIL PROTECTED]]Sent: Monday, March 18, 2002 11:05 
AMTo: [EMAIL PROTECTED]Subject: 
error-compling sitemap_xmap
Hello,

When I want to transform some 
documents (it doesn't happen with serving static documents), Iobtain a 
strange error message 

type 
fatal
message Language Exception
description 
org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling 
sitemap_xmap: Line 571, column 63: '}' expected. Line 0, column 0: Note: 
C:\tomcat\work\localhost\essai\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java 
uses or overrides a deprecated API. Recompile with "-deprecation" for 
details. 1 error, 1 warning 
but my sitemap.xmap file doesn't include 571 lignes!!! This is the short 
following one:
?xml 
version="1.0"?map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"
map:componentsmap:generators 
default="file" map:generator name="file" 
src="org.apache.cocoon.generation.FileGenerator"//map:generators
map:transformers default="xslt" 
map:transformer name="xslt" 
src="org.apache.cocoon.transformation.TraxTransformer"//map:transformers
map:readers default="resource" map:reader 
name="resource" 
src="org.apache.cocoon.reading.ResourceReader"//map:readers
map:serializers default="html" map:serializer 
name="xml" mime-type="text/xml" 
src="org.apache.cocoon.serialization.XMLSerializer"/ 
map:serializer name="html" mime-type="text/html" 
src="org.apache.cocoon.serialization.HTMLSerializer"/ 
map:serializer name="svg2png" 
src="org.apache.cocoon.serialization.SVGSerializer" 
mime-type="image/png"/ map:serializer name="fo2pdf" 
src="org.apache.cocoon.serialization.FOPSerializer" 
mime-type="application/pdf"//map:serializers
map:matchers default="wildcard" map:matcher 
name="wildcard" 
src="org.apache.cocoon.matching.WildcardURIMatcher"//map:matchers/map:components
map:pipelines 
map:pipeline map:match 
pattern="index.html" 
map:read src="static/index.html" 
mime-type="text/html"/ 
/map:match 
/map:pipelinemap:pipeline 
map:match pattern="content/*.html" 
map:generate 
src="content/{1}.xml"/ 
map:tranform 
src="transforms/tri.xsl"/ 
map:serialize type="html"/ 
/map:match/map:pipeline 
/map:pipelines
/map:sitemap
Someone could tell me what's happening?
Thanks for your help,
Cyril.


RE: error-compling sitemap_xmap

2002-03-18 Thread von Schwerdtner, Thomas (GXS, FPI)



That 
"init.java.net.BindException" normally means that Tomcat is already 
running.

Check 
to make sure that the Tomcat service is not being started at boot-time, and if 
it is disable it.

  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 18, 2002 6:43 
  PMTo: [EMAIL PROTECTED]Subject: Re: 
  error-compling sitemap_xmap
  Thomas, John,
  
  thanks a lot for your help. I've 
  looked for the mentionned file.
  But actually, it's a little bit too 
  difficult for me to find the line 573 in the 
  java file, especiallyfor a missing "}".
  I've tried it but without 
  success...
  I've forgotten to say to you that 
  when I start Tomcat, I get the following message in the command 
  line:
  Server. run 
  /init:java.net.BindExecption:Adress in use:bind
  java.net.BindException:Adress in 
  use:bind
   at 
  java.net.PlainSocketImpl.socketBind(nativMethod)
  
  ...
  Sitemap location = 
  sitemap.xmap
  Checking sitemap 
  reload=true
  ...
  Starting service 
  Tomcat-Apache
  Apache Tomcat/4.0.1
  
  Is this normal? Doesn't the above 
  compilation error come from here?
  Is this compilation error a 
  frequent error? 
  Thanks for your 
  answers,
  Cyril.
  



- Original Message - 
From: 
John Turk 
To: [EMAIL PROTECTED] 

Sent: Monday, March 18, 2002 8:14 
    PM
    Subject: RE: error-compling 
sitemap_xmap

Cyril -

sitemap.xmap is converted into a java source file - 
that's the file the 571 lines refers to. You can find that 
fileunder the Tomcat work directory (look for something like 
cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java).

John

  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 18, 2002 11:05 
  AMTo: [EMAIL PROTECTED]Subject: 
  error-compling sitemap_xmap
  Hello,
  
  When I want to transform some 
  documents (it doesn't happen with serving static documents), Iobtain 
  a strange error message 
  
  type fatal
  message Language Exception
  description 
  org.apache.cocoon.ProcessingException: Language Exception: 
  org.apache.cocoon.components.language.LanguageException: Error compiling 
  sitemap_xmap: Line 571, column 63: '}' expected. Line 0, column 0: Note: 
  C:\tomcat\work\localhost\essai\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java 
  uses or overrides a deprecated API. Recompile with "-deprecation" for 
  details. 1 error, 1 warning 
  but my sitemap.xmap file doesn't include 571 lignes!!! This is the 
  short following one:
  ?xml 
  version="1.0"?map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"
  map:componentsmap:generators 
  default="file" map:generator name="file" 
  src="org.apache.cocoon.generation.FileGenerator"//map:generators
  map:transformers default="xslt" 
  map:transformer name="xslt" 
  src="org.apache.cocoon.transformation.TraxTransformer"//map:transformers
  map:readers default="resource" map:reader 
  name="resource" 
  src="org.apache.cocoon.reading.ResourceReader"//map:readers
  map:serializers default="html" map:serializer 
  name="xml" mime-type="text/xml" 
  src="org.apache.cocoon.serialization.XMLSerializer"/ 
  map:serializer name="html" mime-type="text/html" 
  src="org.apache.cocoon.serialization.HTMLSerializer"/ 
  map:serializer name="svg2png" 
  src="org.apache.cocoon.serialization.SVGSerializer" 
  mime-type="image/png"/ map:serializer name="fo2pdf" 
  src="org.apache.cocoon.serialization.FOPSerializer" 
  mime-type="application/pdf"//map:serializers
  map:matchers default="wildcard" map:matcher 
  name="wildcard" 
  src="org.apache.cocoon.matching.WildcardURIMatcher"//map:matchers/map:components
  map:pipelines 
  map:pipeline map:match 
  pattern="index.html" 
  map:read src="static/index.html" 
  mime-type="text/html"/ 
  /map:match 
  /map:pipelinemap:pipeline 
  map:match 
  pattern="content/*.html" 
  map:generate 
  src="content/{1}.xml"/ 
  map:tranform 
  src="transforms/tri.xsl"/ 
  map:serialize type="html"/ 
  /map:match/map:pipeline 
  /map:pipelines
  /map:sitemap
  Someone could tell me what's happening?
  Thanks for your help,
  Cyril.