>From which stable version Tomcat uses java NIO
I spend 30 minutes on google looking for the first stable version of Tomcat
that make use of Java NIO package.
Since I didn't get good results I have to ask here.
Please advise and thanks
--
Luis Diego Bolaños Quiros
Hi Chris
Thanks. This looks like 'just the ticket' - I'll take a look.
Tom
On 27/08/2008, at 5:23 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
Thomas Haines wrote:
I'm trying to figure out a way to "automatically login" a user. It
arises when they
I've been tasked with setting up a tomcat enviorment for course work.
The instructor is working with jruby. The problem is that on war file
redeploy, it fails because tomcat has a lock on 2 of the bundled lib
files - jruby-complete-1.1.3.jar and jruby-rack-0.9.1.jar
Is there anyway to force the
@Peter.
Tomcat is in fact running as a service. So it seems a way needs to be found
to load the full user
profile, notably the mapped network drives on the user's behalf.
Hoe can it be done ... ??
Looking forward to a reply.
Ajay Garg
Peter Crowther wrote:
>
>> From: Ajay Garg [mailto:[EMAIL
My Martin,
What was labelled as array2d is in fact array2d.pl There is nothing more in
it than what you see in my first post.
If you want me to email it to you, send me an email address. I have not
found, in the interface to nabble, a way to attach a file to a message,
email or otherwise.
I c
please supply array2d.pl
thanks,
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distr
I have CGI working. Now I have a question about having one cgi script
execute another script (both simple enough to be appended below).
I can run either within Emacs, or from a commandline, and get the obvious
output. Running format_test I get the following output:
Content-type: text/html
Ar
- Original Message -
From: "Frank W. Zammetti" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, August 26, 2008 7:33 PM
Subject: Re: Struts vs JSF (poll?)
I'm in the architect/manager boat myself these days, so I'd be crazy to
*not* agree :) I've seen though what happens
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
Thomas Haines wrote:
> I'm trying to figure out a way to "automatically login" a user. It
> arises when they have created an account, and I don't want to then
> direct them back to a login page - rather, I want to, in this instance,
> just lo
Right,
apparently deployOnStartup must be set to true otherwise the sites don't get
uploaded.
(No idea in which case it could be set to false)
I understand that I can upload unzipped war files, but I still would like to
move over war files to my production server.
Anyway, apart from the packed
On Tue, Aug 26, 2008 at 01:33:02PM -0400, Frank W. Zammetti wrote:
> I'm in the architect/manager boat myself these days, so I'd be crazy to
> *not* agree :) I've seen though what happens when you play the "ivory
> tower" game and just come down the hill with the stone tablets that say
> "this is
If all you want to do is see the directory structure, why don't you just
unzip the .war file? That's all a .war/.jar file essentially is -- a
zip archive. Admittedly you can't just zip any folder and get a war
file, but you can see the contents just by unzipping it.
--David
jerrycat wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Frank,
Frank W. Zammetti wrote:
> On Tue, August 26, 2008 12:33 pm, Christopher Schultz wrote:
>> With respect to Frank's comments, S2 specifically encourages you to
>> separate your own code from the framework, so that you can even
>> implement your
[Tried to read the tomcat docs, but it is a bit confusing]
Right, my goal is to deploy war files that get unpacked so that I can see
the directory structure.
I am not interested in autoDeploy or deployOnStartup, unless it is
necessary.
Here is a paragraph from the docs:
"Finally, note that if
[Tried to read the tomcat docs, but it is a bit confusing]
Right, my goal is to deploy war files that get unpacked so that I can see
the directory structure.
I am not interested in autoDeploy or deployOnStartup, unless it is
necessary.
Here is a paragraph from the docs:
"Finally, note that if
Tom,
ive created this start script...what i did is modified the previous path of
the original tomcat instance to the new one... wich was /etc/tomcat5 (where
i have the catalina policies and jkproperties, etc) for /etc/tomcat5but
that raised other questions should i be duplicating that folder o
- Original Message -
From: "Christopher Schultz" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, August 26, 2008 6:33 PM
Subject: Re: Struts vs JSF (poll?)
What do you consider the "TC MVC model"? Do you just mean "use servlets
configured in web.xml and use your own redi
Erik Rumppe wrote:
> For right now I am using BASIC authentication. There are 3 roles
> defined in the tomcat-users.xml file. To access different areas of my
> application requires different levels of roles. I want my users to be
> able to click on a link and if they don't meet the role requirem
Hello All,
I am having a very difficult time using Tomcat authentication. Here is
the situation:
For right now I am using BASIC authentication. There are 3 roles
defined in the tomcat-users.xml file. To access different areas of my
application requires different levels of roles. I want m
If you installed tomcat using the .exe installer, go get the .zip
download and grab the service.bat file from it's bin directory. If you
installed .zip version of tomcat, you should have a file in the bin
directory named service.bat. Service.bat can help you create new tomcat
services in the
On Tue, August 26, 2008 1:09 pm, David Whitehurst wrote:
-snip-
> But, at the same time I think
> development managers and architects need to choose the best framework
> and then tell the newly hired developers that this is what we're
> using. You, the developer, either accept the choice or not.
hi Nuno, that would be value 0 (or 2 if you want acks involved)
take a look at the channelSendOptions description in
http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html
Filip
Nuno Manuel Martins wrote:
Hello,
I was reading the Cluster HOWTO at
http://tomcat.apache.org/tomcat-6.0-doc
Frank:
I'm an AppFuse fan and while Struts 2 and JSF are an option, I've
recently seen two solid applications using Spring Web Flow. I haven't
used Web Flow for anything production yet. And, while this was the
"this" vs. "that" discussion, I do agree that you should encourage
developers to make
On Tue, August 26, 2008 12:33 pm, Christopher Schultz wrote:
> With respect to Frank's comments, S2 specifically encourages you to
> separate your own code from the framework, so that you can even
> implement your logic as framework-agnostic controllers that are simply
> auto-filled by the framewor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
> Use neither... prefer the plain TC MVC model.
What do you consider the "TC MVC model"? Do you just mean "use servlets
configured in web.xml and use your own redirects/forwards from within them"?
One of the things I reall
Ok, problem solved. The problem is with Tomcat accessing a mapped network
drive. The solution I found is to use a UNC in appBase and docBase instead,
like "\\server\user-share\webapps" (by the way, using backslashes on a
Windows XP install worked as well).
Thanks!!
David
-Original Message-
jerrycat wrote:
Thanks,
just a question here.
Set the appBase attributes for all your Host elements to different paths
and make sure that not one is contained in another. For example, if
you've got two hosts, "localhost" and "www.test.com", you could
configure them like that:
The question:
If
DAvid
I am on windows, but i connect to the server via ssh so all the commands are
just like in Linux.
I've tried tomcat5 start, but i think that just works for the original
tomcat, also, how can i check that when i start the 2nd instsance of tomcat
it start with no errors.
Thank you
Eduardo
Dav
Hello,
I was reading the Cluster HOWTO at
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html and I have already
implemented it and working. I would just like one piece of information on this
paragraph:
Synchronous vs asynchronous is configured using the channelSendOptions flag
and is
Johnny/all- Thanks for the input, but let me clarify. This is a J2EE class
(we'll be making servlets and .JSP etc.), so each student will have their
own installation of Tomcat running on their own workstation. But so that I
can access their programs/homework/projects, I want their "webapps"
direc
1. The 404 error accessing /DbTest/ -- define a welcome file in
DBTest/WEB-INF/web.xml. Online docs at tomcat.apache.org and the
servlet spec will help with this.
2. It would appear you need to do some more research on what you want to
do. It looks like you are trying to expose an ArrayList
On Tue, Aug 26, 2008 at 2:02 PM, sam wun <[EMAIL PROTECTED]> wrote:
>
> package command;
>
> Package command;
>
notice the difference?
cheers
gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:
HI tere,
I have completed a servlet project in Eclipse (3.4).
I also made a war.file by seleting the project name (DBTest in this case)
and the export command from the Eclipse menu, and export it to the Tomcat
5.5.26 server in linux using manager.
However when I click on the project name (/DBTe
you need to use Eclipse import to import the package
right click on project
click Import
click File System
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This
Thanks,
just a question here.
Set the appBase attributes for all your Host elements to different paths
and make sure that not one is contained in another. For example, if
you've got two hosts, "localhost" and "www.test.com", you could
configure them like that:
> jerrycat wrote:
>
>> Here is th
- Original Message -
From: "sam wun" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, August 26, 2008 2:02 PM
Subject: Can't generate class file from Interface
Hi,
In Eclipse 3.4 (not sure about the previous version), I have a project, in
the src, there is a interface f
Hi,
Make sure about all the classes like Customer, be accessable. And also be
careful in naming the packages.
2008/8/26 sam wun <[EMAIL PROTECTED]>
> Hi,
>
>
>
> In Eclipse 3.4 (not sure about the previous version), I have a project, in
> the src, there is a interface file called "DatabaseC
jerrycat wrote:
Here is the context.xml
[...]
Please read the docs:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Especially the last paragraphs in the descriptions of the docBase and
the path attributes.
You have not mentioned how you are going to deploy your webapp.
Ther
This is not a Tomcat question. Please find a more appropriate list.
- Peter
> -Original Message-
> From: sam wun [mailto:[EMAIL PROTECTED]
> Sent: 26 August 2008 13:03
> To: Tomcat Users List
> Subject: Can't generate class file from Interface
>
> Hi,
>
>
>
> In Eclipse 3
Hi,
In Eclipse 3.4 (not sure about the previous version), I have a project, in
the src, there is a interface file called "DatabaseCommand.java". This file
is an interface file.
It s content is shown below:
package command;
import java.sql.Connection;
import java.sql.SQLException;
public in
> From: Ajay Garg [mailto:[EMAIL PROTECTED]
> b) In Tomcat deployment, Tomcat needs the credentials to
> login into the
> shared folder (the fact that the
> the network folder has already been mapped onto a drive
> SUPPOSEDLY does not
> help ...)
Mapped drives are per-user, not per-system. If Tom
Mark
6.0.18 **does** unpack a foo#bar.war to a foo#bar directory
as long as you have enough disk space ( woops ;)
interestingly no error message to tell you if the unpack failed tho'
I'm havng a little bit of trouble picking up local resources in my app
deployed as foo#bar, using the ClassL
Hi Albert,
Thanks for the reply. I had JRE 1.5 and also used
-Djava.awt.headless=true option without success.
Got this suggestion from a friend to run Xvfb and use the DISPLAY
variable as below:
#Start Xvfb (startup.sh)
/usr/XVFB-/Xvfb :20 &
#Set the DISPLAY var in catalina.sh
export DISPLAY=l
Hi all.
I am building an application that requires the copying of a file on a mapped
network drive on a Windows XP machine. The network drive is always in mapped
state.
Now, copying the file through a standalone Java program works fine (using
the concept of FileInputStream and FileOutputStream),
Hi Johnny,
Thanks for pointing out. I thought I can raise any Tomcat issues in this
forum.
Good news is that I managed to get rid of this problem by running Xvfb
server and using the DISPLAY variable to point to this display.
Also removed the -Djava.awt.headless=true option. Now the error is go
Ooops, I think the [code] tags removed the content.
Here is the context.xml
and here is the Host element in the conf/server.xml
I assume that if I modify the appBase of the Host element from webapps to
webapps/test then it would work, but if I have several
Contexts
Hi Mark!!
Please find the testcase I am trying to cluster.
http://rifers.org/paste/show/7959
As I found no wrong with the program, please Suggest me what ever the
modifications are expected.
Thankyou in advance.
2008/8/26 Mark Thomas <[EMAIL PROTECTED]>
> Ch Praveena wrote:
> > Hi all,
> >
> >
Ch Praveena wrote:
> Hi all,
>
> I am trying to cluster an application. I found the following
> exception stack trace. Hope there are very experts in this group, who
> involved in designing of Tomcat container and utilizing the tomcat too.
> Please respond me who ever have a very good ide
francin wrote:
> In some reason , I should use jk2 to integrate IIS and Tomcat, everything I
> have done follow the step:
> http://tomcat.apache.org/connectors-doc-archive/jk2/jk2/installhowto.html
> but the IIS return the following logs:
> Error: [jk_isapi_plugin.c (713)]: read_registry_init
Hi all,
I am trying to cluster an application. I found the following
exception stack trace. Hope there are very experts in this group, who
involved in designing of Tomcat container and utilizing the tomcat too.
Please respond me who ever have a very good idea about this.
*
11:22:51,362
50 matches
Mail list logo