Jackrabbit war on Tomcat

5 messages Options
Embed this post
Permalink
JavaJ

Jackrabbit war on Tomcat

Reply Threaded More More options
Print post
Permalink
Anyone else have trouble deploying the jackrabbit-server-1.0.1.war on Tomcat 5.0.28, using JDK 1.5?

The initial error that I get when I tried to deploy the war was:

javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found

This is apparently a 1.5 issue on Tomcat and the solution is the remove the xercesImpl.jar and xml-apis.jar from the endorsed library folder.

After removing the files, I now get this error:

org.apache.jackrabbit.core.config.ConfigurationException: Configuration file syntax error.: Premature end of file.: Premature end of file.

I have not changed anything in the war that came from the apache jackrabbit website.

Any ideas?
Pavel Jbanov

Re: Jackrabbit war on Tomcat

Reply Threaded More More options
Print post
Permalink
JavaJ wrote:

> Anyone else have trouble deploying the jackrabbit-server-1.0.1.war on Tomcat
> 5.0.28, using JDK 1.5?
>
> The initial error that I get when I tried to deploy the war was:
>
> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> org.apache.xalan.processor.TransformerFactoryImpl not found
>
> This is apparently a 1.5 issue on Tomcat and the solution is the remove the
> xercesImpl.jar and xml-apis.jar from the endorsed library folder.
>
> After removing the files, I now get this error:
>
> org.apache.jackrabbit.core.config.ConfigurationException: Configuration file
> syntax error.: Premature end of file.: Premature end of file.
>
> I have not changed anything in the war that came from the apache jackrabbit
> website.
>
> Any ideas?
>  

I remember having "Premature end of file" error when the repository
directory wasn't fully initialized (due to a similar previous error) and
the workspace.xml or some other xml file was empty. Deleting and
re-initializing the repository directory helped.

Pavel
JavaJ

Re: Jackrabbit war on Tomcat

Reply Threaded More More options
Print post
Permalink
Pavel Jbanov wrote:
I remember having "Premature end of file" error when the repository
directory wasn't fully initialized (due to a similar previous error) and
the workspace.xml or some other xml file was empty. Deleting and
re-initializing the repository directory helped.

Pavel
That was it!  Thanks!
Ramasamy

Re: Jackrabbit war on Tomcat

Reply Threaded More More options
Print post
Permalink
In reply to this post by JavaJ
I am also getting the same message javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found

Can anyone send me the correct war file

JavaJ wrote:
Anyone else have trouble deploying the jackrabbit-server-1.0.1.war on Tomcat 5.0.28, using JDK 1.5?

The initial error that I get when I tried to deploy the war was:

javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found

This is apparently a 1.5 issue on Tomcat and the solution is the remove the xercesImpl.jar and xml-apis.jar from the endorsed library folder.

After removing the files, I now get this error:

org.apache.jackrabbit.core.config.ConfigurationException: Configuration file syntax error.: Premature end of file.: Premature end of file.

I have not changed anything in the war that came from the apache jackrabbit website.

Any ideas?
sbarriba

RE: Jackrabbit war on Tomcat

Reply Threaded More More options
Print post
Permalink
We had exactly these issues with JDK 1.5.
Problem:

> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> org.apache.xalan.processor.TransformerFactoryImpl not found
 
Solution:
...we added xalan.jar and serializer.jar to common/endorsed directory of
Tomcat.

Problem:
However, as a result of the Xalan error the repository initialisation
process will have failed leaving you with a repository directory containing
just an empty workspace.xml file. On a 2nd start-up this empty file causes
the "Premature end of file".

Solution:
Delete the repository directory and restart. The initialisation process
should then complete successfully.

Hope this helps,
Shaun.


-----Original Message-----
From: Ramasamy [mailto:[hidden email]]
Sent: 04 December 2006 05:39
To: [hidden email]
Subject: Re: Jackrabbit war on Tomcat

I am also getting the same message
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found

Can anyone send me the correct war file


JavaJ wrote:

>
> Anyone else have trouble deploying the jackrabbit-server-1.0.1.war on
> Tomcat 5.0.28, using JDK 1.5?
>
> The initial error that I get when I tried to deploy the war was:
>
> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> org.apache.xalan.processor.TransformerFactoryImpl not found
>
> This is apparently a 1.5 issue on Tomcat and the solution is the
> remove the xercesImpl.jar and xml-apis.jar from the endorsed library
folder.
>
> After removing the files, I now get this error:
>
> org.apache.jackrabbit.core.config.ConfigurationException:
> Configuration file syntax error.: Premature end of file.: Premature end of
file.
>
> I have not changed anything in the war that came from the apache
> jackrabbit website.
>
> Any ideas?
>

--
View this message in context:
http://www.nabble.com/Jackrabbit-war-on-Tomcat-tf2040826.html#a7671106
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Send instant messages to your online friends http://uk.messenger.yahoo.com