Here I am again.

Sun Java 1.5 is installed and now DSpace is online! Thank You!

But after restarting Tomcat I find in catalina.out some problems similar 
  to the ones before:

Using CATALINA_BASE:   /usr/share/tomcat5
Using CATALINA_HOME:   /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:
13.05.2008 17:12:35 org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance 
in production environments was not found on the java.library.path: 
/usr/lib/jvm/java-1.5.0-sun-1.5.0.15.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15.x86_64/jre/../lib/amd64
13.05.2008 17:12:36 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
13.05.2008 17:12:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1341 ms
13.05.2008 17:12:36 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
13.05.2008 17:12:36 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
13.05.2008 17:12:36 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
13.05.2008 17:12:37 org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: 
[org.apache.webapp.balancer.RuleChain: 
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: 
News / Redirect URL: http://www.cnn.com], 
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param 
name: paramName / Target param value: paramValue / Redirect URL: 
http://www.yahoo.com], 
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: 
http://jakarta.apache.org]]
log4j:WARN No appenders could be found for logger 
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
INFO: Loading provided config file: /opt/dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /opt/dspace/config/log4j.properties
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /opt/dspace/log/dspace.log (Permission 
denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
[snip]
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /opt/dspace/log/checker.log (Permission 
denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
[snip]
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
13.05.2008 17:12:40 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
13.05.2008 17:12:40 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
13.05.2008 17:12:40 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
13.05.2008 17:12:40 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
13.05.2008 17:12:40 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
13.05.2008 17:12:40 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
13.05.2008 17:12:40 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/49  config=null
13.05.2008 17:12:40 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
13.05.2008 17:12:40 org.apache.catalina.startup.Catalina start
INFO: Server startup in 4707 ms

The problems I see:
- The "Apache Tomcat Native library" is still not found. Is it required. 
Should'nt it be part of Tomcat. Did I set a path wrong?

- Can I ignore the log4j-warning because of the later successful loading 
message regarding log4j?

- Tomcat still starts up as user 'tomcat', not 'dspace'. This seems to 
be the reason for the permission problems. But why does Tomcat ignore 
the settings in tomcat5.conf?

Best regards

Robert

--------
Robert Roggenbuck schrieb:
> Yes, Java 1.5 is mentioned - sorry for not checking the installed Java 
> version...
> 
> Thanks for the link. I will see if I can register the server at the 
> "RedHat supplementary updates repository". I tell You whether I 
> succeeded or not.
> 
> Thanks for the help so far
> 
> Robert
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to