You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jay <mx...@live.com> on 2014/02/27 22:56:34 UTC

Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

Hello,

We newly installed Solaris 10 with all default settings on our Sun Sparc
machine (sun4u sparc SUNW,UltraAX-i2 64-bit sparcv9 kernel modules).
The OS Version: SunOS hostname 5.10 Generic_147147-26 sun4u sparc
SUNW,UltraAX-i2.

We downloaded and installed JDK packages as follows:
jdk-7u51-solaris-sparc.z
jdk-7u51-solaris-sparcv9.z

The Java in the environment:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)

We downloaded the  apache-tomcat-7.0.52.tar.gz and just unpacked it in
/export/home/tester.
Then we started the Tomcat server just using ./startup.sh without change of
any default settings.
The Tomcat is started ok listening at 8080 and we can see the Tomcat main
page on Web Browser at the port 8080. 
But there is SEVERE error in the logs as follows:
      org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Error configuring application listener of class
websocket.drawboard.DrawboardContextListener

Is anyone aware about this issue? is it a configuration issue or environment
issue? 
Will this issue affect the basic Tomcat functions?
Can you please provide any clues or check points?

Thanks,
Jay 

PS. Here are the outputs from the logs:
#############################################################
# cat catalina.out
Feb 27, 2014 4:23:18 PM 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/jdk/packages/lib/sparc:/lib:/usr/lib
Feb 27, 2014 4:23:21 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Feb 27, 2014 4:23:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Feb 27, 2014 4:23:22 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6354 ms
Feb 27, 2014 4:23:22 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Feb 27, 2014 4:23:22 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52
Feb 27, 2014 4:23:22 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/export/home/tester/apache-tomcat-7.0.52/webapps/manager
Feb 27, 2014 4:23:26 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/export/home/tester/apache-tomcat-7.0.52/webapps/docs
Feb 27, 2014 4:23:27 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/export/home/tester/apache-tomcat-7.0.52/webapps/examples
Feb 27, 2014 4:23:31 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Error listenerStart
Feb 27, 2014 4:23:31 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Context [/examples] startup failed due to previous errors
Feb 27, 2014 4:23:31 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/export/home/tester/apache-tomcat-7.0.52/webapps/ROOT
Feb 27, 2014 4:23:32 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/export/home/tester/apache-tomcat-7.0.52/webapps/host-manager
Feb 27, 2014 4:23:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Feb 27, 2014 4:23:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Feb 27, 2014 4:23:32 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10763 ms
#############################################################
# cat localhost.2014-02-27.log
Feb 27, 2014 4:23:31 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
websocket.drawboard.DrawboardContextListener
java.lang.ClassNotFoundException:
websocket.drawboard.DrawboardContextListener
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1718)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1569)
        at
org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceMan
ager.java:529)
        at
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(Def
aultInstanceManager.java:511)
        at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceM
anager.java:139)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
4888)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:
5467)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:9
01)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1
875)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
45)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
15)
        at java.lang.Thread.run(Thread.java:744)

Feb 27, 2014 4:23:31 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
#############################################################



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

Posted by Jay <mx...@live.com>.
Hi Chris,

This is a tar issue and we can work out.
Actually We have a real issue on the Tomcat stopping itself - I just reported again with the new version 7.052.
" Tomcat 7.0.52 stops after hours on our Sun Sparc with SunOS 5.10".

Thanks,
Jay

-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net] 
Sent: Monday, March 03, 2014 5:33 PM
To: Tomcat Users List
Subject: Re: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jay,

On 2/28/14, 4:09 PM, Jay wrote:
> Hi Konstantin,
> 
> Thanks. it did cut the name during the unpacking. I unpacked it using 
> " gunzip -c apache-tomcat-7.0.52.tar.gz |tar xvf - " and there was no 
> warning or error.
> 
> The original tar.gz file contains: DrawboardContextListener.class 
> DrawboardContextListener.java
> 
> But after unpacked, their names are cut as follows: -rw-r--r--   1
> root     root         890 Feb 13 02:29 DrawboardContextListener.c 
> -rw-r--r--   1 root     root        1346 Feb 13 02:31 
> DrawboardContextListener.j

