469,599 Members | 2,700 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,599 developers. It's quick & easy.

tomcat server

Hi,
I am using tomcat

i got a problem with tomcat 5.0.25 as

i specified jdk path during installation of tomcat as
C:/j2sdk1.4.2_12/jre

i tried by specifying path as C:/java/j2sdk1.4.2_12/jre

c:/j2sdk1.4.12 also

but after installation i am able to start server but not
completely........

i am able to access the tomcat console and my deployed applications
also...

but the server is not starting.. it just blinked and gone.......

I tried in myeclipse tool while

starting tomcat server i got error as

WARNING: Error registering contexts

java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.j ava:782)
at java.util.HashMap$EntryIterator.next(HashMap.java: 824)
at java.util.HashMap.putAllForCreate(HashMap.java:424 )
at java.util.HashMap.clone(HashMap.java:656)
at
mx4j.server.DefaultMBeanRepository.clone(DefaultMB eanRepository.java:56)
at
mx4j.server.MBeanServerImpl.findMBeansByPattern(MB eanServerImpl.java:1603)
at
mx4j.server.MBeanServerImpl.queryObjectNames(MBean ServerImpl.java:1568)
at mx4j.server.MBeanServerImpl.queryMBeans(MBeanServe rImpl.java:1512)
at
org.apache.coyote.tomcat5.MapperListener.init(Mapp erListener.java:136)
at
org.apache.coyote.tomcat5.CoyoteConnector.start(Co yoteConnector.java:1510)
at
org.apache.catalina.core.StandardService.start(Sta ndardService.java:485)
at
org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2298)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:284)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:422)

stopping tomcat server i got error as

Catalina.stop: java.net.ConnectException: Connection refused: connect

how can i solve this problem.
Jan 23 '07 #1
2 3141
r035198x
13,262 8TB
Hi,
I am using tomcat

i got a problem with tomcat 5.0.25 as

i specified jdk path during installation of tomcat as
C:/j2sdk1.4.2_12/jre

i tried by specifying path as C:/java/j2sdk1.4.2_12/jre

c:/j2sdk1.4.12 also

but after installation i am able to start server but not
completely........

i am able to access the tomcat console and my deployed applications
also...

but the server is not starting.. it just blinked and gone.......

I tried in myeclipse tool while

starting tomcat server i got error as

WARNING: Error registering contexts

java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.j ava:782)
at java.util.HashMap$EntryIterator.next(HashMap.java: 824)
at java.util.HashMap.putAllForCreate(HashMap.java:424 )
at java.util.HashMap.clone(HashMap.java:656)
at
mx4j.server.DefaultMBeanRepository.clone(DefaultMB eanRepository.java:56)
at
mx4j.server.MBeanServerImpl.findMBeansByPattern(MB eanServerImpl.java:1603)
at
mx4j.server.MBeanServerImpl.queryObjectNames(MBean ServerImpl.java:1568)
at mx4j.server.MBeanServerImpl.queryMBeans(MBeanServe rImpl.java:1512)
at
org.apache.coyote.tomcat5.MapperListener.init(Mapp erListener.java:136)
at
org.apache.coyote.tomcat5.CoyoteConnector.start(Co yoteConnector.java:1510)
at
org.apache.catalina.core.StandardService.start(Sta ndardService.java:485)
at
org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2298)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:284)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:422)

stopping tomcat server i got error as

Catalina.stop: java.net.ConnectException: Connection refused: connect

how can i solve this problem.
You should ask this at the apache tomcat site. This is tomcat specific. Maybe it's a bug
Jan 23 '07 #2
olakara
18
hi shanmukhi ,
try using the 1.5 JDK instead of 1.4.. you can have problem i some cases because of your jdk is old and the tomcat is relatively newer!
-- Abdel Raoof Olakara
Jan 23 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Alexandr Molochnikov | last post: by
reply views Thread by Shireesha | last post: by
7 posts views Thread by alfredo | last post: by
reply views Thread by AlexTengco | last post: by
3 posts views Thread by Yash | last post: by
reply views Thread by Arun21084 | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.