Hi Chris,

Thanks for the answer. It does make sense! The error went away. However, a new error appeared now:

DEBUG 2007-09-20 13:41:50.534 [main] (BackendPolicies) finished writing temp files
DEBUG 2007-09-20 13:41:50.534 [main] (BackendPolicies) in BackendPolicies.generateBackendPolicies() .xml 4
FATAL 2007-09-20 13:41:50.911 [main] (Server) Module (fedora.server.security.Authorization) failed to initialize
fedora.server.errors.ModuleInitializationException: fedora/utilities/Log4JRedirectFilter
    at fedora.server.security.DefaultAuthorization.postInitModule(DefaultAuthorization.java:369)
    at fedora.server.Server.<init>(Server.java:638)
    at fedora.server.BasicServer.<init>(BasicServer.java:60)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at fedora.server.Server.getInstance(Server.java:1032)
    at fedora.server.ServerController.init(ServerController.java:157)
    at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    ...
Caused by: java.lang.NoClassDefFoundError: fedora/utilities/Log4JRedirectFilter
    at fedora.server.security.PolicyEnforcementPoint.<clinit>(PolicyEnforcementPoint.java:98)
    at fedora.server.security.DefaultAuthorization.postInitModule(DefaultAuthorization.java:356)

The server is still shutdown. Do you know any possible reason for this? Thanks again.

Ran



Subject: RE: [Fedora-commons-users] new installation of Fedora 2.2.1 fails tostart
Date: Wed, 19 Sep 2007 23:31:48 -0400
From: cwilper@cs.cornell.edu
To: realvita@hotmail.com; fedora-commons-users@lists.sourceforge.net

RE: [Fedora-commons-users] new installation of Fedora 2.2.1 fails tostart Hi Ran,

It's creating a temporary file (I don't know the exact
filename it's trying), and failing at that.  It appears
that whatever temporary directory your JVM is configured
with doesn't exist or is unwritable.

Usually Tomcat sets this to /path/to/tomcat/temp
So you can check if that directory exists.  Another
thing to check is whether the system /tmp dir is
writable by the user you're starting Tomcat (and thus Fedora)
as.

- Chris

BTW - The line numbers in your stack trace also seem off
      compared to those in the 2.2.1 release.  If the above
      fails, it may be worth doing a sanity check and making
      sure all your environment variables are right and
      you're not inadvertently starting up an old Fedora
      version.

-----Original Message-----
From: fedora-commons-users-bounces@lists.sourceforge.net on behalf of Ran wei
Sent: Wed 9/19/2007 9:35 PM
To: fedora-commons-users@lists.sourceforge.n
Subject: [Fedora-commons-users] new installation of Fedora 2.2.1 fails tostart

Hi All,

I am doing a re-installation of 2.2.1. It seems that the server does not start. The log states that a fatal error was encountered during startup. The following info is seen:

FATAL 2007-09-20 11:20:56.323 [main] (Server) Module (fedora.server.security.Authorization) failed to initialize
fedora.server.errors.ModuleInitializationException: No such file or directory
    at fedora.server.security.DefaultAuthorization.postInitModule(DefaultAuthorization.java:369)
    at fedora.server.Server.<init>(Server.java:638)
    at fedora.server.BasicServer.<init>(BasicServer.java:60)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at fedora.server.Server.getInstance(Server.java:1032)
    at fedora.server.ServerController.init(ServerController.java:157)
    at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    ...
Caused by: java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1345)
    at java.io.File.createTempFile(File.java:1434)
    at java.io.File.createTempFile(File.java:1471)
    at fedora.server.security.BackendPolicies.writePolicies(BackendPolicies.java:241)
    at fedora.server.security.BackendPolicies.generateBackendPolicies(BackendPolicies.java:73)
    at fedora.server.security.DefaultAuthorization.generateBackendPolicies(DefaultAuthorization.java:293)
    at fedora.server.security.DefaultAuthorization.setupActivePolicyDirectories(DefaultAuthorization.java:338)
    at fedora.server.security.DefaultAuthorization.postInitModule(DefaultAuthorization.java:354)
    ... 56 more

I configured during the installation to use authentication for apia and no ssl, no xacml policies applied.

Also, I checked DefaultAuthorization.java with no idea what file/dir is missing here. The same setting was working for my last installation.

Any idea?

Ran Wei

_________________________________________________________________
Telstra's Next GTM Network - now on Pre-Paid. Find out more. www.spreadthegoodstuff.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fclk%2Eatdmt%2Ecom%2FOAT%2Fgo%2Fnnmsnnxg0080000046oat%2Fdirect%2F01%2F&_t=765565283&_r=Telstra_FFF_Prepaid_Hotmail_Email_Taglines_JuySep07_Aug&_m=EXT





Find out. SEEK Salary Centre: What are you really worth?