tomcat server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shanmukhi
    New Member
    • Jan 2007
    • 58

    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.Concu rrentModificati onException
    at java.util.HashM ap$HashIterator .nextEntry(Hash Map.java:782)
    at java.util.HashM ap$EntryIterato r.next(HashMap. java:824)
    at java.util.HashM ap.putAllForCre ate(HashMap.jav a:424)
    at java.util.HashM ap.clone(HashMa p.java:656)
    at
    mx4j.server.Def aultMBeanReposi tory.clone(Defa ultMBeanReposit ory.java:56)
    at
    mx4j.server.MBe anServerImpl.fi ndMBeansByPatte rn(MBeanServerI mpl.java:1603)
    at
    mx4j.server.MBe anServerImpl.qu eryObjectNames( MBeanServerImpl .java:1568)
    at mx4j.server.MBe anServerImpl.qu eryMBeans(MBean ServerImpl.java :1512)
    at
    org.apache.coyo te.tomcat5.Mapp erListener.init (MapperListener .java:136)
    at
    org.apache.coyo te.tomcat5.Coyo teConnector.sta rt(CoyoteConnec tor.java:1510)
    at
    org.apache.cata lina.core.Stand ardService.star t(StandardServi ce.java:485)
    at
    org.apache.cata lina.core.Stand ardServer.start (StandardServer .java:2298)
    at org.apache.cata lina.startup.Ca talina.start(Ca talina.java:556 )
    at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
    at
    sun.reflect.Nat iveMethodAccess orImpl.invoke(N ativeMethodAcce ssorImpl.java:3 9)
    at
    sun.reflect.Del egatingMethodAc cessorImpl.invo ke(DelegatingMe thodAccessorImp l.java:25)
    at java.lang.refle ct.Method.invok e(Method.java:3 24)
    at org.apache.cata lina.startup.Bo otstrap.start(B ootstrap.java:2 84)
    at org.apache.cata lina.startup.Bo otstrap.main(Bo otstrap.java:42 2)

    stopping tomcat server i got error as

    Catalina.stop: java.net.Connec tException: Connection refused: connect

    how can i solve this problem.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by shanmukhi
    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.Concu rrentModificati onException
    at java.util.HashM ap$HashIterator .nextEntry(Hash Map.java:782)
    at java.util.HashM ap$EntryIterato r.next(HashMap. java:824)
    at java.util.HashM ap.putAllForCre ate(HashMap.jav a:424)
    at java.util.HashM ap.clone(HashMa p.java:656)
    at
    mx4j.server.Def aultMBeanReposi tory.clone(Defa ultMBeanReposit ory.java:56)
    at
    mx4j.server.MBe anServerImpl.fi ndMBeansByPatte rn(MBeanServerI mpl.java:1603)
    at
    mx4j.server.MBe anServerImpl.qu eryObjectNames( MBeanServerImpl .java:1568)
    at mx4j.server.MBe anServerImpl.qu eryMBeans(MBean ServerImpl.java :1512)
    at
    org.apache.coyo te.tomcat5.Mapp erListener.init (MapperListener .java:136)
    at
    org.apache.coyo te.tomcat5.Coyo teConnector.sta rt(CoyoteConnec tor.java:1510)
    at
    org.apache.cata lina.core.Stand ardService.star t(StandardServi ce.java:485)
    at
    org.apache.cata lina.core.Stand ardServer.start (StandardServer .java:2298)
    at org.apache.cata lina.startup.Ca talina.start(Ca talina.java:556 )
    at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
    at
    sun.reflect.Nat iveMethodAccess orImpl.invoke(N ativeMethodAcce ssorImpl.java:3 9)
    at
    sun.reflect.Del egatingMethodAc cessorImpl.invo ke(DelegatingMe thodAccessorImp l.java:25)
    at java.lang.refle ct.Method.invok e(Method.java:3 24)
    at org.apache.cata lina.startup.Bo otstrap.start(B ootstrap.java:2 84)
    at org.apache.cata lina.startup.Bo otstrap.main(Bo otstrap.java:42 2)

    stopping tomcat server i got error as

    Catalina.stop: java.net.Connec tException: 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

    Comment

    • olakara
      New Member
      • Nov 2006
      • 18

      #3
      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

      Comment

      Working...