I know its going to sound silly... but then, i found out the problem.
its the -storepass -keypass. they have to be the same. i thought they are
for different purpose...
anyway, issue closed.
--
View this message in context:
http://www.nabble.com/SSL+problem+in+Tomcat-t1601673.html#a4554704
what version of java COMM are you using ?
Plus it would help to know why you are accessing a serial port through
tomcat server ?
vrinda ullas wrote:
-- Forwarded message --
From: vrinda ullas [EMAIL PROTECTED]
Date: Thu, 25 May 2006 08:52:58 +0530
Subject: commapi using
Hello everyone,
I'd like to remotely access my MBeans by using the JMXMP protocol. JMXMP
is an alternative to the default RMI protocol and aims to be much more
firewall friendly.
I already have downloaded the JMX remote reference implementation and
thus have got hold of
hi rajjev,
i am using communication api version 2.
i am trying to control a relay through serial port.I first built ajava
application to do the same. It works fine.But on trying to convet the
same into a web based application i don,t get any results.
Hi ... I wanna run my tomcat server on a memory stick but I have no
idea how to get it running. does anyone got this and can help me ???
... thanks a lot
Markus
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Eliminating the lb will give a slight performance improvement, using the
lb will give you a subtle management improvement (being able to stop the
worker in jkstatus).
Different is also the way errors are handled (lb takes workers offline
after errors for a minute, direct workers will be tried
Errno 131 means Connection reset by peer for Solaris.
Any IP influencing components between Apache und Tomcat? Firewalls? Is
Tomcat stil listening on 151.116.4.77:8009 (check via netstat -an)
You could try to sniff network traffic on both sides (Apache and Tomcat)
and check, whether
El Jueves 25 Mayo 2006 07:44, Bill Barker escribió:
If you are using the AJP/1.3 Connector, then 5.0.19 has a very very very
very well known memory leak. You need to set
request.registerRequests=false in this case. Either that, or upgrade :).
hello,
I have a similar problem, and
I am also using java comm API version 2 and i can display all the port
names and types through a servlet. so no magic here. Maybe you should
use a simple program like this to test your environment first ?
Plus one more point , i have copied comm api files (dll , properties
file and comm jar
Petkov, Rossen ha scritto:
Hello,
I am having a problem with Tomcat 5.0.19 on windows with JDK
1.4.2_03.The memory that java.exe is using keeps growing till the point
that tomcat
Runs out of memory.
Try this: http://wiki.apache.org/tomcat/OutOfMemory
Ciao
Antonio
I'm not sure I see how this should be different than running it from a
hard drive or any other file system location. Have you tried to do it?
Are you having problems?
--David
Markus-Alexander Metz wrote:
Hi ... I wanna run my tomcat server on a memory stick but I have no
idea how to get it
Hi All,
I m working on an sip application server and want to increase its
performance. at max load the CPU of my server machine is around 45-50%
free. The issue I am facing is that for a short period of time (for
around 7-10 sec), free CPU goes below 25%. My server has a constraint
that it must
Hi,
I am using java server faces. My web server is Tomcat5.0.
I want to persist my session that is the session should continue until user
logs out. I don't want to do this task through session-config
session-timeout0/session-timeout
/session-config
in web.xml.
Any help will be highly
Option 3: Use a bit of javascript to refresh a small, invisible gif
image on a timed basis. The session timeout can be short and the
session will stay around as long as the browser windows is open or until
the user clicks a logout link.
--David
Peter Crowther wrote:
From: Vikas Jain
From: Lung Chan [mailto:[EMAIL PROTECTED]
I'm pretty new in web design, but why can't you use cookies to
do what you want?
If you do, you have two approaches:
- Store all the session data in the cookie, and pass that back and forth
on each request and response. This eliminates the need to
From: David Smith [mailto:[EMAIL PROTECTED]
Option 3: Use a bit of javascript to refresh a small, invisible gif
image on a timed basis.
Very good point. I'm too used to advising on accessible design, where
the browsers may not run Javascript :-).
- Peter
Vikas Jain wrote:
I am using java server faces. My web server is Tomcat5.0.
I want to persist my session that is the session should continue until user
logs out.
Use HttpSessionActivationListener
http://www.docjar.com/docs/api/javax/servlet/http/HttpSessionActivationListener.html
--
Mikolaj
Hi Lung Chan,
Many Many thanks for reply.
I also think that through cookies it will done but how it is?
Do you have any idea of using cookies to save a session?
Regads
Vikas Jain
-Original Message-
From: Lung Chan [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 6:22 PM
To: Tomcat
That's true and I've restled with the javascript or no javascript
question myself a few times. I think with all the AJAX and web 2.0
stuff out there, it's getting so those cases are fewer and fewer.
--David
Peter Crowther wrote:
From: David Smith [mailto:[EMAIL PROTECTED]
Option 3: Use a bit
Hi Lessie
Bugzilla is not a Java based Web App, it is build Perl/CGI, therefore you
need a web server which can parse these requests, map and execute them.
Recently JBoss announced JBoss Web which allows you to do exactly that
along with running Tomcat.
You can also run PHP and .Net.
Have a look
Vikas Jain wrote:
Hi,
I am using java server faces. My web server is Tomcat5.0.
I want to persist my session that is the session should continue until user
logs out. I don't want to do this task through session-config
session-timeout0/session-timeout
/session-config
in web.xml.
Instead of javascript you could also use an (small, invisible) iframe loading
an otherwise empty html page with http meta refresh in it..
Regards Karl-Heinz
- Original Message -
From: David Smith [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, May
Please go through this link
http://tomcat.apache.org/tomcat-5.0-doc/config/manager.html
inside this at last there is
Restart Persistence
Whenver Catalina is shut down normally and restarted, or when an
application reload is triggered, the standard Manager implementation will
attempt to
Hi,
I have different AXIS services running and I would like some of them to be
available only with ssl client authentication and some others only with server
authentication. I have succeded to configure Tomcat to work with ssl with
client authentication in port 8443 and in 8444 without client
--- vrinda ullas [EMAIL PROTECTED] wrote:
hi rajjev,
i am using communication api version 2.
i am trying to control a relay through serial port.I
first built ajava
application to do the same. It works fine.But on
trying to convet the
same into a web based application i don,t get any
--- Bruno Georges [EMAIL PROTECTED] wrote:
Hi Lessie
Bugzilla is not a Java based Web App, it is build
Perl/CGI, therefore you
need a web server which can parse these requests,
map and execute them.
Recently JBoss announced JBoss Web which allows you
to do exactly that
along with
you scanner may not work so well, it thinks that Tomcat is Apache httpd,
The warnings you see, and the suggested fix, are related to
httpd.apache.org, not tomcat.apache.org
two different prouducts
Hello,
We just installed a JBOSS server in our production Environment...
Apparently JBOSS came
I will take your advice and figure out how to use META-INF/context.xml
as soon as I get back to where I was (I wondered what that META-INF
directory was for;-). Are the absolute paths like
http://localhost:8080/smsinfo;
or like /usr/local/tomcat/webapps/smsinfo? This has always been a
point of
the appBase is an attribute that is defined in your server.xml. By default
it is your TOMCAT_HOME/WEBAPPS folder.
On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote:
I will take your advice and figure out how to use META-INF/context.xml
as soon as I get back to where I was (I wondered what
Ahh! Thanks! I found the appBase attribute in the Host element.
I'm putting absolute paths in everything (of the form
/usr/local/tomcat/...,
not of the form
http://localhost:8080/...;)
to see if that gets it working. The only context.xml
file I've found is in the CATALINA_HOME/conf directory,
Nope, unfortunately, didn't work. Still get the Resource not
found message.
What am I missing here?
-Original Message-
From: Allen Williams [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 3:28 PM
To: Tomcat Users List
Subject: RE: More (Unending) Resource Not Found/
I just checked the log files, and found an error because
Document base
/usr/local/tomcat/webapps/usr/local/tomcat/webapps/smsinfo does
not exist or is not a readable directory.
Well, this tells me two things: it is looking in the right place
(at least for the document base) and it does NOT want
Linux is case sensitive do you have the write case.
Allen Williams wrote:
Nope, unfortunately, didn't work. Still get the Resource not
found message.
What am I missing here?
-Original Message-
From: Allen Williams [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 3:28 PM
Is it possible to have 2 different java connections in Tomcat. And
1. set the language settings for each java connection differently
2. based on what web page is calling tomcat. display correct language.
Aaron
-
To start a new
paste your context.xml and server.xml. As info. The docbase can be
absolute or relative. I would suggest using relative (which would be
relative to appBase).
On 5/25/06, AJ Jonen [EMAIL PROTECTED] wrote:
Linux is case sensitive do you have the write case.
Allen Williams wrote:
Nope,
google java resource bundles. This should lead you in the correct
direction to how to use multiple languages and text/etc for different types
of resources/languages/etc
On 5/25/06, AJ Jonen [EMAIL PROTECTED] wrote:
Is it possible to have 2 different java connections in Tomcat. And
1. set the
Hi,
I had a similar problem recently. There are two Tomcat users files. One
is locaed in the $TOMCAT/conf folder and the other is in your user home.
Check both files to see what the problem might be there.
Cheers,
Martin
nightdots wrote:
I'm having trouble with Tomcat Manager (Tomcat
Appreciate the tip, but the cases are all OK.
-Original Message-
From: AJ Jonen [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 3:49 PM
To: Tomcat Users List
Subject: Re: More (Unending) Resource Not Found/ Directory Problems
Linux is case sensitive do you have the write
SuSE has a very nice mechanism for selecting which of several versions of
Java to run.
I would recommend you take the 15 minutes to read the README in /etc/java
and then follow it.
The old way of just unjarring multiple Java versions to different locations
and then creating the links and
On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote:
Are the absolute paths like
http://localhost:8080/smsinfo;
or like /usr/local/tomcat/webapps/smsinfo?
File system paths, your second choice :-)
Also, I assume by docBase you mean the docbase attribute in the Context
element.
Sweet mother
I think i've narrowed it down to a problem with a realm tag
I'm trying to connect to my LDAP server with the realm tag within
server.xml, but I don't have ldap.jar. Sun's download site is down,
does anyone know where i can get a mirrored copy of suns ldap.jar and
the jndi/ldap booster
I am not using a context.xml. Someone suggested I do so, it would be
under META-INF, but I don't have a META-INF subdir except under one
of the example apps. I'm more than happy to do so in the future,
which this person pointed out was better form (more modular?), but
not sure where it is
I am running apache 2.2.2 and tomcat 5.0 with jdk1.3 i get the following
error message when trying to run tomcat 5:
[2006-05-25 20:49:24] [info] Service Tomcat5 name Apache Tomcat
[2006-05-25 20:49:25] [info] Service Tomcat5 installed
[2006-05-25 20:49:25] [info] Procrun finished.
[2006-05-25
As Hassan pointed out your docbase tag is wrong. change to docBase (case
sensitive) and check the other tags.
On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote:
I am not using a context.xml. Someone suggested I do so, it would be
under META-INF, but I don't have a META-INF subdir except
I would chase down the ORA-00911 error myself. Here is a working snippet
from my web.xml which also connects to Oracle 8i using the 1.2 thin driver:
Resource
name=jdbc/db
type=javax.sql.DataSource
driverClassName=oracle.jdbc.driver.OracleDriver
Oooo-kay. I went and (re)read the document you suggested, did
change docbase in the Context element to docBase (which I did
miss until you pointed it out), and the same thing still hap-
pens. Evidently, there's no way to tell tomcat how many times
I've read the documentation;-)
I know this is
--- Rocio Alfonso Pita [EMAIL PROTECTED] wrote:
El Jueves 25 Mayo 2006 18:51, Petkov, Rossen
escribi�:
The request.registerRequests=false setting goes
in the workers.properties
file. I already have that an it's not helping with
the memory leak. I plan
to upgrade Tomcat to 5.0.28 and
Take a peek at this bugzilla entry that addresses your problem:
http://issues.apache.org/bugzilla/show_bug.cgi?id=28988
cheers - Warren
-Original Message-
From: ahum [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 4:21 PM
To: users@tomcat.apache.org
Subject: tomcat 5 not
I'm coming into this discussion late, so ignore this if it's offbase, but it
looks like you are using absolute paths for both appBase and docBase:
Host name=localhost appBase=/usr/local/tomcat/webapps
Context path=/smsinfo docBase=/usr/local/tomcat/webapps/smsinfo
The docBase docs say You may
Thanks. This all started when I went from a Debian package install to
a more vanilla Linux install. Under the Debian apt package install,
it put everything into /usr/share/, and everything worked fine until I
tried to install an Ajp13 connector, whereupon it was recommended I do
the vanilla
I'm having a problem with my server opening .eml files. (email files)
When trying to open them it just shows code and the email is imbedded
in it. Previously I have been able to add mime mappings in the web.xml
file to allow other types of files to be opened, but everything I try
isn't working.
You can set up valves to handle log files. You need to create your log
directory and such, then add it into your host context in the server.xml.
First... for logging, you have to uncomment/add in the Valve in the main
host section as such:
Host
Valve
The reason I commented is that I noticed in one of your previous posts a log
error like:
Document base /usr/local/tomcat/webapps/usr/local/tomcat/webapps/smsinfo does
not exist or is not a readable directory.
Since this message contains the string /usr/local/tomcat/webapps twice, I
thought
Thanks... but we cannot go to JBOSS... :(
We are now looking for a more java solution to tracking our bugs and
managing our development. I was pointed toward JIRA by a maillist response.
I would much prefer to use open source if I could...
Does anyone know what happened to RatBug? I vaguely
I'm running into the error when I try to startup Tomcat 5.5.17 with the
1.1.3 native connector on AIX. It starts up fine on the same port when
not using the native connector, so there's nothing else using the port.
Has anyone else seen this? Anyone have any suggestions on what's wrong?
Thanks in
Yeah, I fixed that. That error is no longer in the logs.
-Original Message-
From: Jay Burgess [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 5:22 PM
To: users@tomcat.apache.org
Subject: RE: More (Unending) Resource Not Found/ Directory Problems
The reason I commented is
Looks more like AJP port is bound ..grep thru http*.conf , find the AJPPort
specifier (usually 8009) then
netstat -a | grep ThatPort
(then go after the process id)
If that doesnt solve it shutdown Tomcat/ shutdown Apache, and start Apache /
start Tomcat
If that doesnt solve it you may have to
On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote:
Yeah, I fixed that. That error is no longer in the logs.
Let me assure you that absolute appBase and absolute docBase
paths work fine together -- I've got systems in production set up
that way.
In any case, what *does* show up in your log
From the docs [1], it's slightly unclear to me what the load-balancer
is exactly. I've kind of gleaned from other sources that it's perhaps
an apache httpd running modjk?
Thanks,
Dave
1. http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
that, or even a load balancing appliance, those tend to be extremely
scalable.
this one used to be free, you could download an image and create any box
to be a LB
http://www.loadbalancer.org/products.html
Filip
David Durham wrote:
From the docs [1], it's slightly unclear to me what the
Nothing at all shows up in them. That's why I asked a few posts ago
whether there was some way I could increase the debug level. This is
true not only at tomcat startup, but also when I try to access the
directory. All I get is the requested resource is not available
message in my browser.
Well, I'd first like to say (before I make a complete fool of
myself) thanks to all who helped me. I have (embarassing moment
here) finally found the problem.
When I was running under the old configuration, I had the test
URL bookmarked as /smsinfo/login.jsp. The directory doesn't
(or, didn't,
The main thing is to keep the main thing the main thing and oh yeah I am
happy you got your problem resolved.
On 5/25/06, Allen Williams [EMAIL PROTECTED] wrote:
Well, I'd first like to say (before I make a complete fool of
myself) thanks to all who helped me. I have (embarassing moment
here)
I have an index.jsp that redirects to a jsf page.
code:
%response.sendRedirect(welcome.jsf);%
I tested it and it works fine on my
64 matches
Mail list logo