I've toyed with 3.0 a bit, but haven't the time to get into it now, plus I'm really waiting for an RC3 to fix some of the more significant bugs. The fact you can't find an index.dat file might indicate a problem. Have you contacted your hosting service about the issue?

Anyone else with advice for him?

--David

Jason Wan/ICILSZX wrote:

Hi David,
        Thanks for your reply. Following your suggestions, for 2 days, I had 
tried all these methods to install magnolia3.0 to a remote server:
1. I log in server as root and made the jBoss and magnolia accessible to all 
users.
2. I installed a whole new magnolia3.0 into a new jBoss in my PC, the 
installation is so easy with only one small change in jBoss login-config.xml, 
no touching to magnolia configuration files. I started jBoss and browsed in 
http://localhost:8080/magnoliaAuthor it worked well, no errors in log. Then I 
upload the whole jBoss to Linux server and made it accessible, run it.
3. I searched the mail-list archived and found some cases in 
http://www.magnolia.info/wiki/Wiki.jsp?page=RepositoryNotLoaded but I cannot 
find the index.dat file. (I am using magnolia3.0) So I deleted the whole 
workspaces directory and let it rebuild a new one when restart jBoss. Also I 
found this page in wiki 
http://www.magnolia.info/wiki/Wiki.jsp?page=DisableJackrabbitIndexing, I 
followed the steps.
Result: All these methods resulted in the same errors.
I download the whole jBoss in server to my local PC and run it, there is no 
problem! The difference between the two cases is just a remote server who's 
using Linux2.4.21-32.EL.
I have downloaded magnolia-2.1.5_with_tomcat from somewhere before. With 
nothing changed I upload it to server. And this is the only successful 
installation in server. But we are not supposed to use magnolia2.1.5.
So anything need to be concerned when installing magnolia3.0 to a remote server 
who's using Linux?
I would like to give out the whole error-log but it seems too large for e-mail,
And every times the same magnolia error-log:
ERROR  org.apache.jackrabbit.core.RepositoryImpl 24.08.2006 10:15:37 -- Failed 
to initialize workspace 'default' ...........
ERROR  org.apache.jackrabbit.core.RepositoryImpl 24.08.2006 10:15:37 -- Unable 
to start repository, forcing shutdown...
ERROR  info.magnolia.jackrabbit.ProviderImpl 24.08.2006 10:15:37 -- Unable to 
initialize repository: null javax.jcr.RepositoryException .........
ERROR  info.magnolia.cms.beans.config.ContentRepository 24.08.2006 10:15:37 -- System : 
Failed to load JCR "magnolia" null
info.magnolia.repository.RepositoryNotInitializedException
at info.magnolia.jackrabbit.ProviderImpl.init(ProviderImpl.java:175)..
ERROR  info.magnolia.cms.servlets.PropertyInitializer 24.08.2006 10:15:38 -- 
Repository [website] not loaded
java.lang.RuntimeException: Repository [website] not loaded ....

-----邮件原件-----
发件人: [email protected] [mailto:[EMAIL PROTECTED] 发送时间: 2006年8月23日 19:26
收件人: [email protected]
主题: Re: [magnolia-user] Cannot install magnolia in remote server

I would think the root cause is not being able to write a repository directory. Have your tried to upload the contents of the war file as opposed to the war file? With .war files, it's possible the servlet container is returning null to a call on ServletContext.getRealPath( "/repositories" ) -- this is per spec.

Does the tomcat container have write privilege on the webapp directory? Such a condition would prevent the webapp from writing the initial repository and bootstrapping successfully.

Third, are there any errors before this, maybe missing org.apache.xerces.* packages?

--David

Jason Wan/ICILSZX wrote:

Hi everybody,
        I successfully install magnolia3.0 under jBoss4.0.4 in my PC (XP). All 
I did is to add the magnoliaAuthor.war and magnoliaPublic.war (unzipped), add 
following sentences to the jboss/server/all/conf/login-config.xml file:
<application-policy name = "magnolia"> <authentication> <login-module code = "info.magnolia.jaas.sp.jcr.JCRAuthorizationModule" flag = "required" /> </authentication> </application-policy>
After these two steps, I run the jBoss, everything is ok.
But when I did the same steps to install it to the remote server which is using 
UNIX OS and jboss4.0.4, it was not successful. The err-log in magnolia is as 
following:
ERROR  org.apache.jackrabbit.core.RepositoryImpl 23.08.2006 13:30:07 -- Failed 
to initialize workspace 'default'
javax.jcr.RepositoryException at 
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:531)
 at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:273)
.......
ERROR  org.apache.jackrabbit.core.RepositoryImpl 23.08.2006 13:30:08 -- Unable 
to start repository, forcing shutdown...
ERROR  info.magnolia.jackrabbit.ProviderImpl 23.08.2006 13:30:08 -- Unable to 
initialize repository: null
javax.jcr.RepositoryException at 
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:531)
ERROR  info.magnolia.cms.beans.config.ContentRepository 23.08.2006 13:30:08 -- System : 
Failed to load JCR "magnolia" null
info.magnolia.repository.RepositoryNotInitializedException
.........

I searched the wiki and user-list, but didn't find the solutions. Why the 
repositories cannot be initialized normally in remote server?  Anybody 
encountered this kind of problem? I am looking forwards to your suggestions.

Regards,
Jason



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to