Are you using gnu tar or Sun tar? I think you'd better use Gnu tar, otherwise weird things can happen.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTFQMcAAoJEBzwKT+lPKRYF7MP/0JpoHn6teRvdVIbGK+PEMyo
x7HMxxDSWKq12KLRYPdwADuyYUjLjn0bLShh6ejB2AZD51TNiXiMsGS/isrqbe1O
2Fjzfl4SrH2BcWp5rOdu+PTtckka2m9fcWnLGZt1PBztqP0NwIkru2X598aU3rby
+MWeSbo+BkgDjFxGQdb47ybYEZ6MdqkBHrjjfOfDNH+Wvl4LL+IZ+tk+xDku/nkS
EbgpcKEPQjcxka2U3YaqBGJHODsVKK0d9tb6wphyBSBuhnqEvrTZOatmH7wDWFRe
Qbws25U5BPKy3c6PSLKnjoV97Fkgitm8ecjNa7wL+IouqaBUFZfv9Y1EYYpV0ItN
5be898tj6DOBHVR+DH9hvaPnTfSOEr1TU8+P6vqPqJDNHyobT5uefKFFCBH8nfrg
VLSwAwT65i6zWa3tI7iyeea7vD3DEUq6NKq24Qxmu85ny3tDUZWk3vvjLgVJDJra
71M6Jhaiq5U7WW0tjkSPgFEG4yZvVy2bWi/E9JeL1bZez3ZKHTc9OX2XHls+Y5y4
TGiGWMAOX1ULqL40f/9vYU6EJtv+2W/oxsXWS9Z/QGBLHDQWhpFgxBzs4mM9qL86
O+0/TLaqGjWbzAN5lNMahgOFdyc+ZZVy09i8PUAQTi1c2Y1RiUGuFylVrqC318KI
nTXhJlo0xlSYzaWG4rB7
=i47K
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jay,

On 2/28/14, 4:09 PM, Jay wrote:
> Hi Konstantin,
> 
> Thanks. it did cut the name during the unpacking. I unpacked it
> using " gunzip -c apache-tomcat-7.0.52.tar.gz |tar xvf - " and 
> there was no warning or error.
> 
> The original tar.gz file contains: DrawboardContextListener.class 
> DrawboardContextListener.java
> 
> But after unpacked, their names are cut as follows: -rw-r--r--   1
> root     root         890 Feb 13 02:29 DrawboardContextListener.c 
> -rw-r--r--   1 root     root        1346 Feb 13 02:31 
> DrawboardContextListener.j

Are you using gnu tar or Sun tar? I think you'd better use Gnu tar,
otherwise weird things can happen.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTFQMcAAoJEBzwKT+lPKRYF7MP/0JpoHn6teRvdVIbGK+PEMyo
x7HMxxDSWKq12KLRYPdwADuyYUjLjn0bLShh6ejB2AZD51TNiXiMsGS/isrqbe1O
2Fjzfl4SrH2BcWp5rOdu+PTtckka2m9fcWnLGZt1PBztqP0NwIkru2X598aU3rby
+MWeSbo+BkgDjFxGQdb47ybYEZ6MdqkBHrjjfOfDNH+Wvl4LL+IZ+tk+xDku/nkS
EbgpcKEPQjcxka2U3YaqBGJHODsVKK0d9tb6wphyBSBuhnqEvrTZOatmH7wDWFRe
Qbws25U5BPKy3c6PSLKnjoV97Fkgitm8ecjNa7wL+IouqaBUFZfv9Y1EYYpV0ItN
5be898tj6DOBHVR+DH9hvaPnTfSOEr1TU8+P6vqPqJDNHyobT5uefKFFCBH8nfrg
VLSwAwT65i6zWa3tI7iyeea7vD3DEUq6NKq24Qxmu85ny3tDUZWk3vvjLgVJDJra
71M6Jhaiq5U7WW0tjkSPgFEG4yZvVy2bWi/E9JeL1bZez3ZKHTc9OX2XHls+Y5y4
TGiGWMAOX1ULqL40f/9vYU6EJtv+2W/oxsXWS9Z/QGBLHDQWhpFgxBzs4mM9qL86
O+0/TLaqGjWbzAN5lNMahgOFdyc+ZZVy09i8PUAQTi1c2Y1RiUGuFylVrqC318KI
nTXhJlo0xlSYzaWG4rB7
=i47K
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

Posted by Jay <mx...@live.com>.
Hi Konstantin,

Thanks. it did cut the name during the unpacking.
I unpacked it using " gunzip -c apache-tomcat-7.0.52.tar.gz |tar xvf - " and
there was no warning or error.

The original tar.gz file contains:
DrawboardContextListener.class
DrawboardContextListener.java

But after unpacked, their names are cut as follows:
-rw-r--r--   1 root     root         890 Feb 13 02:29
DrawboardContextListener.c
-rw-r--r--   1 root     root        1346 Feb 13 02:31
DrawboardContextListener.j

