Dear Torleif
Why you r Using Default Location to Store Keystore..
ypu can Use following command to generate keystore
* c:/keytool -genkey -keyalg RSA -alias tomcat -keystore tomcat.keystore
-storepass tomcat*
Then above command will generate tomcat keystore in current working
directory.
No, you do not need to close the XXXMetaData classes.
E
On Tue, Nov 3, 2009 at 12:02 PM, Josh Gooding wrote:
> One more question on bleeding resources. When closing RS / statement /
> connections. Do I have to do anything with the MetaData if I got that as
> well? (I.E Do I explicitly have to
One more question on bleeding resources. When closing RS / statement /
connections. Do I have to do anything with the MetaData if I got that as
well? (I.E Do I explicitly have to close the metadata as well?)
Josh
On Tue, Nov 3, 2009 at 2:01 PM, Josh Gooding wrote:
> Elle,
>
> I am going to d
I used my ftp client (WinSCP) to change file permissions for the directory to
R,W,X for others and now I am able to write the file outside the Tomcat
directory.
Thanks again so much.
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files-outside-tomcat-directory-tp2616
Thank you so much.
I am absolutely new to Tomcat on Linux.
I need to figure out what you mean by "user-id under which Tomcat runs".
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files-outside-tomcat-directory-tp26160054p26180750.html
Sent from the Tomcat - User mai
The Tomcat is installed on my site under Debian. I think it's the standard
version with directories in the usual places.
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files-outside-tomcat-directory-tp26160054p26180125.html
Sent from the Tomcat - User mailing list arc
Hi
I am trying to set up tomcat to use https.
I used "keytool -genkey -alias tomcat -keyalg RSA"
If I use "changeit" as password for keystore everything works ok.
If I use a different password it does not work.
I have modified "server.xml" with keystorePass="newpassword"
My .keystore is located in
nevermind. I get:
javax.servlet.ServletException:
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
No operations allowed after connection closed.
Guess that answers my question.
On Tue, Nov 3, 2009 at 3:24 PM, Josh Gooding wrote:
> If I close the RS, can I still use the
> -Original Message-
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Sent: Monday, November 02, 2009 5:18 PM
> To: Tomcat Users List
> Subject: RE: Compression and SSL
>
> Thanks for all the suggestions so far guys.
> Are there any other tips I could provide to the developers
On 03.11.2009 19:35, breako wrote:
>
> Hi,
> I have two tomcat servers and I can make them talk to each other using soap
> / http no problem.
>
> However, when I put Apache infront of one my tomcat servers and set it up to
> forward http requests to the tomcat server it doesn't get any requests.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Imad,
On 11/2/2009 11:17 PM, Imad Hachem wrote:
> has been set in my Web application web.xml
Okay, make sure it stays that way.
> private String sessionID = "";
> private HashMap md5Keys = new HashMap();
> private SecretKey secret
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 11/3/2009 3:06 AM, André Warnier wrote:
> You have to look at
> it from the browser's point of view. When it sees an "incomplete" link,
> it completes it using the protocol and hostname from which the current
> page was obtained, and then i
breako wrote:
Hi,
I have two tomcat servers and I can make them talk to each other using soap
/ http no problem.
I am tempted to ask what they are talking about, but I won't.
However, when I put Apache infront of one my tomcat servers and set it up to
forward http requests to the tomcat serv
I've attached a self-contained test case to bz 48116, so you can see this
for yourself.
On Tue, Nov 3, 2009 at 9:22 AM, Rainer Jung wrote:
> Just to make sure w.r.t. it being working in Jetty: You use the same
> Java version? Sun changed an important bit between Java 5 and Java 6,
> where they
Hi,
I have two tomcat servers and I can make them talk to each other using soap
/ http no problem.
However, when I put Apache infront of one my tomcat servers and set it up to
forward http requests to the tomcat server it doesn't get any requests.
I am using the mod_jk to achieve the forwarding.
Elle,
I am going to dig into this code and check it out. I want to know more
about how to use threadlocal and filters. (Sorry I'm not as experienced in
Tomcat as some for you gurus here).
The code looks promising and I like the 2nd option due to the fact that each
HTTP req. only has one connect
On 03/11/2009 14:33, Jeffrey Janner wrote:
Well, we already have filters in place to make sure our images, javascript, and
other statics go out as cacheable. In fact, the only thing that should not be
cached at this point are the results of the jsp pages themselves.
Did see something recently
If I close the RS, can I still use the MD?
On Tue, Nov 3, 2009 at 3:13 PM, Elli Albek wrote:
> No, you do not need to close the XXXMetaData classes.
>
> E
>
> On Tue, Nov 3, 2009 at 12:02 PM, Josh Gooding >wrote:
>
> > One more question on bleeding resources. When closing RS / statement /
> >
Chris,
up to a certain point, I see in the logfile workers called
"worker.workerNN".
and then, at some point, there are references to workers called just
"workerNN", which are the ones it does not find.
-
To unsubscribe, e-m
On 03.11.2009 17:30, Christopher Schultz wrote:
> All,
>
> On 11/3/2009 11:17 AM, Christopher Schultz wrote:
>> I've done many mod_jk setups, but I'm stumped by this one.
>
> Duh:
>
>> worker.list=worker.worker21
>
> s/worker\.worker/worker/g
>
> Done. Sorry for the noise.
You are to fast for
> From: daulat khan [mailto:daulat@gmail.com]
> Subject: Re: getRequestedSessionId() returns null
>
> what need to be done in the apache - tomcat setup to send the session
> and cookie with the header ?
The sessionid is sent by the client (browser) - if there is one. Since your
webapp did n
Hi chris,
what need to be done in the apache - tomcat setup to send the session
and cookie with the header ?
Thanks,
Daulatkhan
On Tue, Nov 3, 2009 at 9:57 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Daulat,
>
> On 11/3/2009 6:15 AM, daulat khan wrote:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 11/3/2009 11:17 AM, Christopher Schultz wrote:
> I've done many mod_jk setups, but I'm stumped by this one.
Duh:
> worker.list=worker.worker21
s/worker\.worker/worker/g
Done. Sorry for the noise.
Thanks,
- -chris
-BEGIN PGP SIGNATURE-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daulat,
On 11/3/2009 6:15 AM, daulat khan wrote:
> GET /earms/earms HTTP/1.1
> Host: csipl-earms-sol1:8081
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4
> Accept: text/html,application/xhtml+x
Just to make clear one thing.
If you edit the context.xml (that will be automatically copied from your war
archive to conf/Catalina/localhost/WEBAPP.xml) your webapp will be redeployed.
That means, that the server will NOT be restarted, but your webapp WILL be
redeployed (which will result in d
Duh! That makes perfect sense.
>-Original Message-
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>Sent: Tuesday, November 03, 2009 10:38 AM
>To: Tomcat Users List
>Subject: RE: Class not found when doing JNDI lookup
>
>> From: Mike Baranski [mailto:list-subscripti...@sec
Mike Baranski wrote:
Is JNDI somehow masking the classpath of WEB-INF/lib? I have verified that
there are not multiple jars with this class in the webapp, and it is not in
the common/lib for tomcat.
The correct way is to place resource-referenced jars in common/lib (or
just lib for tomcat 6.
> From: Mike Baranski [mailto:list-subscripti...@secmgmt.com]
> Subject: Class not found when doing JNDI lookup
>
> I have ifxjdbc.jar in WEB-INF/lib, which contains the Informix driver
> I'm looking for (I opened it and verified).
To quote from the doc:
"Before you proceed, don't forget to copy
I am sure that I'm using the MacOS JDK 1.6 at all points. Also, if you look
closely at the below, you will see that the problem is that one part of
Xalan is failing to call another part ... of Xalan. If I had JDK 1.5 I'd be
missing the newInstance APIs that take the class name, and if I had other
p
I have ifxjdbc.jar in WEB-INF/lib, which contains the Informix driver I'm
looking for (I opened it and verified).
I have the following in context.xml:
WEB-INF/web.xml
I get an error through the context lookup that I ca
Martin Gainty wrote:
i would set the PGDATA environment var to point to exact location of Postgres
Database directory e.g (pg_ctl -D, --pgdata DATADIR) before attempting connect
to Postgres
Since we use TCP/IP to talk to postgres PGDATA is irrevelant (at client
side).
--
Mikolaj Rydzewski
carsten is correct
i would set the PGDATA environment var to point to exact location of Postgres
Database directory e.g (pg_ctl -D, --pgdata DATADIR) before attempting connect
to Postgres
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note
Mike Baranski wrote:
Yes, I know, what's the convention for doing this without changing the
context.xml and restarting tomcat?
Put context.xml in META-INF directory of your webapp.
--
Mikolaj Rydzewski
-
To unsubscribe,
André -
Yep, it does sound quite elementary, but pointing out a good tool is
appreciated.
Since I am also the deployment god (we both host and distribute the app), I
usually keep a tight a lid on these things. Nothing like having to make a
bunch of changes to the installer to make my day. I do
Yes, I know, what's the convention for doing this without changing the
context.xml and restarting tomcat?
>-Original Message-
>From: Carsten Pohl [mailto:p...@tyntec.com]
>Sent: Tuesday, November 03, 2009 9:30 AM
>To: Tomcat Users List
>Subject: Re: Trouble with context and JNDI resource
Well, we already have filters in place to make sure our images, javascript, and
other statics go out as cacheable. In fact, the only thing that should not be
cached at this point are the results of the jsp pages themselves.
Did see something recently about combining images into a single file, an
My context.xml is quite straightforward.
I put it in the META-INF folder of my WAR.
But be advised: If you think you can change the url/username or passwd once the
app has been deployed in Catalina/localhost/WEBAPPNAME.xml it will NOT work.
Regards,
Carsten Pohl
- Original Messa
That worked, thanks.
>-Original Message-
>From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
>Sent: Tuesday, November 03, 2009 9:11 AM
>To: Tomcat Users List
>Subject: Re: Trouble with context and JNDI resource
>
>Mike Baranski wrote:
>> > type="org.apache.commons.dbcp.BasicDataSou
Just to make sure w.r.t. it being working in Jetty: You use the same
Java version? Sun changed an important bit between Java 5 and Java 6,
where they are now caching something detected during runtime in a global
static thus partially breaking the dynamics of XML parser detection when
using mutiple
OK, thanks, what does your context.xml look like for the jdbc/progress?
>-Original Message-
>From: Carsten Pohl [mailto:p...@tyntec.com]
>Sent: Tuesday, November 03, 2009 9:03 AM
>To: Tomcat Users List
>Subject: Re: Trouble with context and JNDI resource
>
>Hi,
>
>I am no expert, but your
Mike Baranski wrote:
Why not to use jdbc/proteus? Just to follow convention. I'd also rather
use javax.sql.DataSource as type attribute.
proteus
The same, use jdbc/proteus.
I have this code:
l.debug("Created the
Hi,
I am no expert, but your lookup looks strange. (Empty string in lookup).
Furthermore these two contextes seem "strange" to me.
This works great for me:
@Override
public void init() throws ServletException {
LOGGER.info("INIT has been called");
try
{
fi
I'm using this page, trying to get a resource in a java class:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
I have this in context.xml:
WEB-INF/web.xml
I have this in web.xml:
Here's the relevant log traffic of the missing method. I can get past this
problem by putting xalan into the endorsed directory, but I should not have
to do that when using the JAXP 1.4 API to create XPathFactory.
Caused by: java.lang.NoSuchMethodError:
org.apache.xpath.XPathContext.(Z)V
at o
Benson Margulies wrote:
I have a webapp that makes calls to the JAXP 1.4/Java 1.6 APIs that allow
the caller to pass in the class name of implementation classes.
It all works find standalone. It works fine in Jetty. It fails in Tomcat
6.0.20. The error is a missing method in a Xalan class; as if
noobie45 wrote:
I have an application whose class files are in
/usr/local/tomcat/webapps/ROOT/WEB-INF/classes
It uses the following line to write a file called java.php:
FileOutputStream fout = new FileOutputStream
("/usr/local/tomcat/webapps/ROOT/java.php", true);
It does this perfectly.
Wha
I have a webapp that makes calls to the JAXP 1.4/Java 1.6 APIs that allow
the caller to pass in the class name of implementation classes.
It all works find standalone. It works fine in Jetty. It fails in Tomcat
6.0.20. The error is a missing method in a Xalan class; as if Tomcat has
somehow gotten
Really? I've never got it to work except through a batch starting. It
really could be a plethora of things. (I'd rather have it as that anyways
:P)
Not a big deal to me, I did get it working :)
On Mon, Nov 2, 2009 at 8:20 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From:
Hi,
The below is the details using Livehttpheaders. can you help me ?
http://csipl-earms-sol1:8081/earms/earms
GET /earms/earms HTTP/1.1
Host: csipl-earms-sol1:8081
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4
Accept: text/html,application/
Tomcat version?
Installed from tomcat.apache.org or a third-party repackaged version?
If repackaged, look at the docs - are you running under a security manager?
- Peter
2009/11/3 noobie45
>
> I have an application whose class files are in
> /usr/local/tomcat/webapps/ROOT/WEB-INF/classes
>
> It
On 03/11/2009 10:41, daulat khan wrote:
Hi,
I have an java servlet application running in apache-tomcat integration setup.
request.getRequestedSessionId() is always returning null.
Can anyone help to fix this issue ?
Can you verify that the client is sending a session id?
LiveHttpHeaders will
On 03/11/2009 10:40, André Warnier wrote:
Peter Crowther wrote:
...
Jeffrey's since confirmed it's not a CPU issue - thanks Jeffrey! - so I
agree that bandwidth/latency is the one to solve, as the rest of the
thread's been working on while I've been asleep!
Elaborating a bit on what I mentione
Hi,
I have an java servlet application running in apache-tomcat integration setup.
request.getRequestedSessionId() is always returning null.
Can anyone help to fix this issue ?
I am using
tomcat version : 6.0.20
httpd version : 2.2.14
connector : 1.2.28
Thanks,
Daulatkhan
--
Peter Crowther wrote:
...
Jeffrey's since confirmed it's not a CPU issue - thanks Jeffrey! - so I
agree that bandwidth/latency is the one to solve, as the rest of the
thread's been working on while I've been asleep!
Elaborating a bit on what I mentioned before, and sorry Jeffrey if this
sounds
I have an application whose class files are in
/usr/local/tomcat/webapps/ROOT/WEB-INF/classes
It uses the following line to write a file called java.php:
FileOutputStream fout = new FileOutputStream
("/usr/local/tomcat/webapps/ROOT/java.php", true);
It does this perfectly.
What I want is to wr
Elli
Thanks for the reply. I also missed josephs (unless there is several of these
threads going on).
Hot deployment is what we would like to do. It's not possible as yet because of
eventual permgen memory errors. I also (in general) think it's a good idea to
_know what we're doing_ so some of
On 03/11/2009 08:13, Imad Hachem wrote:
Dear Chris / Pid,
Issue has been solved after setting both hashmap& QueryCryptUser
objects to the Session as below:
static HashMap userSessionMapArray = new HashMap();
SecretKey b = KeyGenerator.getInstance("DESede").generateKey();
2009/11/2 George Sexton
> You didn't read the original post very closely.
>
> >> to serve applications from the US to Asia-based clients.
>
> It's bandwidth and latency.
>
Actually, yes, I did. And I saw that, and I suspected latency would be the
answer. Suspicion is not confirmation however :
On 02/11/2009 23:34, Jeffrey Janner wrote:
Pid -
Windows 64-bit Dual Quad-Core w/32G RAM. Do I really need bigger?
App's not really slow-- works great here. But with a 300ms latency
(one-way) to The Orient, you can see why I might want to send as few
bits as possible.
Jeff
Indeed. Was just as
Marc Bartrina wrote:
Jakarta_service:
[2009-10-28 14:04:07] [info] Starting service...
[2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[0]
-Dcatalina.home=C:\Programme\Apache
Software Foundation\Tomcat 6.0
[2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[1]
-Dcatalina.base=C
Hello,
we are using tomcat 6.18 with different webapps on a windows
2003 server. TomCat was running as a Windows Service for 1 Year now, without
any problems.
After the Installation of an new Software which is using Apache 2.2.11 http
Server the TomCat Service won't start any longer.
When we st
Dear Chris / Pid,
Issue has been solved after setting both hashmap & QueryCryptUser
objects to the Session as below:
static HashMap userSessionMapArray = new HashMap();
SecretKey b = KeyGenerator.getInstance("DESede").generateKey();
QueryCryptUser qcu = new QueryCryptUse
Jeffrey Janner wrote:
Thanks for all the suggestions so far guys.
Are there any other tips I could provide to the developers that they can
do to improve throughput?
Should they hard-code the http:// for all the static elements to avoid
passing them over SSL,
If these items are not sensitive, t
Thanks for this link. Reading that page made me a little pessimistic.
E
On Mon, Nov 2, 2009 at 9:38 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Gerwood Stewart [mailto:gstew...@une.edu.au]
> > Subject: RE: Tomcat and PermGen
> >
> > Do you know of any ways to track do
64 matches
Mail list logo