Solved

Tomcat3.3.2 not starting correctly

Posted on 2007-03-26
8
180 Views
Last Modified: 2013-12-02
Hello all,

When I try and start my tomcat  3.3.2 server I get this error:
java.net.socketException: Invalid argument: listen failed

I have set my catalina home variable to my installation dir.

Am I missing something?

Thanks
0
Comment
Question by:CrshUndrPrsre
  • 5
  • 3
8 Comments
 
LVL 30

Expert Comment

by:Mayank S
ID: 18795657
What is the port number you have provided in the server.xml file? It seems to be wrong.
0
 

Author Comment

by:CrshUndrPrsre
ID: 18795863

Port 8080:

        <CoyoteConnector   port="8080"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false"  acceptCount="100"
               debug="0" connectionTimeout="20000"
               disableUploadTimeout="true" />

Im using jdk1.5, could this be causing a problem?

Cheers
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18795871
Could be - not sure if 3.3.2 can support Java 5
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18795877
Try 1.3
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:CrshUndrPrsre
ID: 18796040

Yes, that was it, thanks.

How do i add a context path to server.xml?
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 250 total points
ID: 18796181
<Context path = "/name" ....>
  ...
  <Listener className = "package.yourClassname" ....>
  ...
</Context>

0
 

Author Comment

by:CrshUndrPrsre
ID: 18796394

Cheers!
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18796677
:)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
some methods private some are not 8 197
if statement not resolving in my code 5 47
instanceof  operator in java 26 87
thymeleaf natural templating vs JSP 2 68
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now