RE: Failed to load Main-Class manifest attribute frompollo.jar

Mohamed CHAARI <[email protected]> Mon, 8 Nov 2004 13:09:01 +0100
Newsgroups gmane.editors.pollo.devel
Message-ID <[email protected]>
When I runs 'pollo.sh' I have this  :=20

./pollo.sh:
CLASSPATH=3D<my-prefix>/pollo-0.4-bin/lib/pollo.jar:<my-prefix>/pollo-0.4=
-bin/
lib/endorsed/dom3-xercesImpl.jar:<my-prefix>/pollo-0.4-bin/lib/endorsed/d=
om3
-xmlParserAPIs.jar:<my-prefix>/pollo-0.4-bin/lib/avalon-configuration.jar=
:<m
y-prefix>/pollo-0.4-bin/lib/log4j-core.jar:<my-prefix>/pollo-0.4-bin/lib/=
jax
en-core.jar:<my-prefix>/pollo-0.4-bin/lib/jaxen-dom.jar:<my-prefix>/pollo=
-0.
4-bin/lib/saxpath.jar:<my-prefix>/pollo-0.4-bin/lib/msv-20031002.jar:<my-=
pre
fix>/pollo-0.4-bin/lib/xsdlib.jar:<my-prefix>/pollo-0.4-bin/lib/relaxngDa=
tat
ype.jar:<my-prefix>/pollo-0.4-bin/lib/isorelax.jar:<my-prefix>/pollo-0.4-=
bin
/lib/xpp3-1.1.3.4-RC3_min.jar:<my-prefix>/pollo-0.4-bin/lib/commons-lang-=
exc
eption-2.0.jar:<my-prefix>/pollo-0.4-bin/conf:<my-prefix>/pollo-0.4-bin/b=
uil
d: is not an identifier

I don't know why the 'pollo.sh' script is trying to include
'<my-prefix>/pollo-0.4-bin/build' in the CLASSPATH !!! there
is no 'build' directory under 'pollo-0.4-bin' ...

--
--Mohamed CHAARI   (mailto : [email protected])
Software Engineer  -  STMicroelectronics - Tunis
Central R & D  -  Phone: (+216) 70 10 52 09 =20


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of =
Bruno
Dumon
Sent: Monday, November 08, 2004 12:45 PM
To: pollo-development
Subject: Re: [pollo-dev] Failed to load Main-Class manifest attribute
frompollo.jar


On Mon, 2004-11-08 at 11:18 +0100, Mohamed CHAARI wrote:
> Hello,
>=20
> I'm a new comer to this M.L
>=20
> I have a problem when running the pollo.jar file :
>=20
> > java -jar pollo.jar
>=20
> Failed to load Main-Class manifest attribute from pollo.jar
>=20
> - The CLASSPATH environment variable is set correctly.
> - The platform is SunOS 5.8
> - My java version is : 1.4.2_05
> - The pollo version is 0.4 (last release)
>=20
> As a first attempt, I extracted the pollo.jar, added this line in the=20
> MANIFEST.MF file :
> Main-Class: Pollo
> and then re-created the archive and re-run ... this time, I had this =
error
:=20
>=20
> Failed to load Main-Class manifest attribute from Pollo
>=20
> Can you help me to solve this kind of problem ...
>=20
> Regards

Usually Pollo should be started using the pollo.sh script, or if that
doesn't work on your platform, using the equivalent commands of what is
contained therein. So don't use the -jar option but specify the class =
name
(and also the endorsed library path).

--=20
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[email protected]                          [email protected]



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld =
Reader's
Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick
_______________________________________________
Pollo-development mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/pollo-development



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click