Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 01-12-06, 05:09 PM   #1 (permalink)
Junior Member
 
Join Date: Apr 2006
Location: India
Posts: 25
Thanks: 3
Thanked 1 Times in 1 Posts
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 3 abhijeet_pcl has disabled reputation
setting tomcat environment variables

Hi all!

I have Tomcat 5.5.17 and set JAVA_home and path variables.
But on testing http://localhost:8080 in url it shows error-

ERROR

The requested URL could not be retrieved



While trying to retrieve the URL: http://localhost:8080/
The following error was encountered:
  • Connection Failed
The system returned:
(111) Connection refused
The remote host or network may be down. Please try the request again.
Your cache administrator is root.

Generated Tue, 31 Oct 2006 10:37:42 GMT by 202.54.99.2 (squid/2.5.STABLE9)
Whats wrong????
abhijeet_pcl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-12-06, 05:16 PM   #2 (permalink)
Junior Member
 
Join Date: Sep 2006
Posts: 29
Thanks: 0
Thanked 1 Times in 1 Posts
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 3 sajeev_k is on a distinguished road
Re: setting tomcat environment variables

Hello

1.You have to install J2sdk before you install tomcat
2. Then the tomcat will automatically take the jvm and you neednot set the java home for tomcat. But at the time of compilation [If you are not using any IDE(Eclipse or Netbeans) you have to set the classpath and path to jvm]
3. you can download netbeans bundled with tomcat no nead to set anything for that(Not recommended)
becasuse once u used this you will not learn about the folder structure of webapplication becos the IDE automaticcaly do all these things
ok
if you have any doubt reply me
sajeev_k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-12-06, 05:53 PM   #3 (permalink)
Junior Member
 
Join Date: Apr 2006
Location: India
Posts: 25
Thanks: 3
Thanked 1 Times in 1 Posts
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 3 abhijeet_pcl has disabled reputation
Re: setting tomcat environment variables

I already have j2sdk and path to its bin directory is set.
I am not using any IDE.Which class path it requires to set?
abhijeet_pcl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-12-06, 06:03 PM   #4 (permalink)
Junior Member
 
Join Date: Sep 2006
Posts: 29
Thanks: 0
Thanked 1 Times in 1 Posts
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 3 sajeev_k is on a distinguished road
Re: setting tomcat environment variables

which version of j2sdk u are using?
if there is no way you uninstall tomcat, j2sdk and again do it from start
if you are doing it just for testing or for studying
you install j2sdk and tomcat in c:\ itself.
if you install both in different drives with out proper setting some problem may occur. remove all java_home setting ok
then try
ok
sajeev_k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-12-06, 11:59 AM   #5 (permalink)
Junior Member
 
Join Date: Apr 2006
Location: India
Posts: 25
Thanks: 3
Thanked 1 Times in 1 Posts
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 3 abhijeet_pcl has disabled reputation
Re: setting tomcat environment variables

I did every thing but still it is showing same problem.

Please help me out
abhijeet_pcl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-12-06, 06:53 PM   #6 (permalink)
Moderator
 
t_mohan's Avatar
 
Join Date: Apr 2006
Location: India
Posts: 636
Thanks: 57
Thanked 78 Times in 63 Posts
Thanks: 57
Thanked 78 Times in 63 Posts
Rep Power: 17 t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold
Re: setting tomcat environment variables

Hi abhijeet,

Pls go to the catalina.out file in ur tomcat logs folder, check the last error it is returning and paste it here, will try to solve ur problem

Thank you
__________________
M0h@n
t_mohan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-12-06, 11:11 AM   #7 (permalink)
Member
 
Join Date: Nov 2006
Posts: 56
Thanks: 13
Thanked 3 Times in 3 Posts
Thanks: 13
Thanked 3 Times in 3 Posts
Rep Power: 3 Shiva Shankar is on a distinguished road
Re: setting tomcat environment variables

Hi abhijeet,

Make sure that JAVA_HOME environment variable just points to the directory where J2SDK is available,not to the bin of J2SDK.

Thanks
Shiva Shankar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-12-06, 11:43 AM   #8 (permalink)
Junior Member
 
Join Date: Apr 2006
Location: India
Posts: 25
Thanks: 3
Thanked 1 Times in 1 Posts
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 3 abhijeet_pcl has disabled reputation
Re: setting tomcat environment variables

I got it.
it is working with http://127.0.0.1:8080 and not with http://localhost:8080.

But when i am disabling proxy option in
IE->Tools -> Internet Options -> Connection tab

it works fine with http://localhost:8080 also.

can you explain it??
abhijeet_pcl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can we execute EJB's in Tomcat Unregistered JAVA Technologies 6 14-07-08 04:09 PM
Personality Development : Goal setting strategies sk_kireeti Inspire yourself & Others - Leaders Zone 5 20-11-06 05:00 PM
accessing ejb's in action class (in tomcat) D.Guna JAVA Technologies 4 09-10-06 02:14 PM
KNOW SOMETHING ABOUT TOMCAT wizkid JAVA Technologies 0 01-08-06 03:31 PM
Cgi Technology source OTHERS 1 17-07-06 05:43 PM


All times are GMT +6.5. The time now is 02:54 PM.





Search Engine Optimization by vBSEO 3.1.0