Klaros on Debian / Ubuntu

Koni Porki, geändert vor 13 Jahren.

Klaros on Debian / Ubuntu

Youngling Beiträge: 6 Beitrittsdatum: 13.07.11 Neueste Beiträge
Hi Torsten,

what do I need exactly to install Klaros on Linux Distribition like Debian/Linux?

I'm using these Steps right now:
1) wget url_to_Klaros_Setup.jar
2) java -jar Klaros-Setup.jar -console (Precondition: JRE or JDK on Linux installed )
3) $CATALINA_HOME/bin/startup.sh -> Here I'm not sure about this: Right now I'm using the path to Catalina, which come with Klaros Setup together

and what's next emoticon ?

The start of Klaros in browser http://myhost:18005/klaros-web/ doesn't work

Do I need here to use a binary files of Tomcat?

Thanks for your reply

Regards,
Koni
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Koni,

you probably want to install Klaros-Testmanagement as a service if you want to have it available after a reboot, which is described in the Manual here. This also shows the recommended startup command (which basically matches the one you gave above).

On the issue of the correct browser URL: This would be http://myhost:18080/klaros-web/ (Using the HTTP port), since 18005 is the remote administration port of the Tomcat application server.

Hope this helps,

Torsten
Koni Porki, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Youngling Beiträge: 6 Beitrittsdatum: 13.07.11 Neueste Beiträge
Hi Torsten,

Yes you right the Port is 18080, but the call of http://myhost:18080/klaros-web/ still doesn't work.

The .klaros folder isn't create. I use a root user so it should be in the /root Directory create

Here is a code what exactly happened

server-test:/# /var/www/klaros/bin/startup.sh    

Using CATALINA_BASE:   /var/www/klaros
Using CATALINA_BASE:   /var/www/klaros
Using CATALINA_HOME:   /var/www/klaros
Using CATALINA_TMPDIR: /var/www/klaros/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /root/.klaros/resources:/var/www/klaros/bin/bootstrap.jar
server-test:/#



server-test:/# java -version
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)


and as I call http://server-test:18080/klaros-web/ I see "Firefox kann keine Verbindung zu dem Server unter server-test:18080 aufbauen."

It's look like a Tomcat can not started.


EDIT The Catalina's Log File:

                                                         
21.07.2011 10:28:33 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNUNG: [SetPropertiesRule]{Server} Setting property 'port' to '18005:com.izforge.izpack.util.PortProcessor' did not find a matching property.
21.07.2011 10:28:33 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/li$
21.07.2011 10:28:34 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-0
21.07.2011 10:28:34 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 632 ms
21.07.2011 10:28:34 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21.07.2011 10:28:34 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
21.07.2011 10:28:34 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive klaros-web.war
21.07.2011 10:28:39 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ign$
21.07.2011 10:28:39 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ign$
21.07.2011 10:28:52 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_14-b01-FCS) for context '/klaros-web'
21.07.2011 10:28:53 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
21.07.2011 10:28:53 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/klaros-web] startup failed due to previous errors
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [Session Monitor] but has failed to stop it. This is very likely to $
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [Timer-2] but has failed to stop it. This is very likely to create a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] bu$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] bu$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] bu$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:28:58 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@eac0b4]) and a$
21.07.2011 10:29:00 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
21.07.2011 10:29:00 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
21.07.2011 10:29:00 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
21.07.2011 10:29:00 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
21.07.2011 10:29:00 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
21.07.2011 10:29:00 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-0
21.07.2011 10:29:00 org.apache.jk.common.ChannelSocket init
INFO: Port busy 18009 java.net.BindException: Address already in use
21.07.2011 10:29:00 org.apache.jk.common.ChannelSocket init
SCHWERWIEGEND: Can't find free port 18009 18009
21.07.2011 10:29:00 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/462  config=null
21.07.2011 10:29:00 org.apache.catalina.startup.Catalina start
INFO: Server startup in 26772 ms
21.07.2011 10:29:00 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java)
        at org.apache.catalina.startup.Catalina.await(Catalina.java)
        at org.apache.catalina.startup.Catalina.start(Catalina.java)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java)
21.07.2011 10:29:00 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-0
21.07.2011 10:29:01 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
21.07.2011 10:29:01 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-0
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Koni,

thanks for attaching the logs.

WARNUNG: [SetPropertiesRule]{Server} Setting property 'port' to '18005:com.izforge.izpack.util.PortProcessor' did not find a matching property.


The command line installation has failed to set the proper port in conf/server.xml for an unknown reason. I looks like you entered 18005:com.izforge.izpack.util.PortProcessor instead of 18005 or leaving the default value during the installation here.

Please re-execute the installation or fix this value manually to 18005:

<Server port="18005" shutdown="SHUTDOWN">


In addition you have a process blocking port 18009 on your machine, probably a former klaros invocation which could not be shutdown, due to the error above (the remote adminstration port has not been set properly).

Please kill any existing klaros invocations before retrying to start it.

Regards,

Torsten
Koni Porki, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Youngling Beiträge: 6 Beitrittsdatum: 13.07.11 Neueste Beiträge
emoticon Thanks Torsten, it is a big step

so the Tomcat ist working now, the Homepage of Tomcat is showed, but the http://server-test:18080/klaros-web/ show me a 404 Error in Typical Tomcat look ;)

Here are the Logs, it's look like Error listenerStart, makes a some Problems


