473,788 Members | 2,814 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

tomcat server

58 New Member
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.
Jan 23 '07 #1
2 3380
r035198x
13,262 MVP
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
Jan 23 '07 #2
olakara
18 New Member
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

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

Similar topics

5
4041
by: nmac | last post by:
Hi all, hopefully someone can offer some sagely advice regarding Production use of Jakarta's Tomcat. First, some brief background. My company have a servlet application that connects to a MySQL database. The servlet is deployed on two seperate win2k servers (Access to the tomcat servers is via DNS round robin load balancing). The database is on a another win2k server.
7
6244
by: Alexandr Molochnikov | last post by:
Hello, I've spent a few days trying to get Apache and Tomcat work together via JK module. First I followed the following HOWTO link: http://www.johnturner.com/howto/winxp-howto.html and managed to get Tomcat static html page load from Apache server without specifying 8080 port, like this:
0
2465
by: Shireesha | last post by:
Hi all, I am new to this group and wish clear some doubts regarding tomcat server and database connection pooling (Java language). Our group has developed a application using Tomcat 4.x. We need to restart the tomcat everyday and we are unable to know whether it is because of the connection pooling or from the tomcat server is having the problem internally. We implemented the connection pooling mechanism from the following link
7
4066
by: alfredo | last post by:
Hi Hi I ve installed Apache Tomcat 5.0.19 on my windows xp machine. I have developed a lot of servlets and jsp pages and everything works fine. BUT, when i try to reach my pages from other machines it doesnt work, Why? So, typing http://localhost:8080 works for me. But typing htttp:ipnumber:8080 gives a "Page cannot be displayed". I have shutdown my firewall too, but without succeding. Is this a tomcat version just thought to be used...
0
3680
by: Monica Ferrero | last post by:
Hi! I'm not sure if this is the most adequate mySQL list for this post. If not, please indicat me which one I should use... I'm using Tomcat 4.1.24 with Apache 2 and MySQL 4.0.13. I have the mysql- connector-java-2.0.14-bin.jar in commons/lib. The application runs normally, and usually about once or twice a day I get this exception org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Server configuration denies access to data...
0
1833
by: AlexTengco | last post by:
Hi All, I'm not sure if this is the right group to ask this question, but I'll give it a try. I'm currently developing a dotnet web app. Using custom authentication like this: objHttpContext.Response.Status = "401 Unauthorized"; objHttpContext.Response.AddHeader ("WWW-Authenticate", "Basic realm=
3
3108
by: Yash | last post by:
Hi all, I found that while we are updating our application, the application is not known to tomcat, untill it is completed. So tomcat sends 503 page as resource not found. I want to know is virtual hosting is the right way to deal with this issue. Is it possible to customise the 503 page, so that, for any resource not found issue, tomcat displays the customised page. I am trying to set the page in tomcat directory itself. I have gone...
2
2088
by: gamiravi.d | last post by:
Hi, I have one c++ application to get number of monitors from system. I am calling .exe of c++ application using java api through tomcat server in browser on window vista. right now I have two monitors attached in the system.one primary and other secondary. but when i call c++ application using java api through tomcat server, it lists only one primary monitor. i have some scenario for behavoiur of such application:
0
4216
by: Arun21084 | last post by:
Hi, Recently I installed an application HP SIP(Service Information Portal) on a Windows 2000 server.The application comes along with an installation of Tomcat 5.0.19. Already there was an Apache 2 running on the server used by other application. Once after installation of the product(HP SIP), I tried to restart the Tomcat 5.0.19 process using below methods(errors reported below respectively) 1) services.msc console Could not start...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.