hi all,
I have a problem when using IBM-JSF
components on tomcat. I know that is not a very usual configuration, maybe
someone has had similar problems.
This is the code which causes the problem:
And this is the Stacktrace displayed
by IE:
Unfortunately, the error occurs in proprietary
Marc Richards wrote:
Also you can configure Apache to log the value of the
session cookie (if you're using session cookies --
LogFormat %{JSESSIONID}C...), which includes the lb
route so that you even know which instance of Tomcat
took the request.
... and finally once we release the next
Sorry about this, it seems like my attachments
have not worked properly.
The files should be stacktrace.txt and
snippet.jsp for the code example.
sorry!
Ben
Ben Zahler/Switzerland/[EMAIL PROTECTED]
13.09.2006 09:05
Please respond to
Tomcat Users List users@tomcat.apache.org
To
I'm really sorry, seems like the mailing
list program does not process my attachment properly, so I'll take one
more last try.
sorry again
BenTD valign=top width=431
h:inputText styleClass=inputText id=projectFieldxxx
style=width: 300px value=#{projectBean.value}
Hi Ben,
according to your stack trace, the error occurs somewhere below the call
of ScriptCollectorTag.doEndTag(), itself called by
org.apache.jsp.searchTKS_jsp._jspx_meth_hx_scriptCollector_0, that mean
during the 'endTag' steps of the first hx:scriptCollector ... inside
your jsp. However, the
Hi David,
the code I have copied is placed inside the following tags:
hx:scriptCollector id=scriptCollector2
h:form styleClass=form id=form05
TABLE
TBODY
TR
of course, the tags are all properly closed at the end, I'm
Tomcat is started using the startup.sh script provided and it runs using
a specific tomcat account which has admin type rights.
I am beginning to wonder what sort of problem this may be, as I must
emphasise that:
The runtime.exec() DOES work sometimes, and not others. There does not
seem to be
Hi,
considering it's an null pointer exception and the fact the
scriptCollector does not request any special parameter (it just collects
scripts from childs), i'd suggest you address this specific issue the
your websphere customer service :)
Ben Zahler a écrit :
Hi David,
the code I have
From your directory path mentioned it looks like this is a work folder
/srv/www/tomcat5/base/webapps/simulator/WORK/yqzatmopa343/cimmsim:
Is it possible that your dir/file is not available at some point
in time when servlet is executing ?
Have you tried executing a process from some fixed
On 9/12/06, Mark HB [EMAIL PROTECTED] wrote:
I have ensured that the permissions are set to at least 755 and am now
at a bit of a loss.
Any ideas?
I'd faced a similar problem yesterday when adding some features to
Sahi (http://sahi.sourceforge.net/). But this was on Windows.
I took the
Hi
Tomcat is started using the startup.sh script provided and it runs using
a specific tomcat account which has admin type rights.
I am beginning to wonder what sort of problem this may be, as I must
emphasise that:
The runtime.exec() DOES work sometimes, and not others. There does not
seem
Mike Wannamaker wrote:
I can specify URIEncoding=UTF-8 in Tomcat's connector settings within the
server.xml file. Now, my Tomcat server correctly reads the URL GET
parameters correctly...sending out Hello, José! or Hello, 田中! as
expected.
However, there's still a problem.
What if I want
David Wall wrote:
Does anybody know how to find the list of SSL ciphers that TC will use
(I'm running on Linux)? There's a Connector param to set the ciphers,
but I don't know where to find the list of available ciphers that I have.
Hi All,
When I'm uploading the file (size 4MB) from the same LAN everything is OK.
When I'm uploading from different system over LAN or from the internet and
the file has size is 3MB or lower, it's OK, uploading ends successful.
I am facing the problem while uploading the file size bigger then
Well, by reading the source for DBCP 1.2.1, I can see that
BasicDataSource method:
getConnection(String username, String password)
is not supported because the delegate which BasicDataSource
uses, an instance of PoolingDataSource, throws an
UnsupportedOperationException in method:
Sounds to me like you need to have a chat with your network admins. A
firewall or similar may be cutting off the connection.
--David
Piotr Dziędziel wrote:
Hi All,
When I'm uploading the file (size 4MB) from the same LAN everything is OK.
When I'm uploading from different system over LAN
Hi all,
I tested several tomcat versions (TC5.5.7-TC5.5.17) and, when deploying my
webapps, I don't see the same behaviour in these versions for the ROOT contexts.
The tomcat versions = TC5.5.12 don't have the same behaviour and I don't know
if it is a bug or not
So, can anybody can say to me
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: tomcat deployment changes since Tomcat 5.5.12
So, can anybody can say to me if it is a bug or what are the
correct parameters for my needs ?
Quoting from the Tomcat doc for the path attribute of Context:
The value of this field
Dear all,
we have some very odd behaviour here.
First the basic:
- Tomcat 5.5.17
- Debian Sarge
- Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
We do have several Sevlets which require and use FormBased Login using
Tomcat's internal FormAuthenticator.
Now we've
The servlet is mapped to /
The security constraint is mapped to /*
That's your problem. Map your security constraint to * instead
Gregor Schneider a écrit :
Dear all,
we have some very odd behaviour here.
First the basic:
- Tomcat 5.5.17
- Debian Sarge
- Java(TM) 2 Runtime Environment,
Mark Thomas wrote:
David Wall wrote:
Does anybody know how to find the list of SSL ciphers that TC will use
(I'm running on Linux)? There's a Connector param to set the ciphers,
but I don't know where to find the list of available ciphers that I have.
Thank you Chuck,
I tested (TC 5.5.17) what you suggest with a Context ROOT.xml like this :
Context docBase=/usr2/web/myhost/ROOT.war reloadable=false debug=1
But the result is the same :
- exceptions in Tomcat logs,
- getServletContext().getRealPath(...) is null
From: [EMAIL PROTECTED]
Hi Joshua,
1st, thanks a lot for your quick answer, we really do appreciate it.
However, this does not seem to be the cause of our problem.
We changed the mapping in our web.xml both (security constraint AND
servletmapping) to /* - same result, no login-screen. Then we
changed it to / (both
Hi David,
unfortunately your suggestion did not solve the problem, any other
suggestions are appreciated
merci !
Greetings
Yassine
On 9/13/06, David Delbecq [EMAIL PROTECTED] wrote:
The servlet is mapped to /
The security constraint is mapped to /*
That's your problem. Map your security
Argl... mixed up Joshua from Apache and David from Tomcat - sorry 4
that, both are legends anyways...
Cheers!
Greg
--
what's puzzlin' you, is the nature of my game
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Hi!
I got an urgent problem with load balancing 2 (or more) Tomcat Servers
by using the IIS ISAPI JK Connector (we want to try to remove Resin and
use Tomcat instead):
Installed:
Windows Server 2003
IIS 6.0
(on 2 different machines, same configuration)
Our Servlet(s)
Our software
Hello,
Thanks for responding to my post - I didn't think anyone would!
Attached is a zip file containing revised catalina.sh and catalina.bat
files supporting JPDA_OPTS (supported in tomcat 4.1.18), and support for
a new JPDA_SUSPEND.
catalina.sh changes:
1. Documented JPDA_OPTS in the script
I am running Apache Tomcat v5.5.12 behind an Apache (v2) Reverse Proxy
server. I'm also running a SunONE Application Server behind the same RP.
Some of the Servlets/Applications on either Tomcat or SunONE have
features to upload data into databases. When the data is sufficiently
I've successfully installed tomcat Version
5.5.17 onto our mainframe system running z/OS 1.7, and have also installed
the compatability package and JZOS. The JZOS JCL to start tomcat
fails with a class not found exception. It is looking for:
compressionFilters.CompressionFilter
Does anybody
Hi,
we got Authentication working now, however, there's a caveeat:
We just removed the context-file in
$catalina_home/conf/Catalina/localhost/SingleSignon.xml, and now it
starts.
What we do not understand is:
Why does an existing context-definition enable a servlet to bypass
FormBased
Fedora 5
Tomcat 5517
Sun JDK 1508
Finally I got my linux running with tomcat, but there is a little
detail, if I run the server as tomcat user, tomcat goes up, but not
listening in port 80 (su -l tomcat -c /usr/tomcat/bin/startup.sh), now
if I run as root (./startup.sh) everything works ok.
Dear all,
no, this is not a one2one-conversation, we succeeded, however, there
appears to be a bug in Tomcat. Before we're submitting this one, I'd
like to have your oppinions - maybe we're missing something here.
As you may have read, the basics:
- Tomcat 5.5.17
- Debian Sarge
- Java(TM) 2
I have tracked down two methods that should give me what I want in the
abstract class javax.net.ssl.SSLSocket:
String[] getEnabledCipherSuites()
String[] getSupportedCipherSuites()
Is there any way to retrieve the SSLSocket object created by Tomcat that
is associated with a given HttpRequest?
By convention, only root can run services on ports below 1024. If you
reconfigure Tomcat to run on port 8080, it'll work.
---
Tracy Nelson / Nelnet Business Solutions
402 / 617-9449
| -Original Message-
| From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, 13 September,
The commons-daemon project can help in that area. Specifically, jsvc
can launch as root, capture the ports and then let tomcat run as tomcat.
http://jakarta.apache.org/commons/daemon
--David
Tracy Nelson wrote:
By convention, only root can run services on ports below 1024. If you
Thanks for the reply!
Connector port=8443
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false disableUploadTimeout=true
acceptCount=100 debug=0 scheme=https secure=true clientAuth=false
sslProtocol=TLS /
I didn't specify the keyStore parameter in here because I only have
I didn't specify the keyStore parameter in here
because I only have one keystore at
C:\Documents and Settings\HP_Administrator\.keystore
or do Iexplicitely need to do that? I read somewhere that I didn't.
Personally, I can not even begin to imagine how Tomcat would know where to
find the
Kurt Roy wrote:
Hello,
Attached is a zip file containing revised catalina.sh and catalina.bat
files supporting JPDA_OPTS (supported in tomcat 4.1.18), and support for
a new JPDA_SUSPEND.
zips don't get through the mail server.
catalina.bat changes:
1. Added back support for JPDA_OPTS. I
I want to configure Tomcat so that I can have three hostnames live
on the same physical machine, but each have their own separate areas.
with one instance of Tomcat?
Users would hit URL's such as:
http://host1/
http://host2/
http://host3/
where each host should have its own webapps directory on
I have some servlets that run without problem on tomcat 4, but when I
upgraded to Tomcat 5.5.15, everytime a servlet is accessed, it uses a
little more memory, and finally after many users, runs out of heap
space. Any clues?
Thanks Dan Gross
David Wall wrote:
This didn't help as much as I had hoped. Does anybody know where Sun's
JDK 1.5 (Linux) keeps the list of SSL ciphers it implements? What
document would I look at?
What Java API is called by Tomcat to get the list of SSL ciphers that
are available?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Three hostnames in one instance of tomcat
Users would hit URL's such as:
http://host1/
http://host2/
http://host3/
What version (exactly) of Tomcat are you using? For versions 5.0 and
5.5, you should not put Context elements
That's exactly what I was looking for. Thanks. David
Mark Thomas wrote:
$JAVA_HOME/docs/guide/security/jsse/JSSERefGuide.html
You want appendix A.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To
I'm interested to hear other ideas, but I have used multiple service
entries to achieve this. In my case, each hostname has a dedicated IP
and a DNS entry.
Having multiple service entries allows you to have separation of almost
all the config elements, like ports, appbase, logging etc.
Cheers,
I have my development box setup how I think you want yours done
(though, I only access it locally from that machine). The 3 hosts
should have separate app bases and the context paths should be empty
(meaning the default path). What you've done up there should work if
you have your hosts file
I seem to be having trouble running the Tomcat service on Windows as an
account other than Local System. I created a tomcat account with,
let's say tomcat password as the password. I typed those into the
service configuration (tomcat5w.exe) stopped the server and restarted
it, but when I look in
46 matches
Mail list logo