21.07.2011 11:22:14 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/i386/client:/usr$
21.07.2011 11:22:15 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
21.07.2011 11:22:15 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 634 ms
21.07.2011 11:22:15 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21.07.2011 11:22:15 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
21.07.2011 11:22:15 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive klaros-web.war
21.07.2011 11:22:19 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
21.07.2011 11:22:19 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
21.07.2011 11:22:32 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_14-b01-FCS) for context '/klaros-web'
21.07.2011 11:22:33 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
21.07.2011 11:22:33 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/klaros-web] startup failed due to previous errors
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [Session Monitor] but has failed to stop it. This is very likely to create a memory leak.
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [Timer-2] but has failed to stop it. This is very likely to create a memory leak.
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to cr$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to cr$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/klaros-web] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to cr$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:38 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SCHWERWIEGEND: The web application [/klaros-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e26d9b]) and a value of type [org.apache.derby.iapi.services.co$
21.07.2011 11:22:40 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
21.07.2011 11:22:40 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
21.07.2011 11:22:40 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
21.07.2011 11:22:40 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
21.07.2011 11:22:40 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
21.07.2011 11:22:40 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-18080
21.07.2011 11:22:40 org.apache.jk.common.ChannelSocket init
INFO: Port busy 18009 java.net.BindException: Address already in use
21.07.2011 11:22:40 org.apache.jk.common.ChannelSocket init
SCHWERWIEGEND: Can't find free port 18009 18009
21.07.2011 11:22:40 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/464  config=null
21.07.2011 11:22:40 org.apache.catalina.startup.Catalina start
INFO: Server startup in 25674 ms



EDIT Ok it is definitely smth. with Database (see catalina.out)

21.07.2011 11:22:19 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
21.07.2011 11:22:19 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
11:22:19,258 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
11:22:19,259 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
11:22:19,259 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
11:22:19,261 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
11:22:19,261 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
11:22:19,261 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/jackrabbit-webapp-2.2.7.jar!/logback.xml]
11:22:19,261 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/mylyn-common-0.1.0.201103230840.jar!/logback.xml]
11:22:19,358 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
11:22:19,361 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
11:22:19,368 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [RootConsoleAppender]
11:22:19,462 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
11:22:19,462 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [RootConsoleAppender] to Logger[ROOT]
11:22:19,464 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jboss.seam.jsf.SeamPhaseListener] to ERROR
11:22:19,464 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.commons.httpclient.HttpMethodBase] to ERROR

2011-07-21 11:22:23: WARN, org.jboss.seam.security.permission.PersistentPermissionResolver, main no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPe$
2011-07-21 11:22:27: WARN, org.hibernate.util.JDBCExceptionReporter, main SQL Error: 40000, SQLState: XJ040
2011-07-21 11:22:27: ERROR, org.hibernate.util.JDBCExceptionReporter, main Failed to start database '/root/.klaros/klarosDerby' with class loader WebappClassLoader
  context: /klaros-web
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@e48e1b
, see the next exception for details.
2011-07-21 11:22:27: WARN, org.hibernate.util.JDBCExceptionReporter, main SQL Error: 45000, SQLState: XSDB6
2011-07-21 11:22:27: ERROR, org.hibernate.util.JDBCExceptionReporter, main Another instance of Derby may have already booted the database /root/.klaros/klarosDerby.
2011-07-21 11:22:27: WARN, org.hibernate.cfg.SettingsFactory, main Could not obtain connection to query metadata
java.sql.SQLException: Failed to start database '/root/.klaros/klarosDerby' with class loader WebappClassLoader
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
You still have a process blocking the port 18009 which prevents the startup:

INFO: Port busy 18009 java.net.BindException: Address already in use
7521.07.2011 11:22:40 org.apache.jk.common.ChannelSocket init
76SCHWERWIEGEND: Can't find free port 18009 18009
Koni Porki, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Youngling Beiträge: 6 Beitrittsdatum: 13.07.11 Neueste Beiträge
the proccess is killed and we#re nearly the solution emoticon

http://server-test:18080/klaros-web/ show me

Fehler: Umleitungsfehler

Die aufgerufene Website leitet die Anfrage so um, dass sie nie beendet werden kann.


and logs never ending
SCHWERWIEGEND: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /pages/login.jspx) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@1f1be44]
21.07.2011 11:56:07 com.sun.faces.lifecycle.Phase doPhase
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
I have seen this happen, when a non root application URL is used and JavaScript is disabled.

Please make sure that JavaScript is enabled in your browser.

I need to have a look at the complete catalina.out to find the initial cause for this. Please send this to support@verit.de.


Regards,

Torsten
Koni Porki, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Youngling Beiträge: 6 Beitrittsdatum: 13.07.11 Neueste Beiträge
Hi Torsten,

the Email is send to you, but I think it's smth. with Derby Database Connenction

JavaScript ist active

Regards,
KOni

PS. Viele Grüße vom Dirk Leopold, er steht grad neben mir ;)
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Koni,

you are stumbling across Bug 6622385 in the Java HotSpot Client VM.

Updating your Java VM to a version above 6u14 (You stated you are using 6u12) should remedy your problem.
As another workaround you may also add -XX:+RelaxAccessControlCheck to the bin/catalina.sh or bin/catalina.bat files in front of the -XX:MaxPermSize= statement.

This VM issue only affects users of Klaros-Testmanagment version 3.4.3 (where the trigger of the situation has been introduced) in combination with a Sun VM from version 6u6 up to and including version 6u13.

Thanks for spotting this, we were not aware that this problem actually exists.

Regards,

Torsten
Koni Porki, geändert vor 13 Jahren.

RE: Klaros on Debian / Ubuntu

Youngling Beiträge: 6 Beitrittsdatum: 13.07.11 Neueste Beiträge
HI Torsten,

no problem ;)

Update to java 6u22 has fixed this problem ;)

Thank to you and the team
Koni