I'm doing a distribution of tomcat for a many servers and in each of these servers the realm is going to be different. I would like to have a file /etc/tomcat/realm.xml containing the realm for that installation and have the file /var/lib/tomcat/conf/server.xml import it directly. I've tried with Xinclude without luck and I'm about to ...
Hi, I am trying to implement a simple web service provider using Tomcat6, CXF 2.2, Spring 3, and actually the service itself runs fine (I can call web methods using the original WSDL and SoapUI). However, Tomcat returns a blank page on "?wsdl" requests. Also, when I try to manipulate the (would-be) published WSDL by adding a publishedEnd...
I have a web application that uses a library which resides in TOMCAT_HOME/common/lib. This library looks for a properties file at the root of the classpath (in a class called ApplicationConfig):
ApplicationConfig.class.getResourceAsStream("/hv-application.properties");
My Tomcat web application contains this properties file. It is i...
This is related to my previous post: http://stackoverflow.com/questions/2649422/android-test-app-on-a-real-device
Here is what I did: followed every step to create keystore, sign, zipalign, versioning, labeling and naming my app. Resulted in an .apk file.
Upload my file to tomcat/webapps/ROOT/myapp.apk
changed tomcat/conf/web.xml by a...
I'm using Eclipse 3.5, tomcat runtime is set as tomcat 6.0.26, vm is jdk 1.6.17 (macosx)
When I try to run a web application from eclipse Java EE perspective I keep seeing this error in the console:
Caused by: java.lang.ClassCircularityError: java/util/logging/LogRecord
at com.adsafe.util.SimpleFormatter.format(SimpleFormatter.java:1...
I have an instance of Apache Tomcat 6.x running, and I want it to interpret the character set of incoming URLs a little more intelligent than the default behavior. In particular, I want to achieve the following mapping:
So%DFe => Soße
So%C3%9Fe => Soße
So%DF%C3%9F => (error)
The bevavior I want could be described as "try to decode the...
Hi there.
I'm having some issues with getting cookies to work when using a ProxyPass to redirect traffic on port 80 to a web-application hosted via Tomcat.
My motivation for enabling cookies is to get rid of the "jsessionid=" parameter that is appended to the URLs.
I've enabled cookies in my context.xml in META-INF/ for my web applica...
Consider the following output from a Tomcat server under Eclipse:
INFO: Initializing Coyote HTTP/1.1 on http-8080
INFO: Initialization processed in 634 ms
INFO: Starting service Catalina
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
SEVERE: Error listenerStart
SEVERE: Context [/MyServlet] startup failed due to previous errors
I ...
I implemented one service and it has several configuration item, such as data type, next node, blablabla. What I want to do is to deploy the service and configuration file into tomcat within one .aar.
However, if I jar the service and configuration file into the aar. The service can't read the file though the file is there in the same ...
If we only need to graphically authorize a user,
view a few tables representation (from database),
ability to change data in the database visually
what tools to use to write such a web application that will run on Tomcat?
What framework allows to do that in the most straightforward, easy-to-manage and elegant way?
...
I have developed a Java EE web application. This application allows a user to upload a file with the help of a browser. Once the user has uploaded his file, this application first stores the uploaded file on the server (on which it is running) and then processes it.
At present, I am storing the file on the server as follows:
try {
...
I am debugging a really tricky problem with servlet filters in a web application running on a JBoss 5.1.0 AS. I really need the source of the tomcat that runs inside my JBoss. I already downloaded the src-Package from JBoss but could not find the tomcat sources in it.
Any suggestions?
...
Hoping someone can help.
The rub: I can't get Tomcat 5.5 to start as a windows service on 64-bit windows using a 32-bit JDK.
the details:
I've been running Tomcat 5.5 on Windows Server 2008 (x64) as a service for some time using a 64-bit JDK.
I'm being forced to install a 32-bit JDK on this 64-bit machine so I can make use of the Jav...
Hi there,
I have a webapp with form-based authentication. On the login page, I have placed a link to a public registration form. The registration adds a user in the database that is used for authentication.
Now, is is possible to do an automatic login as the new user after the registration is complete, without returning to the login pa...
I am trying to port a J2EE app from Tomcat to Websphere and I'm not too familiar with Websphere.
The only problem I am having is authorization (I use basic-authentication in my web.xml). In Tomcat I use the tomcat-users.xml file to define my users/passwords and to what roles they belong.
How do I do this "simply" in Websphere? When dep...
I'm trying to create a web application using maven, tomcat and hibernate.
Now I'm getting a cannot find class for org.appache.commons.dbcp.basicdatasource for bean with name datasource... exception.
Without the hibernate aspects it works fine, but if I add
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<pro...
how i can browse my tomcat server on intranet
i have already tried http://computername:8080/appsName/
and i have also asked my company's network administrator for firewall setting but according to them everything is fine no need to put exception on firewall
thanks in advance
...
Hi all!
We're implementing the myfoo.de workmanager in tomcat. In the JNDI Resource you can/must configure a max queue length (works queue).
Is there any way to get that number, the size of the queue, from the code (Java class)?
Thank you!
...
I have a gant script in my grails project.
I would like to do something just like this:
includeTargets << new File ( "${grailsHome}/scripts/War.groovy" )
war()
But for the deploy target in the script provided by the tomcat plugin.
Specifically, I would like to invoke this target:
grails prod tomcat deploy
how would that happen?
...
Is there a way to create (dinamically) a kind of subdomain that goes between my website domain and the .com?
For www.onlinevet.com, for instance, would be something like:
www.onlinevet.dog.com
www.onlinevet.cat.com
...