Hi all,
Im working with Eclipse Galileo (WTP), Spring 2.5.6-SEC01 and Apache Tomcat 5.5.28.
When I run my application from Eclipse, I'm able to see Tomcat standard output and error from the console view.
When there is a Spring initialization error (ex: malformed spring XML) I'm not able to see the error message or the stacktrace at th...
I'm trying to work in Eclipse as much as possible without a mouse. I cannot find a key binding for starting and stopping servers quickly in Eclipse WTP (Web Tools Platform).
One way to start a server is to switch to the package explorer (Alt+Cmd+Q P), select the project (up/down arrows) and then the "debug on server"-key binding (Shift+...
Preface: I'm not a java developer.
I have a question about Tomcat / jBOSS and other java application servers. Where are sessions (session data) stored? In PHP, sessions are usually stored in the database which means you can easily share session data in a load balanced environment. In Tomcat and other application servers, session seem...
Scenario is such: I have a webapp that I'd like to run dynamically with the tomcat-maven-plugin's tomcat:run goal. The wrinkle is that I have numerous classpath resources that need to differ between the packaged artifact and the one run off a local workstation.
Failed Attempts:
1.) My first attempt was to use the builder-helper-maven-p...
I am using eclipse 3.2 in windows environment. I have deployed the webserver in Solaris environment. I want to redirect the class files to the WEB-INF/ folder of the web server in Solaris. I tried using the RSE plug-in of the eclipse. I could see and access the files using the remote explorer but could not transer / redirect the class fi...
Hello,
Im trying to setup the ext environment for Liferay v5.1. I have downloaded the source code which is liferay-portal-src-5.1.2. And,im using the Liferay Tomcat bundle liferay-portal-tomcat-6.0-5.1.2. I get the error "SEVERE Error:filterStart" when i run the startup command in the tomcat folder of my liferay tomcat bundle.
For your...
When attempting to execute mvn tomcat:run right after a clean, and with a configured tomcatWebXml specified in the pom, I get a FileNotFoundException.
Here's the snippet from my POM:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<configuration> ...
I am having some trouble getting Spring and Tomcat up and running and recognized by eclipse. I have looked around on google with no luck. Specifically, I am having trouble having eclipse recognize tomcat (I am running linux, and when I browse to the relevant jar file in the runtime environments configuration, eclipse wont allow me to s...
How do I get a reference to the Tomcat Executor instances running within the web app? I need this so I can query basic information, such as thread pool size and utilization.
...
Hi all
We have a strange problem, of web app on displaying the UTF-8 characters correctly, here are the facts :
Tomcat 6.0.20, running on Ubuntu 9.04
We have follows advise here Get UTF-8 Working
Our Webapp able to display UTF-8 Character correctly
However, whenever our developer redeploy our webapp module, or when we restart the t...
Hello,
I have a .properties file in my application which contains dataSource properties.
I set up a JNDI reference to this dataSource using the following code :
// first I create MyDataSource from the properties found in the .properties file
//then :
Context initContext = new InitialContext();
initContext.createSubcontext("jdbc");
ini...
Hello all
Am trying to change my web application using AD for authentication. My application uses Tomcat 5.5.17. Currently it uses UserDatabaseRealm to authenticate users of the application. After reading many posts here, I used the following configuration in server.xml. (Since am just getting started, I didn't bother about roles).
...
I have a web application running on tomcat. I want to deploy it on a weblogic server but i get some problems.
Error(s) found in module 'BatchMonitoring'. Publish was cancelled. See "Problems" view for details.
Target runtime SpringSource dm Server (Runtime) v1.0 is not defined. at BatchMonitoring
Java compiler level does not match t...
I know using referrer is a bad idea but I need a quick fix to lockdown content inside a folder on a tomcat application this is just the temp fix until we can get a long term one in place.
I would like to use the referrer header to block off site linking to one directory. I need to do this directly in Tomcat if possible.
Thanks for a...
I'm developing an app which uses Spring quite heavily. Spring and the Tomcat Security Manager require quite some configuration to make work.
The documentation for Tomcat Security Manager indicate that it's for protection from malicious code which a deployer puts on to the server. If I'm the only person with the access rights to admin th...
Hello
I am trying to setup the coldfusion server railo on tomcat6 and using apache2 to connect to tomcat via mod_jk.
I've gotten everything setup except that i would like to be able to have my railo webapp use the /var/www (my default apache directory) as its home directory since not every file need to be processed by railo. What is the ...
The System's hosts file is fine, 127.0.0.1 localhost is there...
Ping 127.0.0.1,or my IP, the result is also fine..
Myeclipse's version is 8.0 and I'm just using the Tomcat within it.
A simple JSP+Javabean web project so is deployed.
Now the situation is when I open MyEclipse and start the Tomcat, I can access my site throuth
http://...
Consider a simply servlet:
// MyServlet.java
protected void doGet(HttpServletRequest request, HttpServletResponse response)
{
UtilClass.doSomething(getServletContext().getRealPath(SOME_FILE));
}
And the utility class does something with the file:
// UtilClass.java
public String doSomething(String filePath)
{
File f = new File...
Hi,
I created the sample WAR as given at the Compojure Getting Started Page and deployed it to Apache Tomcat 6.0.2 wepapps folder. The Web.xml I used is as below:
<web-app>
<servlet>
<servlet-name>myservlet</servlet-name>
<servlet-class>myapp.MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myservlet</se...
My newest project is able to generate documents with information from a database.
So I copy the document template on demand to an temporary folder for a user and modify it. I do this because every template must be available during modification.
Afterwards the user is awarded with his document via a download link from my webapp.
My que...