Best Regards,
Jay

-----Original Message-----
From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] 
Sent: Thursday, February 27, 2014 5:13 PM
To: Tomcat Users List
Subject: Re: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

2014-02-28 1:56 GMT+04:00 Jay <mx...@live.com>:
> Hello,
>
> We newly installed Solaris 10 with all default settings on our Sun 
> Sparc machine (sun4u sparc SUNW,UltraAX-i2 64-bit sparcv9 kernel modules).
> The OS Version: SunOS hostname 5.10 Generic_147147-26 sun4u sparc 
> SUNW,UltraAX-i2.
>
> We downloaded and installed JDK packages as follows:
> jdk-7u51-solaris-sparc.z
> jdk-7u51-solaris-sparcv9.z
>
> The Java in the environment:
> java version "1.7.0_51"
> Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 
> Client VM (build 24.51-b03, mixed mode, sharing)
>
> We downloaded the  apache-tomcat-7.0.52.tar.gz and just unpacked it in 
> /export/home/tester.
> Then we started the Tomcat server just using ./startup.sh without 
> change of any default settings.
> The Tomcat is started ok listening at 8080 and we can see the Tomcat 
> main page on Web Browser at the port 8080.
> But there is SEVERE error in the logs as follows:
>       org.apache.catalina.core.StandardContext listenerStart
>       SEVERE: Error configuring application listener of class 
> websocket.drawboard.DrawboardContextListener
>
> Is anyone aware about this issue? is it a configuration issue or 
> environment issue?
> Will this issue affect the basic Tomcat functions?
> Can you please provide any clues or check points?
>
> Thanks,
> Jay
>
> PS. Here are the outputs from the logs:
>(....)
> INFO: Deploying web application directory  
>/export/home/tester/apache-tomcat-7.0.52/webapps/examples
>(...)
> java.lang.ClassNotFoundException:
> websocket.drawboard.DrawboardContextListener


Does the following class file exist in your installation?
/export/home/tester/apache-tomcat-7.0.52/webapps/examples/WEB-INF/classes/we
bsocket/drawboard/DrawboardContextListener.class

I have checked, that it is present in apache-tomcat-7.0.52.tar.gz, but may
be you had trouble unpacking it.  The *.tar.gz file requires GNU Tar (as
mentioned in README file on the download page), because of some long file
names.

You can download apache-tomcat-7.0.52.zip instead.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

Posted by Konstantin Kolinko <kn...@gmail.com>.
2014-02-28 1:56 GMT+04:00 Jay <mx...@live.com>:
> Hello,
>
> We newly installed Solaris 10 with all default settings on our Sun Sparc
> machine (sun4u sparc SUNW,UltraAX-i2 64-bit sparcv9 kernel modules).
> The OS Version: SunOS hostname 5.10 Generic_147147-26 sun4u sparc
> SUNW,UltraAX-i2.
>
> We downloaded and installed JDK packages as follows:
> jdk-7u51-solaris-sparc.z
> jdk-7u51-solaris-sparcv9.z
>
> The Java in the environment:
> java version "1.7.0_51"
> Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
> Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
>
> We downloaded the  apache-tomcat-7.0.52.tar.gz and just unpacked it in
> /export/home/tester.
> Then we started the Tomcat server just using ./startup.sh without change of
> any default settings.
> The Tomcat is started ok listening at 8080 and we can see the Tomcat main
> page on Web Browser at the port 8080.
> But there is SEVERE error in the logs as follows:
>       org.apache.catalina.core.StandardContext listenerStart
>       SEVERE: Error configuring application listener of class
> websocket.drawboard.DrawboardContextListener
>
> Is anyone aware about this issue? is it a configuration issue or environment
> issue?
> Will this issue affect the basic Tomcat functions?
> Can you please provide any clues or check points?
>
> Thanks,
> Jay
>
> PS. Here are the outputs from the logs:
>(....)
> INFO: Deploying web application directory
> /export/home/tester/apache-tomcat-7.0.52/webapps/examples
>(...)
> java.lang.ClassNotFoundException:
> websocket.drawboard.DrawboardContextListener


Does the following class file exist in your installation?
/export/home/tester/apache-tomcat-7.0.52/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.class

I have checked, that it is present in apache-tomcat-7.0.52.tar.gz, but
may be you had trouble unpacking it.  The *.tar.gz file requires GNU
Tar (as mentioned in README file on the download page), because of
some long file names.

You can download apache-tomcat-7.0.52.zip instead.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org