Hello,
I'm using Tomcat 5.0.28 to share some pdf files but the option "fast web view"
doesn't work : my files need to be downloaded completly before I can view them.
Is there a way to see the first page of the pdf while the rest of the document
is still downloading? Maybe by a specific servlet?
Many thanks for your help Charles.
On 10/31/06, Bill Barker <[EMAIL PROTECTED]> wrote:
"ben short" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I just tried changing the /images/* to *.jpg and it works
>
Yes, Tomcat's default servlet won't work with a prefix map. It requires
e
Hello,
is there a way to configure two context paths for the same application?
Like this:
localhost/path1/servlet1
localhost/path2/public/servlet2
cheers,
Pete
-
To start a new topic, e-mail: users@tomcat.apache.org
To un
Christopher Schultz-2 wrote:
>
> Bruno,
>
>> Alias /jsp-examples "/srv/www/tomcat5/base/webapps/jsp-examples"
>> JkMount /jsp-examples/*.jsp ajp13
>> JkMount /jsp-examples/j_security_check ajp13
>
> These three ought to do the trick. Which files aren't being served by
> Apache h
Now I have an even stranger behavior...
I can only JkMount /jsp-examples, I did the same to /tomcat-docs,
/servlets-examples and /cocoon and I get :
Forbidden
You don't have permission to access /tomcat-docs/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use
> I downloaded Tomcat 6 (the alpha I presume) the zipped version and I I
> noticed there was no directory for shared/lib, common/ and no
> conf/Catalina. I Googled and read the doc and got no clue if there is
> some changes in the lib structure which you should be aware of.
This was discussed he
Hi
it seems allowLinking has changed ?
Regards
Philippe
_
De : Philippe Couas [mailto:[EMAIL PROTECTED]
Envoyé : lundi 30 octobre 2006 19:30
À : 'tomcat-user@jakarta.apache.org'
Objet : servlet not found since i replace tomcat 4.1.30 by tomcat 4.1.34
Hi
I want
With Tomcat 5.5 you can now define things like JDBC DataSources in
META-INF/context.xml in your war files. JDBC DataSources need
drivers, and obviously they can still be stored in common/lib, but
given that they are defined, or rather their use is requested,
through the war file, can the driver
Hi,
I've installed Tomcat 5.5.20.
Now, i want to install the admin package. I've done this once, but i confess
that i don't recall anymore how i've done it.
My question is, where should i put the files from the admin tarball ?
The one i've downloaded is apache-tomcat-5.5.20-admin.tar.gz
I have
Problem with JNDIRealm
I successfully authenticate my users against active Directory
(single domain). But now I have a setup with trusted domains and the
authentication fails with the following exception.
Everything is working fine if my user is in the domain ar-net.ch.
Now I want to auth
Michael Kantarovich wrote:
> Guys,
>
> Did you consider to use java.util.concurrent.atomic.AtomicLong ?
No, since this is a Java 5 class and TC5 will run on a 1.4 JVM
providing a couple of additional JARs are present.
Mark
-
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
Mário Gamito wrote:
> Hi,
>
> I've installed Tomcat 5.5.20.
>
> Now, i want to install the admin package. I've done this once, but i
> confess
> that i don't recall anymore how i've done it.
>
> My question is, where should i put the files from the admin tarball ?
> The one i've downloaded is ap
The simple answer is no, you cannot store driver jar files in your
webapp's .war file unless you want to setup and manage your own database
pool. Basically tomcat's internal classloader has to have access to the
driver in addition to your webapp which is why it has to be in
common/lib to begin
Mark,
>> Contended locks are much slower, so it's important to know.
>
> It was contended. I have added the uncontended figures: 75ns and 225ns.
What do the two different values mean?
Also, did your +50ns figure mean that the /overhead/ was +50ns, or that
waiting for the "other" thread to releas
Bruno,
> Now I have an even stranger behavior...
>
> I can only JkMount /jsp-examples, I did the same to /tomcat-docs,
> /servlets-examples and /cocoon and I get :
>
> Forbidden
> You don't have permission to access /tomcat-docs/ on this server.
> Additionally, a 403 Forbidden error was encounte
> From: Alistair McDonald [mailto:[EMAIL PROTECTED]
> Subject: (FIXED) RE: tomcat can't serve HTML pages more than
> 48K in size
>
> Thanks for that. Solved the problem nicely.
By the way, I just tested with a 78k static HTML page on a near stock
5.5.20, and did not experience any problems in
Hi all!
I'm wondering the same.
I've got four servers (two production machines and their testing counter
parts) running SUSE Linux Enterprise Server 9 with Apache 2, Tomcat 5, and
ModJK. Below the relevant packages are shown:
apache2 2.0.49-27.59
apache2-prefork
Hi folks,
I have been trying to get to grips with JNDI but cannot get data sources or
bean factories - using the standard examples in the Tomcat user doc - but
cannot get hardly anything to work.
I have the following declared in TOMCAT/webapps/axis/WEB-INF/web.xml after the
element and bef
Hi,
I've installed Tomcat and now i have this contineo.war file in the webapps
directory that it is supposed to become a web site.
Of course i'm a Tomcat newbie :(
Asking for your apologies in advance for such a newbie question, what am i
supposed to do with this file ?
Any help would be apprec
Thank you.
There was no mention in the doc about the removed libs.. I'm always
beeing little bit confused when things disapear whithout any mention it.
/Regards Per Jonsson
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: den 31 oktober 2006 14:52
To: Tom
> From: Per Johnsson [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 6 and shared/lib, common/ and
> conf/catalina/localhost?
>
> There was no mention in the doc about the removed libs..
The diagram in the doc clearly shows the revised default class loader
hierarchy:
Bootstrap
I bet you put a .war file an expected to see the site working. It's not
that easy :)
The easiest way to deploy you .war in tomcat is to go to the manager
webapp (http://:/manager/html) and use the
'deploy' part. For the manager to allow you to work on tomcat
configuration, you need first to define
Match up the directory structure in the .tar.gz file against tomcat's.
The webapp itself goes in server/webapps with the manager webapp and the
admin.xml file goes in conf/Catalina/localhost.
This is the second time inside a week this question has come up and it
is answered in the FAQ:
http:
For manager, it's the manager role that is needed, not the admin role.
for 404, it says what it should, no such file :D
When you access manager you will see where it is mapped. There is a link
for all webapp deployed. I suggest you read the doc about the manager i
gave you a link to.
Mário Gamito
Mário Gamito wrote:
It asks me for a login and a password which i don't know :(
I've defined a user with the admin role in tomcat-users.xml, but
they're not
the right credentials :(
It should me manager role, not admin one.
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
smime.p7s
Description: S/
Hello
can we please see the statements leading up to NameParser.parse() method call
are you able to ldapsearch using DC and OU parameters without CN?
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients na
Hi,
I have configured a cluster of 2 tomcat servers and session sync is
working fine, except for one point: if I unplug the network cable of one
of the machines and plug it back, Tomcat does detect the fact that a
member left the cluster, and also detects its return just fine, but no
sync occ
Christopher Schultz-2 wrote:
>
>> Here's my /etc/apache2/conf.d/jk.conf:
>> http://www.nabble.com/file/3921/jk.conf jk.conf
>
> (These are never coming through. How are you trying to attach files?)
>
I'm using Upload File... option. Here's a copy/paste:
# simple configuration for apache (
> From: Mário Gamito [mailto:[EMAIL PROTECTED]
> Subject: Can't login as manager
>
> I can't login in the above URL with the credentials "gamito/abc123"
> I've alrady restarted the server.
Verify that your changes persisted after the Tomcat restart. Tomcat rewrites
conf/tomcat-users.xml, and y
Hi Folks,
We are having an issue that Ajp13 Connector being unresponsive. It happened
about once a week. We are running one Apache 2.0, three Tomcat 4.1.27 and
mod_jk 1.2.5 / Ajp13 on HP 11i boxes.
We noticed that every time Ajp13 Connector received an exception (see below)
when setting socket
Hi Durk,
are you really talking about mod_jk? If yes: which version of nod_jk are
you using? It would be nice, if you could check version 1.2.19.
Regards,
Rainer
Durk Strooisma wrote:
Hi all!
I'm wondering the same.
I've got four servers (two production machines and their testing counter
Hi David,
On 10/31/06, David Delbecq <[EMAIL PROTECTED]> wrote:
I bet you put a .war file an expected to see the site working. It's not
that easy :)
The easiest way to deploy you .war in tomcat is to go to the manager
webapp (http://:/manager/html) and use the
'deploy' part.
It asks me for a
> From: Per Johnsson [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 6 and shared/lib, common/ and conf/catalina/localhost?
>
> I downloaded Tomcat 6 (the alpha I presume) the zipped version and I I
> noticed there was no directory for shared/lib, common/ and no
> conf/Catalina. I Googled and read th
HI, I'm in a similar situation. I had several applications running perfectly
in Tomcat 5.5.20 but when I try to configure the server with the APR and try
to get the certificate list in request only can get the CA certificate (not
the user certificate).
My connector configuration is the following:
Hi,
For manager, it's the manager role that is needed, not the admin role.
My tomcat-users.xml file is:
but i can't login as manager :(
Is there anything wrong with it ?
Warm Regards,
Mário Ga
So you could use concurrency utilities as an external jar (back port
from Java5) which is available for 1.4.
They claim being able updating longs without locking java-level locks
...
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/
-Original Message-
From: Mark Thomas [mailto:
Hello,
please help me to find the reason of the problem?
I have a strange situations with sessions.
Server: Jboss(Tomcat 5.5.17)
Servlet engine version: 2.4
Java version: 1.4.2-b28
When I submit the Form using method "POST", I get new session instead of
my current session. I see it from
> From: Alistair McDonald [mailto:[EMAIL PROTECTED]
> Subject: tomcat can't serve HTML pages more than 48K in size
>
> Tomcat happily serves up pages up to 48K in size, but above
> that size it returns an error to the browser:
There's an interesting 48k setting in conf/web.xml for the
DefaultSe
Bruno,
bcochofel wrote:
> Christopher Schultz-2 wrote:
>>> Here's my /etc/apache2/conf.d/jk.conf:
>>> http://www.nabble.com/file/3921/jk.conf jk.conf
>> (These are never coming through. How are you trying to attach files?)
>>
>
> I'm using Upload File... option.
Hmm... I didn't know that one c
Hi -
I've been trying to solve a problem for quite some time now and I can't seem
to find the solution.
Basically I have a servlet running under tomcat (5.5.17) which is acting as
an RMI client, looking up to a EJB running under jboss (3.2.5).
I can successfully connect to the EJB via a stand-
This is the code (JNDIRealm)
// Get the entry's distinguished name
NameParser parser = context.getNameParser("");
Name contextName = parser.parse(context.
getNameInNamespace());
Name baseName = parser.parse(userBase);
// Bugzilla 32269
Name entryName = parser.pars
Christopher Schultz-2 wrote:
>
> Hmm... I didn't know that one could "upload file" to an email...
> consider using copy/paste in the future. It seems to have worked, here.
>
I'm using www.nabble.com...
Christopher Schultz-2 wrote:
>
>> ### jps-examples #
A couple of thoughts:
1. There should only be one mysql driver .jar file and it should be in
common/lib. Please remove the one in your WEB-INF/lib directory
2. The driver org.gjt.mm.mysql.Driver is depricated (has been for a VERY
long time). Update it to com.mysql.jdbc.Driver.
3. You might wa
Hi,
On 10/31/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
Mário Gamito wrote:
> It asks me for a login and a password which i don't know :(
> I've defined a user with the admin role in tomcat-users.xml, but
> they're not
> the right credentials :(
It should me manager role, not admin one.
Y
Hi,
I'm trying to login as manager in Tomcat, but i can't.
The URL is: http://lx0scr1:8080/manager/html/
My tomcat-users.xml file is:
--
I can't login in the abo
> From: Mário Gamito [mailto:[EMAIL PROTECTED]
> Subject: Re: war file
>
> The one thing i've done was placing the .war file in the
> webapps directory, then restart the server.
That should be sufficient, if autoDeploy is enabled (it is by default).
> This way, it created a new directory with
Hi all.
I have a tomcat 5.5.9 installation set up. I only use it to serve HTML
pages - no JSP. The HTML is doxygen generated, and validates as HTML 4.01
according to the w3 validator.
Tomcat happily serves up pages up to 48K in size, but above that size it
returns an error to the browser:
-
Bruno,
>> Hmm... I didn't know that one could "upload file" to an email...
>> consider using copy/paste in the future. It seems to have worked, here.
>
> I'm using www.nabble.com...
Ah. I think the list will clip-out attachments. I'm not sure of the
rules, but copy/paste pretty much always works
Chuck,
Thanks for that. Solved the problem nicely.
Cheers,
Alistair
>> From: Alistair McDonald [mailto:[EMAIL PROTECTED]
>> Subject: tomcat can't serve HTML pages more than 48K in size
>>
>> Tomcat happily serves up pages up to 48K in size, but above
>> that size it returns an error to the bro
Hi David,
On Tue, 31 Oct 2006, David Smith wrote:
A couple of thoughts:
1. There should only be one mysql driver .jar file and it should be in
common/lib. Please remove the one in your WEB-INF/lib directory
2. The driver org.gjt.mm.mysql.Driver is depricated (has been for a VERY long
time).
Hello!
I am experiencing some strange html problems in tomcat. I am using the Apache
Tomcat 5.5.20 Server
The problem is strange to describe. I am trying to enable some vidoe clips
files to be downloaded by users, but unfortunatley instead of downloading it
opens up the garbage text
Canadafest,
> Hello!
>
> I am trying to enable some video clips files to be downloaded by
> users, but unfortunately instead of downloading it opens up the
> garbage text on the webpage, just like if u try to open a media file
> in notepad or wordpad.
#1: Don't hijack threads. Please post a new m
I have exactly the same problem with a 5.5.17 server and changing the
sendfileSize doesn t seem to fix anything
it return this error with file above a certain size :
java.lang.NoSuchMethodError:
org.apache.naming.resources.ResourceAttributes.getCanonicalPath()Ljava/lang/String;
org.ap
On Tue, Oct 31, 2006 at 08:38:37AM -0500, Christopher Schultz wrote:
> Also, did your +50ns figure mean that the /overhead/ was +50ns, or that
> waiting for the "other" thread to release the lock (which would include
> execution of the method itself) took 50ms longer. Since those threads
> cannot r
My problem was solved. Thank u everyone who tried to help me.
Seems like port 80 was being blocked by my ISP, I was running tomcat on my
sony vaio laptop, seems like it has some software which is blocking the ports
for anonymous requests.
I tried in my PC and its working fine now. che
What I observe is:
a) A certain amount of free memory is required to instantiate a web application
b) Concurrent requests are handled by separate HTTP Processor threads
c) The maxSpareThreads attribute of the HTTP Connector is not honored until GC
And when I:
1) Deploy three "helloworld" Turbin
Hi,
I just installed Fedora 5 and Tomcat 5.5 which is included in the
Fedora 5 DVD. Tomcat works well for the port 8080. you can visit
http://joconda.ciise.concordia.ca:8080 to see. But for SSL (8443) it
doesn't work. I configure accoding to
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.h
Hello!
I am experiencing some strange html problem in tomcat. I am using the Apache
Tomcat 5.5.20 Server
The problem is strange to describe. I am trying to enable some vidoe clips
files to be downloaded by users, but unfortunatley instead of downloading it
opens up the garbage text o
Well i have try with a valid configuration and i still get the same problem
with a 5.5.9 server
ContextPath: /test
ServletPath: /test.jsp
PathInfo: null
RequestURI: /test/test.jsp
QueryString: null
with a 5.517 server
ContextPath:
ServletPath: /test/test.jsp
PathInfo: null
RequestURI: /test/test
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: getContextPath
>
> with a 5.5.9 server
> ContextPath: /test
> ServletPath: /test.jsp
>
> with a 5.517 server
> ContextPath:
> ServletPath: /test/test.jsp
What APIs are you using to determine ContextPath and ServletPath?
- Chuck
THIS COMM
i use a simple jsp file with :
ContextPath: <%= request.getContextPath() %>
ServletPath: <%= request.getServletPath() %>
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, October 31, 2006 8:11 PM
Subject: RE: getContextPath
> From: Eric Yin [mailto:[EMAIL PROTECTED]
> Subject: tomcat ssl not work
>
> Since I can not find keytool from Fedora 5 jdk1.4.2 and I download
> J2SE(TM) Development Kit 5.0 Update 9: jdk-1_5_0_09-linux-i586.bin
> and install it and use the keytool from this kit.
It's risky to use a JDK tool
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: (FIXED) RE: tomcat can't serve HTML pages more
> than 48K in size
>
> I have exactly the same problem with a 5.5.17 server and
> changing the sendfileSize doesn t seem to fix anything
What happens if you set it to -1?
> it return this er
With JK 1.2.19 installed on Windows Server 2003 R2, and
given the following in uriworkermap.properties:
/Autoweb=perseus9010
/Autoweb/*=perseus9010
/autoweb=perseus9010
/autoweb/*=perseus9010
Requests are handled as follows:
/Autoweb --> tomcat --> redirect to /Autoweb/
/Autoweb/ --> tomcat -->
> From: Ryan Gies [mailto:[EMAIL PROTECTED]
> Subject: OutOfMemory Exceptions and HTTP Processor Threads
>
> I will get OutOfMemory Exceptions because there is no free
> memory to instantiate the 3rd webapp, as the idle HTTP
> Connectors have consumed all available memory.
May or may not have a
What happens if you set it to -1?
that's what i have try but i still get the same error
i have put this in the web.xml of the server
sendfileSize
-1
the problem is the same with all type of file > 48K (i have try with a jpeg)
--
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: (FIXED) RE: tomcat can't serve HTML pages more
> than 48K in size
>
> i have put this in the web.xml of the server
>
> sendfileSize
> -1
>
Where exactly did you put the above? It should go in the
section
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
Subject: Re: (FIXED) RE: tomcat can't serve HTML pages more
Where exactly did you put the above? It should go in the
section for the DefaultServlet of conf/web.xml (approximately between
lines 71 and 82 in an unmodified one).
i see i had put
Hi Mao (or Ni or Chen?),
your environment seems *very* outdated. Please update to Tomcat 4.1.34
und mod_jk 1.2.19. If the problem still shows up, please post relevant
parts of your configs (Apache and tomcat side) and check via netstat, if
tomcat still listens on the Ajp13 port.
Regards,
Rainer
Hi Rainer,
Thanks a lot for looking into this. I understand this is old configuration. But
it is in production, and I don't see any change log/fix related to this issue
in either later version of mod_jk or Tomcat 4. The other thing is we do launch
netstat after it hang, and we saw AJP Connector
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: getContextPath
>
> i use a simple jsp file with :
> ContextPath: <%= request.getContextPath() %>
> ServletPath: <%= request.getServletPath() %>
>
> with a 5.5.9 server
> ContextPath: /test
> ServletPath: /test.jsp
>
> with a 5.517 server
>
I'm still having problems with getting xmlrules to work within a Tomcat
servlet container. I pretty much snagged the code I use from the
xmlrules example that comes with the digester source. The problem comes
with the getSystemResource call. I keep getting a null URL. I finally
named the rules
It was not knwon (at least not to me) before your mail, but you are
right. We changed URL case sensitivity for mod_jk 1.2.19, because URLs
should be case sensitive, but we missed one place.
Could you please open a bug in bugzilla,
http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205
> From: Allen,Eva [mailto:[EMAIL PROTECTED]
> Subject: getSystemResource not working in servlet
>
> URL rulesURL = ClassLoader.getSystemResource("x.xml");
This only retrieves resources accessible to the System class loader,
which typically only looks at the $TOMCAT_HOME/bin directory.
> but I'd
ENV: Tomcat 5.5.17, Eclipse 3.2, Hibernate 3.2
The application runs in Eclipse, but not "standalone" in Tomcat
What does Tomcat need to find the datasource?
Error:
13:09:03,936 INFO NamingHelper:26 - JNDI InitialContext properties:{}
13:09:03,936 FATAL DatasourceConnectionProvider:55 - Could not
I'm trying to get a JNDI Realm working as one might expect with Active
Directory.
Tomcat 5.5.20
Java 1.5.06
Windows 2000 Server
The basic issue is that searching from a domain root "dc=company,dc=com" and
using userSubtree="true" results in:
Oct 31, 2006 3:18:20 PM org.apache.catalina.realm.JNDI
Hi Mao,
Try to send a QUIT signal to the jvm. It will produce a java thread
stack dump on STDOUT. The normal tomcat sart scripts redirect stdout to
catalina.out, so the result goes there.
After "kill -QUIT PID" (replace PID by the pid of the process) you can
inspect the dump in catalina.out to fi
Hi Rainer,
Thanks a lot for looking into this. I understand this is old configuration. But
it is in production, and I don't see any change log/fix related to this issue
in either later version of mod_jk or Tomcat 4. The other thing is we do launch
netstat after it hang, and we saw AJP Connector
A bug has been filed, as requested. The workaround fixed the problem
for me.
Thanks for the quick response!
--
James GarrisonAthens Group, Inc.
mailto:[EMAIL PROTECTED]5608 Parkcrest Dr
http://www.athensgroup.comAustin, TX
in the 5.5.17 version my app is under the ROOT directory yes (that s the
correct way like we told before no ?)
to give another example with exactly the same deployement (both under ROOT)
with a 5.5.17 and a 5.5.20
5.5.17 :
ContextPath: /test
ServletPath: /test.jsp
PathInfo: null
RequestURI: /test
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: getContextPath
>
> in the 5.5.17 version my app is under the ROOT directory yes
> (that s the correct way like we told before no ?)
Depends on what you mean by "under". If your app IS the ROOT directory,
then getContextPath() should return
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, October 31, 2006 10:37 PM
Subject: RE: getContextPath
Do you have a test.xml lurking around in conf/[engine]/[host] in one of
them? Would that test.xml have a element with a docBase
pointing to ROOT/test? I
Hi James,
I committed a patch for the problem. If you are able to compile the
plugin, you can check out the file from subversion, or apply the
following patch to version 1.2.19. Check for split mail lines in the patch.
Regards,
Rainer
Index: native/common/jk_map.c
==
Hmm well it seem i have made a mistake
the server.xml is correct and my configuration under ROOT too but it seem
that if i put some file before the ROOT directory tomcat take that as the
defaut context?
i explain :
i have put like i said :
appBase="/usr/local/tomcat5/webapps/users1"
there i hav
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: getContextPath
>
> but i had a WEB-INF and META-INF in the same directory as the
> ROOT too and they seem to have been taken instead of the one
> in the ROOT one (is it normal?)
Not sure what you mean by "normal", but since the setup was in
I am thinking about writing a "log file servlet" where
I can check the log file of the tomcat session from my
web browser. Thus I do not need to use console and vi
to check it.
Is there already something to do this and I am just
reinvent the wheel or this is totally a bad idea?
If I do this, how
little correction it seem that if i put a directory in the same way as the
ROOT directory tomcat use it instead of the other
exemple :
/usr/local/tomcat5/webapps/users1/ROOT/test/test.jsp
/usr/local/tomcat5/webapps/users1/test/test.jsp
tomcat use the second one (and their appear the ContextPath:
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: getContextPath
>
> /usr/local/tomcat5/webapps/users1/ROOT/test/test.jsp
> /usr/local/tomcat5/webapps/users1/test/test.jsp
>
> tomcat use the second one (and their appear the ContextPath: /test )
> is this the normal way of tomcat working? i
> From: Tony Smith [mailto:[EMAIL PROTECTED]
> Subject: log file servlet
>
> Is there already something to do this and I am just
> reinvent the wheel or this is totally a bad idea?
Try Lambda Probe (www.lambdaprobe.org).
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PR
Hi.
How come when I put contexts one directory below my "appBase" I can
still get .html and .jsp's served, but the DataSource can't be found?
e.g. "webapps/tests/test.jsp".
- Thank you for any help!
from javax.servlet.ServletException:
"Name jdbc is not bound in this context"
There is a "context
Quick correction on that previous post:
e.g. "webapps/Production/tests.test.jsp".
-Original Message-
From: Scott Cowley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 31, 2006 3:40 PM
To: users@tomcat.apache.org
Subject: Datasource following appBase changes
Hi.
How come when I put con
Hi, i have read some documentation about automatically unpacking war file but i
still have a problem with it, so i put in the host tag :
unpackWARs="true"
and then i put my war under the ROOT directory. and there it s not deployed
but if i put it in the same directory of the ROOT it s deployed (bu
Mast,
> i put my war under the ROOT directory.
Er! Wrong answer. The ROOT directory is the directory which contains the
(expanded) ROOT webapp, not a directory where WAR files should be
dropped in order to deply them as the root webapp. If you put a WAR file
in there, Tomcat will ignore it. It wo
At each stage of request resolution, the longest match wins. At the
point where the request is routed to a particular webapp, it matches the
webapp whose context matches more of the request path than any other.
IE in your case, if there is a root webapp with context "" and a webapp
with conte
i understand thanks for the tips
problem solved
- Original Message -
From: "Christopher Schultz" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, October 31, 2006 11:56 PM
Subject: Re: war problem
-
To star
> From: Scott Cowley [mailto:[EMAIL PROTECTED]
> Subject: RE: Datasource following appBase changes
>
> Quick correction on that previous post:
> e.g. "webapps/Production/tests.test.jsp".
>
> -Original Message-
> From: Scott Cowley [mailto:[EMAIL PROTECTED]
> Subject: Datasource followi
Appreciate the prompt reply, Chuck!
That answers a lot of questions.
I was hoping I could put two subdirectories, "Development" and "Production",
below the appBase and have Tomcat serve out of them. I also hoped to have a
path for each app within each of them!
This makes it harder to set up a depa
Hello,
I'm using an Apache Tomcat version 5.5.2 on a Windows XP Pro SP2.
I'm trying to redirect applications directory on a network drive
mounted with Windows "net use" command.
To do this I've made the following modifications into the server.xml file:
toDeploy="true">
changed to
autoDeploy
Hi again, i have download the lambda probe to see how it was and i have notice
some things with log,
in their context.xml file there is :
well that work wells but put the log under the logs directory of tomcat i
wonder if there is no way to put it elsewhere ? (like in the same webapps that
wa
1 - 100 of 117 matches
Mail list logo