You don't want to put content in the webapps/ directory. I looked at my setup using 4.1.12 and I can't see any reason why you couldn't just put your application in /ROOT web application. Then your application would show up as http://hostname/ just as you want.
For my application using the...
Application can't find the Oracle driver/implementation. Where did you put the oracle jar. I can't remember its name, classes.zip ?
The jar file goes in /WEB-INF/lib or maybe it should be in /tomcat/common/lib
regards, pfist
Likely, the application is keeping references to objects, such that the garbage collector never gets chance to clean up objects that are no longer in use.
One place to check that occurs to me. Are you executing the Statement.close() method as well as on the ResultSet object? Leaving the...
I'm not sure what a web instance is. Do you mean a web application??
If so then in Tomcat's webapps/ directory, create a new directory which be your web application. Under this app directory you also need a /WEB-INF/web.xml. Just use a copy of web.xml file from another web application.
So...
The aforementioned information is at bottom of the realm howto in Tomcat documentation.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html
Shot-in-dark: Are you running on an older version of Linux? I seem to remember something about a 255 effective limit on either threads; or was it connections?
Sorry can't be more help.
Regards, pfist
For new application in Tomcat, did you remember to create a web.xml file in the /WEB-INF directory? The application needs that file with <web-app></web-app> element in order for application to be valid and be installed/enabled on Tomcat startup.
Regards, pfist
go to /tomcat/conf/tomcat-users.xml
You need to create a manager role if it doesn't exist then create a user that has that role.
<role rolename="manager" />
<user username="bepepi" password="mypass" roles="manager" />
Regards, pfist
I have been impressed with Tomcat. I expect you will find it will serve your needs in many ways.
A few ideas.
1) From jakarta.apache.org you might find the Commons Httpclient useful. It provides a java API and full implementation for dealing with the http protocol. I have used it to...
Hey Abe,
It is difficult to see what the important issues are with your application. Although it wasn't you primary question, I find myself wondering why you decided create a client piece using swing. ( Is it where your background is from? ) I am wondering why a web browser can't be the...
One way to do it is to use the response.sendRedirect() method.
When you log in to tomcat the first time it goes to the /ROOT/index.jsp page. I suppose that you have changed it because it is irrelevant to your production website needs.
Replace /ROOT/index.jsp with another file with same name...
Money at this point is not your objective. The only thing you want is experience. Your next employer is probably going to be a small 2 or 3 man operation that can barely afford an extra employee. I never put my salary requirements up front. You shouldn't give any salary requirements and quite...
I am really impressed with your attitude and foresight. You are going to make it.
As far as finances go, I take it that you are living at home? Good. Have your parents continue to pay for your food and housing, in effect subsidizied your focus on learning the skills necessary to get the...
...For the SYSPROCS catalog view and SYSPARMS catalog table:
The INSERT privilege on the table, and
The system authority *EXECUTE on library QSYS2
Administrative authority < -- THIS IS WHAT I WANT!!!!!!!!!!!!!!!!!!
The authorization ID of the statement has the INSERT...
(Note: this is on an AS/400 V5R1) I believe what I have here is valid syntax for a DB2 database. That is what I am trying to confirm. I look through the reference documentation and appears to say that basic programming constructs are supported, e.g. 'if then' 'for' etc. But no matter what I...
...you like ) I will try to compile on mine. I suspect that I am lacking privileges needed to create procedures. Please help.
Thanks, pfist
----------------------------------------------------
create procedure test2.doubleIt( INOUT p_in integer )
LANGUAGE SQL
begin
SET p_in = p_in * 2;
end;
I probably lack experience/knowledge on the operating system you are using. But, it would be helpful to me and to someone more knowledgeable than I, if you gave more information about things like operating system, which version of Tomcat, and what you have done to create your application etc...
It may not be a problem but you probably should be using jdk 1.3.
It is good that you are using NT 4.0. Using 'localhost' should work, but you can also use the hostname for your machine.
From the information, it sounds like the server failed to start. Your previous postings indicate that...
Tomcat is a web server written in java. Tomcat 4 implements the latest 2.3 servlet specification and jsp 1.2 specification (java server pages). For more information look around jakarta.apache.org.
Also go to www.java.com, and look around. There are a lot of tutorials by sun at this site...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.