Hello,
I'm using Tomcat 6.0 as a webserver, and I'm trying to open tomcat manager page, but whenever I enter the username as specified in tomcat-users.xml file, I'm getting an error as:
**401 Unauthorized**
Here's my tomcat-users.xml file:
<tomcat-users>
<role rolename="manager"/>
<user name="admin" password="" roles="admin,manage...
I'm an experienced 'old school' programmer, but new to Tomcat and Flex. I've followed the getting started for BlazeDS. I'm making changes to the Flex code using Flex Builder 3, but I just can't get the changes to show up when I refresh the page on my client. Server and client are separate physical machines, I've even re-started the serve...
Hi,
I have a Tomcat 6.0.24 server running. I'm using to run some JSP pages. Would it be possible to host files on it? E.g. If I type in http://localhost:8080/Sample.avi I would download Sample.avi? Probably there are better servers I guess for this task, but I'd like to stick to Tomcat since I don't wish to install another server. Is it...
In our application, it is possible for a user to upload files then download them later. We don't restrict them from having any special characters in the file name.
The problem comes in when we create the link for the user to download the file. I use the Java URL encoder to encode the file name that gets put into the href of the link, ...
I'm following a tutorial to set up a skeleton application for tomcat :
http://maestric.com/doc/java/spring/setup#build_files
But I don't understand how build.properties and build.xml actually works.
I'm using windows XP and copied the following even though the required directory doesn't exist:
appserver.home=/usr/share/tomcat5.5
apps...
The question is.
If I use JSP Documents (or JSP 2.0) and If I put a TAG without a BODY it is automaticly closed I dont want that.
so If I have <div id=....> </div>
it is automaticly converted to <div id=.../>
How I can stop this ?
I am using tomcat is there any configuration about that ?
P.S. the reason to want to stop it is because ...
Has somebody an idea, why the getName() method of the UserPrincipal sometimes provides an empty String? Most of the time it returns the correct user name but not every time.
This behaviour does occur randomly. I can start the application, run the command and it works. The next time I start the application and run the command (exactly th...
Hi!
This is my problem:
I have a JBoss server (Running an existing app) and a Apache Tomcat (Running an app created by me) server running on the same server with different ports.
I have two subdomain names which i have routed to the IP of the server.
What i need to do is to bind the subdomain names to the IP, but with different ports....
Hi, i have a problem, I developed an application using flex+java+blazeds with tomcat that provide flex enviroment.
I want to deploy my application using tomcat but I can't, how can I deploy my app?
...
I have a web application which contains both secure (SSL) and non-secure pages.
A user can login to the site and must appear logged-in in both the SSL and non-SSL areas.
(NB. SSL isn't implemented via Tomcat, but via Apache HTTPD servers which sit in front of Tomcat - so Tomcat has no SSL configuration.)
The logged-in state is current...
The following works:
public Date getDate() {
return date;
}
and produces something like:
<date>2010-03-23T17:43:50.879Z</date>
And I can use an XmlGregorianCalendar to return xsd:date or xsd:time types fine:
@XmlSchemaType(name="date")
public XmlGregorianCalendar getDate() {
return date;
}
which produces something like:
...
I am creating a e-learning application , where the students (wireless) connect to the teachers machine, the teacher hosts a tomcat server.
the teacher has a set of HTML web-pages(each of which can be thought of as a slide). and the students can view a web slide-show on his/her browser...
the problem is.... i want the pages on the stud...
Hi, i'm doing a web app in flex blazeds and java, i installed the eclipse plugs for using WTP mixed project, i use the flex's server that uses an emulate of tomcat when i ran my flex service the web app got the datas, everythings is ok. the problem is when i copy the proyect with all files generated by flex in my tomcat or the blazeds's ...
Hi guys,
I have an internal app (Jira) that i want to use internally and externally, now there might be another way of doing this in which case i'm open to it, but this is what i have so far:
URL one: https://domainname.com/jira - external domain name for it
URL two: https://domainname.local/jira - internal network name for it.
I a...
Is is possible to use Tuckey's URL Rewrite to rewrite to a different Tomcat instance?
I have it working using crossContext="true" rewriting to a different servlet on the same tomcat instance, but our production server has multiple tomcat instances running and I want to rewrite to one of them instead?
If it's not possible using the URL R...
I created a symbolic link to a .htm file.
ln -sf /u105/app/ptelrep/reports/kfx/generated/KFX026_Wholesale_1.htm /u105/app/ptelrep/reports/kfx/generated/KFX026_Wholesale.htm
The link works.
I have the configuration file, reports.xml:
/u355/app/ptelrep/tomcat50-jwsdp/conf/Catalina/localhost/reports.xml
<?xml version='1.0' encodin...
I am trying to configure tomcat for HTTPS on localhost.
I am using self signed certification.
I added folowing line of code to server.xml.
<Connector
port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount=...
Please tell me what is better in supporting clustering and ssl between mod_jk and mod_proxy_ajp.
Thank you.
...
I have a class
class ObjFactory {
MyObject getObject() {...}
void returnObject() {...}
}
How can we configure Tomcat so that it would provide this factory through JNDI and manages
this factory?
Say, one web app should get access to this factory and it must exist only 1 factory in Tomcat, every copy of a web app references the same ...
Hello
How to configure my web application in Eclipse (based on Servlets and deployed to Tomcat) to use Spring framework. I need only IoC container (Beans only and ApplicationContext), not Spring MVC. How to configure web.xml for this?
Regards
...