varun bihani

Ranch Hand
+ Follow
since Aug 11, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by varun bihani

So, it is ok..
I assume, I should use connectors or listeners as Rahul suggested.. ?
17 years ago
So, it is ok..
I assume, I should use connectors or listeners as Rahul suggested.. ?
17 years ago
but if I do this, you sure, other requests to port 80 like apache will be fine. like php, cgi ??
17 years ago
but if I do this, you sure, other requests to port 80 like apache will be fine. like php, cgi ??
17 years ago

Originally posted by Rahul Bhattacharjee:


The only way to do is to configure the listener / connector to the default port 80, in that case you can avoide writing the port number in the URL.


Now about the other applications that are running in the same server.

I do not know whether its possible or not. You can configure multiple listeners for the server / tomcat.Let the one which is there to be like that and configure one more listner (a cyote listner) for you particular web application.If this is permitted , then your problem is solved.



THAT MEANS, I NEED TO USE SOME CONNECTOR LIKE mod_jK ??
how can I find out if its possible to configure 2 listners ?what is cyote listner ?
17 years ago

Originally posted by Rahul Bhattacharjee:


The only way to do is to configure the listener / connector to the default port 80, in that case you can avoide writing the port number in the URL.


Now about the other applications that are running in the same server.

I do not know whether its possible or not. You can configure multiple listeners for the server / tomcat.Let the one which is there to be like that and configure one more listner (a cyote listner) for you particular web application.If this is permitted , then your problem is solved.



THAT MEANS, I NEED TO USE SOME CONNECTOR LIKE mod_jK ??
how can I find out if its possible to configure 2 listners ?what is cyote listner ?
17 years ago
I am so sorry..
ppl = people
becoz= because.
17 years ago
I am so sorry..
ppl = people
becoz= because.
17 years ago
Can anybody help me with the solution to avoid :8080 (tomcat port number) in the URL for applications that is being developed in servlets/jsp/hibernate ?

I know there is connector mod_jk that ppl use to integrate apache and tomcat, but that is much big problem for me becoz:
I have more than 40 other jsp sites that have been running for last 8 yrs with the port number in URL.. if I integrate , means I have to make changes in all of them

Any help would b appreciatable.

Varun
17 years ago
Can anybody help me with the solution to avoid :8080 (tomcat port number) in the URL for applications that is being developed in servlets/jsp/hibernate ?

I know there is connector mod_jk that ppl use to integrate apache and tomcat, but that is much big problem for me becoz:
I have more than 40 other jsp sites that have been running for last 8 yrs with the port number in URL.. if I integrate , means I have to make changes in all of them

Any help would b appreciatable.

Varun
17 years ago
Does that all mean, that we can avoid port number :8080 in the URLs while using struts ?

Or what is the other way to do that ?
I know. 403 is Access forbidden. but why does it work on .NET and not on Java ?
17 years ago
I am trying to use this code in my servlet:
public static void main(String[] args) throws Exception {
URL yahoo = new URL("http://images.google.com/images?q=this");
BufferedReader in = new BufferedReader(new InputStreamReader(yahoo
.openStream()));

String inputLine;

while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);

in.close();

but it gives this error :
java.io.IOException: Server returned HTTP response code: 403 for URL: http://images.google.com/images?q=this
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:814)
at java.net.URL.openStream(URL.java:913)
at URLReader.main(URLReader.java:8)


This works for yahoo image search but not for google..
Google image search works with .NET code available at http://www.codeproject.com/cs/library/google_image_search_api.asp
but it doesnt work with java
Please help.
17 years ago
I am sorry to be not clear..
I meant, how to analyze them ? my tomcat crashes time and again. i want to know how can I check the problem ?
17 years ago
I am unable to find the reasons for the crash of my tomcat server.. It crashes at some time, and I am not able to find out the reasons for that.
How do I read logs?
17 years ago