Java Tools Section Index | Page 5
Is there any way to restrict access from subnets or specific IP addresses to Tomcat like Apache does?
No, unfortunately as per Tomcat 3.2.1 there is no way to set configuration directives (like in Apache) for restricting access. The web server part of Tomcat it's very simple and basic, and If yo...more
Tomcat communicates with the Apache server using localhost. When tomcat gets the request it's from the Apache on localhost, so it also redirects the response to localhost. Try the following:respo...more
Take a look at this package, maybe it could help you: JNDI and LDAP Realm for Tomcat 3.2 and Tomcat 4.0 See also What is LDAP (Lightweight Directory Access Protoco...more
Do I really need to build a complete 'webapp' just to add a simple 'Helloworld' servlet to the server?
Not at all. You can put a single servlet anywhere on your hard disk but you will have to configure your path in server.xml and servlet alias in web.xml as usual. Let me be a bit more descriptive...more
The instruction for setting up a standalone Tomcat that uses a secure connection are located inside the configuration file (TOMCAT_HOME/conf/server.xml): First you need to set up a server certifi...more
How should I configure my Tomcat so normal users can develop their own Servlet Applications under their home directories?
How should I configure my Tomcat so normal users can develop their own Servlet Applications under their home directories? For example, so http://abc.com:8080/~user/myapp would serve data from /hom...more
About external compiler - like jikes or other - you have to make a wrapper class implementing org.apache.jasper.compiler.JavaCompiler that calls your compiler (with your own parameters), and spec...more
The main difference is that the Pool connector will create a pool of simple connectors, allowing the server to answer to more requests at the same time, while a simple connector can anwer only a r...more
Victor, Chapter 11 of the Servlet 2.2 specification is entirely related to Security. Basically the concept is that you can use the standard http authentication schemes (i.e.: basic, digest). This ...more
JRun is a J2EE compatible container. For this reason it supports (besides JSPs and Servlet) EJB as well. JRun is actually a plugin on a web server in order to redirect JSP and servlet calls from t...more
According to the Servlet 2.2 specifications: 9.4: Directory Structure A web application exists as a structured hierarchy of directories. The root of this hierarchy serves as a document root for s...more
JBuilder 5.0 Enterprise will have this feature included, see http://www.borland.com/jbuilder for details.
In the Adminstration server, go to the Global Settings tab. Once there, navigate to the "Configure JRE/JDK Paths" screen using the menu. Click on the "JDK" radiobutton. Fill i...more
The WebSphere handbook from http://www.redbooks.ibm.com contains a chapter on deploying EJB's.more
A "portal server" is just an application server running a portal sofware or a portal application (Microsoft Sharepoint Portal Server is an example). An application server is a system that provides...more