Got past the NetBeans Initialization error and fedora context starts so wanted 
to report back incase its useful for anyone else. It was down to my tomcat user 
account not having rw permissions to the $FEDORA_HOME so wasn't create all the 
files necessary at install time. I also noticed a problem in my $CLASSPATH  
because I had "/" at the end of my $JAVA_HOME but I think it was all down to 
user permissions for my tomcat 

 

From: Michael.OBrien [mailto:[email protected]] 
Sent: 05 June 2012 15:04
To: Support and info exchange list for Fedora users.
Subject: Re: [fcrepo-user] Fatal error starting fedora 3.5onstandalonetomcat7

 

Sorry sent last email just as solution dawned on me. I forgot to edit my tomcat 
startup service script to use jdk 1.6.

Tomcat starts but still has trouble starting fedora

Catalina.out

Info: Deploying configuration descriptor 
/$CATALINA_HOME/conf/Catalina/localhost/$FEDORA_CONTEXT.xml

FEDORA ERROR

Fedora startup failed

Org.fcrepo.server.servers.errors.ServerInitializationException 
java.lang.RuntimeException: org.fcrepo.server.Server.<init> (Server.java:684)

 

From: Michael.OBrien [mailto:[email protected]] 
Sent: 05 June 2012 14:49
To: Support and info exchange list for Fedora users.
Subject: Re: [fcrepo-user] Fatal error starting fedora 3.5 onstandalonetomcat7

 

I switched to jdk 1.6.0_32 instead of  jdk 1.7.0_04, uninstalling jdk 1.7 
before I installed 1.6  and reran the fcrepo-installer-3.5.jar choosing the 
same options as before but this time catalina.out says there is still a 
reference to jdk 1.7.0 in catalina.sh in line 389

"eval  \ "$_RUNJAVA"  \ "$LOGGING_CONFIG" $JAVA_OPTS $CATALINA_OPTS \ 

When I echo the environment variables I get the following table

JAVA_HOME       /usr/java/jdk1.6.0_32  
FEDORA_HOME     /usr/local/fedora      
CATALINA_HOME   /usr/share/apache-tomcat-7.0.27/       
JAVA_OPTS       Details about fedora/server/truststore djavax.net      
PATH    Fedora/server/bin fedora/client/bin    
CLASSPATH       [BLANK]
CATALINA_OPTS   [BLANK]

-----Original Message-----
From: Michael.OBrien [mailto:[email protected]]
Sent: 05 June 2012 10:24
To: Support and info exchange list for Fedora users.
Subject: Re: [fcrepo-user] Fatal error starting fedora 3.5 on standalonetomcat7

Thanks for the tip Jörg but would the security measures in fedora prevent it 
starting up?

I intend to access fedora in the main using islandora once I get it up and 
running

-----Original Message-----

From: Jörg Knappen [mailto:[email protected]]

Sent: 04 June 2012 07:55

To: [email protected]

Subject: Re: [fcrepo-user] Fatal error starting fedora 3.5 on standalone tomcat7

Hallo,

Zitat von "Michael.OBrien" <[email protected]>:

> JDK 1.6 is the supported platform which could why but that obvious 

> reason aside do you think it could be the java version?

As mentioned earlier: IBM Java delivered together with SLES11 (Suse) turned out 
to be insufficient, changing to Java 6 from java.com fixed some problems I had.

Other things that made Fedora installation easier: Switch off most of the 
buildt-in security measures of Fedora and manage security via Apache httpd (in 
our setting, Apache Tomcat is only reachable via Apache httpd except from 
localhost).

--Jörg Knappen

> -----Original Message-----

> From: Jörg Knappen [mailto:[email protected]]

> Sent: 01 June 2012 16:37

> To: Support and info exchange list for Fedora users.

> Subject: Re: [fcrepo-user] Fatal error starting fedora 3.5 on 

> standalone tomcat7

> 

> Michael,

> 

> our server runs on

> java version "1.6.0_31"

> Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java

> HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

> 

> I daren't use Java 7 (though I forgot the reason why).

> 

> --Jörg

> 

> Zitat von "Michael.OBrien" <[email protected]>:

> 

>> Hi Jörg , I am using the java.com jdk 1.7.0_04 on CentOS6.2 64bit. I 

>> removed openjdk from the system before installing Tomcat7 Hi Mathep, 

>> I set SELinux to passive and rebooted but still get the same problem

>> 

>> -----Original Message-----

