By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,635 Members | 2,240 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,635 IT Pros & Developers. It's quick & easy.

tomcat server

P: 58
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
Share this Question
Share on Google+
2 Replies


10K+
P: 13,264
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

P: 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.