You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Kayalvizhi <ka...@siptech.co.in> on 2002/02/13 09:55:57 UTC

Help needed ?!!

Hi,
      I build the source code of James2.0a2 and it failed !!

Details from console:

D:\James2.0Source\build.xml:403: Class org.apache.tools.ant.taskdefs.FixCRLF
doesn't support the "eol" attribute


Any help is appreciated.

Thx,
kayal.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Help needed ?!!

Posted by Kayalvizhi <ka...@siptech.co.in>.
I had resolved the said error. Actually after building, the lib directory of
the distribution should contain xerces.jar and jmxri.jar

I copied these two jars to the lib directory and now it works fine.

-kayal

-----Original Message-----
From: Kayalvizhi [mailto:kayalvizhi@siptech.co.in]
Sent: Wednesday, February 13, 2002 5:01 PM
To: James Users List
Subject: RE: Help needed ?!!

Hi,
   Thanks for the information danny. I installed the latest version and now
the build is successful. I copied the distribution to my James2.0 directory
and ran it, it gave me the following error.

Phoenix 3.1a1-dev

There was an uncaught exception:
---------------------------------------------------------
--- Message ---
org/xml/sax/ContentHandler
--- Stack Trace ---
java.lang.NoClassDefFoundError: org/xml/sax/ContentHandler
        at
org.apache.avalon.phoenix.components.deployer.DefaultSarDeployer.<ini
t>(DefaultSarDeployer.java:40)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.createC
omponent(DefaultEmbeddor.java:406)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.createC
omponents(DefaultEmbeddor.java:245)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.initial
ize(DefaultEmbeddor.java:126)
        at
org.apache.avalon.phoenix.frontends.CLIMain.startup(CLIMain.java:122)

        at
org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:80)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:62)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:54)
---------------------------------------------------------
The log file may contain further details of error.
Please check the configuration files and restart Phoenix.
If the problem persists, contact the Avalon project.  See
http://jakarta.apache.org/avalon for more information.

When I looked at the logs, it didn't give me any error log statements.

It seems that the java directory will be created under apps only when the
Distribution is ran once initially, so that we have the config file for
editing. isn't it?

Pl help me on this issue.

Thx,
Kayal.

Note : I wrote a matcher class and compiled it using ANT using the build.xml
supplied with JAMES. So it itself created me the new bar and sar files.


-----Original Message-----
From: Danny Angus [mailto:danny@thought.co.uk]
Sent: Wednesday, February 13, 2002 3:14 PM
To: James Users List
Subject: RE: Help needed ?!!

looks like you are using a version of ant other than the bundled one, do you
have ant installed and an ANT_HOME environment variable set?
If so I suggest you use the current release version of ant, for which this
"eol" thing was changed.
The ant jars (etc) for this version are in james/tools

d.

> -----Original Message-----
> From: Kayalvizhi [mailto:kayalvizhi@siptech.co.in]
> Sent: Wednesday, February 13, 2002 8:56 AM
> To: james-user
> Subject: Help needed ?!!
>
>
> Hi,
>       I build the source code of James2.0a2 and it failed !!
>
> Details from console:
>
> D:\James2.0Source\build.xml:403: Class
> org.apache.tools.ant.taskdefs.FixCRLF
> doesn't support the "eol" attribute
>
>
> Any help is appreciated.
>
> Thx,
> kayal.
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Help needed ?!!

Posted by Kayalvizhi <ka...@siptech.co.in>.
Hi,
   Thanks for the information danny. I installed the latest version and now
the build is successful. I copied the distribution to my James2.0 directory
and ran it, it gave me the following error.

Phoenix 3.1a1-dev

There was an uncaught exception:
---------------------------------------------------------
--- Message ---
org/xml/sax/ContentHandler
--- Stack Trace ---
java.lang.NoClassDefFoundError: org/xml/sax/ContentHandler
        at
org.apache.avalon.phoenix.components.deployer.DefaultSarDeployer.<ini
t>(DefaultSarDeployer.java:40)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.createC
omponent(DefaultEmbeddor.java:406)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.createC
omponents(DefaultEmbeddor.java:245)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.initial
ize(DefaultEmbeddor.java:126)
        at
org.apache.avalon.phoenix.frontends.CLIMain.startup(CLIMain.java:122)

        at
org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:80)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:62)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:54)
---------------------------------------------------------
The log file may contain further details of error.
Please check the configuration files and restart Phoenix.
If the problem persists, contact the Avalon project.  See
http://jakarta.apache.org/avalon for more information.

When I looked at the logs, it didn't give me any error log statements.

It seems that the java directory will be created under apps only when the
Distribution is ran once initially, so that we have the config file for
editing. isn't it?

Pl help me on this issue.

Thx,
Kayal.

Note : I wrote a matcher class and compiled it using ANT using the build.xml
supplied with JAMES. So it itself created me the new bar and sar files.


-----Original Message-----
From: Danny Angus [mailto:danny@thought.co.uk]
Sent: Wednesday, February 13, 2002 3:14 PM
To: James Users List
Subject: RE: Help needed ?!!

looks like you are using a version of ant other than the bundled one, do you
have ant installed and an ANT_HOME environment variable set?
If so I suggest you use the current release version of ant, for which this
"eol" thing was changed.
The ant jars (etc) for this version are in james/tools

d.

> -----Original Message-----
> From: Kayalvizhi [mailto:kayalvizhi@siptech.co.in]
> Sent: Wednesday, February 13, 2002 8:56 AM
> To: james-user
> Subject: Help needed ?!!
>
>
> Hi,
>       I build the source code of James2.0a2 and it failed !!
>
> Details from console:
>
> D:\James2.0Source\build.xml:403: Class
> org.apache.tools.ant.taskdefs.FixCRLF
> doesn't support the "eol" attribute
>
>
> Any help is appreciated.
>
> Thx,
> kayal.
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Help needed ?!!

Posted by Danny Angus <da...@thought.co.uk>.
looks like you are using a version of ant other than the bundled one, do you
have ant installed and an ANT_HOME environment variable set?
If so I suggest you use the current release version of ant, for which this
"eol" thing was changed.
The ant jars (etc) for this version are in james/tools

d.

> -----Original Message-----
> From: Kayalvizhi [mailto:kayalvizhi@siptech.co.in]
> Sent: Wednesday, February 13, 2002 8:56 AM
> To: james-user
> Subject: Help needed ?!!
>
>
> Hi,
>       I build the source code of James2.0a2 and it failed !!
>
> Details from console:
>
> D:\James2.0Source\build.xml:403: Class
> org.apache.tools.ant.taskdefs.FixCRLF
> doesn't support the "eol" attribute
>
>
> Any help is appreciated.
>
> Thx,
> kayal.
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>