tomcat

System Requirements for E-Commerce Application with SSL bigger than 40 bits

I need to define the system requirements hardware and software for building a E-Commerce Web application with SSL (more than 40 bits). I have no experience with SSL, so i have no idea how to configure or what apache version do i need. This are my thoughts: Operating System Linux Web Server: Apache DBMS: MySQL 5.0 or bigger Application ...

Tomcat VS Jetty

I'm wondering about the downsides of each servers in respect to a production environement. Did anyone have big problems with one of the features? Performance, etc. I also quicky took a look at the new Glassfish, does it match up the simple servlet containers (it seems to have a good management interface at least)? ...

Is a good idea to enable jmx (lambda probe) on a production server?

We are experiencing some slowdowns on our web-app deployed on a Tomcat 5.5.17 running on a Sun VM 1.5.0_06-b05 and our hosting company doesn't gives enough data to find the problem. We are considering installing lambda probe on the production server but it requires to enable jmx (com.sun.management.jmxremote) in order to obtain memory a...

Configure Symlinks for single directory in Tomcat

Hi, I have a directory to which a process uploads some pdf files. This process is out of my control. I need to make those files available through the website using Tomcat. I have a directory available to the web, with the browser I can see files in it : /var/lib/tomcat5/webapps/test1 So I created a symbolic link to point at the direc...

Tomcat context.xml files, is there a hiearchy?

I am trying to use symbolic links in one of the applications I have running on Tomcat5. Thanks to some help from another StackOverflow question I was able to do it by creating a context.xml file in /...myapplication/META-INF/context.xml I am now trying to implement this on a production server. However, there are other applications ...

Problems in ClassLoaders for Long running Tomcat process

Hi, We have hosted our web applications on Tomcat 6.0.18 and experienced the following problem: There are two web apps WebApp1 and WebApp2, both are same system but of different versions. Now the problem is when the tomcat has been running for a week or longer time then sometimes system gives NoClassDefFoundError ! also we got some s...

Disabling PUT TRACE DELETE request in Apache Tomcat 6.0

I need to disable PUT, DELETE & TRACE HTTP requests on my Application Server, Apache Tomcat 6.0. All other sources, i have searched till now, have directed me towards the limit parameter in httpd.conf, Hence I'd put it before-hand that I am not using Apache Web Server, and requests are directly being handled by Tomcat, and so there is n...

Is there an easy way to provide a Matlab-based Web App or Web Service?

A colleague and I have spent a few years developing a really cool Matlab application, MDLcompress. Within Matlab, I can type "MDLcompress('filename.txt')" and it will tell me all sorts of really cool stuff about the contents of filename.txt. We'd like to allow other people to use MDLcompress without downloading the code, installing Mat...

Which Tomcat 5 context file takes precedence?

Tomcat documentation says: The locations for Context Descriptors are; $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml $CATALINA_HOME/webapps/[webappname]/META-INF/context.xml On my server, I have at least 3 files floating around: 1 ...tomcat/conf/context.xml 2 ...tomcat/Catalina/localhost/myapp.xml 3 ...tomcat/webapps/myapp/...

Deploying Web Apps as war Files

I'm having some trouble uploading and getting my web app on the net with my chosen host. I built a war file in Net Beans and asked my host to deploy it for me. This worked fine but to access it I had to point my browser to: www.myDomain.co.uk/explodedWar What of course I wanted was to be able to access it just by pointing my browser ...

Unable to find httpd.conf for Tomcat 5.5.27

I need to configure Tomcat 5.5.27 for disabling weak ciphers, ServerSignature and AuthType but I am unable to find the httpd.conf file. Please let me know about this. Thanks in advance.. ...

How to use connection pool with java,MySQL and Tomcat 6

How can I use Connection pool in Java+MySQL+Tomcat 6? I've read this article http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html but it is still not quite clear for me. Where do I use the Connector/J? Do I put it in a static variable? Do I use a SessionListener? Does it need any configuration? Thank ...

How do I setup TeamCity for public access over https?

How do I setup TeamCity 4.0 so that I can access it over port 443 on the internet? e.g. https://teamcity.mydomain.com I am running IIS 7 on the same server that TeamCity is installed. I see two options: Setup TeamCity to use port 8443 and create a reverse proxy in IIS that routes requests to the TeamCity public IP address to the Tom...

How to test HttpSessionListener.sessionDestroyed in Java webapp?

How might a person simulate firing the HttpSessionListener.sessionDestroyed object in a session listener? Is just setting the Tomcat session timeout to 1 and then waiting the only way? ...

Tomcat authentication using SPNEGO/Kerberos and delegation

Is there an apache module that implements Kerberos authentication for use by Tomcat and also supports Kerberos delegation? I've already looked at mod_spnego and it throws away the SSPI context it creates only keeping the principal name. Instead, I'm looking for a module that would allow for the delegation of the ticket sent to Tomcat -...

error-page directive in web.xml does not display UTF8 properly

I have an application web.xml with the following entry: <error-page> <error-code>404</error-code> <location>/system_files/error/p_notfound.jsp</location> </error-page> However, when this page is displayed, Japanese characters are garbled. The same page (p_notfound.jsp) displays properly if displayed directly or even through ...

Needed: tomcat + axis2 + JAX-WS guide for dummies

We are working with tomcat + axis2 + POJO for web service implementation, and we encountered some issues with POJO and axis2 that are a show stopper for us. It seems that axis2 and POJO implementation of SOAP parsing ignores the names of the xml elements and just assign values to the arguments according to the order of the xml elements i...

How to configure Tomcat 5.5 to authenticate against Win2003 Activedirectory(LDAP)

How to configure Tomcat 5.5 to authenticate against Win2003 Activedirectory(LDAP) What changes are needed to default tomcat configuration, at least server.xml needs to be changed somehow to have IP of Win2003 server? ...

Project layout using Wicket

Where should I put the .html files in a wicket Application? my current project layout is as follows: src/myproject --classes+ duplicated html files web --numerous .html files - previewed web/img --resource files such as css/png/js files i want to avoid putting the html files on dupliate locations. what is a good non-redundant strat...

Restricting JMX to localhost

While there appears to some documentation on how to expose JMX through various firewall and tunneling schemes, I sort of want the opposite. I want to ensure that JMX is only accessible to local machine. Unfortunately it appears that the "out of the box" management options do not allow restricting the ports to a local interface and nets...