Actually there is no heritrix.jar under web-inf/lib. (there class files for heritrix, commons-httpclient, commons-pool).

What is the reason for this?

None other than the WAR generation is based on maven (1.0.2) WAR goal and this is how it does the assembly.

and when i tried to embed the heritrix inside my webapp, the manifest.mf caused some trouble (on tomcat).

The dependencies declared there causes the container to throw severe errors.

You mean the Heritrix JAR or WAR manifest? Both just list info about dependencies (but, yeah, in the past I've come across strange issues w/
MANIFEST.MF content formats). What kind of complaints are you seeing? We don't use the WAR format around here much so you'll have to help us out if theres' issues.

And is there any further steps for embedding heritrix inside a webapp other than implementing some contextListener?

Anything in the log ahead of your Heritrix construction? (No chance
you've left the heritrix.war under your tomcat webapps directory and
its registration is clashing w/ your attempted construction?) Can you
do a listing on your tomcat JMX Agent to see extant beans to see if
already a Heritrix bean present? What happens if you try the
constructor that takes a name (plus boolean)?

Actually there is no heritrix.jar under web-inf/lib. (there
class files for heritrix, commons-httpclient, commons-pool) .

What is the reason for this?

None other than the WAR generation is based on maven (1.0.2)
WAR goal and this is how it does the assembly.

and when i tried to embed the heritrix inside my webapp, the
manifest.mf caused some trouble (on tomcat).

The dependencies declared there causes the container to
throw severe errors.

You mean the Heritrix JAR or WAR manifest? Both just list
info about dependencies (but, yeah, in the past I've come across
strange issues w/ MANIFEST.MF content formats). What kind of
complaints are you seeing? We don't use the WAR format around here
much so you'll have to help us out if theres' issues.

And is there any further steps for embedding heritrix inside
a webapp other than implementing some contextListener?

Anything in the log ahead of your Heritrix construction? (No chance
you've left the heritrix.war under your tomcat webapps directory and
its registration is clashing w/ your attempted construction? ) Can
you
do a listing on your tomcat JMX Agent to see extant beans to see if
already a Heritrix bean present? What happens if you try the
constructor that takes a name (plus boolean)?

Actually there is no heritrix.jar under web-inf/lib.
(there
class files for heritrix, commons-httpclient, commons-pool) .

What is the reason for this?

None other than the WAR generation is based on maven
(1.0.2)
WAR goal and this is how it does the assembly.

and when i tried to embed the heritrix inside my webapp,
the
manifest.mf caused some trouble (on tomcat).

The dependencies declared there causes the container to
throw severe errors.

You mean the Heritrix JAR or WAR manifest? Both just list
info about dependencies (but, yeah, in the past I've come across
strange issues w/ MANIFEST.MF content formats). What kind of
complaints are you seeing? We don't use the WAR format around here
much so you'll have to help us out if theres' issues.

And is there any further steps for embedding heritrix
inside
a webapp other than implementing some contextListener?

Anything in the log ahead of your Heritrix construction? (No chance you've left the heritrix.war under your tomcat webapps directory and its registration is clashing w/ your attempted construction?) Can you do a listing on your tomcat JMX Agent to see extant beans to see if already a Heritrix bean present? What happens if you try the constructor that takes a name (plus boolean)?

Actually there is no heritrix.jar under web-inf/lib. (there class files for heritrix, commons-httpclient, commons-pool).

What is the reason for this?

None other than the WAR generation is based on maven (1.0.2) WAR goal and this is how it does the assembly.

and when i tried to embed the heritrix inside my webapp, the manifest.mf caused some trouble (on tomcat).

The dependencies declared there causes the container to throw severe errors.

You mean the Heritrix JAR or WAR manifest? Both just list info about dependencies (but, yeah, in the past I've come across strange issues w/
MANIFEST.MF content formats). What kind of complaints are you seeing? We don't use the WAR format around here much so you'll have to help us out if theres' issues.

And is there any further steps for embedding heritrix inside a webapp other than implementing some contextListener?