Has anyone been successful installing the web application version of Apache Archiva version 1.3 on Tomcat version 5.5 or with MySQL backend?
I've followed the instructions to the letter, however, when Tomcat tries to deploy Archiva it says that it cannot find my JNDI datasources.
I've tested my context file (in conf/Catalina/localhost)...
I am working on getting x-forward-for to work on tomcat 5.5.25, I know a patch has gone out for Tomcat 6.0.24, but we can't upgrade our tomcat version right now. So I did some digging into the Tomcat 6.0.24 and found the RemoteIPValve.class(the class that implements x-forward-for) is located in catalina.jar. My question is has anybody ...
Hi,
I have a web service and I was deploying it on GlassFish. I accessed its wsdl through http://localhost:10697/APIService/APIServiceService?wsdl.
Now I ported the WAR file to a Tomcat 6.0.24 and it is deployed. However I am trying to access its wsdl using http://localhost:8080/APIService/APIServiceService?wsdl but I'm getting a 404 ...
I use tomcat. I am developing a web application using struts2, and I use eclipse as my IDE for development.
I get this error
Mar 7, 2010 7:38:42 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.sprin...
I am trying to access an XML file from JSP on my Tomcat server. The error is from Catalina's protocol handler and the exception is java.io.FileNotFoundException trying to access my .keystore in the 'documents and settings' folder for my signed-on user (with admin, but not the user that installed the server).
I can provide the stacktrac...
Hi there,
I've installed the m2eclipse plugin with WTP integration in my eclipse workbench. When I use to run the project on a server, the dependencies which has to be provided at runtime (e.g. spring) are not deployed. Is this working like intended? Maybe some of you can provide me the right way.
...
Can anyone point me to an example of configuring JPA/JOTM in an environment where Spring isn't being used?
I'm building a web-app with Tomcat and JPA/MySQL. Currently I'm just using the RESOURCE_LOCAL transactions in the JPA persistence unit, but I'd like to move to a real transaction manager (JOTM) if possible. I've looked all over t...
I have Tomcat 6.0.24 64 bit installed on two Windows Server 2008 boxes as a Window's service. I use the Tomcat Monitor application to start and stop Tomcat. Randomly on both boxes, the server will not shutdown when the Stop Service option is selected. Both Start Service and Stop Service remain grayed out until I open a task manager and k...
I have the following for my log4j DSL configuration in Grails 1.2:
log4j = {
appenders {
console name: 'stdout', layout: pattern(conversionPattern: conversionPattern)
environments {
production {
// ... some code to determine file path ...
rollingFile name: 'file', file: "...
I was under the impression that if I deployed my application (using Ant) then JS files, along with HTML, CSS and images, would be automatically served by Tomcat.
However, after editing Javascript files I have to restart Tomcat in order for the changes to be updated.
My JS files are in a 'js' directory off of root (not in WEB-INF).
I a...
We have a large web app installation, using Apache/Tomcat/Jasper and jboss. In development environment, JSPs are compiled on the fly. Unfortunately, there is one package in particular that the on-the-fly compilation cannot seem to import. For some of the classes, using fully-qualified references rather than imports works, but not for ...
I am developing a small struts2 application. Suddenly I am getting the following error in eclipse during Tomcat startup.
Mar 10, 2010 7:17:03 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
Class: java.net.PlainSocketImpl
File: PlainSocketImpl.java
Method: connect
Line: 177 - java/net/Pl...
Hi All,
I have a Spring web project that uses Maven to compile/build. There is no issue in building the project. I am trying to run the project in Eclipse (3.3.2) on Tomcat (v6) server.
As part of Spring project, I have a spring-servlet.xml file in WEB-INF directory. This file includes another resource xml file that has datasource conf...
On a Tomcat 5.5 server, I put a class in the system classpath (and modify catalina.bat to pick it), or if I put class in the shared lib directory. Now if I have two different applications using the same class which do not have the class in their WEB-INF lib/classes directories, they use the same instance of the class. I understand the co...
I'm getting the following error trying redeploy an webapp on Tomcat from within Netbeans 6.8. It has probably something to do with the new deploy on save and hot swap functionality. Any ideas how to resolve this issue?
INFO: Error registering wrapper with jmx StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CubeAdSaSim2...
I have to let an web application to listen a socket(ServerSocket), and handle the socket stream.
But the application is just deployed in Tomcat which is just a servlet container, it doesn't have JCA support. And establishing a server socket in servlet thread is unreasonable.
solution 1:
The ugly solution is to write a standalone java ...
I am using Jboss 4.2.3 as an appserver. Is there a way to limit the size of the HTTP Post request accepted by JBoss? I want to limit the size to avoid DOS attacks.
I already sat maxHttpHeaderSize and maxPostSize in the server.xml, but neither of them seem to make any difference.
...
A simple HTML file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<form method="POST" action="test.jsp" accept-charset="utf-8" method="post" enctype="application/x-www-form-urlencoded" >
<input type="text" name="P"/>
...
The environment I'm working in is light on process control. Specifically, more than once I've discovered that the version of a web app running in our Acceptance Test environment is not the same as the one in the repository from which we deploy to production. If I can't be absolutely sure that the .war I'm about to deploy to production ...
What is the best way to undertake Servlet profiling?
In particular I am looking for a solution that can show the execution times of the method calls within the servlet.
I am running the Servlet within a Tomcat environment.
I have tried VisualVM but it only allows me to see the method calls from the Tomcat thread rather than the Servle...