I have an ARM-based platform and I'd like to use it to serve GWT application. On x86 I'd go with Tomcat to serve pages, but what options do I have on ARM architecture?
Although GWT is preferred it isn't a must-have but I don't want to switch from Java to PHP.
...
I added <init-param> for keepgenerated with a value of true that is default value according to spec for servlet <servlet-name>jsp</servlet-name> in CATALINA_HOME/conf/web.xml.
But the generated JSP servlet is not available in work directory. Can anybody explain what I'm doing wrong?
...
Are there any recommendations on how to keep an application level settings/configuration file in a J2EE project? I have a web project that has dependences that must write to the logs, and a local settings file. Is there anyway to store the settings file in the local directory and have it writable?
[Some of the dependencies are: hiberna...
Decided to use Tomcat and .JSP for one of my latest projects, and I've hit a little snag. It seems my local class "JSONCore" "cannot be resolved to a type."
Snippet of index.jsp (problem area):
<%
JSONCore jsonHandler = new JSONCore();
jsonHandler.searchSongs("search_query").getString("songID");
%>
Snippet of JSONCore.java:
i...
Hi,
I have a js file which is cached between 5-10 minutes, depending on whether I'm using tomcat from the eclipse (via GWT plugin) or starting tomcat as standalone.
This is strange as I'm using GWT as my framework and this file should not be cached at all (it's a nocache.js file to those of you who know GWT).
I've read on a GWT Google gr...
Hello All,
I am using Apache Tomcat 6.0 as my development server.
The problem that i am facing is that my application works very well on my development environment, but when i move it to staging the XHR is always picked up from cache except for the first time. I verified this using HTTP Watch and fiddler.
Can someone Please help me in ...
Hi folks,
I programmed a Web Application with JEE. I am using log4j and Tomcat 6.0.28. When I am starting my app at tomcat following error message appears every 3 seconds at my console:
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Has somebody an idea what that...
I am new to JSF 2.0 and I am planning to use Eclipse as the IDE and Tomcat as servletcontainer. Are there any good tutorials for this?
...
Hi,
I wanna use an embedded Tomcat V6. The code works perfectly, but only as long as the programm is running. So if there is no Thread.Sleep it will exit immediately, otherwiese keep on running till the time is up.
How can I keep the emmbedded Tomcat alive. setAwait(true) should deal with this, shouldn't it? But i does not work. Tried ...
Hello.
I would like to protect a jsp page with a password that needs to be typed.
In apache i can add a password file to .htaccess but I don't know how to do that in apache tomcat.
thanks
...
I'm kind of new to the Java world, and I need to debug a restful Javax Web Service application.
Some pages raise exceptions, and they are logged correctly, but I would like to have the URL of the page that called the code, inside of my logs, as well as the stacktrace.
GET and POST information would be vital too.
Is it possible?
...
I'm trying to starting up with a Spring 2 + Struts 2 + Hibernate 3 arquitecture project, but I get an exception when deploy it in Apache Tomcat 6.0 within Eclipse (Helios version).
Tomcat's exception on start:
GRAVE: Error configurando escuchador de aplicación de clase org.springframework.web.context.ContextLoaderListener
java.lang.Cla...
I'm writing a Java-based web app that allows users to upload and submit content to the site. Before it is made available, though, I'd like to perform a virus scan to ensure that no malicious content gets posted. Does anyone know of an anti-virus scanner that can be accessed via Java? The app will be hosted on Linux (CentOS 5.5 x64) an...
I am trying to install Apache Tomcat, but I find to different files:
one is CORE while another is Deployer
which one should I choose?
...
Let me explain my situation.
Currently, I have a lot of applications running on Tomcat 6, on the default port 8080.
I just created some applications that will need a log in. I'm going to buy an SSL certificate to install on this server.
I don't like the idea of using port 8443 because it makes the URL more complicated.
If I run Tomca...
I get following error:
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libtcnative-1.la'
Current working directory /yogeshk/tomcat-native-1.1.16-src/jni/native
*** Error code 1
The following command caused the e...
I need to perform pre- and post-processing of all incomming requests to a web server. The functionality is both url-level access restriction and language translation but also other special cases that need to be handled globaly.
Typically this can be achieved with servlet filters but when the number of web applications grow it becomes de...
I am getting following error, when I run the demo JSF application on the console
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:JSFTut' did not find a matching property.
...
I programmed an application with JSF and some other fraeworks. Then I destroyed my metadata with maven and then I created a new project and imported all my classes and config files into the new project. So that I have clean metadata. The Project can be built without problems now. But when I want to start it onto tomcat I get the followin...
Hi,
I load a property file from classpath with the method :
String cheminFichier = new StringBuilder(100).append(classeBP.getPackage().getName().replace(".", "/")).append(File.separator).append(
REPERTOIRE_MAPPING).append(nomFichier).append(".properties").toString();
InputStream isMapping = Thread.currentThread().getCon...