>> From: Jörg Knappen [mailto:[email protected]]

>> Sent: 01 June 2012 16:01

>> To: [email protected]

>> Subject: Re: [fcrepo-user] Fatal error starting fedora 3.5 on 

>> standalone tomcat7

>> 

>> Michael,

>> 

>> what Java do you have? I have some experiences with SLES11 and found 

>> that the IBM Java delivered with it was insuffcient to run Fedora 

>> Commons. Deinstalling it and getting jdk directly from java.com 

>> solved this problem (there were more to come ...)

>> 

>> --Jörg Knappen

>> 

>> Zitat von Matteo Boschini <[email protected]>:

>> 

>>> I have a setup similar to yours, except that I use the included

>>> tomcat- Unitll I had Selinux, it was a nightmare...

>>> may be you can try disabling selinux (o r set it to permissive)

>>> 

>>> 

>>> 

>>> On Fri, Jun 1, 2012 at 2:22 PM, Michael.OBrien 

>>> <[email protected]> wrote:

>>> 

>>>> Hi all,****

>>>> 

>>>> ** **

>>>> 

>>>> I'm trying to get Fedora 3.5 running using a custom install and 

>>>> would appreciate any help you can give about permissions. I am 

>>>> using an existing

>>>> tomcat7 server running under its own user account and with a 

>>>> separate location for the akubra llstore.****

>>>> 

>>>> ** **

>>>> 

>>>> I've created a group which includes the tomcat user and given it 

>>>> permissions to $Fedora_Home and the Akubra llstore location but I 

>>>> get the following error in fedora.log when starting Fedora up****

>>>> 

>>>> Error Fatal error while starting

>>>> server.org.springframework.beans.factory.BeanCreationException:

>>>> Error creating bean with name 'org.fcrepo.server.management.Management':

>>>> Invocation of init method failed; nested exception is

>>>> org.fcrepo.server.errors.ModuleInitializationException: Error while 

>>>> initializing temporary storage area:****

>>>> 

>>>> ** **

>>>> 

>>>> Could SELinux which is enforced be a reason for this error ?****

>>>> 

>>>> ** **

>>>> 

>>>> Michael ****

>>>> 

>>>> 

>>>> -------------------------------------------------------------------

>>>> -

>>>> -

>>>> ---------

>>>> Live Security Virtual Conference

>>>> Exclusive live event will cover all the ways today's security and 

>>>> threat landscape has changed and how IT managers can respond.

>>>> Discussions will include endpoint security, mobile security and the 

>>>> latest in malware threats.

>>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

>>>> _______________________________________________

>>>> Fedora-commons-users mailing list

>>>> [email protected]

>>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

>>>> 

>>>> 

>>> 

>> 

>> 

>> 

>> 

>> ---------------------------------------------------------------------

>> -

>> --------

>> Live Security Virtual Conference

>> Exclusive live event will cover all the ways today's security and 

>> threat landscape has changed and how IT managers can respond.

>> Discussions will include endpoint security, mobile security and the 

>> latest in malware threats.

>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

>> _______________________________________________

>> Fedora-commons-users mailing list

>> [email protected]

>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

>> 

>> ---------------------------------------------------------------------

>> -

>> --------

>> Live Security Virtual Conference

>> Exclusive live event will cover all the ways today's security and 

>> threat landscape has changed and how IT managers can respond.

>> Discussions will include endpoint security, mobile security and the 

>> latest in malware threats.

>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

>> _______________________________________________

>> Fedora-commons-users mailing list

>> [email protected]

>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

>> 

> 

> 

> 

> 

> ----------------------------------------------------------------------

> --------

> Live Security Virtual Conference

> Exclusive live event will cover all the ways today's security and 

> threat landscape has changed and how IT managers can respond.

> Discussions will include endpoint security, mobile security and the 

> latest in malware threats.

> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

> _______________________________________________

> Fedora-commons-users mailing list

> [email protected]

> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

> 

> ----------------------------------------------------------------------

> --------

> Live Security Virtual Conference

> Exclusive live event will cover all the ways today's security and 

> threat landscape has changed and how IT managers can respond.

> Discussions will include endpoint security, mobile security and the 

> latest in malware threats.

> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

> _______________________________________________

> Fedora-commons-users mailing list

> [email protected]

> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

> 

 

------------------------------------------------------------------------------

Live Security Virtual Conference

Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________

Fedora-commons-users mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------

Live Security Virtual Conference

Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________

Fedora-commons-users mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to