If you want to get it up running in five minutes, download the webberchat_tomcat_package.zip file and follow the instruction in the following. This is only for demo purpose. Please use the regular deployment instruction for production purpose
1. Download and Install JDK or the J2SE Runtime Environment (JRE). It requires JRE 5.0 or later. Set an environment variable named JAVA_HOME to the pathname of the directory into which you installed the JRE. Here is the link to JDK or JRE download: http://java.sun.com/javase/downloads/index_jdk5.jsp.
2. Unzip the livechat_Tomcat_package.zip file into the following location C:\apache-tomcat-6.0.10. This is your tomcat home path. If you unpack it to anotherlocation, you will need to modify the following configuration file: Tomcat_HOME\bin\catalina.bat: replace "C:\apache-tomcat-6.0.10" with your tomcat home path
3. Start Up Tomcat
Tomcat can be started by executing the following commands:
$Tomcat_HOME\bin\startup.bat (Windows)
$Tomcat_HOME/bin/startup.sh (Unix)
4. After startup, you can start chat with the following url and login credentials:
Agent: http://localhost:8080/livechat. login: alias4 / test, alias5 / test, alias6 / test
Client:http://localhost:8080/livechat/internalClientAccess.jsp?queue=1
Admin: http://localhost:8080/livechat/admin.do, login: admin / test
Try start using:
bin\startup.bat
But not start...
C:\apache-tomcat-6.0.10\bin>startup.bat
Using CATALINA_BASE: C:\apache-tomcat-6.0.10
Using CATALINA_HOME: C:\apache-tomcat-6.0.10
Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.10\temp
Using JRE_HOME: C:\Arquivos de programas\Java\jdk1.5.0_14
C:\apache-tomcat-6.0.10\bin>
Error:
Listening for transport dt_socket at address: 5005
10/12/2007 20:22:49 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Arquivos de progra
mas\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Arquivos de program
as\Borland\Delphi7\Bin;C:\Arquivos de programas\Borland\Delphi7\Projects\Bpl\;C:
\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Arquivos de programas\A
TI Technologies\ATI Control Panel
10/12/2007 20:22:49 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
10/12/2007 20:22:49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 969 ms
10/12/2007 20:22:49 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
10/12/2007 20:22:49 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
10/12/2007 20:22:51 org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/l
ivechat,J2EEApplication=none,J2EEServer=none
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1815)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:872)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1325)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1204)
at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebA
nnotationSet.java:145)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerA
nnotations(WebAnnotationSet.java:73)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotatio
ns(WebAnnotationSet.java:56)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfi
g(ContextConfig.java:297)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:10
64)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
238)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
... 6 more
Can Help me????
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Download webberchat_tomcat_package.zip, version 1
Follow it:
Get started - Run a demo within 5 mins
If you want to get it up running in five minutes, download the webberchat_tomcat_package.zip file and follow the instruction in the following. This is only for demo purpose. Please use the regular deployment instruction for production purpose
1. Download and Install JDK or the J2SE Runtime Environment (JRE). It requires JRE 5.0 or later. Set an environment variable named JAVA_HOME to the pathname of the directory into which you installed the JRE. Here is the link to JDK or JRE download: http://java.sun.com/javase/downloads/index_jdk5.jsp.
2. Unzip the livechat_Tomcat_package.zip file into the following location C:\apache-tomcat-6.0.10. This is your tomcat home path. If you unpack it to anotherlocation, you will need to modify the following configuration file: Tomcat_HOME\bin\catalina.bat: replace "C:\apache-tomcat-6.0.10" with your tomcat home path
3. Start Up Tomcat
Tomcat can be started by executing the following commands:
$Tomcat_HOME\bin\startup.bat (Windows)
$Tomcat_HOME/bin/startup.sh (Unix)
4. After startup, you can start chat with the following url and login credentials:
Agent: http://localhost:8080/livechat. login: alias4 / test, alias5 / test, alias6 / test
Client:http://localhost:8080/livechat/internalClientAccess.jsp?queue=1
Admin: http://localhost:8080/livechat/admin.do, login: admin / test
Try start using:
bin\startup.bat
But not start...
C:\apache-tomcat-6.0.10\bin>startup.bat
Using CATALINA_BASE: C:\apache-tomcat-6.0.10
Using CATALINA_HOME: C:\apache-tomcat-6.0.10
Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.10\temp
Using JRE_HOME: C:\Arquivos de programas\Java\jdk1.5.0_14
C:\apache-tomcat-6.0.10\bin>
Error:
Listening for transport dt_socket at address: 5005
10/12/2007 20:22:49 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Arquivos de progra
mas\Java\jdk1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Arquivos de program
as\Borland\Delphi7\Bin;C:\Arquivos de programas\Borland\Delphi7\Projects\Bpl\;C:
\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Arquivos de programas\A
TI Technologies\ATI Control Panel
10/12/2007 20:22:49 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
10/12/2007 20:22:49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 969 ms
10/12/2007 20:22:49 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
10/12/2007 20:22:49 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
10/12/2007 20:22:51 org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/l
ivechat,J2EEApplication=none,J2EEServer=none
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1815)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:872)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1325)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1204)
at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebA
nnotationSet.java:145)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerA
nnotations(WebAnnotationSet.java:73)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotatio
ns(WebAnnotationSet.java:56)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfi
g(ContextConfig.java:297)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:10
64)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
238)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
... 6 more
Can Help me????
Java Version
C:\apache-tomcat-6.0.10\bin>java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
Whats is wrong???
This seems to be a classloader issue. Are you able to run any other version of Tomcat?
Thanks,
richard
Work Fine now, but i need JDK 1.6, and not 1.5 ;)